Validation rules
BR-G-02 — EN 16931 rule
The invoice has export (G) lines, which require the seller VAT identifier (BT-31) or the VAT identifier of a seller tax representative (BT-63) — unlike most categories, the tax registration number (BT-32) is not accepted here.
- Rule
BR-G-02— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-31— Seller VAT identifier- Field in your JSON
invoice.seller.vat_id- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Triggerable from your request JSON (generate & validate)
How to fix it
Set invoice.seller.vat_id (e.g. "DE123456789").
BR-G-02 auf Deutsch — was bedeutet der Fehler?
Die Rechnung enthält Ausfuhr-Positionen (Kategorie G); dafür ist die USt-IdNr. des Verkäufers (BT-31) oder die seines Steuervertreters (BT-63) Pflicht — anders als bei den meisten Kategorien genügt die Steuernummer (BT-32) hier nicht.
So beheben Sie den Fehler
Setzen Sie invoice.seller.vat_id (z. B. "DE123456789").
Related rules
BR-DE-16— A seller VAT identifier (BT-31), tax registration number (BT-32) or seller tax representative (BG-11) is…BR-S-02— The invoice has standard-rated (S) lines, which require the seller VAT identifier (BT-31), the tax…BR-CO-26— The seller carries none of: VAT identifier (BT-31), legal registration identifier (BT-30) or seller…BR-CO-09— A VAT identifier (seller BT-31, buyer BT-48, or tax representative BT-63) does not start with an ISO 3166-1…BR-AF-02— The invoice has IGIC (L) lines, which require the seller VAT identifier (BT-31), the tax registration number…BR-AF-03— A document-level allowance uses VAT category L (IGIC), which requires the seller VAT identifier (BT-31), the…
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.