BR-CO-12ErrorCalculations and dependencies (BR-CO)
BR-CO-12: Sum of charges is wrong
The invoice is invalid and will be rejected.
What does the error mean?
The sum of document level charges (BT-108) does not equal the individual charges (BT-99).
How to fix it
Calculate cbc:ChargeTotalAmount (UBL) or ram:ChargeTotalAmount (CII) as the sum of all document level charges.
Original validator message
[BR-CO-12] Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).
Checked in: UBL, CII
Fields involved
- BT-108 Sum of charges on document level
- BT-99 Document level charge amount
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docs