Calculations and conditions (BR-CO)Error

BR-CO-16 Amount due does not add up

What BR-CO-16 means

The amount due for payment (BT-115) must equal the total with VAT (BT-112) minus the paid amount (BT-113) plus the rounding amount (BT-114).

Error: the invoice is not valid until this is fixed.

Common causes

  • A prepayment was subtracted from the amount due but not entered as paid amount.
  • The amount due was entered by hand or copied from another document.
  • The total with VAT changed after the amount due was set.

How to fix BR-CO-16

  1. Calculate BT-112 − BT-113 + BT-114 and use the result as BT-115.
  2. Enter prepayments as paid amount (BT-113).
  3. Create the invoice again and check the new file.

Where the fields are in the XML

  • BT-115 Amount due for payment

    UBL
    cac:LegalMonetaryTotal/cbc:PayableAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount
  • BT-112 Invoice total amount with VAT

    UBL
    cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount
  • BT-113 Paid amount

    UBL
    cac:LegalMonetaryTotal/cbc:PrepaidAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TotalPrepaidAmount
  • BT-114 Rounding amount

    UBL
    cac:LegalMonetaryTotal/cbc:PayableRoundingAmount
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:RoundingAmount

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.