What it means
When the invoice also states its VAT in a second currency, the VAT accounting currency (BT-6), the total VAT in that currency (BT-111) is written with more than two digits after the decimal point. Digits are counted as written in the file, so 476.8932 fails. The check only runs when such a VAT total exists.
Why it matters
This is a fatal error in the Romanian CIUS-RO rules, so the file is rejected. The converted VAT total has to be a clean two-decimal figure like every other amount in the invoice.
How to fix it
Convert the total VAT to the accounting currency with your exchange rate, then round the result to two decimals before it goes into the file. A conversion usually produces more decimals than that, which is the typical cause of this error. In the XML it is the TaxAmount of the TaxTotal whose currencyID is the VAT accounting currency (TaxCurrencyCode).
The rule as published
Numarul maxim permis de zecimale pentru Valoarea TVA totala a facturii în moneda de contabilizare (BT-111) este 2. #The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. Business terms: BT-111
Where this rule applies
| Rule set | Version |
|---|---|
| CIUS-RO UBL Invoice 1.0.9 | 1.0.9 |
| CIUS-RO UBL Credit Note 1.0.9 | 1.0.9 |
Check your file
Drop your e-invoice to see whether BR-DEC-RO-15 still fails, and which other rules do.
Related rules
- BR-53 Give the VAT total in the VAT accounting currency
- BR-DEC-15 Total VAT in the accounting currency: at most two decimals
- BR-FR-CO-12_BT-5 Invoices not in euros need the VAT amount in euros
- PEPPOL-EN16931-R051 All amounts must be in the invoice currency
- BR-DEC-RO-16 Paid amount: two decimals at most
- BR-DEC-RO-17 Rounding amount: two decimals at most