Problem: The document type is unknown.
Solution: Please check in the archive/document portal, if it is really an agreed and approved document type. The document name can not be used to identify the document type (invoice, credit note, etc.).