Fetches a list of chart_of_accounts
GET/v1/chart_of_accounts
Retrieves a paginated list of chart of accounts based on the provided query parameters. Each chart of account includes details such as app_name, account_identifier, account_name, account_currency, account_type.
Request
Query Parameters
The number of chart of accounts to return per page.
The page number to retrieve.
The sorting order of the chart of accounts. Supported values are account_identifier
, -account_identifier
, id
, -id
, account_name
, -account_name
, account_currency
, -account_currency
, account_type
, -account_type
, account_code
, -account_code
, account_status
, -account_status
, account_class_type
, -account_class_type
, account_sub_type
, -account_sub_type
ignored_at
, -ignored_at
, resolved_at
, -resolved_at
.
Comma-separated list of fields to include in the response.
Filter chart of accounts by fields.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
Unique Bookkeep identifier for the ChartOfAccount object in string format.
Default value: qb_account
Type of object.
attributes object
ChartOfAccount attributes.
Unique identifier for the ChartOfAccount object.
Name of accounting Platform.
Unique identifier specific to accounting platform.
ChartOfAccount identifier in accounting platform.
Name of the ChartOfAccount in accounting platform.
Currency of ChartOfAccount in accounting platform or base currency of the accounting platform.
ChartOfAccount type in accouting platform.
ChartOfAccount code in accounting platform.
ChartOfAccount status in accounting platform.
Bookkeep Generated ChartOfAccount description.
ChartOfAccount class type in accounting platform.
ChartOfAccount sub_type in accounting platform.
Unique identifier for the Organization object.
meta object
pagination object
The index of the current page.
The index of the next page. This property is only included when there is a next page available.
The index of the last page. This property is only included when there is a next page available.
The total number of objects.
links object
URL to the object or collection of objects.
URL to the current page of objects. This property is only returned when fetching a collection of objects.
URL to the next page of notifications. This property is only returned when fetching a collection of objects a next page is available.
URL to the last page of notifications. This property is only returned when fetching a collection of objects a next page is available.
{
"data": [
{
"id": "1",
"type": "qb_account",
"attributes": {
"id": 1,
"app_name": "net_suite",
"app_identifier": "4873XXXX_SB2",
"account_identifier": "1960",
"account_name": "Stripe Sales",
"account_currency": "USD",
"account_type": "string",
"account_code": "BKSTR123",
"account_status": "BKSTR123",
"description": "Stripe Sales (USD)",
"account_class_type": "string",
"account_sub_type": "string",
"organization_id": 1
}
}
],
"meta": {
"pagination": {
"current": 1,
"next": 2,
"last": 5,
"records": 100
}
},
"links": {
"self": "https://api.bookkeep.com/v1/notifications",
"current": "https://api.bookkeep.com/v1/notifications?page[number]=1&page[size]=10",
"next": "string",
"last": "string"
}
}