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