Skip to content

BR-CO-16: Amount due does not match the totals

The amount due for payment must equal the total with VAT, minus what was already paid, plus a rounding amount.

Severity
Error the invoice fails validation.
Rule set
EN 16931 (CEN/TC 434)
Where it applies
  • EN 16931 invoices in UBL and CII, in every EU country
  • XRechnung 3.0 in UBL and CII (Germany)
  • Peppol BIS Billing 3.0
  • ZUGFeRD / Factur-X, profile EN 16931 and above
Business terms
BT-115 Amount due for payment · BT-112 Invoice total amount with VAT · BT-113 Paid amount · BT-114 Rounding amount

Official rule text

Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).

What the rule checks

The rule computes BT-112 − BT-113 + BT-114 and compares it with cbc:PayableAmount. A missing paid amount or rounding amount counts as zero. There is no tolerance.

It is the last total in the chain, so it fails whenever any earlier total was changed without updating the amount due.

Common causes

  • A prepayment or deposit is subtracted from the amount due but not stated in cbc:PrepaidAmount.
  • The amount due is rounded to 5 or 10 cents without a cbc:PayableRoundingAmount.
  • A cash discount (Skonto) is deducted from the amount due; it belongs in the payment terms instead.

How to fix it

State a prepayment in cbc:PrepaidAmount and a rounding in cbc:PayableRoundingAmount, then set cbc:PayableAmount to the total with VAT minus the paid amount plus the rounding.

In CII the fields are ram:TotalPrepaidAmount, ram:RoundingAmount and ram:DuePayableAmount.

Rejected
<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount>
  <cbc:PrepaidAmount currencyID="EUR">50.00</cbc:PrepaidAmount>
  <cbc:PayableAmount currencyID="EUR">119.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
Passes
<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount>
  <cbc:PrepaidAmount currencyID="EUR">50.00</cbc:PrepaidAmount>
  <cbc:PayableAmount currencyID="EUR">69.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>

UBL excerpts; elements that play no part in the rule are left out.

Can the fix page repair it?

Yes, with your confirmation. The fix page proposes the recomputed amount from the invoice's own figures. Because it changes money, it is applied only after you confirm it, and the corrected file is validated again before you download it.

Field on the fix page: totals.payable

Repair a rejected invoiceGuide: BR-CO-16 and BR-CO-15 errors: why e-invoice totals don't add up

Check your invoice against the official rules

Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.

Drop an invoice hereXRechnung, EN 16931 or Peppol (UBL / CII), a ZUGFeRD / Factur-X PDF, Facturae or KSeF FA(3). Up to 2 MB.
No invoice at hand?

Processed in memory and not stored. No sign-up needed.