Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not in the code list provided for it. An empty value is also accepted by the test condition.
ram:TypeCode identifies the type of document. A code not in the list cannot be mapped to an allowed document type using the specified values.
The value in ram:TypeCode is not in the allowed code list. You can use a listed value or leave the element empty.
- Check the value of
ram:TypeCodeinram:ExchangedDocument. - Use an entry from the allowed code list or leave the value empty.
- Generate the invoice again and validate it.
Technical details
The test accepts an empty value or a value present as an enumeration in the code list with identifier 2.
The rule applies to ram:TypeCode in ram:ExchangedDocument in the document header.
rule/@context)assert/@test)