Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from, or occurs more than once in, the ram:PostalTradeAddress of the payee’s legal organization. It must occur exactly once.
ram:CountryID identifies the country of the postal address. Exactly one country value is required so that the address has an unambiguous country assignment.
The address of the payee’s legal organization is missing a country identifier or contains it more than once. You can correct this directly in the address.
- Find the
ram:PostalTradeAddressof the payee’s legal organization. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The rule checks that ram:CountryID occurs exactly once within ram:PostalTradeAddress.
The rule applies to the postal address of the payee’s legal organization in the payment terms.
rule/@context)assert/@test)