The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.
cac:TaxTotal/cac:TaxSubtotal
string-length(substring-after(cbc:TaxAmount,'.'))<=2