Allowance or charge amounts on document level cannot have more than 2 decimals
ubl:CreditNote/cac:AllowanceCharge
string-length(substring-after(cbc:Amount, '.')) <= 2