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