Message

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

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