---
agentTools:
  projectIndex: https://developers.youtrust.com/llms.txt
---

# Introducing Classification on Document Analysis

When calling our[ Document Analysis endpoint](https://developers.yousign.com/reference/post-document_analyses), we now detect the type of uploaded document. The detected document type is returned in the field : `document_type`.

When the expected document `type` doesn't match the detected `document_type`, a new status code : `DA_1003` is raised and the Document Analysis results to a failed status.

For more information read our [full guide here](https://developers.yousign.com/update/docs/follow-an-document-analysis-status).