Search accounts

Retrieve the chart of accounts entries matching the given filters, ordered by account number.

Required permission: Full Read Accounting or Accounting Settings

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Return accounts whose number or name contains the given text.

string

Return accounts whose description contains the given text.

string

Return accounts created by users whose name contains the given text.

string

Comma-delimited list of fund ids. Returns accounts whose default fund is one of them. Use -1 to include accounts without a default fund.

string

Comma-delimited list of account type ids or codes (coa_type_asset, coa_type_liability, coa_type_equity, coa_type_income, coa_type_expense).

string

Comma-delimited list of account category ids or codes. Category ids and codes appear on each account in the response.

boolean

If true, returns only register (bank/checking) accounts; if false, only non-register accounts.

boolean

If true, returns only accounts-payable accounts; if false, only non-payable accounts.

boolean

If true, returns only accounts-receivable accounts; if false, only non-receivable accounts.

boolean

If true, returns only bad-debt expense accounts; if false, only non-bad-debt accounts.

boolean

If true, returns only payable-adjustment accounts; if false, only non-adjustment accounts.

boolean

If true, returns only active accounts; if false, only deactivated accounts.

double

Return accounts with at least this many posted line items.

double

Return accounts with at most this many posted line items.

date-time

Return accounts whose earliest activity is on or after this date.

date-time

Return accounts whose earliest activity is on or before this date.

date-time

Return accounts whose latest activity is on or after this date.

date-time

Return accounts whose latest activity is on or before this date.

double

Return accounts with a balance of at least this amount.

double

Return accounts with a balance of at most this amount.

double

Return accounts with a starting balance of at least this amount.

double

Return accounts with a starting balance of at most this amount.

int32
≥ 0

The number of records to skip before returning results, used for paging.

int32
≥ 0

The maximum number of records to return per page. Defaults to 50.

string

The field to sort the results by. The default field depends on the endpoint.

string
enum

The sort direction: "asc" or "desc".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json