EN16931 / XRechnung / Peppol BIS 3 Validator

BR-21: Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126).

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-21 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

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-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126).
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatalcac:InvoiceLine | cac:CreditNoteLinenormalize-space(cbc:ID) != ''
EN16931-CIIfatal//ram:IncludedSupplyChainTradeLineItemnormalize-space(ram:AssociatedDocumentLineDocument/ram:LineID) != ''

Business terms referenced

BG-25, BT-126

Related rules

BR-16, BR-AE-01, BR-AE-02, BR-E-01, BR-E-02, BR-G-01, BR-G-02, BR-IC-01, BR-IC-02, BR-IG-01, BR-IG-02, BR-IP-01

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