Message

The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. 

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