Message

Document level amounts cannot have more than 2 decimals

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