Element 'ram:PostalTradeAddress' must occur exactly 1 times.
ram:BuyerTradeParty does not contain exactly one ram:PostalTradeAddress element: it is missing or occurs more than once.
The buyer record must contain exactly one postal address element.
The buyer record is missing ram:PostalTradeAddress, or the element occurs more than once. The record must contain exactly one such element.
- Find
ram:BuyerTradeParty. - Ensure that it contains exactly one
ram:PostalTradeAddresselement. - Generate the invoice again and validate it.
<ram:BuyerTradeParty/>
<ram:BuyerTradeParty> <ram:PostalTradeAddress/> </ram:BuyerTradeParty>
Technical details
Within ram:BuyerTradeParty, the rule checks that exactly one direct ram:PostalTradeAddress element is present.
The rule applies to ram:PostalTradeAddress within ram:BuyerTradeParty.
rule/@context)assert/@test)