Element 'ram:CountryID' must occur exactly 1 times.
In ram:PostalTradeAddress, ram:CountryID does not occur exactly once. The element is missing or appears more than once.
A postal address requires exactly one country identifier so that its country is unambiguous.
The end user’s postal address is missing its country or lists it more than once. Providing it exactly once makes the address unambiguously associated with a country.
- Check
ram:PostalTradeAddressforram:CountryID. - Make sure it contains exactly one
ram:CountryIDelement. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The check counts the direct ram:CountryID elements within ram:PostalTradeAddress and requires exactly one.
The rule applies to the postal address of ram:ProductEndUserTradeParty in the invoice agreement.
rule/@context)assert/@test)