Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress or occurs more than once. The address must contain exactly one country.
ram:CountryID identifies the country of the postal address. Exactly one country designation is required for this address.
The end user’s postal address is missing a country designation or contains it more than once. You can correct the address by including exactly one ram:CountryID.
- Locate
ram:PostalTradeAddressunderProductEndUserTradeParty. - Check that the address contains exactly one
ram:CountryID. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The check counts the ram:CountryID elements in ram:PostalTradeAddress and requires exactly one.
The rule applies to the end user’s postal address in ProductEndUserTradeParty.
rule/@context)assert/@test)