Element 'ram:CountryID' must occur exactly 1 times.
The ram:PostalTradeAddress element does not contain exactly one ram:CountryID element. The country identifier is missing or occurs more than once.
The payee party’s postal address must contain exactly one country identifier.
The payee party’s postal address is missing its country identifier, or it is entered more than once. The address must contain exactly one ram:CountryID.
- Find the payee party’s
ram:PostalTradeAddress. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>FR</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The XPath test requires exactly one direct ram:CountryID child within ram:PostalTradeAddress.
The rule applies to the payee party’s postal address in the invoice settlement.
rule/@context)assert/@test)