Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from the postal address of UltimateShipToTradeParty, or the element occurs more than once. It must occur exactly once there.
The country code identifies the country of the final delivery address.
ram:CountryID is missing from the final delivery address, or it has been entered more than once. You can correct the entry in the delivery address.
- Open the postal address under
UltimateShipToTradeParty. - 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 in UltimateShipToTradeParty within the delivery details.
rule/@context)assert/@test)