SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
FATAL Official EN 16931 / Peppol / CIUS Rule BT/BG Fields: BT-126

BR-21 — E-Invoice Validation Rule & Fix

Fixture ID: lineEmpty · XPath: /ubl:Invoice/cac:InvoiceLine[1]/cbc:ID

1. Why This Rule Triggers (Diagnostic Message)

Line 1 has no invoice line identifier (BT-126). Every line needs an identifier that is unique within the document, because allowances, charges and dispute references all point at lines by this value.

2. How to Fix BR-21

Set line.id. Sequential strings ("1", "2", "3") are conventional and sufficient.

3. Valid Code / Payload Example

"id": "1"
Test & Validate XML / JSON in Live SchemaGuard Validator →