Apideck

Accounting API

Welcome to the Accounting API. You can use this API to access all Accounting API endpoints. Base URL The base URL for all API requests is…

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Welcome to the Accounting API.

You can use this API to access all Accounting API endpoints.

Base URL

The base URL for all API requests is https://unify.apideck.com

Headers

Custom headers that are expected as part of the request. Note that RFC7230 states header names are case insensitive.

NameTypeRequiredDescription
x-apideck-consumer-idStringYesThe id of the customer stored inside Apideck Vault. This can be a user id, account id, device id or whatever entity that can have integration within your app.
x-apideck-service-idStringNoDescribe the service you want to call (e.g., pipedrive). Only needed when a customer has activated multiple integrations for the same Unified API.
x-apideck-app-idStringYesThe application id of your Unify application. Available at https://app.apideck.com/unify/api-keys.
AuthorizationStringYesBearer KEY

Authorization

You can interact with the API through the authorization methods below.

-->

Pagination

All API resources have support for bulk retrieval via list APIs. Apideck uses cursor-based pagination via the optional cursor and limit parameters.

To fetch the first page of results, call the list API without a cursor parameter. Afterwards you can fetch subsequent pages by providing a cursor parameter. You will find the next cursor in the response body in meta.cursors.next. If meta.cursors.next is null you're at the end of the list.

In the REST API you can also use the links from the response for added convenience. Simply call the URL in links.next to get the next page of results.

Query Parameters

NameTypeRequiredDescription
cursorStringNoCursor to start from. You can find cursors for next & previous pages in the meta.cursors property of the response.
limitNumberNoNumber of results to return. Minimum 1, Maximum 200, Default 20

Response Body

NameTypeDescription
meta.cursors.previousStringCursor to navigate to the previous page of results through the API
meta.cursors.currentStringCursor to navigate to the current page of results through the API
meta.cursors.nextStringCursor to navigate to the next page of results through the API
meta.items_on_pageNumberNumber of items returned in the data property of the response
links.previousStringLink to navigate to the previous page of results through the API
links.currentStringLink to navigate to the current page of results through the API
links.nextStringLink to navigate to the next page of results through the API

⚠️ meta.cursors.previous/links.previous is not available for all connectors.

SDKs and API Clients

We currently offer a Node.js, PHP, Python and .NET SDK.
Need another SDK? Request the SDK of your choice.

Debugging

Because of the nature of the abstraction we do in Apideck Unify we still provide the option to the receive raw requests and responses being handled underlying. By including the raw flag ?raw=true in your requests you can still receive the full request. Please note that this increases the response size and can introduce extra latency.

Errors

The API returns standard HTTP response codes to indicate success or failure of the API requests. For errors, we also return a customized error message inside the JSON response. You can see the returned HTTP status codes below.

CodeTitleDescription …

Endpoints 186

Bills

  • GETList Bills/accounting/bills?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"paid","id_since":"1","billed_since":"2020-09-30","due_since":"2020-09-30","bill_number":"10001","reference":"PO-9711"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bills
  • POSTCreate Bill/accounting/bills?raw=falseCreate Bill
  • GETGet Bill/accounting/bills/:id?raw=false&fields=id,updated_atGet Bill
  • DELETEDelete Bill/accounting/bills/:id?raw=falseDelete Bill
  • PATCHUpdate Bill/accounting/bills/:id?raw=falseUpdate Bill
  • POSTCreate Bills in batch/accounting/bills/batch?raw=falseCreate multiple bills in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200 with one…

Bill Credit Notes

  • GETList Bill Credit Notes/accounting/bill-credit-notes?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","created_since":"2020-09-30T07:43:32.000Z","number":"OIT00546","supplier_id":"123abc","id_since":"1","ids":"12345,67890"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bill Credit Notes
  • POSTCreate Bill Credit Note/accounting/bill-credit-notes?raw=falseCreate Bill Credit Note
  • GETGet Bill Credit Note/accounting/bill-credit-notes/:id?raw=false&fields=id,updated_atGet Bill Credit Note
  • DELETEDelete Bill Credit Note/accounting/bill-credit-notes/:id?raw=falseDelete Bill Credit Note
  • PATCHUpdate Bill Credit Note/accounting/bill-credit-notes/:id?raw=falseUpdate Bill Credit Note
  • POSTCreate Bill Credit Notes in batch/accounting/bill-credit-notes/batch?raw=falseCreate multiple bill credit notes in a single request. Each item is processed independently, so some may be created while others fail; the response returns…

