Validation rules

BR-B-02

VAT category "B" (Italian split payment) must not be combined with category "S" (standard rated) on the same invoice.

Rule
BR-B-02official EN 16931 / XRechnung rule
Severity
error
Business term
BT-151 — Line VAT category
Field in your JSON
invoice.lines[*].vat_category
Detected by
tier 3 — KoSIT validator (authoritative)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

The request schema's VAT category enum has no code "B", so only XML submitted to /v1/invoices/validate can carry it.

How to fix it

Use either "B" or "S" for all lines, allowances and charges — not both.

BR-B-02 auf Deutsch — was bedeutet der Fehler?

Die Kategorie "B" (italienisches Split Payment) darf nicht mit der Kategorie "S" (Normalsatz) auf derselben Rechnung kombiniert werden. normbill akzeptiert die Kategorie B gar nicht; die Meldung betrifft extern erzeugtes XML.

So beheben Sie den Fehler

Verwenden Sie entweder "B" oder "S" für alle Positionen, Nachlässe und Zuschläge — nicht beides.

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.