Element 'ram:CountryID' must occur exactly 1 times.
The ship-from party’s ram:PostalTradeAddress does not contain exactly one ram:CountryID. The element is either missing or occurs more than once.
ram:CountryID identifies the country of the postal address. Exactly one element is required so that the address country is clearly specified.
The country identifier is missing from the ship-from party’s postal address or appears more than once. You can complete the entry with exactly one ram:CountryID.
- Find
ram:PostalTradeAddresswithinram:ShipFromTradeParty. - Make sure the postal address contains exactly one
ram:CountryIDelement. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The check counts the direct ram:CountryID elements in ram:PostalTradeAddress and requires exactly one.
The rule applies to ram:CountryID within the ram:PostalTradeAddress of ram:ShipFromTradeParty.
rule/@context)assert/@test)