Element 'ram:Description' may occur at maximum 1 times.
The element ram:Description occurs more than once within ram:SellerTradeParty.
The seller description is allowed at most once within the seller details. Repeated entries do not make it clear which description is authoritative.
The seller details contain multiple ram:Description elements. You can resolve this by keeping only one description in the seller section.
- Find the repeated
ram:Descriptionelements inram:SellerTradeParty. - Keep no more than one
ram:Descriptionelement there. - Generate the invoice again and validate it.
<ram:SellerTradeParty> <ram:Description>First description</ram:Description> <ram:Description>Second description</ram:Description> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:Description>Seller description</ram:Description> </ram:SellerTradeParty>
Technical details
The test counts the direct ram:Description elements in the relevant ram:SellerTradeParty and allows no more than one.
The rule applies to ram:Description within the seller details in ram:SellerTradeParty.
rule/@context)assert/@test)