Calculations and conditions (BR-CO)Error
BR-CO-13 Total without VAT does not add up
What BR-CO-13 means
The invoice total without VAT (BT-109) must equal the sum of the line net amounts minus the document level allowances plus the document level charges (BT-106 − BT-107 + BT-108).
Error: the invoice is not valid until this is fixed.
Common causes
- An allowance or charge was not included in the total.
- Rounding differences between the lines and the total.
- The total includes VAT or a prepayment by mistake.
How to fix BR-CO-13
- Calculate: sum of line net amounts − allowances + charges, rounded to two decimals.
- Use the result as BT-109 and recalculate the total with VAT.
- Create the invoice again and check the new file.
Where the fields are in the XML
BT-109Invoice total amount without VAT- UBL
cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount
BT-131Invoice line net amount- UBL
cac:InvoiceLine/cbc:LineExtensionAmount- CII
ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount
BT-107Sum of allowances on document level- UBL
cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmount
BT-108Sum of charges on document level- UBL
cac:LegalMonetaryTotal/cbc:ChargeTotalAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:ChargeTotalAmount
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.