Element 'ram:ChargeIndicator' must occur exactly 1 times.
The relevant AppliedTradeAllowanceCharge is missing ram:ChargeIndicator or contains it more than once. Exactly one such element is required for this allowance.
ram:ChargeIndicator indicates whether the amount is an allowance or a charge. This rule identifies an allowance by the value false; the indicator must be present unambiguously.
The allowance on the gross price is missing the ram:ChargeIndicator indicator or contains it more than once. You can resolve this by providing exactly one such element.
- Find the relevant
ram:AppliedTradeAllowanceChargeon the invoice line’s gross price. - Make sure it contains exactly one
ram:ChargeIndicator. - Regenerate the invoice and validate it again.
<ram:AppliedTradeAllowanceCharge/>
<ram:AppliedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> </ram:AppliedTradeAllowanceCharge>
Technical details
The test counts the direct ram:ChargeIndicator elements in the selected ram:AppliedTradeAllowanceCharge and requires exactly one.
The rule applies to allowances on an invoice line’s gross price where ChargeIndicator has the value false.
rule/@context)assert/@test)