---
title: "POST /bankTransactions"
method: POST
path: "/bankTransactions"
tags: ["Bank Transactions"]
---

# POST /bankTransactions

`POST /bankTransactions`

Posts an individual bank transaction to an accounting service provider for a business.

## Request body

- PushBankTransactionDto
  - `connection` PushBankTransactionConnection, required
    - `businessName` string, required — Unique business name identifier.
    - `serviceName` 'xero', required — Name of accounting platform service.
  - `data` PushBankTransaction, required
    - `currencyRate` number
    - `currency` string
    - `transactionType` 'payment' | 'overpayment' | 'deposit' | 'expense', required
    - `customerRef` string
    - `vendorRef` string
    - `bankAccountRef` string, required
    - `lines` PushBankTransactionLine[], required
      - `quantity` number, float, required
      - `unitAmount` number, float, required
      - `description` string, required
      - `accountRef` string, required
      - `subTotal` number, float
      - `totalAmount` number, float
      - `taxRef` string
      - `memo` string
      - `taxAmount` number, float
    - `date` string, date

## Response `200`

- PushBankTransactionResponseDto
  - `businessName` string, required
  - `serviceName` 'quickbooks' | 'xero' | 'freshbooks' | 'quickbooksDesktop' | 'sageIntacct' | 'sageBusinessCloud' | 'oracleNetsuite' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'zohoBooks' | 'myob', required
  - `data` PushBankTransaction, required
    - `currencyRate` number
    - `currency` string
    - `transactionType` 'payment' | 'overpayment' | 'deposit' | 'expense', required
    - `customerRef` string
    - `vendorRef` string
    - `bankAccountRef` string, required
    - `lines` PushBankTransactionLine[], required
      - `quantity` number, float, required
      - `unitAmount` number, float, required
      - `description` string, required
      - `accountRef` string, required
      - `subTotal` number, float
      - `totalAmount` number, float
      - `taxRef` string
      - `memo` string
      - `taxAmount` number, float
    - `date` string, date

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