Settings: get debitors
debtors_listLists customers (debtors) so you can resolve a customer name to the debtor ID required by receipt and posting tools; supports limit and offset.
Instructions
🟢 READ-ONLY: Fetches data. Makes no changes to the accounting records.
get debitors
Get all debitors
Use to list customers, for example to resolve a customer name to the debtor id the receipt and posting tools expect.
For suppliers you buy from, use creditors_list.
Supports limit and offset. v1 offers no delete endpoint for debtors, so they can only be created, listed and updated.
Endpoint: POST /settings/get/debtors
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debtors_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | limit of the results, default is 25 results | |
| offset | No | offset of the results, default is 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | An array of debitors | |
| rows | No | Number of returned rows | |
| message | No | blank | |
| success | Yes | Success boolean |