EN16931 / XRechnung / Peppol BIS 3 Validator

BR-29: If both Invoicing period start date (BT-73) and Invoicing period end date…

fatal CII UBL

What this error means and how to fix it

An EN 16931 core rule: a mandatory business term is missing, or a basic condition between business terms is not met. Add or correct the element named in the rule text at the location the validation result shows. This is an error: the invoice is rejected until it is fixed.

Check your invoice against BR-29 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73).
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatalcac:InvoicePeriod(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))
EN16931-CIIfatal//ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod(ram:EndDateTime/udt:DateTimeString[@format = '102']) >= (ram:StartDateTime/udt:DateTimeString[@format = '102']) or not (ram:EndDateTime) or not (ram:StartDateTime)

Business terms referenced

BT-73, BT-74

Related rules

BR-CO-19

Source: EN 16931-1 Schematron, UN/CEFACT CII syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Check your invoice against this rule