Peppol BIS Billing 3.0 · rule
UBL-DT-01
What does UBL-DT-01 mean? Amounts shall be decimal up to two fraction digits
Why did my invoice fail UBL-DT-01?
Every amount element in the invoice must be a decimal number with at most two fraction digits. This keeps monetary values unambiguous and consistent for the arithmetic checks EN 16931 performs on totals. Amounts like 100.123 or values in scientific notation fail this rule.
Official rule text
Amounts shall be decimal up to two fraction digits
Common causes
- Unrounded arithmetic results serialized with full floating-point precision (e.g. 41.6666666)
- Unit prices with more than 2 decimals copied into amount fields (prices may have more decimals, amounts may not)
- Locale formatting leaking in (comma decimal separator or thousands separators)
How do I fix it?
<cbc:LineExtensionAmount currencyID="EUR">1250.50</cbc:LineExtensionAmount>
Related rules
UBL-DT-06 · UBL-DT-07 · UBL-DT-08 · UBL-DT-09 · UBL-DT-10 · UBL-DT-11 · UBL-DT-12 · UBL-DT-13
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.