Tools › SmartFormular E-Rechnung lite › Validation rules › BR-30
BR-30
An invoice line period ends before it starts (BT-134, BT-135)
What the message means
An invoice line period ends before it starts (BT-134, BT-135).
What the issuer needs to change
Check the start and end date in the line.
Fields concerned
BT-134invoice line period start dateBT-135invoice line period end date
Your invoice reports BR-30? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII, UBL
- Level
- Error
Original rule text
If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134).
Technical details for IT
UBL
Context: cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/cac:InvoicePeriod Test: not((exists(cbc:EndDate) and exists(cbc:StartDate) and xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or not(exists(cbc:StartDate)) or not(exists(cbc:EndDate)))
CII
Context: //ram:SpecifiedLineTradeSettlement/ram:BillingSpecifiedPeriod Test: not((ram:EndDateTime/udt:DateTimeString[@format = '102']) >= (ram:StartDateTime/udt:DateTimeString[@format = '102']) or not (ram:EndDateTime) or not (ram:StartDateTime))
Related rules
- BR-27An item net price (BT-146) is negative
- BR-28An item gross price (BT-148) is negative
- BR-29The invoicing period ends before it starts (BT-73, BT-74)
- BR-31Missing in an allowance: document level allowance amount (BT-92)
- BR-32Missing in an allowance: document level allowance VAT category code (BT-95)
- BR-33An allowance has no reason (BT-97 or BT-98)