Value of 'ram:TypeCode' is not allowed.
The non-empty value of ram:TypeCode does not match an entry in the code list checked for this element. An empty value passes this XPath test and is not reported as an invalid value by this rule.
ram:TypeCode identifies the document type. A provided code must be included in the corresponding code list.
The value provided for ram:TypeCode is not included in the code list checked for it. Select a code listed there.
- Replace the disallowed value of
ram:TypeCodewith a code from the corresponding code list. - Generate the invoice again and validate it once more.
Technical details
The XPath test passes when $codeValue2 is empty or when its value appears in the enumeration of code list ID 2 in FACTUR-X_MINIMUM_codedb.xml.
The rule applies to ram:TypeCode in the document header, rsm:ExchangedDocument.
rule/@context)assert/@test)