Validation rules
BR-DEC-12
totals.net (BT-109) has more than 2 decimal places — EN 16931 allows at most 2.
- Rule
BR-DEC-12— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-109— Total without VAT- Field in your JSON
invoice.totals.net
How to fix it
Round totals.net to 2 decimals, or omit invoice.totals and let normbill compute it.
BR-DEC-12 auf Deutsch — was bedeutet der Fehler?
Der angegebene Nettobetrag (totals.net, BT-109) hat mehr als 2 Nachkommastellen — EN 16931 erlaubt höchstens 2.
So beheben Sie den Fehler
Runden Sie totals.net auf 2 Nachkommastellen — oder lassen Sie invoice.totals weg, damit normbill die Summen berechnet.
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.