Validation rules

BR-37 — EN 16931 rule

A document-level charge needs a VAT category (BT-102); it cannot be inherited because the lines use more than one VAT category/rate.

Rule
BR-37 — official EN 16931 / XRechnung rule
Severity
error
Business term
BT-102

How to fix it

Set the charge's vat_category and vat, e.g. { vat_category: "S", vat: 19 }.

BR-37 auf Deutsch — was bedeutet der Fehler?

Ein Zuschlag auf Dokumentebene braucht eine Umsatzsteuer-Kategorie (BT-102). Sie kann nicht automatisch übernommen werden, weil die Positionen mehr als eine Kategorie oder mehr als einen Steuersatz verwenden.

So beheben Sie den Fehler

Setzen Sie vat_category und vat am Zuschlag, z. B. { vat_category: "S", vat: 19 }.

Related rules

  • BR-38 — A document-level charge must state what it is for (BT-104/BT-105).
  • BR-36 — A document-level charge (BG-21) has no charge amount (BT-99).
  • BR-33 — A document-level allowance must state why it is granted (BT-97/BT-98).
  • BR-41 — An invoice line allowance (BG-27) has no allowance amount (BT-136).
  • BR-32 — A document-level allowance needs a VAT category (BT-95); it cannot be inherited because the lines use more…
  • BR-42 — A line-level allowance must state why it is granted (BT-139/BT-140).

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.