Validation rules

BR-CO-16 — EN 16931 rule

The amount due (BT-115) must equal the invoice total with VAT (BT-112) minus the paid amount (BT-113), plus the rounding amount (BT-114) when one is given.

Rule
BR-CO-16 — official EN 16931 / XRechnung rule
Severity
error
Business term
BT-115 — Amount due (computed: BT-112 − BT-113)
Field in your JSON
invoice.totals.gross

How to fix it

Set the payable amount to BT-112 − BT-113 (+ BT-114, if your XML carries a rounding amount) — or generate from JSON and let normbill compute the totals.

BR-CO-16 auf Deutsch — was bedeutet der Fehler?

Der zu zahlende Betrag (BT-115) muss dem Bruttobetrag (BT-112) abzüglich der bereits gezahlten Summe (BT-113) entsprechen — zuzüglich des Rundungsbetrags (BT-114), falls einer angegeben ist.

So beheben Sie den Fehler

Setzen Sie den Zahlbetrag auf BT-112 − BT-113 (+ BT-114, falls Ihr XML einen Rundungsbetrag enthält) — oder erzeugen Sie die Rechnung aus JSON, dann berechnet normbill die Summen.

Related rules

  • BR-15 — The amount due for payment (BT-115) is missing from the document totals.
  • BR-DEC-18 — The amount due for payment (BT-115) uses more than 2 decimal places — EN 16931 allows at most 2.
  • BR-CO-15 — Supplied totals.gross does not equal net + tax.
  • BR-CO-17 — A VAT breakdown's tax amount (BT-117) does not equal its taxable amount (BT-116) multiplied by the category…
  • BR-CO-14 — Supplied totals.tax does not match the computed VAT breakdown.
  • BR-CO-18 — The invoice has no VAT breakdown (BG-23) — at least one is required.

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.