Company Info

  • GETGet company info/accounting/company-info?raw=false&fields=id,updated_atGet company info

Companies

  • GETList companies/accounting/companies?raw=false&cursor=string&limit=20&fields=id,updated_at&pass_through={"search":"San Francisco"}List all companies accessible through the current connection. Only connectors that support multi-company access (x-apideck-supports-multi-company) will return…

Credit Notes

  • GETList Credit Notes/accounting/credit-notes?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","created_since":"2020-09-30T07:43:32.000Z","number":"OIT00546","customer_id":"123abc","id_since":"1","ids":"12345,67890"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Credit Notes
  • POSTCreate Credit Note/accounting/credit-notes?raw=falseCreate Credit Note
  • GETGet Credit Note/accounting/credit-notes/:id?raw=false&fields=id,updated_atGet Credit Note
  • DELETEDelete Credit Note/accounting/credit-notes/:id?raw=falseDelete Credit Note
  • PATCHUpdate Credit Note/accounting/credit-notes/:id?raw=falseUpdate Credit Note
  • POSTCreate Credit Notes in batch/accounting/credit-notes/batch?raw=falseCreate multiple credit notes in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200…

Customers

  • GETList Customers/accounting/customers?raw=false&cursor=string&limit=20&filter={"company_name":"SpaceX","display_name":"Elon Musk","first_name":"Elon","last_name":"Musk","email":"elon@musk.com","status":"active","updated_since":"2020-09-30T07:43:32.000Z","supplier_id":"123","ids":"12345,67890"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Customers
  • POSTCreate Customer/accounting/customers?raw=falseCreate Customer
  • GETGet Customer/accounting/customers/:id?raw=false&fields=id,updated_atGet Customer
  • DELETEDelete Customer/accounting/customers/:id?raw=falseDelete Customer
  • PATCHUpdate Customer/accounting/customers/:id?raw=falseUpdate Customer
  • POSTCreate Customers in batch/accounting/customers/batch?raw=falseCreate multiple customers in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200 with…

Invoices

  • GETList Invoices/accounting/invoices?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","created_since":"2020-09-30T07:43:32.000Z","number":"OIT00546","supplier_id":"123","customer_id":"123abc","id_since":"1","ids":"12345,67890"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Invoices
  • POSTCreate Invoice/accounting/invoices?raw=falseCreate Invoice
  • GETGet Invoice/accounting/invoices/:id?raw=false&fields=id,updated_atGet Invoice
  • DELETEDelete Invoice/accounting/invoices/:id?raw=falseDelete Invoice
  • PATCHUpdate Invoice/accounting/invoices/:id?raw=falseUpdate Invoice
  • POSTCreate Invoices in batch/accounting/invoices/batch?raw=falseCreate multiple invoices in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200 with…

Invoice Items

  • GETList Invoice Items/accounting/invoice-items?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","name":"Widgets Large","type":"service","transaction_type":"sale","ids":"12345,67890"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Invoice Items
  • POSTCreate Invoice Item/accounting/invoice-items?raw=falseCreate Invoice Item
  • GETGet Invoice Item/accounting/invoice-items/:id?raw=false&fields=id,updated_at&filter={"type":"service","transaction_type":"purchase"}Get Invoice Item
  • DELETEDelete Invoice Item/accounting/invoice-items/:id?raw=falseDelete Invoice Item
  • PATCHUpdate Invoice Item/accounting/invoice-items/:id?raw=falseUpdate Invoice Item

Ledger Accounts

  • GETList Ledger Accounts/accounting/ledger-accounts?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","classification":"asset","name":"Sales"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Ledger Accounts
  • POSTCreate Ledger Account/accounting/ledger-accounts?raw=falseCreate Ledger Account
  • GETGet Ledger Account/accounting/ledger-accounts/:id?raw=false&fields=id,updated_atGet Ledger Account
  • DELETEDelete Ledger Account/accounting/ledger-accounts/:id?raw=falseDelete Ledger Account
  • PATCHUpdate Ledger Account/accounting/ledger-accounts/:id?raw=falseUpdate Ledger Account
  • POSTCreate Ledger Accounts in batch/accounting/ledger-accounts/batch?raw=falseCreate multiple ledger accounts in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200…

Payments

  • GETList Payments/accounting/payments?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","invoice_id":"123","bill_id":"123","supplier_id":"123","customer_id":"123abc","type":"accounts_receivable","status":"authorised"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Payments
  • POSTCreate Payment/accounting/payments?raw=falseCreate Payment
  • GETGet Payment/accounting/payments/:id?raw=false&fields=id,updated_atGet Payment
  • DELETEDelete Payment/accounting/payments/:id?raw=falseDelete Payment
  • PATCHUpdate Payment/accounting/payments/:id?raw=falseUpdate Payment
  • POSTCreate Payments in batch/accounting/payments/batch?raw=falseCreate multiple payments in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200 with…

Refunds

  • GETList Refunds/accounting/refunds?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","customer_id":"123abc"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Refunds
  • POSTCreate Refund/accounting/refunds?raw=falseCreate Refund
  • GETGet Refund/accounting/refunds/:id?raw=false&fields=id,updated_atGet Refund
  • DELETEDelete Refund/accounting/refunds/:id?raw=falseDelete Refund
  • PATCHUpdate Refund/accounting/refunds/:id?raw=falseUpdate Refund

Suppliers

  • GETList Suppliers/accounting/suppliers?raw=false&cursor=string&limit=20&filter={"company_name":"SpaceX","display_name":"Elon Musk","first_name":"Elon","last_name":"Musk","email":"elon@musk.com","updated_since":"2020-09-30T07:43:32.000Z"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Suppliers
  • POSTCreate Supplier/accounting/suppliers?raw=falseCreate Supplier
  • GETGet Supplier/accounting/suppliers/:id?raw=false&fields=id,updated_atGet Supplier
  • DELETEDelete Supplier/accounting/suppliers/:id?raw=falseDelete Supplier
  • PATCHUpdate Supplier/accounting/suppliers/:id?raw=falseUpdate Supplier
  • POSTCreate Suppliers in batch/accounting/suppliers/batch?raw=falseCreate multiple suppliers in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200 with…

Tax Rates

  • GETList Tax Rates/accounting/tax-rates?raw=false&cursor=string&limit=20&filter={"assets":true,"equity":true,"expenses":true,"liabilities":true,"revenue":true,"status":"active"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Tax Rates. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors…
  • POSTCreate Tax Rate/accounting/tax-rates?raw=falseCreate Tax Rate
  • GETGet Tax Rate/accounting/tax-rates/:id?raw=false&fields=id,updated_atGet Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Connectors Affected:…
  • DELETEDelete Tax Rate/accounting/tax-rates/:id?raw=falseDelete Tax Rate
  • PATCHUpdate Tax Rate/accounting/tax-rates/:id?raw=falseUpdate Tax Rate

Balance Sheet

  • GETGet BalanceSheet/accounting/balance-sheet?pass_through={"search":"San Francisco"}&filter={"start_date":"2021-01-01","end_date":"2021-12-31","period_count":3,"period_type":"month","location_id":"123","accounting_method":"accrual"}&raw=falseGet BalanceSheet

Profit and Loss

  • GETGet Profit and Loss/accounting/profit-and-loss?raw=false&filter={"customer_id":"123abc","start_date":"2021-01-01","end_date":"2021-12-31","location_id":"123","accounting_method":"accrual"}&pass_through={"search":"San Francisco"}&fields=id,updated_atGet Profit and Loss

Journal Entries

  • GETList Journal Entries/accounting/journal-entries?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"draft"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Journal Entries
  • POSTCreate Journal Entry/accounting/journal-entries?raw=falseCreate Journal Entry
  • GETGet Journal Entry/accounting/journal-entries/:id?raw=false&fields=id,updated_atGet Journal Entry
  • DELETEDelete Journal Entry/accounting/journal-entries/:id?raw=falseDelete Journal Entry
  • PATCHUpdate Journal Entry/accounting/journal-entries/:id?raw=falseUpdate Journal Entry
  • POSTCreate Journal Entries in batch/accounting/journal-entries/batch?raw=falseCreate multiple journal entries in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200…

General Ledger Transactions

  • GETList General Ledger Transactions/accounting/general-ledger-transactions?raw=false&cursor=string&limit=20&filter={"source_type":"invoice","updated_since":"2024-09-30T07:43:32.000Z"}&sort={"by":"posted_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList General Ledger Transactions
  • GETGet General Ledger Transaction/accounting/general-ledger-transactions/:id?raw=false&fields=id,updated_atGet General Ledger Transaction

Sales Receipts

  • GETList Sales Receipts/accounting/sales-receipts?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","customer_id":"123abc"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Sales Receipts
  • POSTCreate Sales Receipt/accounting/sales-receipts?raw=falseCreate Sales Receipt
  • GETGet Sales Receipt/accounting/sales-receipts/:id?raw=false&fields=id,updated_atGet Sales Receipt
  • DELETEDelete Sales Receipt/accounting/sales-receipts/:id?raw=falseDelete Sales Receipt
  • PATCHUpdate Sales Receipt/accounting/sales-receipts/:id?raw=falseUpdate Sales Receipt

Purchase Orders

  • GETList Purchase Orders/accounting/purchase-orders?raw=false&cursor=string&pass_through={"search":"San Francisco"}&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","supplier_id":"1234"}&sort={"by":"updated_at","direction":"desc"}List Purchase Orders
  • POSTCreate Purchase Order/accounting/purchase-orders?raw=falseCreate Purchase Order
  • GETGet Purchase Order/accounting/purchase-orders/:id?raw=falseGet Purchase Order
  • DELETEDelete Purchase Order/accounting/purchase-orders/:id?raw=falseDelete Purchase Order
  • PATCHUpdate Purchase Order/accounting/purchase-orders/:id?raw=falseUpdate Purchase Order

Goods Receipts

  • GETList Goods Receipts/accounting/goods-receipts?raw=false&cursor=string&limit=20&filter={"updated_since":"2026-09-01T07:43:32.000Z","supplier_id":"123abc","purchase_order_id":"123456"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Goods Receipts
  • GETGet Goods Receipt/accounting/goods-receipts/:id?raw=false&fields=id,updated_atGet Goods Receipt

Subsidiaries

  • GETList Subsidiaries/accounting/subsidiaries?raw=false&cursor=string&limit=20&fields=id,updated_at&pass_through={"search":"San Francisco"}List Subsidiaries
  • POSTCreate Subsidiary/accounting/subsidiaries?raw=falseCreate Subsidiary
  • GETGet Subsidiary/accounting/subsidiaries/:id?raw=false&fields=id,updated_atGet Subsidiary
  • DELETEDelete Subsidiary/accounting/subsidiaries/:id?raw=falseDelete Subsidiary
  • PATCHUpdate Subsidiary/accounting/subsidiaries/:id?raw=falseUpdate Subsidiary

Locations

  • GETList Locations/accounting/locations?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"subsidiary":"1"}&pass_through={"search":"San Francisco"}List Locations
  • POSTCreate Location/accounting/locations?raw=falseCreate Location
  • GETGet Location/accounting/locations/:id?raw=false&fields=id,updated_atGet Location
  • DELETEDelete Location/accounting/locations/:id?raw=falseDelete Location
  • PATCHUpdate Location/accounting/locations/:id?raw=falseUpdate Location

Departments

  • GETList Departments/accounting/departments?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"subsidiary":"1"}&pass_through={"search":"San Francisco"}List Departments
  • POSTCreate Department/accounting/departments?raw=falseCreate Department
  • GETGet Department/accounting/departments/:id?raw=false&fields=id,updated_atGet Department
  • DELETEDelete Department/accounting/departments/:id?raw=falseDelete Department
  • PATCHUpdate Department/accounting/departments/:id?raw=falseUpdate Department

Attachments

  • GETList Attachments/accounting/attachments/:reference_type/:reference_id?raw=false&cursor=string&limit=20&fields=id,updated_at&pass_through={"search":"San Francisco"}List Attachments
  • POSTUpload attachmenthttps://upload.apideck.com/accounting/attachments/:reference_type/:reference_id?raw=falseUpload attachment
  • GETGet Attachment/accounting/attachments/:reference_type/:reference_id/:id?raw=false&fields=id,updated_atGet Attachment
  • DELETEDelete Attachment/accounting/attachments/:reference_type/:reference_id/:id?raw=falseDelete Attachment
  • GETDownload Attachment/accounting/attachments/:reference_type/:reference_id/:id/download?fields=id,updated_atDownload Attachment

Bank Accounts

  • GETList Bank Accounts/accounting/bank-accounts?raw=false&cursor=string&limit=20&filter={"name":"Main Operating","account_type":"checking","status":"active"}&sort={"by":"updated_at","direction":"asc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bank Accounts
  • POSTCreate Bank Account/accounting/bank-accounts?raw=falseCreate Bank Account
  • GETGet Bank Account/accounting/bank-accounts/:id?filter={"account_type":"checking"}&raw=false&fields=id,updated_atGet Bank Account
  • DELETEDelete Bank Account/accounting/bank-accounts/:id?raw=falseDelete Bank Account
  • PATCHUpdate Bank Account/accounting/bank-accounts/:id?raw=falseUpdate Bank Account

Journals

  • GETList Journals/accounting/journals?raw=false&cursor=string&limit=20&pass_through={"search":"San Francisco"}&fields=id,updated_atList the journals (daybooks) available for posting accounting entries, including their codes, types, and VAT settings.
  • POSTCreate Journal/accounting/journals?raw=falseCreate Journal
  • GETGet Journal/accounting/journals/:id?raw=false&fields=id,updated_atGet Journal
  • DELETEDelete Journal/accounting/journals/:id?raw=falseDelete Journal
  • PATCHUpdate Journal/accounting/journals/:id?raw=falseUpdate Journal

Fiscal Periods

  • GETList Fiscal Periods/accounting/fiscal-periods?raw=false&cursor=string&limit=20&pass_through={"search":"San Francisco"}&fields=id,updated_atList the fiscal (accounting) periods of the company, with their dates and whether they are open for posting.
  • GETGet Fiscal Period/accounting/fiscal-periods/:id?raw=false&fields=id,updated_atGet Fiscal Period

Trial Balance

  • GETGet Trial Balance/accounting/trial-balance?pass_through={"search":"San Francisco"}&filter={"end_date":"2025-12-31","accounting_method":"accrual"}&raw=falseGet the trial balance as of a date. Read-only.

Tracking Categories

  • GETList Tracking Categories/accounting/tracking-categories?raw=false&cursor=string&limit=20&pass_through={"search":"San Francisco"}&fields=id,updated_atList Tracking Categories
  • POSTCreate Tracking Category/accounting/tracking-categories?raw=falseCreate Tracking Category
  • GETGet Tracking Category/accounting/tracking-categories/:id?raw=false&fields=id,updated_atGet Tracking Category
  • DELETEDelete Tracking Category/accounting/tracking-categories/:id?raw=falseDelete Tracking Category
  • PATCHUpdate Tracking Category/accounting/tracking-categories/:id?raw=falseUpdate Tracking Category
  • POSTCreate Tracking Categories in batch/accounting/tracking-categories/batch?raw=falseCreate multiple tracking categories in a single request. Each item is processed independently, so some may be created while others fail; the response returns…

Bill Payments

  • GETList Bill Payments/accounting/bill-payments?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","invoice_id":"123","bill_id":"123","supplier_id":"123","customer_id":"123abc","type":"accounts_receivable","status":"authorised"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bill Payments
  • POSTCreate Bill Payment/accounting/bill-payments?raw=falseCreate Bill Payment
  • GETGet Bill Payment/accounting/bill-payments/:id?raw=false&fields=id,updated_atGet Bill Payment
  • DELETEDelete Bill Payment/accounting/bill-payments/:id?raw=falseDelete Bill Payment
  • PATCHUpdate Bill Payment/accounting/bill-payments/:id?raw=falseUpdate Bill Payment
  • POSTCreate Bill Payments in batch/accounting/bill-payments/batch?raw=falseCreate multiple bill payments in a single request. Each item is processed independently, so some may be created while others fail; the response returns 200…

Expenses

  • GETList Expenses/accounting/expenses?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"draft","type":"expense"}&pass_through={"search":"San Francisco"}List Expenses
  • POSTCreate Expense/accounting/expenses?raw=falseCreate Expense
  • GETGet Expense/accounting/expenses/:id?raw=falseGet Expense
  • DELETEDelete Expense/accounting/expenses/:id?raw=falseDelete Expense
  • PATCHUpdate Expense/accounting/expenses/:id?raw=falseUpdate Expense

Aged Creditors

  • GETGet Aged Creditors/accounting/aged-creditors?raw=false&filter={"supplier_id":"123abc","customer_id":"123abc","report_as_of_date":"2024-01-01","period_count":3,"period_length":30}&pass_through={"search":"San Francisco"}&fields=id,updated_atGet Aged Creditors

Aged Debtors

  • GETGet Aged Debtors/accounting/aged-debtors?raw=false&filter={"supplier_id":"123abc","customer_id":"123abc","report_as_of_date":"2024-01-01","period_count":3,"period_length":30}&pass_through={"search":"San Francisco"}&fields=id,updated_atGet Aged Debtors

Bank Feed Accounts

  • GETList Bank Feed Accounts/accounting/bank-feed-accounts?raw=false&cursor=string&limit=20&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bank Feed Accounts
  • POSTCreate Bank Feed Account/accounting/bank-feed-accounts?raw=falseCreate Bank Feed Account
  • GETGet Bank Feed Account/accounting/bank-feed-accounts/:id?raw=false&fields=id,updated_atGet Bank Feed Account
  • DELETEDelete Bank Feed Account/accounting/bank-feed-accounts/:id?raw=falseDelete Bank Feed Account
  • PATCHUpdate Bank Feed Account/accounting/bank-feed-accounts/:id?raw=falseUpdate Bank Feed Account

Bank Feed Statements

  • GETList Bank Feed Statements/accounting/bank-feed-statements?raw=false&cursor=string&limit=20&filter={"bank_feed_account_id":"12345"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList Bank Feed Statements
  • POSTCreate Bank Feed Statement/accounting/bank-feed-statements?raw=falseCreate Bank Feed Statement
  • GETGet Bank Feed Statement/accounting/bank-feed-statements/:id?raw=false&fields=id,updated_atGet Bank Feed Statement
  • DELETEDelete Bank Feed Statement/accounting/bank-feed-statements/:id?raw=falseDelete Bank Feed Statement
  • PATCHUpdate Bank Feed Statement/accounting/bank-feed-statements/:id?raw=falseUpdate Bank Feed Statement

Categories

  • GETList Categories/accounting/categories?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"type":"expense"}&pass_through={"search":"San Francisco"}List Categories
  • GETGet Category/accounting/categories/:id?raw=false&fields=id,updated_at&filter={"type":"expense"}Get Category

Quotes

  • GETList Quotes/accounting/quotes?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","created_since":"2020-09-30T07:43:32.000Z","number":"OIT00546","customer_id":"123abc"}&pass_through={"search":"San Francisco"}List Quotes
  • POSTCreate Quote/accounting/quotes?raw=falseCreate Quote
  • GETGet Quote/accounting/quotes/:id?raw=falseGet Quote
  • DELETEDelete Quote/accounting/quotes/:id?raw=falseDelete Quote
  • PATCHUpdate Quote/accounting/quotes/:id?raw=falseUpdate Quote

Projects

  • GETList projects/accounting/projects?raw=false&cursor=string&limit=20&filter={"name":"Website Redesign","status":"active","customer_id":"12345","is_billable":true,"is_active":true,"updated_since":"2020-09-30T07:43:32.000Z"}&sort={"by":"name","direction":"asc"}&pass_through={"search":"San Francisco"}&fields=id,updated_atList projects
  • POSTCreate project/accounting/projects?raw=falseCreate project
  • GETGet project/accounting/projects/:id?raw=falseGet project
  • DELETEDelete project/accounting/projects/:id?raw=falseDelete project
  • PATCHUpdate project/accounting/projects/:id?raw=falseUpdate project

Sales Orders

  • GETList Sales Orders/accounting/sales-orders?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","created_since":"2020-09-30T07:43:32.000Z","number":"SO000123","customer_id":"123abc"}&pass_through={"search":"San Francisco"}List Sales Orders
  • POSTCreate Sales Order/accounting/sales-orders?raw=falseCreate Sales Order
  • GETGet Sales Order/accounting/sales-orders/:id?raw=falseGet Sales Order
  • DELETEDelete Sales Order/accounting/sales-orders/:id?raw=falseDelete Sales Order
  • PATCHUpdate Sales Order/accounting/sales-orders/:id?raw=falseUpdate Sales Order

Employees

  • GETList Employees/accounting/employees?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"active"}&pass_through={"search":"San Francisco"}List Employees
  • POSTCreate Employee/accounting/employees?raw=falseCreate Employee
  • GETGet Employee/accounting/employees/:id?raw=false&fields=id,updated_atGet Employee
  • DELETEDelete Employee/accounting/employees/:id?raw=falseDelete Employee
  • PATCHUpdate Employee/accounting/employees/:id?raw=falseUpdate Employee

Expense Categories

  • GETList Expense Categories/accounting/expense-categories?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"active"}&pass_through={"search":"San Francisco"}List Expense Categories
  • POSTCreate Expense Category/accounting/expense-categories?raw=falseCreate Expense Category
  • GETGet Expense Category/accounting/expense-categories/:id?raw=false&fields=id,updated_atGet Expense Category
  • DELETEDelete Expense Category/accounting/expense-categories/:id?raw=falseDelete Expense Category
  • PATCHUpdate Expense Category/accounting/expense-categories/:id?raw=falseUpdate Expense Category

Payment Methods

  • GETList Payment Methods/accounting/payment-methods?raw=false&cursor=string&limit=20&fields=id,updated_at&pass_through={"search":"San Francisco"}List Payment Methods
  • POSTCreate Payment Method/accounting/payment-methods?raw=falseCreate Payment Method
  • GETGet Payment Method/accounting/payment-methods/:id?raw=false&fields=id,updated_atGet Payment Method
  • DELETEDelete Payment Method/accounting/payment-methods/:id?raw=falseDelete Payment Method
  • PATCHUpdate Payment Method/accounting/payment-methods/:id?raw=falseUpdate Payment Method

Expense Reports

  • GETList Expense Reports/accounting/expense-reports?raw=false&cursor=string&limit=20&fields=id,updated_at&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"submitted"}&pass_through={"search":"San Francisco"}List Expense Reports
  • POSTCreate Expense Report/accounting/expense-reports?raw=falseCreate Expense Report
  • GETGet Expense Report/accounting/expense-reports/:id?raw=false&fields=id,updated_atGet Expense Report
  • DELETEDelete Expense Report/accounting/expense-reports/:id?raw=falseDelete Expense Report
  • PATCHUpdate Expense Report/accounting/expense-reports/:id?raw=falseUpdate Expense Report

