---
title: "Create a bankfeedtransaction"
method: POST
path: "/accounting/{connection_id}/bankfeedtransaction"
tags: ["accounting", "bankfeedtransaction"]
---

# Create a bankfeedtransaction

`POST /accounting/{connection_id}/bankfeedtransaction`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/accounting/{connection_id}/bankfeedtransaction`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- AccountingBankfeedtransaction
  - `id` string
  - `created_at` string, date-time: creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string: ref -> accounting Organization this record belongs to
  - `bankfeedaccount_id` string: ref -> BankfeedAccount this transaction belongs to
  - `transaction_at` string, date-time: when the transaction occurred (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `posted_at` string, date-time: when it posted / cleared (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `amount` number: transaction amount (positive; direction from type)
  - `type` 'DEBIT' | 'CREDIT': direction: DEBIT, CREDIT
  - `bank_category` string: the bank's own category label
  - `description` string: bank memo / statement text
  - `merchant_name` string: counterparty as reported by the bank
  - `is_pending` boolean: true if not yet cleared
  - `reference` string: bank reference or check number
  - `currency` string: ISO 4217
  - `contact_id` string: matched vendor/customer once reconciled (reference to AccountingContact)
  - `account_id` string: GL account once categorized (reference to AccountingAccount)
  - `category_ids` string[]: dimension refs -> AccountingCategory (class/department/location)
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

## Response `200`

Successful

- AccountingBankfeedtransaction
  - `id` string
  - `created_at` string, date-time: creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string: ref -> accounting Organization this record belongs to
  - `bankfeedaccount_id` string: ref -> BankfeedAccount this transaction belongs to
  - `transaction_at` string, date-time: when the transaction occurred (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `posted_at` string, date-time: when it posted / cleared (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `amount` number: transaction amount (positive; direction from type)
  - `type` 'DEBIT' | 'CREDIT': direction: DEBIT, CREDIT
  - `bank_category` string: the bank's own category label
  - `description` string: bank memo / statement text
  - `merchant_name` string: counterparty as reported by the bank
  - `is_pending` boolean: true if not yet cleared
  - `reference` string: bank reference or check number
  - `currency` string: ISO 4217
  - `contact_id` string: matched vendor/customer once reconciled (reference to AccountingContact)
  - `account_id` string: GL account once categorized (reference to AccountingAccount)
  - `category_ids` string[]: dimension refs -> AccountingCategory (class/department/location)
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
