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

# Partial update bank ledger transaction

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

Endpoint for partially updating an existing bank ledger transaction.

## Path parameters

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

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedBankLedgerTransaction — 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
  - `account` string — The account associated with this transaction.
  - `amount` number, double — The transaction amount.
  - `bank_account` string — The bank account associated with this transaction.
  - `contact` string, nullable — The contact (customer or supplier) associated with this transaction, if any.
  - `created_ts` string, date-time — The timestamp in UTC when the transaction was created
  - `date` string, date — The transaction date.
  - `description` string — The transaction description.
  - `id` string — The unique identifier of the transaction.
  - `is_manual` boolean — Indicates whether the transaction was manually entered.
  - `legacy_id` string — [Deprecated] The legacy identifier of the 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 — The transaction reference or identifier.
  - `tax_rate` string, nullable — The tax rate to apply to this transaction, if any.

## Response `200`

- BankLedgerTransaction — 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
  - `account` string, required — The account associated with this transaction.
  - `amount` number, double, required — The transaction amount.
  - `bank_account` string, required — The bank account associated with this transaction.
  - `contact` string, nullable — The contact (customer or supplier) 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 transaction date.
  - `description` string — The transaction description.
  - `id` string, required — The unique identifier of the transaction.
  - `is_manual` boolean, required — Indicates whether the transaction was manually entered.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the 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 transaction reference or identifier.
  - `tax_rate` string, nullable — The tax rate to apply to this transaction, if any.

---

[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)
