Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from the ram:PostalTradeAddress of the invoicee’s legal organization or occurs more than once. It must occur exactly once.
The postal address of the invoicee’s legal organization must contain exactly one country designation.
ram:CountryID is missing or appears more than once in the postal address of the invoicee’s legal organization. The element must occur exactly once.
- Locate
ram:PostalTradeAddressin the invoicee’sram:SpecifiedLegalOrganization. - Make sure
ram:CountryIDoccurs exactly once within it. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>...</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The rule counts ram:CountryID within ram:PostalTradeAddress under ram:SpecifiedLegalOrganization and requires exactly one occurrence.
The rule applies to the postal address in the invoicee’s ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)