# Accounting API API

> Accounting API API on Apizie: 105 endpoints (List account transactions, Get account transaction, List bank accounts, List bank transactions for bank account, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/finance:codat-accounting/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `finance:codat-accounting`
- Category: Finance
- Status: byok
- Source: https://codat.io
- Page: https://www.apizie.tech/api/finance/codat-accounting
- OpenAPI: https://www.apizie.tech/api/finance/codat-accounting/openapi.json

A flexible API for pulling accounting data, normalized and aggregated from 20 accounting integrations. Standardize how you connect to your customers’ accounting software. View, create, update, and delete data in the…

## Endpoints

### List account transactions
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-account-transactions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Get account transaction
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-account-transaction` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| accountTransactionId | string | yes |  |

### List bank accounts
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bank-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List bank transactions for bank account
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bank-account-transactions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| accountId | string | yes | Unique identifier for an account |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List bill attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-bill-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get bill attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-bill-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| attachmentId | string | yes | Unique identifier for an attachment |

### Download bill attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-bill-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| attachmentId | string | yes | Unique identifier for an attachment |

### List customer attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-customer-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| customerId | string | yes |  |

### Get customer attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-customer-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| customerId | string | yes |  |
| attachmentId | string | yes | Unique identifier for an attachment |

### Download customer attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-customer-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| customerId | string | yes |  |
| attachmentId | string | yes | Unique identifier for an attachment |

### List direct costs
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-direct-costs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List direct cost attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-direct-cost-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directCostId | string | yes | Unique identifier for a direct cost |

### Get direct cost attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-direct-cost-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directCostId | string | yes | Unique identifier for a direct cost |
| attachmentId | string | yes | Unique identifier for an attachment |

### Download direct cost attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-direct-cost-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directCostId | string | yes | Unique identifier for a direct cost |
| attachmentId | string | yes | Unique identifier for an attachment |

### Get direct incomes
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-direct-incomes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List direct income attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-direct-income-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directIncomeId | string | yes | Unique identifier for a direct income |

### Get direct income attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-direct-income-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directIncomeId | string | yes | Unique identifier for a direct income |
| attachmentId | string | yes | Unique identifier for an attachment |
| timeoutInMinutes | integer | no |  |

### Download direct income attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-direct-income-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directIncomeId | string | yes | Unique identifier for a direct income |
| attachmentId | string | yes | Unique identifier for an attachment |

### Get invoice attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-invoice-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |

### Get invoice attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-invoice-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |
| attachmentId | string | yes | Unique identifier for an attachment |

### Download invoice attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-invoice-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |
| attachmentId | string | yes | Unique identifier for an attachment |

### List supplier attachments
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-supplier-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| supplierId | string | yes | Unique identifier for a supplier |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get supplier attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-supplier-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| supplierId | string | yes | Unique identifier for a supplier |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| attachmentId | string | yes | Unique identifier for an attachment |

### Download supplier attachment
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-supplier-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| supplierId | string | yes | Unique identifier for a supplier |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| attachmentId | string | yes | Unique identifier for an attachment |

### List transfers
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-transfers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Get create/update bank account model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-bank-accounts-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### List push options for bank account bank transactions
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-bank-account-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| accountId | string | yes | Path parameter {accountId} |

### Get create/update bill credit note model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-bill-credit-notes-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create bill payment model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-bill-payments-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update bill model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-bills-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create account model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-chart-of-accounts-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update credit note model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-credit-notes-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update customer model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-customers-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create direct cost model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-direct-costs-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create direct income model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-direct-incomes-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update invoice model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-invoices-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create item model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-items-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create journal entry model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-journal-entries-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create journal model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-journals-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create payment model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-payments-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update purchase order model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-purchase-orders-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create/update supplier model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-update-suppliers-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Get create transfer model
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-create-transfers-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Create account
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create bank account
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-bank-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| allowSyncOnPushComplete | boolean | no |  |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create bank transactions
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-bank-transactions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| allowSyncOnPushComplete | boolean | no |  |
| timeoutInMinutes | integer | no |  |
| accountId | string | yes | Path parameter {accountId} |
| body | object | no | JSON request body |

### Update bank account
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-bank-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| bankAccountId | string | yes | Unique identifier for a bank account |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create bill credit note
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-bill-credit-note` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update bill credit note
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-bill-credit-note` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| billCreditNoteId | string | yes |  |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create bill payments
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-bill-payment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Delete bill payment
`POST https://www.apizie.tech/v1/finance:codat-accounting/delete-bill-payment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes |  |
| connectionId | string | yes |  |
| billPaymentId | string | yes |  |

### Create bill
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-bill` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update bill
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-bill` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Delete bill
`POST https://www.apizie.tech/v1/finance:codat-accounting/delete-bill` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Upload bill attachments
`POST https://www.apizie.tech/v1/finance:codat-accounting/upload-bill-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| body | object | no | Form fields as a JSON object |

### Create credit note
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-credit-note` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update creditNote
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-credit-note` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| creditNoteId | string | yes |  |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create customer
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-customer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update customer
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-customer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| customerId | string | yes |  |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create direct cost
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-direct-cost` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Upload direct cost attachment
`POST https://www.apizie.tech/v1/finance:codat-accounting/upload-direct-cost-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directCostId | string | yes | Unique identifier for a direct cost |
| body | object | no | Form fields as a JSON object |

### Create direct income
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-direct-income` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create direct income attachment
`POST https://www.apizie.tech/v1/finance:codat-accounting/upload-direct-income-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| directIncomeId | string | yes |  |
| body | object | no | Form fields as a JSON object |

### Create invoice
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-invoice` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update invoice
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-invoice` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Delete invoice
`POST https://www.apizie.tech/v1/finance:codat-accounting/delete-invoice` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |

### Push invoice attachment
`POST https://www.apizie.tech/v1/finance:codat-accounting/upload-invoice-attachment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| invoiceId | string | yes | Unique identifier for an invoice |
| body | object | no | Form fields as a JSON object |

### Create item
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create journal entry
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-journal-entry` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Delete journal entry
`POST https://www.apizie.tech/v1/finance:codat-accounting/delete-journal-entry` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| journalEntryId | string | yes | Unique identifier for a journal entry |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |

### Create journal
`POST https://www.apizie.tech/v1/finance:codat-accounting/push-journal` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create payment
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-payment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Create purchase order
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-purchase-order` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update purchase order
`POST https://www.apizie.tech/v1/finance:codat-accounting/update-purchase-order` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| purchaseOrderId | string | yes |  |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create suppliers
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-supplier` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| body | object | no | JSON request body |

### Update supplier
`POST https://www.apizie.tech/v1/finance:codat-accounting/put-supplier` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| supplierId | string | yes | Unique identifier for a supplier |
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| timeoutInMinutes | integer | no |  |
| forceUpdate | boolean | no |  |
| body | object | no | JSON request body |

### Create transfer
`POST https://www.apizie.tech/v1/finance:codat-accounting/create-transfer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| connectionId | string | yes | Unique identifier for a company's data connection. |
| body | object | no | JSON request body |

### List accounts
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List all bank transactions
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bank-transactions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| accountId | string | yes | Unique identifier for an account |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List bill credit notes
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bill-credit-notes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List bill payments
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bill-payments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List bills
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-bills` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Get bill
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-bill` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billId | string | yes | Unique identifier for a bill |
| companyId | string | yes | Unique identifier for your SMB in Codat. |

### List credit notes
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-credit-notes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List customers
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-customers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Get balance sheet
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-balance-sheet` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| periodLength | integer | yes |  |
| periodsToCompare | integer | yes |  |
| startMonth | string | no | In Codat's data model, dates and times are represented using the ISO 8601 standard . Date and time fields are formatted as strings; for… |

### Get cash flow statement
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-cash-flow-statement` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| periodLength | integer | yes |  |
| periodsToCompare | integer | yes |  |
| startMonth | string | no | In Codat's data model, dates and times are represented using the ISO 8601 standard . Date and time fields are formatted as strings; for… |

### Get profit and loss
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-profit-and-loss` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| periodLength | integer | yes |  |
| periodsToCompare | integer | yes |  |
| startMonth | string | no | In Codat's data model, dates and times are represented using the ISO 8601 standard . Date and time fields are formatted as strings; for… |

### Get company info
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-company-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |

### Refresh company info
`POST https://www.apizie.tech/v1/finance:codat-accounting/post-sync-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |

### List invoices
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-invoices` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Get invoice as PDF
`GET https://www.apizie.tech/v1/finance:codat-accounting/download-invoice-pdf` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| invoiceId | string | yes | Unique identifier for an invoice |

### List items
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List journal entries
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-journal-entries` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List journals
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-journals` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List payments
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-payments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List purchase orders
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-purchase-orders` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List sales orders
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-sales-orders` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List suppliers
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-suppliers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List all tax rates
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-tax-rates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### List tracking categories
`GET https://www.apizie.tech/v1/finance:codat-accounting/list-tracking-categories` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| page | integer | yes | Page number. [Read more](https://docs.codat.io/using-the-api/paging). |
| pageSize | integer | no | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). |
| query | string | no | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). |
| orderBy | string | no | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). |

### Aged creditors report
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-aged-creditors-report` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| reportDate | string | no | Date the report is generated up to. |
| numberOfPeriods | integer | no | Number of periods to include in the report. |
| periodLengthDays | integer | no | The length of period in days. |

### Aged creditors report available
`GET https://www.apizie.tech/v1/finance:codat-accounting/is-aged-creditors-report-available` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |

### Aged debtors report
`GET https://www.apizie.tech/v1/finance:codat-accounting/get-aged-debtors-report` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |
| reportDate | string | no | Date the report is generated up to. |
| numberOfPeriods | integer | no | Number of periods to include in the report. |
| periodLengthDays | integer | no | The length of period in days. |

### Aged debtors report available
`GET https://www.apizie.tech/v1/finance:codat-accounting/is-aged-debtor-report-available` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| companyId | string | yes | Unique identifier for your SMB in Codat. |

## Example
```
curl "https://www.apizie.tech/v1/finance:codat-accounting/list-account-transactions" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Accounting API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/finance:codat-accounting/list-account-transactions with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Accounting API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Accounting API itself also needs your own key from codat.io.

### Can AI agents use the Accounting API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key finance:codat-accounting.

### What is the status of the Accounting API API?
Needs your own provider key (bring your own key)
