Validation rules

BR-G-02

The invoice has export (G) lines, which require the seller VAT identifier (BT-31) — unlike most categories, the tax registration number (BT-32) is not accepted here.

Rule
BR-G-02official 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) 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").

Official sources

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.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.