Message

The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.

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