e-Factura validator

All error codes › BR-DEC-RO-24

BR-DEC-RO-24 – Too many decimals

Errorroapplies to Romanian e-Factura

What the rule says

The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2.

How to fix it

Round the amount to at most 2 decimals.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

Test (XPath):

string-length(substring-after(cbc:Amount,'.'))<=2

Related rules