Element 'ram:CountryID' must occur exactly 1 times.
The ram:PostalTradeAddress under the sales agent’s ram:SpecifiedLegalOrganization does not contain exactly one ram:CountryID. The element is either missing or occurs more than once.
ram:CountryID specifies the country of the legal organization’s postal address. The rule requires exactly one country designation.
The postal address under the sales agent’s ram:SpecifiedLegalOrganization is missing ram:CountryID, or the element occurs more than once. You can resolve this by providing exactly one such element.
- Locate
ram:PostalTradeAddressunder the sales agent’sram:SpecifiedLegalOrganization. - Provide exactly one
ram:CountryIDelement inside it. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The check counts the ram:CountryID elements directly contained in ram:PostalTradeAddress and requires the count to be one.
In the postal address under ram:SpecifiedLegalOrganization for the sales agent.
rule/@context)assert/@test)