Skip to main content
Document Analysis handles supporting documents, such as a payslip, tax return or employment contract. The applicant chooses a document type and uploads the document. Its data is extracted automatically and matched against the applicant’s details. You configure which document types are accepted and which fields are required.

Use cases

What you can configure

  • Accepted documents. Turn document types on or off, for example payslips and tax returns for affordability, or bank statements and crypto exports for source of funds.
  • How recent a document must be. Set a validity period per document type.
  • Required data. Make optional fields required.
  • Verification rules. For each matching rule, choose whether a mismatch sets the application to needs-review or declined.
Turn on Document Analysis in Flows → [flow name] → Services. All of the settings above are set in the Backoffice, under Settings → Verification rules → Document Analysis, or in the flow’s own verification rules. See Verification rules.

Acceptable documents

Choose which document types the applicant can pick from. Each type can be enabled or disabled independently.

Validity period

Set how recent a document must be, in months, per document type. Default: 6 months. A document issued earlier than that fails the Date of issue rule.

User flow in the Web SDK

  1. The applicant selects a document type from the list.
  2. The applicant uploads files or takes photos of the pages. For payslips, up to 3 documents.
  3. Document Analysis extracts the data and matches it against the applicant’s details.
  4. Extracted data and match results appear in the application details in the Backoffice.
Web SDK screens: welcome, personal details, supported documents, review of an employment contract, sending, success

Document Analysis in the Web SDK

Matching rules

Each rule can be enabled or disabled. For each one you choose what happens when it fails: declined or needs-review.

Request

Send the applicant’s details in application.fields and the document in application.documentAnalysis.file.

Example

Send the file as a data URI, the same way as for Proof of Address and Bank Statement. You don’t pass the document type: it is detected from the document and returned in documentType.

Result

Example

A bank statement checked against the applicant’s first and last name. Matching ignores letter case.

Concerns

Values in {braces} are filled in at runtime. All codes are in Considers lists.