Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress or occurs more than once. Exactly one ram:CountryID is required.
ram:CountryID identifies the country of the postal address at the ship-to location.
The country identifier is missing from the ship-to postal address or has been entered more than once. Make sure exactly one ram:CountryID is present.
- Locate
ram:PostalTradeAddressfor the party at the ship-to address. - Make sure the postal address 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 test counts child elements ram:CountryID in ram:PostalTradeAddress and requires exactly one occurrence.
The rule applies to the postal address of the party at the ship-to address, in ram:PostalTradeAddress.
rule/@context)assert/@test)