Message

Allowance or charge amounts on document level cannot have more than 2 decimals

Context
ubl:Invoice/cac:AllowanceCharge
Test
string-length(substring-after(cbc:Amount, '.')) <= 2