Codat · Schema

Accounting: Bank account transaction

> **Accessing Bank Accounts through Banking API** > > This datatype was originally used for accessing bank account data both in accounting integrations and open banking aggregators. > > To view bank account data through the Banking API, please refer to the new [Banking: Transaction](https://docs.codat.io/lending-api#/operations/list-transactions) data type. ## Overview Transactional banking data for a specific company and account. Bank transactions include the: * Amount of the transaction. * Current account balance. * Transaction type, for example, credit, debit, or transfer.

Unified APIAccountingIntegration

Properties

Name Type Description
id string Identifier for the bank transaction, unique to the company in the accounting software.
accountId string Unique identifier to the `accountId` the bank transactions originates from.
clearedOnDate object
description string Description of the bank transaction.
reconciled boolean `True` if the bank transaction has been [reconciled](https://www.xero.com/uk/guides/what-is-bank-reconciliation/) in the accounting software.
amount number The amount transacted in the bank transaction.
balance number The remaining balance in the account with ID `accountId`.
transactionType object
View JSON Schema on GitHub

JSON Schema

codat-accountingbanktransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingBankTransaction",
  "title": "Accounting: Bank account transaction",
  "description": "> **Accessing Bank Accounts through Banking API**\n> \n> This datatype was originally used for accessing bank account data both in accounting integrations and open banking aggregators. \n>\n> To view bank account data through the Banking API, please refer to the new [Banking: Transaction](https://docs.codat.io/lending-api#/operations/list-transactions) data type.\n\n## Overview\n\nTransactional banking data for a specific company and account.\n\nBank transactions include the:\n* Amount of the transaction.\n* Current account balance.\n* Transaction type, for example, credit, debit, or transfer.",
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Identifier for the bank transaction, unique to the company in the accounting software."
        },
        "accountId": {
          "type": "string",
          "nullable": true,
          "description": "Unique identifier to the `accountId` the bank transactions originates from."
        },
        "clearedOnDate": {
          "$ref": "#/components/schemas/DateTime"
        },
        "description": {
          "type": "string",
          "nullable": true,
          "description": "Description of the bank transaction."
        },
        "reconciled": {
          "type": "boolean",
          "description": "`True` if the bank transaction has been [reconciled](https://www.xero.com/uk/guides/what-is-bank-reconciliation/) in the accounting software."
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "The amount transacted in the bank transaction."
        },
        "balance": {
          "type": "number",
          "format": "decimal",
          "description": "The remaining balance in the account with ID `accountId`."
        },
        "transactionType": {
          "$ref": "#/components/schemas/AccountingBankTransaction/definitions/bankTransactionType"
        }
      }
    },
    {
      "$ref": "#/components/schemas/CommerceOrder/allOf/3"
    }
  ],
  "definitions": {
    "bankTransactionType": {
      "title": "Bank transaction type",
      "description": "Type of transaction for the bank statement line.",
      "type": "string",
      "enum": [
        "Unknown",
        "Credit",
        "Debit",
        "Int",
        "Div",
        "Fee",
        "SerChg",
        "Dep",
        "Atm",
        "Pos",
        "Xfer",
        "Check",
        "Payment",
        "Cash",
        "DirectDep",
        "DirectDebit",
        "RepeatPmt",
        "Other"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codat-accountingbanktransaction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.