Element 'ram:Description' must occur exactly 1 times.
ram:Description is missing from ram:SpecifiedLogisticsServiceCharge or occurs more than once. It must occur exactly once.
ram:Description describes the logistics service charge. If it is missing or occurs more than once, the charge is not stated with exactly one description.
The logistics service charge is missing its description, or the description appears more than once. A single ram:Description provides one clear description.
- Find the relevant
ram:SpecifiedLogisticsServiceCharge. - Make sure it contains exactly one
ram:Description. - Generate the invoice again and validate it once more.
<ram:SpecifiedLogisticsServiceCharge/>
<ram:SpecifiedLogisticsServiceCharge> <ram:Description>Transport service</ram:Description> </ram:SpecifiedLogisticsServiceCharge>
Technical details
The test counts the direct ram:Description 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)