Get a specific chart_of_account by ID
GET/v1/chart_of_accounts/:id
Get a specific chart_of_account by ID
Request
Path Parameters
The ID of the ChartOfAccount to retrieve
Responses
- 200
- 404
A chart_of_account object
- application/json
- Schema
- Example (from schema)
Schema
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.
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
}
},
"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"
}
}
ChartOfAccount not found or inaccessible
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
source object
{
"errors": [
{
"status": "404",
"source": {
"pointer": "/chart_of_accounts/0"
},
"title": "invalid_or_inaccessible_chart_of_account_id",
"detail": "ChartOfAccount not found or you do not have access to it. Please try again with a valid chart_of_account id or contact support. See '/chart_of_accounts' for a list of all chart_of_accounts accessible to you."
}
]
}