Validation rules
BR-DEC-24 — EN 16931 rule
A line-level allowance amount (BT-136) has more than 2 decimal places.
- Rule
BR-DEC-24— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-136— Line allowance amount- Field in your JSON
invoice.lines[*].allowances
How to fix it
Round the line allowance's amount to 2 decimals.
BR-DEC-24 auf Deutsch — was bedeutet der Fehler?
Ein Nachlassbetrag auf Positionsebene (BT-136) hat mehr als 2 Nachkommastellen.
So beheben Sie den Fehler
Runden Sie den amount des Positionsnachlasses auf 2 Nachkommastellen.
Related rules
BR-41— An invoice line allowance (BG-27) has no allowance amount (BT-136).BR-DEC-25— A line-level allowance base amount (BT-137) has more than 2 decimal places.BR-DEC-23— An invoice line net amount (BT-131) uses more than 2 decimal places — EN 16931 allows at most 2.BR-DEC-27— A line-level charge amount (BT-141) has more than 2 decimal places.BR-DEC-28— A line-level charge base amount (BT-142) has more than 2 decimal places.BR-DEC-20— A VAT category tax amount (BT-117) uses more than 2 decimal places — EN 16931 allows at most 2.
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.
Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.