UBL-DT-01: Amounts shall be decimal up to two fraction digits
Severity: fatal · Syntax: UBL
Official message
Amounts shall be decimal up to two fraction digits
What this means
The official message is: Amounts shall be decimal up to two fraction digits This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
—
Related rules
Context and assertion
UBL //*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
UBL
string-length(substring-after(.,'.'))<=2
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate