aligned-ibrp-058
Either both or neither Charge base amount (ibt-100) and percentage (ibt-101) MUST be provided.
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Context
cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
not(cbc:MultiplierFactorNumeric or cbc:BaseAmount) or (cbc:MultiplierFactorNumeric and cbc:BaseAmount)
Checked with PINT UAE Invoice, PINT UAE Credit Note