UBL-DT-01

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

About

ID
UBL-DT-01
Flag
fatal
Context
//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
Test
string-length(substring-after(.,'.'))<=2