Skip to main content
Manage accounting accounts for an organization through the Findity Admin API — used for expense categorization, bookkeeping, and payroll. This guide shows you how to list, create, update, and delete accounts in an organization’s chart of accounts, and how those accounts map to expense categories and voucher rows on export.

Overview

Accounts are the rows in an organization’s chart of accounts. Each account has a number (the code your customer’s financial system uses, e.g. 5010) and a name (the human-readable label, e.g. Travel expenses). The chart-of-accounts lifecycle is:
  1. Provision the accounts — POST one per ledger code your customer uses.
  2. Map accounts to expense categories — done with the expense category endpoints. The mapping decides which account number ends up on the debit, credit, or VAT row of a voucher.
  3. Keep them in sync — list, update, or delete accounts as the customer’s chart of accounts evolves.
This guide covers steps 1 and 3 — provisioning and sync. Category mapping is summarized at the end with links to the related guides.

Prerequisites

  1. Complete Authentication and obtain an admin-scoped bearer token.
  2. Provision the organization first — see Organizations. The chart-of-accounts endpoints take the organization’s internal id (32-character hex), which you can read from the response of POST /organizations or GET /organizations/{organizationId}. Your externalSourceId isn’t accepted in its place here.

Key concepts

API endpoints

All endpoints use the Admin API base URL. Examples in this guide use the stage host — switch to the production host (api.findity.com) only when you’re ready to go live.

Required headers

Step 1 — List accounts

Retrieve the accounts in an organization’s chart of accounts. The response is wrapped in a {meta, data} envelope. GET /organizations/{organizationId}/accounts

Query parameters

cURL
Example response (status 200 OK)
JSON
meta.total is the total number of accounts; meta.count is the number of items returned in this response.

Step 2 — Create an account

Add a new account to the chart of accounts. Returns 201 Created with the new account’s id. POST /organizations/{organizationId}/accounts

Request body fields

Only name and number are accepted on the request body. A body with no known properties is rejected with 400 NO_KNOWN_JSON_PROPERTIES.
cURL
Example response (status 201 Created)
JSON
meta is null on a freshly created account and may be populated by Findity later with auxiliary attributes (currently abbreviation and capabilities). A number sent as a JSON number is stored as a string, and the number must not be used by another account in the organization (400 ACCOUNT_ALREADY_EXISTS).

Step 3 — Get a single account

Retrieve one account by its internal id. GET /organizations/{organizationId}/accounts/{accountId}
cURL
Example response (status 200 OK)
JSON

Step 4 — Update an account

Modify an existing account. The request body must include the account’s id, and it must match the accountId in the URL — otherwise the call returns 400 INVALID_ID. Changing the number to one that another account already has returns 400 ACCOUNT_ALREADY_EXISTS. PUT /organizations/{organizationId}/accounts/{accountId}

Request body fields

cURL
Example response (status 200 OK)
JSON

Step 5 — Delete an account

Deactivate an account so it can no longer be used to categorize new expenses. The account is marked inactive rather than removed from the database. Returns 204 No Content with an empty response body on success. DELETE /organizations/{organizationId}/accounts/{accountId}
Before you delete an account, check which expense categories use it (the category’s accountingNumberId). If the organization’s accounts are synced from an external system, the call returns 403 and the account can’t be deleted through the API.
cURL
Example response (status 204 No Content) The response body is empty. After the deletion the account no longer appears in the list, GET on it returns 404 ACCOUNT_NOT_FOUND, and its number can be used for a new account.

Mapping accounts to expense categories

After creating accounts, map them to expense categories so Findity can generate the correct voucher rows on export. The mapping decides which account number appears in the debit, credit, or VAT row of the voucher output. To configure these mappings with the Admin API, update an expense category with PUT /organizations/{organizationId}/expenseservice/categories/{id} and set the account fields on the category. The Expense categories guide covers all the category endpoints. Each expense category can be linked to:
  • An account — accountingNumberId, the id of the account the expense is recorded against. taxAccountingNumberId links the account used for the tax amount.
  • A salary type — salaryCodeId (and taxSalaryCodeId), for payroll integration, if applicable.
If the organization uses an accounting recipient connected through the API, account mappings on expense categories can be synced from the external system automatically.

Relationship to vouchers

When expense reports are exported through the Connect API, Findity uses the chart of accounts to generate structured voucher data. Each expense produces voucher rows like: For details on how vouchers are structured and grouped, see Voucher structure.

Common integration patterns

Sync from an ERP or accounting system. Keep the chart of accounts in sync with your ERP on a schedule (e.g. nightly):
  1. Export the current account list from your financial system.
  2. Call GET /organizations/{organizationId}/accounts to retrieve existing accounts in Findity.
  3. Diff the two lists and call POST for new accounts, PUT for changed accounts, and DELETE for removed accounts.
To send many of these calls in one request, see Bulk requests. Initial organization setup. When onboarding a new organization:
  1. Create the organization. If you use a template org with pre-configured accounts, accounts are inherited and you can skip the next step.
  2. Otherwise, call POST /organizations/{organizationId}/accounts for each account in the customer’s chart of accounts.
  3. Map accounts to expense categories with the expense category endpoints.
  4. Configure salary types if the organization integrates with a payroll system.
  5. Set up the accounting recipient to enable voucher export.
Migrating account numbers. When an organization changes its accounting system or restructures its chart of accounts:
  1. GET /organizations/{organizationId}/accounts to list all current accounts.
  2. POST to create the new accounts.
  3. Update expense-category mappings to point to the new account numbers.
  4. Delete the old accounts once all active expense reports have been exported.
  5. Verify the migration by exporting a test voucher and confirming the new account numbers appear in the voucher rows.

Error handling

Errors return a JSON envelope:
JSON
The requestId value is useful to include when reporting a problem to Findity support.

Next steps

Organizations

Manage organization settings and look up an organization’s internal id.

Dimensions

Configure dimension fields and manage value lists.

Expense categories

List, create, and update expense categories, including the accounts and salary types they map to.

Voucher structure

See how account numbers flow into the debit, credit, and VAT rows of an exported voucher.
Last modified on November 16, 2026