> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.idenfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample Documents

> Download iDenfy sample ID documents and test images to simulate approved, denied, and suspected verification outcomes in your sandbox integration.

iDenfy provides dummy documents for easier testing and integration.

<Warning>
  Some security features are disabled for the documents listed below. Use them only in [testing and development environments](/environments).

  If a verification is denied or suspected due to *Doc spoof detected*, passive liveness should be turned off to receive successful results.
</Warning>

## Download All Samples

<Card title="Download all sample images (ZIP)" icon="file-zipper" href="https://github.com/idenfy/idenfy_sample_documents/archive/refs/tags/1.0.0.zip">
  Contains all sample passport and face images for every test scenario below.
</Card>

***

## Flow with `APPROVED` Auto Results

<Columns cols={2}>
  <div>
    <Accordion title="Successful verification images">
      <img alt="Netherlands passport (valid)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/SAMPLE_PASSPORT_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=6ce1f86121cca8e20415f67aff1080eb" data-path="images/sample-documents/SAMPLE_PASSPORT_VALID.jpg" />

      <img alt="Face (valid)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/FACE_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=7a6d27fa4278b75fe35c4f22c918b87e" data-path="images/sample-documents/FACE_VALID.jpg" />
    </Accordion>

    Use these resources to complete a normal verification flow that results in a successful automatic verification.

    Use this JSON body in your [session creation](/kyc/generate-token) request:
  </div>

  <div>
    **Token generation request body:**

    ```json theme={"system"}
    {
      "clientId": "00000000",
      "firstName": "John",
      "lastName": "Sample Butch"
    }
    ```

    **Expected response:**

    ```json theme={"system"}
    {
      "overall": "APPROVED",
      "suspicionReasons": [],
      "mismatchTags": [],
      "fraudTags": [],
      "autoDocument": "DOC_VALIDATED",
      "autoFace": "FACE_MATCH"
    }
    ```
  </div>
</Columns>

***

## Flow with `DENIED` — `FACE_MISMATCH` Results

<Columns cols={2}>
  <div>
    <Accordion title="Passport and face mismatch images">
      <img alt="Netherlands passport (valid)" width="400" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/SAMPLE_PASSPORT_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=6ce1f86121cca8e20415f67aff1080eb" data-path="images/sample-documents/SAMPLE_PASSPORT_VALID.jpg" />

      <img alt="Face (mismatch)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/FACE_MISMATCH.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=850a0810f3d1a37dfa4793568632eba6" data-path="images/sample-documents/FACE_MISMATCH.jpg" />
    </Accordion>
  </div>

  <div>
    **Expected response:**

    ```json theme={"system"}
    {
      "overall": "DENIED",
      "suspicionReasons": [],
      "mismatchTags": [],
      "fraudTags": [],
      "autoDocument": "DOC_VALIDATED",
      "autoFace": "FACE_MISMATCH"
    }
    ```
  </div>
</Columns>

***

## Flow with `DENIED` — `DOC_EXPIRED` Results

<Columns cols={2}>
  <div>
    <Accordion title="Expired passport images">
      <img alt="Netherlands passport (expired)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/SAMPLE_PASSPORT_EXPIRED.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=f9f2dcc0c29a6cf751343495a8f7a721" data-path="images/sample-documents/SAMPLE_PASSPORT_EXPIRED.jpg" />

      <img alt="Face (valid)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/FACE_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=7a6d27fa4278b75fe35c4f22c918b87e" data-path="images/sample-documents/FACE_VALID.jpg" />
    </Accordion>
  </div>

  <div>
    **Expected response:**

    ```json theme={"system"}
    {
      "overall": "DENIED",
      "suspicionReasons": [],
      "mismatchTags": [],
      "fraudTags": [],
      "autoDocument": "DOC_EXPIRED",
      "autoFace": "FACE_MATCH"
    }
    ```
  </div>
</Columns>

***

## Flow with `DENIED` — `DOC_FAKE` Results

<Columns cols={2}>
  <div>
    <Accordion title="Fake passport images">
      <img alt="Netherlands passport (fake)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/SAMPLE_PASSPORT_FAKE.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=83dd26dca9362c2d74aaa4829eb3f7c3" data-path="images/sample-documents/SAMPLE_PASSPORT_FAKE.jpg" />

      <img alt="Face (valid)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/FACE_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=7a6d27fa4278b75fe35c4f22c918b87e" data-path="images/sample-documents/FACE_VALID.jpg" />
    </Accordion>
  </div>

  <div>
    **Expected response:**

    ```json theme={"system"}
    {
      "overall": "DENIED",
      "suspicionReasons": [],
      "mismatchTags": [],
      "fraudTags": [],
      "autoDocument": "DOC_FAKE",
      "autoFace": "FACE_MATCH"
    }
    ```
  </div>
</Columns>

***

## Flow with AML `SUSPECTED` Results

<Columns cols={2}>
  <div>
    <Note>
      If the AML setting for returning same-nationality results is enabled, this document will not be suspected. Contact support via the [dashboard](https://admin.idenfy.com/auth/login) to check or change this setting.
    </Note>

    <Accordion title="Politician passport images">
      <img alt="Netherlands passport (politician)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/PASSPORT_AML_POLITIC.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=8ec0cdc03028e6df35e7da69a3807f09" data-path="images/sample-documents/PASSPORT_AML_POLITIC.jpg" />

      <img alt="Face (valid)" width="450" src="https://mintcdn.com/idenfy/_r2xRqQaL5IzFCsl/images/sample-documents/FACE_VALID.jpg?fit=max&auto=format&n=_r2xRqQaL5IzFCsl&q=85&s=7a6d27fa4278b75fe35c4f22c918b87e" data-path="images/sample-documents/FACE_VALID.jpg" />
    </Accordion>

    Use this JSON body in your [session creation](/kyc/generate-token) request:
  </div>

  <div>
    **Token generation request body:**

    ```json theme={"system"}
    {
      "clientId": "00000000",
      "firstName": "Manfred",
      "lastName": "Weber"
    }
    ```

    **Expected response:**

    The document and face are valid, but the person matches an AML database entry, so the overall status is `SUSPECTED`.

    ```json theme={"system"}
    {
      "overall": "SUSPECTED",
      "suspicionReasons": ["AML_SUSPECTION"],
      "mismatchTags": [],
      "fraudTags": ["AML_SUSPECTION"],
      "autoDocument": "DOC_VALIDATED",
      "autoFace": "FACE_MATCH"
    }
    ```
  </div>
</Columns>

***

<Warning>
  Test these documents only in development or testing environments. Images should be uploaded using the [Direct API processing](/kyc/direct-processing) endpoint or during a verification session in the iDenfy UI. Image upload permissions are required — contact tech support via the [dashboard](https://admin.idenfy.com/auth/login) to enable upload functionality for your testing environment.
</Warning>
