Message

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

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