Element 'ram:ID' may occur at maximum 1 times.
A referenced product contains more than one ram:ID element. This element may occur at most once within ram:IncludedReferencedProduct.
The structure allows at most one product ID for each referenced product. Multiple IDs in this place do not match the required XML structure.
ram:ID appears more than once for a referenced product. You can adjust the entry so that it contains at most one product ID.
- Locate the affected
ram:IncludedReferencedProduct. - Remove any extra
ram:IDelements so that at most one remains. - Regenerate the invoice and check it again.
<ram:IncludedReferencedProduct> <ram:ID>A</ram:ID> <ram:ID>B</ram:ID> </ram:IncludedReferencedProduct>
<ram:IncludedReferencedProduct> <ram:ID>A</ram:ID> </ram:IncludedReferencedProduct>
Technical details
The rule counts the direct ram:ID elements in the context of ram:IncludedReferencedProduct and allows zero or one.
The rule applies to ram:ID within a referenced product (ram:IncludedReferencedProduct) on an invoice line.
rule/@context)assert/@test)