Message

[BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2.

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