errorformatEN16931

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

Fix: Your invoice contains amount values with more than 2 decimal places. EN16931 requires all monetary amounts to have maximum 2 decimal digits (e.g., 100.00 not 100.001). Upload your invoice to fix this automatically.

Your invoice contains amount values with more than 2 decimal places. EN16931 requires all monetary amounts to have maximum 2 decimal digits (e.g., 100.00 not 100.001).

Severity
Fatal
Rule set
EN16931
Country
All EU
Fix type
AUTO-FIX
Confidence
95%
Category
calculation

Engine Classification

Round all amount fields to maximum 2 decimal places per UBL data type rules

Confidence: 95% · Applied automatically in pipeline

What is UBL-DT-01?

UBL-DT-01 is a fatal validation rule defined in the EN16931 specification. It validates the * element in the UBL invoice XML.

When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.

Target path: //cbc:*[contains(name(),'Amount')]

Why This Error Matters

Invoice will be rejected. Monetary amounts must be rounded to 2 decimal places for proper processing and display.

UBL-DT-01 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails EN 16931 business rule validation
  • ·Error returned: UBL-DT-01
  • ·Specification: EN16931

How to Fix It

1.

Find the incorrectly formatted value

Check cbc:*[contains(name(),'Amount')] at //cbc:*[contains(name(),'Amount')]. The current value does not match the required format.

2.

Apply the correct format

Your invoice contains amount values with more than 2 decimal places. EN16931 requires all monetary amounts to have maximum 2 decimal digits (e.g., 100.00 not 100.001).

3.

Update your export settings

If this occurs consistently, check your invoicing software's locale and format settings for XML export. Re-validate to confirm UBL-DT-01 is resolved.

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:* error -->
<cbc:*></cbc:*>
After
<!-- Provide the required value -->
<cbc:*>VALID_VALUE</cbc:*>

Technical Reference

XPath//cbc:*[contains(name(),'Amount')]
SpecEN16931
Operationnormalize
StrategyRound all amount fields to maximum 2 decimal places per UBL data type rules

Common Causes

  • ·ERP system stores amounts with higher precision internally
  • ·Currency conversion introduced extra decimal places
  • ·Calculation rounding not applied before export
  • ·Source data imported from system using different precision
  • ·Manual entry included too many decimal places

Seeing this in production? The API handles UBL-DT-01 automatically. See the fix response →

Frequently Asked Questions

Your invoice contains amount values with more than 2 decimal places. EN16931 requires all monetary amounts to have maximum 2 decimal digits (e.g., 100.00 not 100.001).

Your invoice contains amount values with more than 2 decimal places. EN16931 requires all monetary amounts to have maximum 2 decimal digits (e.g., 100.00 not 100.001). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, UBL-DT-01 is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of UBL-DT-01 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for UBL-DT-01

Auto-fix UBL-DT-01 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.