Skip to content

Accounts

Accounts are read-only via the API. Manage your chart of accounts in the VisiBooks UI.

GET /api/v1/books/accounts

Scope: read

Returns all accounts ordered by account number.

{
"data": [
{
"id": 1,
"number": "1000",
"name": "Cash",
"account_type": "asset",
"sub_type": "cash",
"normal_balance": "debit",
"active": true
},
{
"id": 2,
"number": "1100",
"name": "Accounts Receivable",
"account_type": "asset",
"sub_type": "accounts_receivable",
"normal_balance": "debit",
"active": true
}
],
"page": {
"limit": 25,
"has_more": false,
"next_cursor": null
}
}
FieldTypeDescription
idintegerUnique identifier
numberstringAccount number (e.g., “1000”)
namestringAccount name
account_typestringasset, liability, equity, revenue, or expense
sub_typestringSub-classification (e.g., cash, bank, accounts_receivable)
normal_balancestringdebit or credit
activebooleanWhether the account is active

GET /api/v1/books/accounts/:id

Scope: read

{
"data": {
"id": 1,
"number": "1000",
"name": "Cash",
"account_type": "asset",
"sub_type": "cash",
"normal_balance": "debit",
"active": true
}
}