---
title: "Create bank statement transaction"
method: POST
path: "/bank-accounts/{bank_account_id}/statement-transactions/"
tags: ["Bank Statement Transactions"]
---

# Create bank statement transaction

`POST /bank-accounts/{bank_account_id}/statement-transactions/`

## Request

- Base URL: `https://api.wafeq.com/v1`
- URL: `https://api.wafeq.com/v1/bank-accounts/{bank_account_id}/statement-transactions/`
- Auth: API key in header `Authorization`

Endpoint for creating a new bank statement transaction.

## Path parameters

- `bank_account_id` string, required

## Query parameters

- `expand` string

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- ApiV1BankStatementTransaction: A transaction from the statement of a bank account.
  - `amount` number, double, required: The statement amount in the transaction.
  - `bank_account` string, required: The bank account associated with this transaction.
  - `bank_reference` string: The reference the bank assigned to the transaction.
  - `calculated_balance` number, double, required: The balance computed from all statements, including this transaction.
  - `cost_center` string, nullable: The cost center associated with this transaction, if any.
  - `created_ts` string, date-time, required: The timestamp in UTC when the transaction was created
  - `date` string, date, required: The date of the transaction on the bank statement.
  - `description` string: The description of the transaction on the bank statement.
  - `id` string, required: The unique identifier of the bank statement transaction.
  - `is_posted` boolean, required: Indicates whether the transaction has been posted to the ledger.
  - `legacy_id` string, required: [Deprecated] The legacy identifier of the bank statement transaction.
  - `modified_ts` string, date-time, required: The timestamp in UTC when the transaction was last modified
  - `project` string, nullable: The project associated with this transaction, if any.
  - `reference` string: The reference of the transaction.
  - `statement_balance` number, double, required: The balance reported by the bank after this transaction.

## Response `201`

- ApiV1BankStatementTransaction: A transaction from the statement of a bank account.
  - `amount` number, double, required: The statement amount in the transaction.
  - `bank_account` string, required: The bank account associated with this transaction.
  - `bank_reference` string: The reference the bank assigned to the transaction.
  - `calculated_balance` number, double, required: The balance computed from all statements, including this transaction.
  - `cost_center` string, nullable: The cost center associated with this transaction, if any.
  - `created_ts` string, date-time, required: The timestamp in UTC when the transaction was created
  - `date` string, date, required: The date of the transaction on the bank statement.
  - `description` string: The description of the transaction on the bank statement.
  - `id` string, required: The unique identifier of the bank statement transaction.
  - `is_posted` boolean, required: Indicates whether the transaction has been posted to the ledger.
  - `legacy_id` string, required: [Deprecated] The legacy identifier of the bank statement transaction.
  - `modified_ts` string, date-time, required: The timestamp in UTC when the transaction was last modified
  - `project` string, nullable: The project associated with this transaction, if any.
  - `reference` string: The reference of the transaction.
  - `statement_balance` number, double, required: The balance reported by the bank after this transaction.

## Changes

- **2026-11-03** `b8f5e10134b4`: 1 info
  - added the new optional `query` request parameter `expand`

[Operation history](https://skmtc.dev/wafeq/apis/wafeq-public-api/changes/bank-accounts/:bank_account_id/statement-transactions/post.md)

---

[API](https://skmtc.dev/wafeq/apis/wafeq-public-api.md) - [All operations](https://skmtc.dev/wafeq/apis/wafeq-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wafeq/apis/wafeq-public-api/revisions/b8f5e10134b4?raw)
