Element 'ram:ActualAmount' must occur exactly 1 times.
This allowance is missing ram:ActualAmount, or the element occurs more than once. It must occur exactly once for each such allowance.
ram:ActualAmount specifies the amount of the allowance. Without exactly one amount, the allowance cannot be quantified unambiguously.
The amount for a document-level allowance is missing or has been provided more than once. Exactly one amount makes the allowance unambiguous.
- Add exactly one
ram:ActualAmountto the relevantram:SpecifiedTradeAllowanceCharge. - Remove any additional
ram:ActualAmountelements if more than one is present. - Generate the invoice again and validate it.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>10.00</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
Technical details
The test counts ram:ActualAmount in the context of an allowance where ram:ChargeIndicator is false and requires the count to equal 1.
The rule applies to a document-level allowance in ram:SpecifiedTradeAllowanceCharge within the document settlement. It concerns entries where ram:ChargeIndicator has the value false.
rule/@context)assert/@test)