Message

The allowed maximum number of decimals for the Paid amount (BT-113) is 2.

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