Calculations and conditions (BR-CO)Error
BR-CO-11 Sum of allowances does not match
What BR-CO-11 means
The sum of allowances on document level (BT-107) must equal the amounts of all document level allowances (BT-92) added up.
Error: the invoice is not valid until this is fixed.
Common causes
- An allowance was added or changed without updating the total.
- Allowances on individual lines were counted in the document total.
How to fix BR-CO-11
- Add up only the document level allowances and use the result as BT-107.
- Allowances on a line are already part of that line's net amount and do not belong in BT-107.
- Create the invoice again and check the new file.
Where the fields are in the XML
BT-107Sum of allowances on document level- UBL
cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmount
BT-92Document level allowance amount- UBL
cac:AllowanceCharge/cbc:Amount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ActualAmount
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.