Initiate a new Document Trust Analysis

Initiate a new Document Trust Analysis to extract data from a given document type.

Related guide: Document Trust Analysis

ℹ️ This endpoint accepts two request body formats — pick the one that matches your use case:

  • 📁 multipart/form-data — upload a binary file containing the document to analyse.
  • 📝 application/json — reference an existing Workflow Session Applicant by ID.

🔎 Analysis type (analysis_type)

  • extraction: true (default): data is extracted from the document. A document type is required. Optionally set fraud_level (standard or advanced) to also run fraud detection.
  • extraction: false (fraud-only): no data extraction. Only available with multipart/form-data (direct file upload): type is optional and fraud_level must be standard or advanced. When type is set, the classification checks that the document is of this type (DA_1003 or DA_1004 otherwise). When type is omitted, the classification is only reported in document_classification. Not supported with the application/json (Applicant) variant, where a document type is always required.

On multipart/form-data, analysis_type is sent as form fields (analysis_type[extraction], analysis_type[fraud_level]) and extraction is a string ("true"/"false").

🧾 Tax notice (tax_notice) in France, per fraud_level

The 2D-Doc printed on the French tax notice is read only with standard.

fraud_levelFilesExtraction2d_docDA_1304Checks compared withFraud detection
none or omittedPDF, JPG, PNGYesnullNeverValues read in the textNone
standardPDF onlyYesFilled when an income tax notice 2D-Doc (ANTS type 04, or 28 since 2025) is found and its signature and certificate are valid. Otherwise nullWhen the file was read and holds no 2D-Doc: the analysis is failed. A 2D-Doc that cannot be read gives inconclusive with DA_3004, or failed with DA_3001 when the fraud risk is blockingThe valid 2D-Doc, otherwise the values read in the textDocument Trust (fraud_risk_analysis, barcode.* indicators)
advancedPDF, JPG, PNGYesnullNeverValues read in the textResistant (fraud_risk_analysis)
standard, extraction: falsePDF onlyNo (classification only)None: extracted_from_document is []NeverNoneDocument Trust. The 2D-Doc signature and certificate are checked only when a 2D-Doc is found, so a tax notice without a 2D-Doc can end done
advanced, extraction: falsePDF, JPG, PNGNo (classification only)None: extracted_from_document is []NeverNoneResistant

🔓 Endpoint access

  • Environments: production, sandbox
  • API key scopes: organization, workspace
  • Plans: pro, scale
  • Add-ons (for production access):
    • For extraction only Document Analysis
    • For Fraud Detection with fraud_level set to standard and Extraction Document Trust Standard
    • For Fraud Detection with fraud_level set to advanced and Extraction Document Trust Advanced
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

analysis_type is optional. Omit it, or set fraud_level to none, to extract the data without fraud detection. Set fraud_level to standard to also read the 2D-Doc of a French tax notice, or to advanced.

uuid
required

The Applicant ID linked to the Workflow Session.

string
enum
required

Type of document you want to analyze. Will be used to match the detected document type.

Allowed:
analysis_type
object

Controls what the Document Analysis performs.

  • When extraction is true (default), data is extracted from the document and a document type is required.
  • When extraction is false (fraud-only), type is optional and fraud_level must be standard or advanced. When type is set, the classification checks that the document is of this type (DA_1003 or DA_1004 otherwise). When type is omitted, the classification is only reported in document_classification. Only available with multipart/form-data (direct file upload); not supported when attaching to an Applicant (application/json), where a document type is always required.
string
enum

The country code of the document.
Required, when extraction is enabled, if type is vehicle_registration_document (accepted: FR, IT), temporary_vehicle_registration_document (accepted: IT), tax_notice (accepted: FR, DE, IT), payslip (accepted: FR, IT), invoice (accepted: FR, IT, DE), proof_of_address (accepted: IT, DE) or id_document (accepted: DE).

Allowed:
checks
object | null

Checks to perform on the document.
Not supported when extraction is false.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json