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-129

BR-22 — E-Invoice Validation Rule & Fix

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

1. Why This Rule Triggers (Diagnostic Message)

Line 1 has no invoiced quantity (BT-129). The quantity is a required factor of the line net amount, so it must be present even when it is 1.

2. How to Fix BR-22

Set line.quantity to a number. For a flat fee or a subscription period, use 1.

3. Valid Code / Payload Example

"quantity": 10
Test & Validate XML / JSON in Live SchemaGuard Validator →