---
title: "Create Bank Statements Report"
method: POST
path: "/insights/v2/customers/{customer_id}/reports/bank-statements"
tags: ["Report"]
---

# Create Bank Statements Report

`POST /insights/v2/customers/{customer_id}/reports/bank-statements`

## Request

- Base URL: `https://sandbox.leantech.me`
- URL: `https://sandbox.leantech.me/insights/v2/customers/{customer_id}/reports/bank-statements`
- Auth: HTTP bearer

Create a new bank statements report.

## Path parameters

- `customer_id` string, uuid, required

## Request body

- CreateBankStatementsReportRequestBody
  - `start_date` string, date, required: Start date for transactions range
  - `end_date` string, date, required: End date for transactions range
  - `account_sub_types` string[], nullable: Account sub types to include in the statements, if undefined all sub types will be included

## Response `201`

Created

- CreateReportResponseBody
  - `report_id` string, uuid, required: Unique identifier for the created report
  - `status` 'PENDING', required: Status of the report (PENDING, OK, FAILED)

---

[API](https://skmtc.dev/leantech/apis/insights-api-account-controls.md) - [All operations](https://skmtc.dev/leantech/apis/insights-api-account-controls/llms.txt) - [OpenAPI document](https://skmtc.dev/leantech/apis/insights-api-account-controls/revisions/6a904c24f1e4?raw)
