Element 'ram:CountryID' must occur exactly 1 times.
The legal organisation’s ram:PostalTradeAddress element does not contain exactly one ram:CountryID element. The country identifier is missing or occurs more than once.
The postal address of the payee party’s legal organisation must contain exactly one country identifier.
The postal address of the payee party’s legal organisation is missing its country identifier, or it is entered more than once. The address must contain exactly one ram:CountryID.
- Find
ram:PostalTradeAddresswithin the payee party’sram:SpecifiedLegalOrganization. - 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 the ram:PostalTradeAddress of ram:SpecifiedLegalOrganization.
The rule applies to the postal address of the payee party’s legal organisation.
rule/@context)assert/@test)