Calculations and conditions (BR-CO)Error
BR-CO-15 Total with VAT does not add up
What BR-CO-15 means
The invoice total with VAT (BT-112) must be the total without VAT (BT-109) plus the total VAT amount (BT-110). In your file these three amounts do not fit together.
Error: the invoice is not valid until this is fixed.
Common causes
- Rounding: VAT was rounded per line while the total uses an unrounded sum.
- A prepayment or discount was subtracted from the total with VAT instead of being shown separately.
- One of the totals was changed by hand.
How to fix BR-CO-15
- Calculate BT-109 + BT-110 and use the result as BT-112.
- Show prepayments as paid amount (BT-113) and rounding as rounding amount (BT-114), not inside the total.
- Let the software recalculate all totals and check again.
Where the fields are in the XML
BT-112Invoice total amount with VAT- UBL
cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount
BT-109Invoice total amount without VAT- UBL
cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount
BT-110Invoice total VAT amount- UBL
cac:TaxTotal/cbc:TaxAmount- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.