Value of 'ram:CountryID' is not allowed.
A non-empty value in ram:CountryID is not included in the code list specified for this element. An empty value passes this value check, but the number of elements is checked separately.
The country identifier assigns the address to a country. An allowed code is required so that this country value can be interpreted using the specified code list.
The value of ram:CountryID in the payee legal organization’s address is not included in the allowed code list. Use a code listed there as the content of this element.
- Check the content of
ram:CountryIDinram:PostalTradeAddress. - Compare the non-empty value with the code list applicable to this element.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value from the code list with identifier 10. It checks the content of ram:CountryID; the element count is checked by a separate rule.
The rule applies to ram:CountryID in the payee legal organization’s ram:PostalTradeAddress in the payment terms.
rule/@context)assert/@test)