Element 'ram:Name' must occur exactly 1 times.
ram:IncludedReferencedProduct does not contain exactly one ram:Name element. The element is missing or occurs more than once.
ram:Name provides the name of the referenced product and must occur exactly once in this section.
ram:Name is missing from the referenced product or appears more than once. Exactly one name is required in this section.
- Find
ram:IncludedReferencedProductin the invoice line’s product details. - Make sure it contains exactly one
ram:Nameelement. - Generate the invoice again and validate it once more.
<ram:IncludedReferencedProduct/>
<ram:IncludedReferencedProduct> <ram:Name>Produit</ram:Name> </ram:IncludedReferencedProduct>
Technical details
The test counts the direct ram:Name elements in ram:IncludedReferencedProduct and requires exactly one.
The rule applies within ram:IncludedReferencedProduct, which appears in the product details of an invoice line.
rule/@context)assert/@test)