ALIGNED-IBRP-005

Amounts MUST be decimal with a number of fraction digits not exceeding the minor unit (decimal places) defined for the currency in ISO 4217.

About

ID
aligned-ibrp-005
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(.,'.'))<= u:currencyDecimals(@currencyID)