Message

The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.

Context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
Test
string-length(substring-after(cbc:BaseAmount,'.'))<=2
Usage
/ ubl:Invoice / cac:InvoiceLine / cac:AllowanceCharge / cbc:BaseAmount
/ ubl:CreditNote / cac:CreditNoteLine / cac:AllowanceCharge / cbc:BaseAmount