Element 'ram:AppliedAmount' must occur exactly 1 times.
ram:AppliedAmount is missing from ram:SpecifiedLogisticsServiceCharge or occurs more than once. It must occur exactly once.
ram:AppliedAmount specifies the applied amount of the logistics service charge. Without exactly one amount value, the charge is not stated with an unambiguous amount.
The amount for the logistics service charge is missing or appears more than once. A single ram:AppliedAmount provides one amount value.
- Find the relevant
ram:SpecifiedLogisticsServiceCharge. - Make sure it contains exactly one
ram:AppliedAmount. - Generate the invoice again and validate it once more.
<ram:SpecifiedLogisticsServiceCharge/>
<ram:SpecifiedLogisticsServiceCharge> <ram:AppliedAmount>10.00</ram:AppliedAmount> </ram:SpecifiedLogisticsServiceCharge>
Technical details
The test counts the direct ram:AppliedAmount elements in ram:SpecifiedLogisticsServiceCharge and requires the count to be 1.
The rule applies to a specified logistics service charge in the settlement information.
rule/@context)assert/@test)