BR-21ErrorMandatory content per EN 16931 (BR-01 to BR-65)
BR-21: Invoice line identifier missing
The invoice is invalid and will be rejected.
What does the error mean?
An invoice line has no identifier (BT-126).
How to fix it
Number the lines: cac:InvoiceLine/cbc:ID (UBL) or ram:AssociatedDocumentLineDocument/ram:LineID (CII).
Original validator message
[BR-21] Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126).
Checked in: UBL, CII
Fields involved
- BG-25 INVOICE LINE
- BT-126 Invoice line identifier
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docs