Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID is missing from ram:PostalTradeAddress or occurs more than once.
ram:CountryID identifies the country of the tax representative’s postal address. Exactly one country identifier is required for the address.
The country identifier is missing from the tax representative’s postal address, or it appears more than once. The check is satisfied when there is exactly one ram:CountryID.
- Locate the tax representative’s
ram:PostalTradeAddress. - Make sure it contains exactly one
ram:CountryID. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountryID elements in ram:PostalTradeAddress and requires a count of 1.
The postal address of the seller’s tax representative.
rule/@context)assert/@test)