Message

[BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.    

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