Accounts
Accounts are read-only via the API. Manage your chart of accounts in the VisiBooks UI.
List Accounts
Section titled “List Accounts”GET /api/v1/books/accountsScope: read
Returns all accounts ordered by account number.
Response
Section titled “Response”{ "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 }}Account Fields
Section titled “Account Fields”| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier |
number | string | Account number (e.g., “1000”) |
name | string | Account name |
account_type | string | asset, liability, equity, revenue, or expense |
sub_type | string | Sub-classification (e.g., cash, bank, accounts_receivable) |
normal_balance | string | debit or credit |
active | boolean | Whether the account is active |
Get Account
Section titled “Get Account”GET /api/v1/books/accounts/:idScope: read
Response
Section titled “Response”{ "data": { "id": 1, "number": "1000", "name": "Cash", "account_type": "asset", "sub_type": "cash", "normal_balance": "debit", "active": true }}