Validation rules
BR-22
An invoice line has no invoiced quantity (BT-129).
- Rule
BR-22— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-129— Invoiced quantity- Field in your JSON
invoice.lines[*].qty- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
The request schema requires line.qty on every line.
How to fix it
Add cbc:InvoicedQuantity to the line.
BR-22 auf Deutsch — was bedeutet der Fehler?
Eine Rechnungsposition hat keine abgerechnete Menge (BT-129).
So beheben Sie den Fehler
Ergänzen Sie cbc:InvoicedQuantity in der Position.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.