Validation rules
BR-IC-02
The invoice has intra-community supply (K) lines, which require both the seller VAT identifier (BT-31) and the buyer VAT identifier (BT-48); the seller tax registration number (BT-32) is not accepted here.
- Rule
BR-IC-02— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-48— Buyer VAT identifier- Field in your JSON
invoice.buyer.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 and invoice.buyer.vat_id.
BR-IC-02 auf Deutsch — was bedeutet der Fehler?
Die Rechnung enthält Positionen zur innergemeinschaftlichen Lieferung (Kategorie K); dafür sind sowohl die USt-IdNr. des Verkäufers (BT-31) als auch die USt-IdNr. des Käufers (BT-48) Pflicht — die Steuernummer (BT-32) genügt hier nicht.
So beheben Sie den Fehler
Setzen Sie invoice.seller.vat_id und invoice.buyer.vat_id.
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.