Element 'ram:Name' must occur exactly 1 times.
ram:Name does not occur exactly once in ram:SellerTradeParty. The name is either missing or appears more than once.
The name is a required detail for identifying the seller.
The seller’s name is missing from the seller details or is entered more than once. Having exactly one ram:Name resolves this issue.
- Check the
ram:Nameelements insideram:SellerTradeParty. - Make sure that exactly one
ram:Nameis present there. - Generate the invoice again and validate it.
<ram:SellerTradeParty/>
<ram:SellerTradeParty> <ram:Name>Example Seller</ram:Name> </ram:SellerTradeParty>
Technical details
The rule counts the direct ram:Name elements under ram:SellerTradeParty and requires exactly one.
Within ram:SellerTradeParty, which contains the seller’s details.
rule/@context)assert/@test)