Validation rules
BR-DEC-20 — EN 16931 rule
A VAT category tax amount (BT-117) uses more than 2 decimal places — EN 16931 allows at most 2.
- Rule
BR-DEC-20— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-117— VAT category tax amount- Field in your JSON
invoice.lines- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
normbill computes every VAT breakdown itself and formats the tax amount with exactly 2 decimals.
How to fix it
Round the cbc:TaxAmount of the VAT breakdown (cac:TaxSubtotal) to 2 decimals.
BR-DEC-20 auf Deutsch — was bedeutet der Fehler?
Der Steuerbetrag einer Umsatzsteuerkategorie (BT-117) 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 das cbc:TaxAmount des betroffenen cac:TaxSubtotal auf 2 Nachkommastellen. normbill berechnet jede Steueraufschlüsselung selbst und formatiert sie mit exakt 2 Stellen.
Related rules
BR-46— A VAT breakdown (BG-23) has no tax amount (BT-117).BR-CO-17— A VAT breakdown's tax amount (BT-117) does not equal its taxable amount (BT-116) multiplied by the category…BR-AE-09— The tax amount (BT-117) of the reverse-charge (AE) breakdown must be 0.BR-AF-09— The tax amount (BT-117) of an IGIC (L) breakdown must equal its taxable amount (BT-116) multiplied by its…BR-AG-09— The tax amount (BT-117) of an IPSI (M) breakdown must equal its taxable amount (BT-116) multiplied by its…BR-E-09— The tax amount (BT-117) of the exempt (E) breakdown must be 0.
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.