API details

Base URL
https://unify.apideck.com
Authentication
An API key in the Authorization header
Operations
186 operations on 91 pathsGET 80POST 43DELETE 32PATCH 31
Main resources
Bill Credit Notes 6Bill Payments 6Bills 6Credit Notes 6Customers 6Invoices 6Journal Entries 6Ledger Accounts 6Payments 6Suppliers 6
Description format
OpenAPI 3.0.3, API version 10.83.0

How to test the Accounting API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Accounting API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “List Bills” (GET /accounting/bills?raw=false&cursor=string&limit=20&filter={"updated_since":"2020-09-30T07:43:32.000Z","status":"paid","id_since":"1","billed_since":"2020-09-30","due_since":"2020-09-30","bill_number":"10001","reference":"PO-9711"}&sort={"by":"updated_at","direction":"desc"}&pass_through={"search":"San Francisco"}&fields=id,updated_at), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Accounting API?

Welcome to the Accounting API. You can use this API to access all Accounting API endpoints. Base URL The base URL for all API requests is… It is listed under Developer tools and has 186 endpoints.

Who publishes the Accounting API?

It is listed from Apideck's public API description (an OpenAPI document), not published by Apideck on Swastik Codes. Anyone who controls apideck.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Accounting API?

Requests go to https://unify.apideck.com. Endpoint paths are added to this base URL.

How do I authenticate with the Accounting API?

With an API key in the Authorization header.

How many endpoints does the Accounting API have?

186 operations on 91 paths (80 GET, 43 POST, 32 DELETE, 31 PATCH). The largest groups are Bill Credit Notes, Bill Payments, Bills, Credit Notes.

Is forking the Accounting API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.