Reference
Markdown exportBR-DEC-13 Invoice total VAT amount must not exceed two decimal places
The BT-110 Invoice total VAT amount is limited to a maximum of two decimal places. Any value carrying three or more fractional digits fails EN16931 validation.
Problem Description
ERROR
EN 16931 decimal precision rule (BR-DEC)
Interactive pipeline
Where BR-DEC-13 is checked
Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.
BR-DEC-13 EN 16931 decimals rule
Reported in stage 2: EN 16931 rules.
Level error: the report recommends rejecting the invoice.
Stage 2 · What it checks
EN 16931 rules
- The core business terms are present (BR-01 to BR-65).
- Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
- Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).
Example codes
Typical fix
Recalculate totals and VAT from the line data, and correct the VAT category in the source data.
Solution
Round BT-110 to two decimal places before serialising the amount, and apply the same rounding used in the BR-CO total and sum calculations so the invoice still reconciles.
Quick actions
Context and Significance
This is an EN16931 core decimal-precision constraint enforced by KoSIT: every monetary amount in the invoice must be expressed with no more than two decimals.
Valid Examples
- BT-110 = 171.00 — two decimals accepted
Invalid Examples
- BT-110 = 171.000 — three decimals rejected
Code Examples
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">171.00</cbc:TaxAmount>
</cac:TaxTotal><cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">171.000</cbc:TaxAmount>
</cac:TaxTotal>