---
title: "Update a Bank Transaction"
method: PUT
path: "/v2/accounting/bankTransactions/{id}"
tags: ["Bank Transactions (Accounting)"]
---

# Update a Bank Transaction

`PUT /v2/accounting/bankTransactions/{id}`

**Supported for:**

`xero` `myob` `zohoBooks`

## Path parameters

- `id` string, required

## Request body

- UpdateBankTransactionDto
  - `connectionUuid` string, required — Unique connection identifier.
  - `data` UpdateBankTransaction, required
    - `passThrough` object
    - `currencyRate` number
    - `currency` string
    - `transactionType` 'payment' | 'refund' | 'deposit' | 'expense' | 'transfer' | 'overPayment' | 'unknown' | 'salesReturn' | 'ownerDrawings' | 'salesWithoutInvoices' | 'interestIncome' | 'otherIncome' | 'expenseRefund' | 'depositFromOtherAccounts' | 'ownersContribution', required
    - `transactionDirection` 'outgoing' | 'incoming'
    - `bankAccountRef` BankAccountRefDto
      - `id` string, required
    - `entityRef` EntityRefDto
      - `type` 'customer' | 'vendor'
      - `id` string, required
    - `totalAmount` number, float
    - `lines` UpdateBankTransactionLine[]
      - `quantity` number, float
      - `unitAmount` number, float
      - `id` string
      - `description` string
      - `accountRef` AccountRefDto
        - `id` string, required
      - `taxRateRef` BaseTaxRateRef
        - `id` string, required
      - `trackingCategoryRefs` TrackingCategoryRefV2Dto[]
        - `id` string
        - `type` 'class' | 'department' | 'location' | 'unknown'
    - `memo` string
    - `postedDate` string, date-time

## Response `200`

- UpdateBankTransactionResponseDto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `pushCommunicationId` string, required
  - `requestedOn` string, date-time, required
  - `status` 'success' | 'failed' | 'pending', required
  - `data` UpdateBankTransaction, required
    - `passThrough` object
    - `currencyRate` number
    - `currency` string
    - `transactionType` 'payment' | 'refund' | 'deposit' | 'expense' | 'transfer' | 'overPayment' | 'unknown' | 'salesReturn' | 'ownerDrawings' | 'salesWithoutInvoices' | 'interestIncome' | 'otherIncome' | 'expenseRefund' | 'depositFromOtherAccounts' | 'ownersContribution', required
    - `transactionDirection` 'outgoing' | 'incoming'
    - `bankAccountRef` BankAccountRefDto
      - `id` string, required
    - `entityRef` EntityRefDto
      - `type` 'customer' | 'vendor'
      - `id` string, required
    - `totalAmount` number, float
    - `lines` UpdateBankTransactionLine[]
      - `quantity` number, float
      - `unitAmount` number, float
      - `id` string
      - `description` string
      - `accountRef` AccountRefDto
        - `id` string, required
      - `taxRateRef` BaseTaxRateRef
        - `id` string, required
      - `trackingCategoryRefs` TrackingCategoryRefV2Dto[]
        - `id` string
        - `type` 'class' | 'department' | 'location' | 'unknown'
    - `memo` string
    - `postedDate` string, date-time

## Other responses

- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized - Not logged in or log in expired
- `403` — Forbidden - Not enough permission
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
