Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID does not occur exactly once in ram:PostalTradeAddress. The element is either missing or occurs more than once.
ram:CountryID identifies the country of the postal address. Exactly one country must be associated with the address.
ram:CountryID is missing from the postal address of ram:InvoicerTradeParty or occurs more than once. You can correct the number of country identifiers in the address.
- Locate
ram:PostalTradeAddresswithinram:InvoicerTradeParty. - Make sure it contains exactly one
ram:CountryID. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Technical details
The rule counts the direct ram:CountryID elements in ram:PostalTradeAddress and requires the count to be exactly one.
The rule applies to the postal address ram:PostalTradeAddress of ram:InvoicerTradeParty.
rule/@context)assert/@test)