Tools › SmartFormular E-Rechnung lite › Validation rules › UBL-DT-01
UBL-DT-01
An amount has more than two decimals
What the message means
An amount has more than two decimals.
What the issuer needs to change
Have amounts rounded to two decimals (cents).
Your invoice reports UBL-DT-01? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- UBL
- Level
- Error
Original rule text
Amounts shall be decimal up to two fraction digits
Technical details for IT
UBL
Context: //*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)] Test: not(string-length(substring-after(.,'.'))<=2)
Related rules
- CII-DT-037The tax type is not "VAT"
- CII-DT-097A date is not in the format YYYYMMDD (format code 102)
- UBL-DT-06An attachment has no file type (MIME code)
- UBL-DT-07An attachment has no file name
- UBL-SR-07Missing in the preceding invoice reference: preceding invoice reference (BT-25)