Element 'ram:PostalTradeAddress' must occur exactly 1 times.
The ram:PostalTradeAddress element is missing from ram:SellerTradeParty or occurs more than once. It must occur exactly once.
The postal address is a required part of the seller details.
The postal address is missing from the seller details or is included more than once. You can resolve this by providing exactly one ram:PostalTradeAddress.
- Check the
ram:PostalTradeAddresselements insideram:SellerTradeParty. - Make sure that exactly one
ram:PostalTradeAddressis present there. - Generate the invoice again and validate it.
<ram:SellerTradeParty/>
<ram:SellerTradeParty> <ram:PostalTradeAddress/> </ram:SellerTradeParty>
Technical details
The rule counts the direct ram:PostalTradeAddress elements under ram:SellerTradeParty and requires exactly one.
Within ram:SellerTradeParty, which contains the seller’s details.
rule/@context)assert/@test)