Element 'ram:CountryID' must occur exactly 1 times.
CountryID is missing from the invoicee’s PostalTradeAddress or does not occur exactly once. CountryID must be present exactly once.
CountryID identifies the country of the postal address. The rule requires exactly one country entry in PostalTradeAddress.
CountryID is missing or appears more than once in the invoicee’s postal address. You can correct this by including exactly one CountryID.
- Find the invoicee’s
PostalTradeAddress. - Include exactly one
CountryIDelement inside it. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
Within PostalTradeAddress, the number of direct CountryID elements must be exactly one.
The rule applies to the invoicee’s postal address in PostalTradeAddress.
rule/@context)assert/@test)