Error codes

BR-CO-20: If Invoice line period (BG-26) is used, the Invoice line period start date (BT-1

Severity: fatal · Syntax: CII, UBL

Official message

If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both.

What this means

The official message is: If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

BG-26, BT-134, BT-135

Related rules

Context and assertion

UBL cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/cac:InvoicePeriod

CII //ram:SpecifiedLineTradeSettlement/ram:BillingSpecifiedPeriod

UBL

exists(cbc:StartDate) or exists(cbc:EndDate)

CII

(ram:StartDateTime) or (ram:EndDateTime)

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate