Message

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

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