Validation rules
BR-DEC-18
The amount due for payment (BT-115) uses more than 2 decimal places — EN 16931 allows at most 2.
- Rule
BR-DEC-18— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-115— Amount due (computed: BT-112 − BT-113)- Field in your JSON
invoice.paid_amount- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
normbill computes the amount due itself and formats it with exactly 2 decimals; supplied totals are only cross-checked at tier 1 (BR-CO-13/14/15).
How to fix it
Round cbc:PayableAmount to 2 decimals.
BR-DEC-18 auf Deutsch — was bedeutet der Fehler?
Der fällige Zahlungsbetrag (BT-115) 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:PayableAmount auf 2 Nachkommastellen. normbill berechnet den fälligen Betrag selbst und gibt ihn 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.