Validation rules

BR-CO-12

The sum of document-level charges (BT-108) does not equal the sum of the individual charge amounts (BT-99).

Rule
BR-CO-12official EN 16931 / XRechnung rule
Severity
error
Business term
BT-108 — Sum of charges on document level
Field in your JSON
invoice.charges
Detected by
tier 3 — KoSIT validator (authoritative)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

normbill computes BT-108 from the charges it serializes, so generated documents always balance.

How to fix it

Recompute cbc:ChargeTotalAmount as the sum of all document-level charge cbc:Amount values.

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

Die Summe der Zuschläge auf Dokumentebene (BT-108) entspricht nicht der Summe der einzelnen Zuschlagsbeträge (BT-99).

So beheben Sie den Fehler

Berechnen Sie cbc:ChargeTotalAmount als Summe aller Zuschlag-cbc:Amount-Werte neu.

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.