Element 'ram:CountryID' must occur exactly 1 times.
ram:PostalTradeAddress does not contain exactly one ram:CountryID element. The element is missing or occurs more than once.
ram:CountryID is the required country identifier for the tax representative’s postal address.
The tax representative’s postal address is missing ram:CountryID, or the element is present more than once. You can correct this by including exactly one element.
- Find
ram:PostalTradeAddressfor the buyer’s tax representative. - Make sure it contains exactly one
ram:CountryIDelement. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The rule counts the direct child elements ram:CountryID of ram:PostalTradeAddress and requires exactly one.
The rule applies to the postal address of the buyer’s tax representative.
rule/@context)assert/@test)