Element 'ram:CountryID' must occur exactly 1 times.
The manufacturer party’s ram:PostalTradeAddress does not contain exactly one ram:CountryID element. The element is missing or occurs more than once.
The manufacturer’s postal address must contain exactly one country identifier.
The product manufacturer’s postal address is missing ram:CountryID or contains it more than once. You can adjust the address so that exactly one country identifier is present.
- Find
ram:PostalTradeAddresson the product manufacturer party. - Make sure the address contains exactly one
ram:CountryIDelement. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountryID elements within ram:PostalTradeAddress and requires exactly one.
The rule applies to the product manufacturer party’s postal address, ram:PostalTradeAddress.
rule/@context)assert/@test)