Validation rules
BR-04
The invoice type code (BT-3) is missing.
- Rule
BR-04— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-3— Invoice type code- Field in your JSON
invoice.type_code- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
invoice.type_code defaults to 380 in the request schema, so generated documents always carry BT-3.
How to fix it
Add cbc:InvoiceTypeCode with a UNTDID 1001 code, e.g. 380 for a commercial invoice.
BR-04 auf Deutsch — was bedeutet der Fehler?
Der Rechnungstyp-Code (BT-3) fehlt.
So beheben Sie den Fehler
Ergänzen Sie cbc:InvoiceTypeCode mit einem UNTDID-1001-Code, z. B. 380 für eine Handelsrechnung.
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.