list_documents
Retrieve and filter ERPNext documents by DocType using Frappe syntax. Specify fields, sorting, and pagination to get exact records.
Instructions
List/search documents of a DocType.
filters: Frappe filter syntax, e.g. [["status", "=", "Open"]] or {"status": "Open"}. fields: list of fieldnames to return, e.g. ["name", "customer_name"]. Defaults to ["name"]. order_by: e.g. "creation desc". limit: max rows to return (default 20). limit_start: offset for pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | No | ||
| doctype | Yes | ||
| filters | No | ||
| order_by | No | ||
| limit_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |