UBL-DT-01 – EN 16931 validation rule
Official message
[UBL-DT-01] Amounts shall be decimal up to two fraction digits
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (UBL)
For developers: test expression per syntax
EN 16931 (UBL) (UBL)
Context: //*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
string-length(substring-after(.,'.'))<=2
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.