Settings: get postingaccounts
postingaccounts_listFetch the chart of accounts to locate posting account numbers for transactions. Supports pagination and filtering to narrow results.
Instructions
🟢 READ-ONLY: Fetches data. Makes no changes to the accounting records.
get postingaccounts
Get all postingaccounts
Use to list the chart of accounts, for example to find the posting account number for office supplies before booking.
Not bank accounts. For the bank, cash and credit-card accounts transactions belong to, use accounts_list.
Supports limit and offset; a full SKR chart runs to several hundred rows, so page until rows is covered or filter instead. v1 offers no delete endpoint for posting accounts.
Endpoint: POST /settings/get/postingaccounts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | limit of the results, default is 1000 results. If specified, the field will be validated. | |
| order | No | the order of the results.The following options are valid:postingaccount_number ASC | DESCname ASC | DESCtype ASC | DESC. If specified, the field will be validated. | |
| offset | No | offset of the results, default is 0. If specified, the field will be validated. | |
| exclude_debtors | No | exclude all debtor postingaccounts from result. If specified, the field will be validated. | |
| exclude_accounts | No | exclude all base accounts (e.g. bank accounts) from result. If specified, the field will be validated. | |
| exclude_creditors | No | exclude all creditor postingaccounts from result. If specified, the field will be validated. | |
| exclude_postingaccounts | No | exclude all postingaccounts from result. If specified, the field will be validated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | An array of postingaccounts data | |
| rows | No | Number of returned rows | |
| message | No | blank | |
| success | Yes | Success boolean |