Validation rules
BR-CO-16
The amount due (BT-115) would be negative: paid_amount (BT-113) exceeds the invoice total with VAT (BT-112).
- 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.paid_amount
How to fix it
Lower invoice.paid_amount so it is at most totals.gross (BT-112), or omit paid_amount.
BR-CO-16 auf Deutsch — was bedeutet der Fehler?
Der zu zahlende Betrag (BT-115) wäre negativ: die bereits gezahlte Summe (paid_amount, BT-113) übersteigt den Bruttobetrag (BT-112).
So beheben Sie den Fehler
Senken Sie invoice.paid_amount auf höchstens den Bruttobetrag, oder lassen Sie paid_amount weg.
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.