aligned-ibrp-057
Either both or neither Allowance base amount (ibt-093) and percentage (ibt-094) MUST be provided.
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.
cac:AllowanceCharge[cbc:ChargeIndicator = false()][not(ancestor::cac:Price)]
not(cbc:MultiplierFactorNumeric or cbc:BaseAmount) or (cbc:MultiplierFactorNumeric and cbc:BaseAmount)
Checked with PINT UAE Invoice, PINT UAE Credit Note
cac:AllowanceCharge[cbc:ChargeIndicator = false()]
not(cbc:MultiplierFactorNumeric or cbc:BaseAmount) or (cbc:MultiplierFactorNumeric and cbc:BaseAmount)
Checked with PINT A-NZ Invoice, PINT A-NZ Credit Note