Skip to main content

Veritran Docs

Veridas Document

The Veridas Document integration captures document images and processes them in the cloud for identity verification. The integration was developed for onboarding processes in Colombia. If you want to adapt this integration to another country, contact your admin.

Advantages of this integration include:

  • Providing a fully automatic and user-guided process.

  • Performing a complete OCR extraction and material authenticity analysis, and issuing a global score on the authenticity of the document.

Note

The integration described in this article may not be implemented in your environment or enabled for all your clients. Contact your admin for assistance.

Technical Details

API ID

596

API Code

veridas_document

Call API version

1.0

SDK Version

iOS:

VDDocumentCapture: [4.6.0]

VDLogger: [1.1.1]

ImageProcessing: [1.8.6]

VDLibrary: [5.4.1]

SSZipArchive: [2.2.3]

Android:

document-capture: [4.8.0]

logger: [4.8.0]

image-processing: [6.3.0]

App Version

iOS: [7.0.0]

Android: [7.1.0] (It is necessary to have the Android plugin and a Gradle version available from 7.1.0-stable branch onwards)

Objective

ID scan

Classification

Digital onboarding

Available for

iOS, Android

Platforms

Platform

Notes

iOS

As cocoapods was used in iOS (with the cocoapods-art plugin), it is necessary to configure the credentials from the .netrc file to get the dependencies.

Android

This SDK should be accompanied by the large_heap permissions.

It is necessary to configure the credentials to get the Maven artifacts. For that purpose, the following parameters were configured:

  • VERIDAS_ARTIFACT_URL

  • VERIDAS_ARTIFACT_USERNAME

  • VERIDAS_ARTIFACT_PASSWORD

Use the Veridas Document Integration in Studio

The following function is available for use in your legacy processes, and you can also use it as a block in Lambda processes. Click the function to see more details.

CaptureDocument

Initialize the document capture process

CaptureDocument

This function initializes the document capture process.

Parameter Configuration

This function requires you to customize the SDK by completing the value of Register 390 (Input parameters) with a JSON.

Function ID

Register

Value

110

1

Input Registers

Register

Description

Mandatory

Value

390

JSON for the customization of the SDK

X

The values shown are the default values provided when entering an empty JSON {}. It is also possible not to include every value in the JSON.

{
"showTutorial":"NO",
"infoAlertShow":"NO",
"observeFlash":"NO",
"closeButton":"YES",
"showDocument":"YES",
"tickColor":"YES",
"tickCircleColor":"YES",
"fixedTemplate":"YES",
"checkDocumentText":"If the capture is OK, tap CONTINUE",
"repeatButtonBackgroundColor":"#072146",
"repeatButtonTextColor":"#5BBEFF",
"repeatButtonText":"Repeat",
"continueButtonBackgroundColor":"#1973B8",
"continueButtonTextColor":"#ffffff",
"continueButtonText":"Continue",
"secondsWithoutPicture":"40",
"validationBackgroundColor":"#072146",
"validateDocumentButtonsWidthDivisor":"4"
}
Output Registers

Register

Description

Value

112

Call Result

000

SELFIE_CAPTURED_SUCCESSFULLY

001

JSON_EMPTY_ERROR

002

SDK_PREVIOUSLY_STARTED_ERROR

003

JSON_SYNTAX_ERROR

004

SELFIE_PARSE_ERROR

005

SDK_ERROR (SDK internal error)

290

Capture of the document's front side

Base64 string

291

Capture of the document's back side

Base64 string