Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from the postal address of ram:SpecifiedLegalOrganization, or the element occurs more than once. It must occur exactly once there.
The country code identifies the country of the legal delivery organization’s postal address.
ram:CountryID is missing from the legal delivery organization’s postal address, or it has been entered more than once. You can correct the entry in that postal address.
- Open
ram:PostalTradeAddresswithinram:SpecifiedLegalOrganizationof the final delivery party. - Make sure that
ram:CountryIDoccurs there exactly once. - Generate the invoice again and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The test counts direct ram:CountryID elements within the relevant ram:PostalTradeAddress and requires the count to be 1.
The rule applies to the postal address within ram:SpecifiedLegalOrganization of the final delivery party.
rule/@context)assert/@test)