Message

[BR-DEC-15-GST-SG]-The allowed maximum number of decimals for the Invoice total GST amount in accounting currency (BT-111-GST) is 2.

Context
cac:InvoiceLine | cac:CreditNoteLine
Test
(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode] and (string-length(substring-after(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode],'.'))<=2)) or (not(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode]))
Usage
/ ubl:Invoice / cac:TaxTotal / cbc:TaxAmount
/ ubl:CreditNote / cac:TaxTotal / cbc:TaxAmount