---
title: "Batch Update Bank Transactions"
method: PUT
path: "/v2/accounting/bankTransactions/batch"
tags: ["BankControllerV2", "Bank Transactions (Accounting)"]
---

# Batch Update Bank Transactions

`PUT /v2/accounting/bankTransactions/batch`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/v2/accounting/bankTransactions/batch`
- Auth: HTTP bearer

**Supported for:**

`xero`

## Request body

- BatchUpdateBankTransactionDto
  - `connectionUuid` string, required: Unique connection identifier.
  - `batch` BatchUpdateBankTransaction[], 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
    - `bankTransactionRef` string, required: reference to the bank transaction to be updated

## Response `200`

- BatchUpdateBankTransactionResponseV2Dto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `batchId` string, required
  - `batch` UpdateBankTransactionIndividualResponseV2Dto[], required
    - `pushCommunicationId` string, required
    - `requestedOn` string, date-time, required
    - `status` 'success' | 'failed' | 'pending', required
    - `data` BatchUpdateBankTransaction, 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
      - `bankTransactionRef` string, required: reference to the bank transaction to be updated

## 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

## Changes

- **2026-09-03** `1383b9a47ac9`: 1 info
  - api tag `BankControllerV2` added
- **2026-08-10** `5cdfae3fa1fa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/v2/accounting/bankTransactions/batch/put.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
