Validation rules
BR-DEC-10
The sum of document-level allowances (BT-107) uses more than 2 decimal places — EN 16931 allows at most 2.
- Rule
BR-DEC-10— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-107— Sum of allowances on document level- Field in your JSON
invoice.allowances- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
normbill computes this total itself and formats it with exactly 2 decimals.
How to fix it
Round cbc:AllowanceTotalAmount to 2 decimals.
BR-DEC-10 auf Deutsch — was bedeutet der Fehler?
Die Summe der Nachlässe auf Dokumentebene (BT-107) hat mehr als 2 Nachkommastellen. EN 16931 erlaubt höchstens 2 Dezimalstellen — der KoSIT-Validator lehnt die Rechnung ab.
So beheben Sie den Fehler
Runden Sie cbc:AllowanceTotalAmount auf 2 Nachkommastellen. normbill berechnet diese Summe selbst und gibt sie immer mit exakt 2 Stellen aus.
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.