Element 'ram:CountryID' must occur exactly 1 times.
In the relevant ram:PostalTradeAddress, ram:CountryID does not occur exactly once. The element is missing or appears more than once.
The postal address of the seller's legal organization must contain exactly one country identifier.
ram:CountryID is missing or appears more than once in the postal address of the seller's legal organization. The number of occurrences can be corrected at this location.
- Open
ram:PostalTradeAddresswithinram:SpecifiedLegalOrganization. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountryID child elements of ram:PostalTradeAddress and requires exactly one.
The rule applies to the postal address within the seller's ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)