Element 'ram:Description' must occur exactly 1 times.
ram:Description is missing from ram:SpecifiedLogisticsServiceCharge, or the element occurs more than once. The description must be present exactly once.
ram:Description describes the logistics service being charged and makes the related charge understandable.
The logistics service charge is missing its description, or the description is included more than once. Add the description once so the charge is understandable.
- Locate
ram:SpecifiedLogisticsServiceChargein the invoice settlement. - Make sure
ram:Descriptionoccurs in it exactly once. - Generate the invoice again and validate it once more.
<ram:SpecifiedLogisticsServiceCharge/>
<ram:SpecifiedLogisticsServiceCharge> <ram:Description>Service logistique</ram:Description> </ram:SpecifiedLogisticsServiceCharge>
Technical details
The XPath test requires exactly one child element ram:Description under each ram:SpecifiedLogisticsServiceCharge.
The rule applies to ram:Description within ram:SpecifiedLogisticsServiceCharge in the invoice settlement.
rule/@context)assert/@test)