Validation rules
BR-37
A document-level charge needs a VAT category (BT-102); it cannot be inherited because the lines use more than one VAT category/rate.
- Rule
BR-37— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-102
How to fix it
Set the charge's vat_category and vat, e.g. { vat_category: "S", vat: 19 }.
BR-37 auf Deutsch — was bedeutet der Fehler?
Ein Zuschlag auf Dokumentebene braucht eine Umsatzsteuer-Kategorie (BT-102). Sie kann nicht automatisch übernommen werden, weil die Positionen mehr als eine Kategorie oder mehr als einen Steuersatz verwenden.
So beheben Sie den Fehler
Setzen Sie vat_category und vat am Zuschlag, z. B. { vat_category: "S", vat: 19 }.
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.