Element 'ram:CountryID' must occur exactly 1 times.
In the relevant 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 postal address for the legal organization is missing its country or lists it more than once. Providing it exactly once makes the address unambiguously associated with a country.
- Check the postal address in
ram:SpecifiedLegalOrganizationforram: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 the postal address of ram:SpecifiedLegalOrganization and requires exactly one.
The rule applies to the postal address within ram:SpecifiedLegalOrganization of ram:ProductEndUserTradeParty in the invoice agreement.
rule/@context)assert/@test)