Rules › EN 16931 (European standard) › BR-21

A line has no line number

In short: Each invoice line must have its identifier, a line number for example.

✗ ErroriAn invoice that fails this rule is not valid under its rule set.Lines, allowances and charges

  1. What the rule checks

    Each line of an e-invoice has an identifier, usually its number: 1, 2, 3… The buyer's software uses it to refer to a line, in a dispute or a credit note for example. The rule checks that each line has one.

  2. Common causes

    • A line added by hand, a comment or a discount line, that the software does not number.
    • Lines numbered on the PDF only.
  3. How to fix it

    1. Check that your software numbers the lines of each invoice.
    2. Check that the e-invoice writes each line's number, the lines added by hand too.
    3. If a line has no number in the e-invoice, report it to the software's publisher, quoting BR-21.
  4. Why it matters

    BR-21 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-21 also fails each of them.

    In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).

Does your invoice pass BR-21?

Check it against this rule only. The check runs in your browser, so nothing is sent.

Technical details

If you are interested in the technical side: the data the rule checks in the invoice file.

The invoice line identifier is BT-126. In CII, it is ram:LineID of the line's ram:AssociatedDocumentLineDocument; in UBL, cbc:ID of cac:InvoiceLine (cac:CreditNoteLine in a credit note).

The example invoice leaves its first line's identifier empty, so it fails BR-21 alone.

Fields (EN 16931)BT-126
CII/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:LineID
UBL/Invoice/cac:InvoiceLine/cbc:ID
Reported asBR-21

The fix in the example file

Between the example invoice that fails the rule (−, removed) and the same invoice, valid (+, added):

  <ram:IncludedSupplyChainTradeLineItem>    <ram:AssociatedDocumentLineDocument>−     <ram:LineID></ram:LineID>+     <ram:LineID>1</ram:LineID>    </ram:AssociatedDocumentLineDocument>    <ram:SpecifiedTradeProduct>

Official text

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

BR-21, EN 16931 validation artefacts 1.3.17, CII and UBL.

Page updated on 2026-11-23

EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.