InvoiceIn
Language: EN

BR-CO-14

EN 16931 · validation rule

EN 16931Error
Invoice total VAT amount (BT-110) must equal the sum of the VAT amounts of all VAT breakdowns (BT-117). The sender must recompute cac:TaxTotal/cbc:TaxAmount (in the invoice currency) / ram:TaxTotalAmount from the cac:TaxSubtotal / ram:ApplicableTradeTax entries.
Field
totals.tax (BT-110)
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

The document-level VAT total (BT-110) is the sum of the breakdown amounts (BT-117): one subtotal of 22.04, so 22.04, not 22.00.

Fails this rule
<cac:TaxTotal>
  <cbc:TaxAmount currencyID="EUR">22.00</cbc:TaxAmount>
  <cac:TaxSubtotal>
    <cbc:TaxableAmount currencyID="EUR">314.86</cbc:TaxableAmount>
    <cbc:TaxAmount currencyID="EUR">22.04</cbc:TaxAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>7</cbc:Percent>
      <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
    </cac:TaxCategory>
  </cac:TaxSubtotal>
</cac:TaxTotal>
Passes
<cac:TaxTotal>
  <cbc:TaxAmount currencyID="EUR">22.04</cbc:TaxAmount>
  <cac:TaxSubtotal>
    <cbc:TaxableAmount currencyID="EUR">314.86</cbc:TaxableAmount>
    <cbc:TaxAmount currencyID="EUR">22.04</cbc:TaxAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>7</cbc:Percent>
      <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
    </cac:TaxCategory>
  </cac:TaxSubtotal>
</cac:TaxTotal>

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.00</ram:TaxTotalAmount>
  <ram:GrandTotalAmount>336.90</ram:GrandTotalAmount>
  <ram:DuePayableAmount>336.90</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-14?lang=en