FACTURKITE by CairnKit
Plan: Free (3/3 AI)
ERROR EN 16931 CORE BT-126

BR-21: Invoice line identifier (BT-126)

Each invoice line must have a non-empty identifier in BT-126.

RULE ID
BR-21
BT / BG ELEMENT
BT-126
STANDARD
EN 16931-1
NORMALIZED FIELD
lines.0.id
SEVERITY
ERROR

Why BR-21 Fails

An InvoiceLine omits cbc:ID or CII AssociatedDocumentLineDocument/ram:LineID.

How to Fix BR-21

  1. Assign sequential line identifiers ('1', '2', '3', ...) to every line item in BT-126.
BEFORE · FAILS BR-21 FAIL
<cac:InvoiceLine><cbc:ID></cbc:ID></cac:InvoiceLine>
AFTER · PASSES BR-21 PASS
<cac:InvoiceLine><cbc:ID>1</cbc:ID></cac:InvoiceLine>
VERIFY BR-21 IN CI / TERMINAL
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
QUICK REFERENCE

Common questions about BR-21.

What causes BR-21 (BT-126) validation errors?

An InvoiceLine omits cbc:ID or CII AssociatedDocumentLineDocument/ram:LineID.

Can FacturKite check BR-21 automatically without creating an account?

Yes. Paste your XML or upload a Hybrid PDF in FacturKite's free workbench or run npx @cairnkithq/facturkite-cli validate invoice.xml locally to verify BR-21 deterministically.

WORKSPACE & LICENSING

Plans & Activate License

WORKSPACE
ws_loading
ACTIVE PLAN
Free
AI QUOTA
3 / 3 Free

Secure checkout & 14-day money-back guarantee handled by Freemius, Inc. (Official Merchant of Record). CairnKit never sees or stores your payment card details.