BR-CO-17

VAT category tax amount does not match base times rate

Repaired automatically Field BT-117 EN16931 UBL / CII

What it means

For each VAT category the tax amount (BT-117) must equal the taxable base multiplied by the rate, rounded to two decimals. Mismatches come from rounding each line separately and summing, instead of applying the rate to the summed base.

Can it be fixed automatically?

Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.

This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.

How to fix it

Recompute as taxable base × rate ÷ 100, rounded half-up to two decimals. Both operands are already in the breakdown.

Where it applies

UBL/Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount

Check your own invoice

curl -X POST https://einvoice.mgsoft.sk/v1/validate \
     -H 'Content-Type: application/xml' \
     --data-binary @invoice.xml

← All rules