Message

The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.

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