Message

The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.

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