Settings: get debitors
debtors_listRetrieve a list of debtors to resolve customer names to debtor IDs for receipts and postings. Supports pagination with 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
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 |