Element 'ram:ActualAmount' must occur exactly 1 times.
ram:ActualAmount does not occur exactly once in this ram:AppliedTradeAllowanceCharge. The element must be present once; multiple occurrences are also not allowed.
ram:ActualAmount contains the actual amount of the charge. A single occurrence ensures that the amount is recorded unambiguously.
The actual amount for the charge on the gross price is missing or appears more than once. One ram:ActualAmount provides an unambiguous amount.
- Locate the affected
ram:AppliedTradeAllowanceChargeunderram:GrossPriceProductTradePrice. - Make sure it contains exactly one
ram:ActualAmount. - Generate the invoice again and validate it again.
<ram:AppliedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> </ram:AppliedTradeAllowanceCharge>
<ram:AppliedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>5.00</ram:ActualAmount> </ram:AppliedTradeAllowanceCharge>
Technical details
The rule counts the direct ram:ActualAmount elements of the selected ram:AppliedTradeAllowanceCharge and requires exactly one occurrence.
The rule applies to the actual amount of a ram:AppliedTradeAllowanceCharge marked as a charge within an invoice line’s gross price.
rule/@context)assert/@test)