Element 'ram:PostalTradeAddress' must occur exactly 1 times.
ram:PostalTradeAddress is missing from SellerTradeParty or occurs more than once. It must occur exactly once.
ram:PostalTradeAddress contains the seller’s postal address. The rule requires exactly one such address in the seller details.
The seller details are missing a postal address or contain more than one. Make sure SellerTradeParty contains exactly one ram:PostalTradeAddress.
- Find
SellerTradePartyin the seller details. - Check that it contains exactly one
ram:PostalTradeAddresselement. - Generate the invoice again and validate it once more.
<ram:SellerTradeParty/>
<ram:SellerTradeParty> <ram:PostalTradeAddress/> </ram:SellerTradeParty>
Technical details
The rule counts the direct ram:PostalTradeAddress elements in SellerTradeParty and requires a count of 1.
The rule applies to SellerTradeParty in the seller details.
rule/@context)assert/@test)