Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress, or the element occurs more than once.
The manufacturer’s postal address must contain exactly one country identifier. Without exactly one country entry, the address does not follow the defined XML structure.
The country identifier is missing from the manufacturer’s postal address, or it appears more than once. Exactly one ram:CountryID meets this structural requirement.
- Locate the manufacturer’s
ram:PostalTradeAddress. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
Within ram:PostalTradeAddress, the check requires exactly one direct ram:CountryID element.
The rule applies to ram:CountryID in the postal address of the manufacturer of a product on an invoice line.
rule/@context)assert/@test)