Element 'ram:CountryID' must occur exactly 1 times.
The sales agent’s ram:PostalTradeAddress does not contain exactly one ram:CountryID. The element is either missing or occurs more than once.
ram:CountryID specifies the country of the postal address. The rule requires exactly one country designation.
The sales agent’s postal address is missing ram:CountryID, or the element occurs more than once. You can resolve this by providing exactly one such element.
- Locate
ram:PostalTradeAddressfor the sales agent. - Provide exactly one
ram:CountryIDelement inside it. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The check counts the ram:CountryID elements directly contained in ram:PostalTradeAddress and requires the count to be one.
In the sales agent’s postal address.
rule/@context)assert/@test)