# Document Check

This step enables users to upload and verify identity documents as part of the verification process. It ensures that only valid and compliant documents are accepted, providing a secure and efficient method for identity verification.

* Add `Document Check` step into the flow canvas at the appropriate position in the flow.
* Click on `Document Check` to open its configuration options:

<table data-header-hidden><thead><tr><th width="272"></th><th></th></tr></thead><tbody><tr><td><strong>Country Restrictions</strong></td><td>Define permitted or excluded countries for document submission.</td></tr><tr><td><strong>Document Type Restrictions</strong></td><td>Specify which types of documents are permitted or excluded.</td></tr><tr><td><strong>Ways to Capture Documents</strong></td><td><strong>Gallery Upload:</strong> Allow users to upload documents from their device gallery.</td></tr><tr><td></td><td><strong>Device Camera:</strong> Enable users to capture documents using their device camera.</td></tr><tr><td></td><td><strong>Autocapture:</strong> Identifies documents within the camera frame automatically.</td></tr><tr><td><strong>Device</strong></td><td>Allow users to make photos or upload documents from mobile and/or desktop devices. </td></tr><tr><td><strong>Age Restrictions</strong></td><td>An option to set the minimum age for verification. <br>The default age is set to 18, but you can customize this by entering a different value depending on your organization’s requirements.</td></tr><tr><td><strong>Expiry Date Adjustment</strong></td><td>Shift the document’s expiry date forward or backward by a specified number of months.</td></tr><tr><td><strong>Image Quality Focus Check</strong></td><td>Enable or disable focus checks for image quality validation.</td></tr><tr><td><strong>Image Glare Check</strong></td><td>Enable or disable glare checks for image quality validation.</td></tr><tr><td><strong>Color Check</strong></td><td>Enable or disable color checks for image quality validation.</td></tr><tr><td><strong>Document Position Validation</strong></td><td>Define the minimum indent from the document corners to the image borders as a percentage of the document width. If the indent is smaller than specified, an error will be indicated in the documentPosition field.</td></tr><tr><td><strong>Style Customization</strong></td><td>Customize the user interface to match your branding.</td></tr><tr><td><strong>Verification Validity Period</strong></td><td>This setting defines how long a successful verification result remains valid. Enforce re-verification after a defined time window for security or compliance needs.</td></tr></tbody></table>

<figure><img src="https://1111746725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3YdYFOUPi8bWAiBfJgPb%2Fuploads%2F77QNwiAUcphSQ661KSZO%2FScreenshot%202024-09-05%20at%2014.42.02.png?alt=media&#x26;token=9848ada2-f264-419c-acef-1cd1b8425415" alt=""><figcaption></figcaption></figure>

***
