Bank Statement AnalysisUpload Statement

Upload Bank Statement for Analysis

Upload a PDF or scanned bank statement to begin automated analysis. Supports statements from all major Indian banks.

curl -X POST "https://production.deepvue.tech/v1/bsa/upload" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "x-api-key: YOUR_API_KEY" \
  --form files=["example_string"] \
  --form entity_name=John Doe \
  --form entity_type=example_string \
  --form account_number=example_string \
  --form account_type=example_string \
  --form bank_code=example_string \
  --form file_password=example_string \
  --form webhook_url=example_string
{
  "code": 201,
  "timestamp": 1744185415580,
  "transaction_id": "17e04494-b89a-4100-9f6e-a69625363232",
  "sub_code": "REQUEST_ACCEPTED",
  "message": "File successfully Submitted.",
  "data": {
    "referenceId": "04b603f0-aa96-4e7b-8123-6b0e494640eb"
  }
}
POST
/v1/bsa/upload
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key (header: x-api-key)
x-api-keystring
Required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
filesarray

Upload bank statement files (PDF)

entity_namestring

Name of the account holder

entity_typestring

Type of entity. Enum values: Individual, Company, Partnership, Sole_Propriotership

account_numberstring

Bank account number

account_typestring

Type of account. Enum values: Savings, Current, Cash_Credit, Over_Draft

bank_codestring

Bank code as mentioned in the list of supported bank codes

file_passwordstring

Password for password protected PDFs

webhook_urlstring

Your webhook URL where you wish to receive the analysed report

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

header
x-api-keystring
Required

API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

Body

multipart/form-data
filesarray

Upload bank statement files (PDF)

entity_namestring

Name of the account holder

entity_typestring

Type of entity. Enum values: Individual, Company, Partnership, Sole_Propriotership

account_numberstring

Bank account number

account_typestring

Type of account. Enum values: Savings, Current, Cash_Credit, Over_Draft

bank_codestring

Bank code as mentioned in the list of supported bank codes

file_passwordstring

Password for password protected PDFs

webhook_urlstring

Your webhook URL where you wish to receive the analysed report

Responses

Overview

This API enables you to upload bank statement data for analysis. The API accepts bank statement files in PDF and XML formats. Password-protected PDFs are supported when you provide the corresponding password parameter.

Required fields include entity name, entity type (Individual, Company, Partnership, Sole_Proprietorship), account number, account type (Savings, Current, Cash_Credit, Over_Draft), and bank code. Optional parameters include file password and webhook URL for asynchronous result delivery.

You must reference the complete list of Bank Codes before uploading statements. Refer to the Bank Codes reference for valid values.

You need an authorized access token to access any of the Platform APIs. One access token is valid for only 24 hours. After expiration, you can renew the token by using the Authorize endpoint to receive a fresh access token.