Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress or occurs more than once. It must occur exactly once.
ram:CountryID identifies the country of the postal address. The rule requires exactly one such country entry in the organization’s address.
ram:CountryID is missing or appears more than once in the buyer’s tax representative’s organization postal address. The address needs exactly one such element.
- Locate
ram:PostalTradeAddressin the buyer’s tax representative’sram:SpecifiedLegalOrganization. - Ensure that it contains exactly one
ram:CountryID. - Generate the invoice again and validate it.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The number of direct ram:CountryID elements in ram:PostalTradeAddress must be exactly one.
The rule applies to ram:PostalTradeAddress within ram:SpecifiedLegalOrganization for the buyer’s tax representative.
rule/@context)assert/@test)