Element 'ram:CountryID' must occur exactly 1 times.
CountryID is missing from PostalTradeAddress or occurs more than once. The element must be present exactly once.
The seller’s postal address must contain exactly one CountryID element so that the country is structurally provided in the address.
The seller’s postal address is missing CountryID or contains it more than once. The number of entries can be changed to exactly one.
- Open
PostalTradeAddressin the seller’s details. - Ensure that
CountryIDoccurs exactly once within it. - Generate the invoice again and validate it.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The check counts the direct CountryID elements within PostalTradeAddress; exactly one is required.
The rule applies to the seller’s postal address in PostalTradeAddress.
rule/@context)assert/@test)