InvoiceIn
Language: EN

BR-CO-15

EN 16931 · validation rule

EN 16931Error
Invoice total with VAT (BT-112) must equal invoice total without VAT (BT-109) plus total VAT amount (BT-110). The sender must recompute cbc:TaxInclusiveAmount / ram:GrandTotalAmount (check rounding: both operands are two-decimal amounts).
Field
totals.gross (BT-112)
Rule set
EN 16931
Rule-set version
EN 16931 validation artefacts 1.3.17 · in force since · Rule-set changelog
Who has to fix it
The sender

This is a property of the file you received, so it cannot be corrected on your side without changing the document — ask the supplier to reissue it.

Worked example · UBL

BT-112 is net plus VAT: 314.86 + 22.04 = 336.90. A gross total of 336.00 does not match the VAT total of the same document.

Fails this rule
<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">314.86</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="EUR">314.86</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">336.00</cbc:TaxInclusiveAmount>
  <cbc:PayableAmount currencyID="EUR">336.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
Passes
<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">314.86</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="EUR">314.86</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">336.90</cbc:TaxInclusiveAmount>
  <cbc:PayableAmount currencyID="EUR">336.90</cbc:PayableAmount>
</cac:LegalMonetaryTotal>

Worked example · CII

Fails this rule
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>314.86</ram:LineTotalAmount>
  <ram:TaxBasisTotalAmount>314.86</ram:TaxBasisTotalAmount>
  <ram:TaxTotalAmount currencyID="EUR">22.04</ram:TaxTotalAmount>
  <ram:GrandTotalAmount>336.00</ram:GrandTotalAmount>
  <ram:DuePayableAmount>336.00</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Passes
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>314.86</ram:LineTotalAmount>
  <ram:TaxBasisTotalAmount>314.86</ram:TaxBasisTotalAmount>
  <ram:TaxTotalAmount currencyID="EUR">22.04</ram:TaxTotalAmount>
  <ram:GrandTotalAmount>336.90</ram:GrandTotalAmount>
  <ram:DuePayableAmount>336.90</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Check your own invoice

Drop the file that failed. We parse it, run the official rule sets against it and list every finding with a fix — 20 invoices per day, no key, nothing stored.

Open the live demo

Same explanation over the API: GET /v1/rules/BR-CO-15?lang=en