---
title: "Partial update bank statement transaction"
method: PATCH
path: "/bank-accounts/{bank_account_id}/statement-transactions/{id}/"
tags: ["Bank Statement Transactions"]
---

# Partial update bank statement transaction

`PATCH /bank-accounts/{bank_account_id}/statement-transactions/{id}/`

Endpoint for partially updating an existing bank statement transaction.

## Path parameters

- `bank_account_id` string, required
- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedBankStatementTransaction — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `amount` number, double — The statement amount in the transaction.
  - `bank_account` string — The bank account associated with this transaction.
  - `bank_reference` string
  - `calculated_balance` number, double — 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 — The timestamp in UTC when the transaction was created
  - `date` string, date
  - `description` string
  - `id` string — The unique identifier of the bank statement transaction.
  - `is_posted` boolean — Indicates whether the transaction has been posted to the ledger.
  - `legacy_id` string — [Deprecated] The legacy identifier of the bank statement transaction.
  - `modified_ts` string, date-time — The timestamp in UTC when the transaction was last modified
  - `project` string, nullable — The project associated with this transaction, if any.
  - `reference` string
  - `statement_balance` number, double — The balance reported by the bank after this transaction.

## Response `200`

- BankStatementTransaction — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `amount` number, double, required — The statement amount in the transaction.
  - `bank_account` string, required — The bank account associated with this transaction.
  - `bank_reference` string
  - `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
  - `description` string
  - `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
  - `statement_balance` number, double, required — The balance reported by the bank after this transaction.

---

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