Accounts: get all the accounts
accounts_listLists bank, cash, and credit-card accounts to resolve an account name to its numeric ID for transaction tools.
Instructions
🟢 READ-ONLY: Fetches data. Makes no changes to the accounting records.
get all the accounts
Use to list the bank, cash and credit-card accounts that transactions can be booked against, e.g. to resolve an account name to the numeric account id the transaction tools expect.
Not the chart of accounts. For posting account numbers such as 1200 or 4400, use postingaccounts_list.
v1 offers no update or delete endpoint for accounts. An account created here can only be listed afterwards.
Endpoint: POST /accounts/get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | An array of accounts data | |
| rows | No | Number of returned rows | |
| message | No | blank | |
| success | Yes | Success boolean |