e-Factura validator

All error codes › UBL-DT-01

UBL-DT-01 – Amounts shall be decimal up to two fraction digits

Erroren16931applies to Romanian e-Factura

What the rule says

Amounts shall be decimal up to two fraction digits

How to fix it

Remove the attribute from the element; EN 16931 does not use it.

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: //*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]

Test (XPath):

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

Related rules