Message

Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).

Context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
exists(cbc:Amount)
Usage
/ ubl:Invoice / cac:AllowanceCharge / cbc:Amount
/ ubl:CreditNote / cac:AllowanceCharge / cbc:Amount