Element 'ram:DefinedTradeContact' may occur at maximum 1 times.
The element ram:DefinedTradeContact occurs more than once within ram:SellerTradeParty.
At most one defined contact element is allowed for the seller. Multiple contact elements can make the association of contact details ambiguous.
The seller section contains multiple ram:DefinedTradeContact elements. You can correct the details by using no more than one contact element there.
- Find the repeated
ram:DefinedTradeContactelements inram:SellerTradeParty. - Keep no more than one
ram:DefinedTradeContactelement there. - Generate the invoice again and validate it.
<ram:SellerTradeParty> <ram:DefinedTradeContact/> <ram:DefinedTradeContact/> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:DefinedTradeContact/> </ram:SellerTradeParty>
Technical details
The test counts the direct ram:DefinedTradeContact elements in the relevant ram:SellerTradeParty and allows no more than one.
The rule applies to ram:DefinedTradeContact within the seller details in ram:SellerTradeParty.
rule/@context)assert/@test)