Value of 'ram:CountryID' is not allowed.
If ram:CountryID contains a value, that value must be in the country-code list. An empty value also satisfies the shown test.
The rule restricts any supplied country code to values allowed by the referenced code list.
The value of ram:CountryID in the buyer organization’s address is not in the code list checked by this rule. This rule also accepts an empty value.
- Check
ram:CountryIDin the buyer organization’s address. - Use only a value from the allowed code list there, or leave the element without a value.
- Regenerate the invoice and validate it again.
Technical details
The XPath passes when $codeValue10 is empty or occurs as an enumeration value in the code list with identifier 10.
The rule applies to ram:CountryID in the postal address within the buyer’s ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)