The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.
cac:LegalMonetaryTotal
string-length(substring-after(cbc:TaxExclusiveAmount,'.'))<=2