---
title: "Get bank accounts"
method: GET
path: "/consumers/{consumer_id}/accounting/bank-accounts"
tags: ["Accounting", "Bank accounts"]
---

# Get bank accounts

`GET /consumers/{consumer_id}/accounting/bank-accounts`

Returns a list of bank accounts in the accounting system

## Path parameters

- `consumer_id` string, uuid, required

## Query parameters

- `page` integer
- `size` integer
- `folder_id` string, nullable

## Response `200`

Successful Response

- ChiftPageBankAccountItemOut
  - `items` BankAccountItemOut[], required
    - `id` string, required
    - `code` string, nullable — A userfriendly code to represent the bank account. This will be used as the code of the journal if we need to create a journal for the bank account.
    - `currency` string, nullable — Currency of the bank account (e.g., EUR, USD).
    - `account_name` string, nullable — Name of the bank account. Represents this specific bank account in the accounting system.
    - `account_number` string, nullable — Unique number representing the bank account.
    - `iban` string, nullable — IBAN of the bank account.
    - `bank_name` string, nullable — Name of the bank linked to the bank account.
    - `journal_id` string, nullable — Indicates the journal used in the accounting system to represent the bank account. The journal contains all the transactions related to this specific bank account.
    - `ledger_account` string, nullable — Indicates the ledger account used in the accounting system to represent the bank account. The ledger account is used in all the transactions related to this specific bank account. This ledger account is used to track the balance of the bank account.
    - `unallocated_account` string, nullable — Unallocated ledger account used to book entries when the final ledger account / client / supplier / employee is not yet known (specific to bank and cash journals)
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required

## Other responses

- `400` — Bad Request
- `422` — Validation Error

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
