# List Customer Statements

Get all statements for all accounts of a specific customer.

Endpoint: GET /api/v1/customers/{customer_id}/statements/
Version: Version: 970cd0fc
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer

## Path parameters:

  - `customer_id` (string, required)

## Query parameters:

  - `account[]` (any)

  - `order` (string)

  - `type[]` (array)

  - `key` (any)
    Date formatted either `YYYY` or `YYYY-MM`

  - `created[from]` (any)
    Earliest date a statement became available, inclusive. Distinct from `key`, which is the period a statement covers.

  - `created[to]` (any)
    Latest date a statement became available, inclusive.

  - `cursor` (string)

  - `limit` (integer)

## Header parameters:

  - `x-jiko-idempotency` (string, required)
    A UUID you generate to identify this request. Reusing a value that was already sent is rejected as a duplicate request.

  - `x-jiko-signature` (string, required)
    Base64-encoded HMAC-SHA256 hash of `x-jiko-idempotency + request pathname + body`, keyed with your shared secret. See [Authentication](/products/partner-api/guides/building/auth) for the full algorithm and a code sample.

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `prev_page` (any)

  - `next_page` (any)

  - `items` (array, required)

  - `items.id` (string, required)

  - `items.jiko_account_id` (any, required)

  - `items.type` (string, required)
    Enum: "1099B", "1099INT", "BANK", "BROKERAGE", "CONSOLIDATED_BANK", "CONSOLIDATED_BROKERAGE"

  - `items.key` (string, required)

  - `items.pdf_download_url` (string, required)

  - `items.time_created` (string, required)

  - `items.csv_zip_download_url` (any, required)

  - `items.object_type` (string, required)

  - `object_type` (string)

## Response 404:

  - `404` (unknown)
    Not found

## Response 422:

  - `422` (unknown)
    Validation Error

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)

