Validation rules
BR-CO-11
The sum of document-level allowances (BT-107) does not equal the sum of the individual allowance amounts (BT-92).
- Rule
BR-CO-11— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-107— Sum of allowances on document level- Field in your JSON
invoice.allowances- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
normbill computes BT-107 from the allowances it serializes, so generated documents always balance.
How to fix it
Recompute cbc:AllowanceTotalAmount as the sum of all document-level allowance cbc:Amount values.
BR-CO-11 auf Deutsch — was bedeutet der Fehler?
Die Summe der Nachlässe auf Dokumentebene (BT-107) entspricht nicht der Summe der einzelnen Nachlassbeträge (BT-92).
So beheben Sie den Fehler
Berechnen Sie cbc:AllowanceTotalAmount als Summe aller Nachlass-cbc:Amount-Werte neu.
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.