Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not included in the document-type code list used for this invoice. An empty code value is also permitted by the test.
ram:TypeCode identifies the type of document. An allowed code is needed to classify the document type unambiguously.
The document type code provided was not recognized as an allowed value. An appropriate code identifies the intended type of document.
- Check the value of
ram:TypeCode. - Compare it with the permitted entries in the document-type code list.
- Recreate the invoice and validate it again.
Technical details
The test accepts an empty code value or a value found in code list ID 2 in FACTUR-X_BASIC_codedb.xml.
The rule applies to the value of ram:TypeCode in ram:ExchangedDocument.
rule/@context)assert/@test)