All error codes › BR-DEC-13
BR-DEC-13 – Too many decimals
Erroren16931applies to Romanian e-Factura
What the rule says
The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2.
How to fix it
Round the amount to at most 2 decimals.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: /ubl:Invoice | /cn:CreditNote
Test (XPath):
(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:DocumentCurrencyCode] and (string-length(substring-after(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:DocumentCurrencyCode],'.'))<=2)) or (not(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:DocumentCurrencyCode]))
Related rules
BR-DEC-01Too many decimalsBR-DEC-02Too many decimalsBR-DEC-05Too many decimalsBR-DEC-06Too many decimalsBR-DEC-09Too many decimalsBR-DEC-10Too many decimalsBR-DEC-11Too many decimalsBR-DEC-12Too many decimalsBR-DEC-14Too many decimalsBR-DEC-15Too many decimalsBR-DEC-16Too many decimalsBR-DEC-17Too many decimals