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

  1. Calculate: sum of line net amounts − allowances + charges, rounded to two decimals.
  2. Use the result as BT-109 and recalculate the total with VAT.
  3. Create the invoice again and check the new file.

Where the fields are in the XML

  • BT-109 Invoice total amount without VAT

    UBL
    cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount
  • BT-131 Invoice line net amount

    UBL
    cac:InvoiceLine/cbc:LineExtensionAmount
    CII
    ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount
  • BT-107 Sum of allowances on document level

    UBL
    cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmount
  • BT-108 Sum 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:.

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.