Element 'ram:CountryID' must occur exactly 1 times.
ram:CountryID does not occur exactly once in PostalTradeAddress. The element is missing or occurs more than once.
ram:CountryID identifies the country of the postal address. Exactly one such element is expected for the payee’s address.
ram:CountryID is missing or appears more than once in the payee’s postal address. It must occur exactly once.
- Locate
PostalTradeAddressunderPayeeTradeParty. - Check that
ram:CountryIDoccurs exactly once. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
Technical details
The Schematron check requires exactly one direct ram:CountryID element under PostalTradeAddress.
The rule applies to the payee’s postal address under PayeeTradeParty.
rule/@context)assert/@test)