Skip to main content
GET

List chart of accounts

Scope:accounting:chart-of-accounts.read
https://api.holded.com/api/v2/accounting-accounts

Returns the list of all accounting accounts in your chart of accounts. The response includes each account's number, name, and group. Use this endpoint to discover available accounts before creating ledger entries.

Parameters

Query parameters

archivedbooleanoptional

Include archived accounts when true

start_datestring<date>optional

Filter accounts with activity from this date (YYYY-MM-DD)

end_datestring<date>optional

Filter accounts with activity up to this date (YYYY-MM-DD)

include_emptybooleanoptional

Include accounts with no transactions when true

textstringoptional

Case-insensitive partial search on account name or number

Request

python
import requests

url = "https://api.holded.com/api/v2/accounting-accounts?archived=value&start_date=2024-01-01&end_date=2024-12-31"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "color": "#FF5733",
      "number": 4300,
      "name": "string",
      "description": "string",
      "group": "string",
      "debit": "1500.00",
      "credit": "500.00",
      "balance": "1000.00",
      "archived": false,
      "non_deductible": false
    }
  ]
}

Success responses

200List of accounting accountsapplication/json
object
items[]object[]
idstring

Unique identifier of the accounting account

colorstring | null

Color code for visual identification

numberinteger

Numeric code from the chart of accounts

namestring

Display name of the account

descriptionstring

Free-text description of the account. Empty when none was set

groupstring | null

Accounting group this account belongs to

debitstring

Decimal as string for precision

creditstring

Decimal as string for precision

balancestring

Decimal as string for precision

archivedboolean

Whether the account has been archived

non_deductibleboolean

Whether this expense account (group 6) is excluded from deductible-expense calculations

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json