Message

[BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2.

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