---
title: Statement Analysis - Preanalysis
slug: api-marketplace/statement-analysis-preanalysis
createdAt: 2024-12-13T05:27:43.734Z
---

## Introduction:

The Bank Statement Pre-Analysis API helps users perform key fraud checks on bank statements before submitting them for full analysis. The checks include:

**1. Name Match:** Verifies that the name on the statement matches the expected customer name, helping identify identity-related fraud.

**2. Address Match:** Checks that the address on the bank statement matches the expected address, helping to spot address-based fraud or identity theft.

**3. Statement Recency Check:** Ensures the bank statement is recent, identifying potentially outdated documents that may not be reliable or legitimate.

**4. Statement Continuity Check:** Verifies that the statements are continuous and not artificially tampered with (i.e., missing pages or gaps in statements).

**5. Statement Period Check:** Confirms the statement’s date range is valid and consistent, preventing attempts to manipulate the time periods for fraudulent purposes.

## Benefits:

- **Cost Savings:&#x20;**&#x42;y performing these basic checks upfront, users avoid paying for full analysis on statements that may already be flagged as fradulent.
- **Fraud Preventation:&#x20;**&#x48;elps catch potential fraud early, before spending money on a full detailed analysis.
- **Time Efficiency:&#x20;**&#x53;peeds up the review process by filtering out fradulent statements right away.
- **User-friendly:&#x20;**&#x41;utomates the fraud detection process, making it easier for users to catch red flags without manually going through each statement.

## Sample cURL:

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/statementanalysis/preanalysis' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth-token>' \
--data '{
    "customerName": "MR. LAXMINARAYAN DAS VAISHNAW",
    "customerAddress": "H NO 13 BADA TALAB DUNDA SEJBHAR RAIPUR CG 492015 RAIPUR - 492015 CHHATISGARH,INDIA",
    "statementPeriod": "3m",
    "recencyDate": "01/09/2024",
    "recencyPeriod": "1m",
    "pan": "FYDPB6357E",
    "accountType": "SA",
    "files": [
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202193/download/bd810cf287c84d138d25d154dce0dd12e00d1aa927b344a59060390b66cef17d.pdf" 
        },
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202261/download/db2d2ba06fb54c6fb7400f1298bbbaf006016406f1694d7f99caca4e3b185654.pdf"
        },
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202268/download/d08450e35c824857af0ef55002c737acc4daaecfa07a46f38526f8e78342dea0.pdf"
        }
    ]
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/statementanalysis/preanalysis' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth-token>' \
--data '{
    "customerName": "MR. LAXMINARAYAN DAS VAISHNAW",
    "customerAddress": "H NO 13 BADA TALAB DUNDA SEJBHAR RAIPUR CG 492015 RAIPUR - 492015 CHHATISGARH,INDIA",
    "statementPeriod": "3m",
    "recencyDate": "01/09/2024",
    "recencyPeriod": "1m",
    "files": [
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202193/download/bd810cf287c84d138d25d154dce0dd12e00d1aa927b344a59060390b66cef17d.pdf" 
        },
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202261/download/db2d2ba06fb54c6fb7400f1298bbbaf006016406f1694d7f99caca4e3b185654.pdf"
        },
        {
            "fileUrl": "https://files-staging.signzy.tech/api/files/5202268/download/d08450e35c824857af0ef55002c737acc4daaecfa07a46f38526f8e78342dea0.pdf"
        }
    ]
}'
```

UAE Preprod

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/uae/statementanalysis/preanalysis' \
--header 'Content-Type: application/json' \
--header 'x-consumer-id: test-consumer' \
--header 'Authorization: ' \
--data '{
    "customerName": "John Doe",
    "customerAddress": "XYZ Street",
    "statementPeriod": "12m",
    "recencyDate": "31/03/2025",
    "recencyPeriod": "12m",
    "checkAuthenticity": false,
    "files": [
        {
            "fileUrl": "https://files.signzy.tech/api/files/1739499082/download/2e05d2d81f934ad295624bc8993919c11cc55f9cd27547289b9107838bddbe7f1.pdf"
        }
    ]
}'
```

UAE Prod

```curl
curl --location 'https://api.signzy.ae/api/v3/statementanalysis/preanalysis' \
--header 'Content-Type: application/json' \
--header 'x-consumer-id: test-consumer' \
--header 'Authorization: ' \
--data '{
    "customerName": "John Doe",
    "customerAddress": "XYZ Street",
    "statementPeriod": "12m",
    "recencyDate": "31/03/2025",
    "recencyPeriod": "12m",
    "checkAuthenticity": false,
    "files": [
        {
            "fileUrl": "https://files.signzy.tech/api/files/1739499082/download/2e05d2d81f934ad295624bc8993919c11cc55f9cd27547289b9107838bddbe7f1.pdf"
        }
    ]
}'
```
:::

## Input Parameters:

| **Parameter**      | **Type** | **Description**                                                                                           | **Mandatory/Optional** |
| ------------------ | -------- | --------------------------------------------------------------------------------------------------------- | ---------------------- |
| customerName       | String   | Name of the customer which has to be matched with the statement name.                                     | Mandatory              |
| customerAddress    | String   | Address of the customer which has to be matched with the address of the customer.                         | Optional               |
| statementPeriod    | String   | Period of the statement can be passed as 6m, 3m, 1y, etc.                                                 | Mandatory              |
| recencyDate        | String   | Users can pass the recency date from where the recency has to be checked. The format should be DD/MM/YYYY | Mandatory              |
| recencyPeriod      | String   | User can define the period of recency. For ex: 6m, 3m                                                     | Mandatory              |
| pan                | String   | PAN of the customer which has to be matched.                                                              | Optional               |
| accountType        | String   | Account Type can have 3 possible values:<br />1. CA<br />2. SA<br />3. OD                                 | Optional               |
| files              | Array    | List of Files that you need analysis on                                                                   |                        |
| files\[n].fileUrl  | String   | URL of the PDF statement                                                                                  | Mandatory              |
| files\[n].password | String   | Password of the statement                                                                                 | Optional               |

## Sample Response:

```json
{
    "customerNameMatch": true,
    "customerNameMatchDescription": "Name match passed",
    "customerAddressMatch": true,
    "customerAddressMatchDescription": "Address match passed",
    "statementPeriodCheck": true,
    "statementPeriodDescription": "Statement meets the required period. Cumulatively, the period of statements is 3 months.",
    "recencyCheck": true,
    "recencyCheckDescription": "The uploaded statements are recent, from 01/06/2024 to 31/08/2024.",
    "continuityCheck": true,
    "continuityCheckDescription": "The statements uploaded have no gaps",
    "panMatch": false,
    "panMatchDescription": "PAN not passed",
    "accountTypeMatch": false,
    "accountTypeMatchDescription": "Account Type not passed"
}
```

## Status Codes:

| **CODE**                                | **MESSAGE**                                                                                                 |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| 200<br />400<br />404<br />409<br />500 | Request Successful<br />Validation Error<br />Record Not Found<br />Upstream is down<br />Server Side Error |



