Element 'ram:ChargeIndicator' must occur exactly 1 times.
The ram:ChargeIndicator element is missing from ram:AppliedTradeAllowanceCharge or occurs more than once. Exactly one such element is required.
ram:ChargeIndicator indicates whether the entry is an allowance or a charge. The rule requires this indicator exactly once.
The allowance on the gross price is missing the indicator for allowance or charge, or the indicator appears more than once. The invoice can be completed with exactly one ram:ChargeIndicator.
- Open the relevant
ram:AppliedTradeAllowanceCharge. - 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
Within the ram:AppliedTradeAllowanceCharge selected as an allowance, the check is count(ram:ChargeIndicator)=1.
The rule applies within an ram:AppliedTradeAllowanceCharge marked as an allowance on an invoice line’s gross price.
rule/@context)assert/@test)