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.
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.
How to fix it
Check that your software numbers the lines of each invoice.
Check that the e-invoice writes each line's number, the lines added by hand too.
If a line has no number in the e-invoice, report it to the software's publisher, quoting BR-21.
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.
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.