Element 'ram:Description' may occur at maximum 1 times.
ram:Description occurs more than once within ram:ItemSellerTradeParty.
The XML structure allows at most one ram:Description element in this seller-item context. Multiple descriptions do not conform to the specified structure.
More than one ram:Description element is included for the seller item on this invoice line. The XML structure allows no more than one here.
- Find all
ram:Descriptionelements inram:ItemSellerTradeParty. - Make sure this element contains no more than one
ram:Description. - Regenerate the invoice and check it again.
<ram:ItemSellerTradeParty> <ram:Description>Article A</ram:Description> <ram:Description>Article A</ram:Description> </ram:ItemSellerTradeParty>
<ram:ItemSellerTradeParty> <ram:Description>Article A</ram:Description> </ram:ItemSellerTradeParty>
Technical details
The rule counts the direct ram:Description elements in context and requires their number to be no greater than one.
The rule applies to ram:ItemSellerTradeParty within the agreement for an invoice line.
rule/@context)assert/@test)