Validation rules
BR-DEC-14
totals.gross (BT-112) has more than 2 decimal places — EN 16931 allows at most 2.
- Rule
BR-DEC-14— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-112— Total with VAT- Field in your JSON
invoice.totals.gross
How to fix it
Round totals.gross to 2 decimals, or omit invoice.totals and let normbill compute it.
BR-DEC-14 auf Deutsch — was bedeutet der Fehler?
Der angegebene Gesamtbetrag (totals.gross, BT-112) hat mehr als 2 Nachkommastellen.
So beheben Sie den Fehler
Runden Sie totals.gross 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.