Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is neither empty nor included in the code list used for document types.
When provided, the document type code must match a value in the associated code list.
The value of ram:TypeCode is not included in the associated code list. Use a value listed there or leave the element empty.
- Check the value in
ram:TypeCodeagainst the code list for document types. - Use a value included in that list or leave
ram:TypeCodeempty. - Generate the invoice again and validate it.
Technical details
The test accepts an empty resolved code value or a value from the enumeration for code list ID 2.
The rule checks the value of the ram:TypeCode element in the exchanged document.
rule/@context)assert/@test)