---
title: Fetch Report | Advance BSA
slug: api-marketplace/fetch-report-or-advance-bsa
description: This document offers insights into a service that utilizes an API for generating comprehensive advanced bank statement analysis reports. Access to the API is granted through an access token and requires the reference ID of the desired bank statement. The 
createdAt: 2022-10-11T06:31:57.000Z
---

## Introduction

This service is used for fetching detailed advanced bank statement analysis report.

This API uses the reference ID generated in previous steps. It helps in auto-extracting the advanced details for the bank statement without having to manually provide the information. This API provides detailed information about the bank statement.

## How to call the API

The authorization header in the request must include the access token obtained before this API can be consumed.

The API is hit by passing reference ID in the GET parameter. The API returns complete details of the bank statement provided in the first step.

## API Input Guidelines

Need to pass follow information

- Reference ID

### Sample Curl

::::Tabs
:::Tab{title="Production"}
```curl
curl --location --request GET 'https://api.signzy.app/api/v3/advanced-bank-statement-analysis/fetch-report?referenceId=b500ac92-1820-4e21-907d-46d8' \
--header 'Authorization: <Token>'
```
:::
::::

### Input Parameters

| **PARAMETER NAME** | **REQUIRED/OPTIONAL** | **DESCRIPTION**                                        |
| ------------------ | --------------------- | ------------------------------------------------------ |
| Authorization      | REQUIRED              | Contains the id parameter returned from the login step |
| Content-Type       | REQUIRED              | application/json                                       |
| referenceId        | REQUIRED              | reference Id for which data <br />is needed            |
|                    |                       |                                                        |
|                    |                       |                                                        |

### Sample Response

```json
{
    "result": {
        "Data": {
            ...fetched details here...
        }
    }
}
```

### Response Parameter

| **PARAMETER NAME** | **DESCRIPTION**                               |
| ------------------ | --------------------------------------------- |
| **result.Data**    | **this Data object contains fetched details** |
| ****               |                                               |

## Response Codes

The API endpoint can return the following response codes:

| Response Code | Description                                                                                     | Example Input (Error Scenario)                                                                                           | Example Output (Error Scenario)                                                                                                                                                                                                                                |
| ------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200           | The request was processed successfully.                                                         | NA                                                                                                                       | NA                                                                                                                                                                                                                                                             |
| 400           | The request was not processed successfully. An error message is included in the response body.  | URL with no referenceId value: https\://api.signzy.app/api/v3/advanced-bank-statement-analysis/fetch-report?referenceId= | \{    "error": \{        "name": "error",        "message": "Blank Input Field.",        "status": 400,        "reason": "Error",        "type": "OK",        "statusCode": 200    }}                                                                          |
| 409           | The request could not be processed due to some error in upstream.                               | NA                                                                                                                       | \{<br />    "error": \{<br />        "name": "error",<br />        "message": "Error in fetching data",<br />        "status": 409,<br />        "reason": "UPSTREAM DOWN",<br />        "type": "Conflict",<br />        "statusCode": 409<br />    }<br />}} |

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

