Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not empty and does not occur in the code list checked for this element. This specific check also accepts an empty value.
ram:TypeCode identifies the type of the exchanged document. Under this rule, a value outside the associated code list is not recognized as an allowed document type code.
The value in ram:TypeCode is not included in the code list checked for this field. You can compare the code with the allowed entries and adjust it.
- Locate
ram:TypeCodein the document header. - Check whether its value is included in the code list applicable to this element.
- Generate the invoice again and validate it once more.
Technical details
The XPath test accepts an empty value or a value present in the code list identified by 2.
The rule applies to ram:TypeCode of the exchanged document in the document header.
rule/@context)assert/@test)