Skip to content

Fatal

UBL-DT-01: Amounts can have at most two decimal places

In short

Fatal: fails the selected checks.

UBL-DT-01 means an amount covered by this rule has more than two digits after the decimal point, such as 12.345. Round the affected amount to two decimals in your invoicing software and export the invoice again.

On this page

What it means

The check covers XML elements whose names end in Amount, except names ending in PriceAmount and amounts with a cac:Price ancestor that has a cac:AllowanceCharge child. It permits at most two characters after the decimal point. This covers the line amount excluding VAT (BT-131), the VAT amount (BT-117 and BT-110), the total amount including VAT (BT-112), the amount due (BT-115) and document-level and line-level discount and charge amounts. Values such as 10, 10.5 and 10.50 pass, while 10.125 and 10.500 fail. The unit price (BT-146), the item price discount (BT-147) and the item gross price (BT-148) are outside this check.

Why it matters

EN 16931 limits the amounts covered by this rule to two decimal places.

How to fix it

Round every amount covered by this rule to two decimals in your invoicing software, not only on screen, and export again. Check the line amounts first, especially those calculated from quantities and unit prices with several decimals. Do not round the unit price (BT-146), item price discount (BT-147) or item gross price (BT-148) solely to satisfy this rule. If you build the XML yourself, write each affected amount with at most two decimals, for example 10.13 and not 10.125, and calculate the totals from the rounded line amounts. Recheck the exported file.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

Amounts shall be decimal up to two fraction digits

Where this rule applies

Rule set Version
EN 16931 (UBL) 1.3.17
EN 16931 (UBL credit note) 1.3.17
XRechnung 3.0 (UBL) 3.0.2
XRechnung 3.0 (UBL credit note) 3.0.2
Peppol BIS Billing 3.0 (invoice) 2026.5
Peppol BIS Billing 3.0 (credit note) 2026.5
SI-UBL 2.0 / NLCIUS (invoice) 2.0.3.13
SI-UBL 2.0 / NLCIUS (credit note) 2.0.3.13
France CTC (UBL invoice) 1.4.0-04
France CTC (UBL credit note) 1.4.0-04
CIUS-RO UBL Invoice 1.0.9 1.0.9
CIUS-RO UBL Credit Note 1.0.9 1.0.9
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether UBL-DT-01 still fails, and which other rules do.

Updated 6 November 2026