Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress or occurs more than once.
The country identifier is a required part of this address. Exactly one element ensures that the address contains one unambiguous country identifier.
The seller tax representative’s address is missing its country identifier or contains it more than once. You can resolve this by having exactly one ram:CountryID.
- Find the seller tax representative’s
ram:PostalTradeAddress. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountryID elements in ram:PostalTradeAddress and requires exactly one.
The rule applies to the ram:PostalTradeAddress of the seller tax representative’s organisation details.
rule/@context)assert/@test)