E-invoice rule explained · EN 16931

BR-CO-16: Amount due does not equal total minus prepaid plus rounding

Official message

Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).
Severity
Error (the invoice is rejected)
Checked in
UBL, CII
Business terms
BT-115, BT-112, BT-113, BT-114

What does BR-CO-16 mean?

The amount due for payment (BT-115) must equal the total with VAT (BT-112) minus the amount already paid (BT-113) plus the rounding amount (BT-114); a missing paid or rounding amount counts as zero. For example, 172.55 − 50.00 = 122.55, or with a rounding amount of −0.05, 172.55 − 50.00 − 0.05 = 122.50. The UBL test rounds to two decimals; the CII test compares the values exactly.

Usual causes

How do I fix BR-CO-16?

  1. Compute BT-115 as BT-112 − BT-113 + BT-114 (172.55 − 50.00 + 0.00 = 122.55).
  2. In UBL use cbc:PrepaidAmount, cbc:PayableRoundingAmount and cbc:PayableAmount; in CII ram:TotalPrepaidAmount, ram:RoundingAmount and ram:DuePayableAmount.
  3. Enter a rounding down as a negative rounding amount and a rounding up as a positive one.

Corrected XML (minimal example we wrote)

UBL

<cac:LegalMonetaryTotal>  <cbc:LineExtensionAmount currencyID="EUR">145.00</cbc:LineExtensionAmount>  <cbc:TaxExclusiveAmount currencyID="EUR">145.00</cbc:TaxExclusiveAmount>  <cbc:TaxInclusiveAmount currencyID="EUR">172.55</cbc:TaxInclusiveAmount>  <cbc:PrepaidAmount currencyID="EUR">50.00</cbc:PrepaidAmount>  <cbc:PayableAmount currencyID="EUR">122.55</cbc:PayableAmount></cac:LegalMonetaryTotal>

CII

<ram:SpecifiedTradeSettlementHeaderMonetarySummation>  <ram:LineTotalAmount>145.00</ram:LineTotalAmount>  <ram:TaxBasisTotalAmount>145.00</ram:TaxBasisTotalAmount>  <ram:TaxTotalAmount currencyID="EUR">27.55</ram:TaxTotalAmount>  <ram:GrandTotalAmount>172.55</ram:GrandTotalAmount>  <ram:TotalPrepaidAmount>50.00</ram:TotalPrepaidAmount>  <ram:DuePayableAmount>122.55</ram:DuePayableAmount></ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.

Check your file for free

The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.

Open the free checker

In development — early access

Fix-and-explain for accountants and invoicing teams

A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access

Source

Rule id and official message from the CEN/TC 434 EN 16931 validation artefacts, validation-1.3.17 (EUPL-1.2), compiled from upstream commit 6e35e0a. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. CEN/TC 434 EN 16931 validation artefacts validation-1.3.17