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

  1. Calculate BT-109 + BT-110 and use the result as BT-112.
  2. Show prepayments as paid amount (BT-113) and rounding as rounding amount (BT-114), not inside the total.
  3. Let the software recalculate all totals and check again.

Where the fields are in the XML

  • BT-112 Invoice total amount with VAT

    UBL
    cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount
  • BT-109 Invoice total amount without VAT

    UBL
    cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount
  • BT-110 Invoice 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:.

Based on the EN 16931 business rules (CEN/TC 434) and the XRechnung 3.0 rules published by KoSIT. This page explains the rules in plain language and is not legal or tax advice.