frappe_get_doc
Fetch a single document from Frappe/ERPNext by doctype and document name, returning its full data.
Instructions
Retrieve a single document (doctype record) by its doctype and document name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The document name/ID (e.g. 'SINV-00001', 'CUST-001'). | |
| doctype | Yes | The DocType (e.g. 'Sales Invoice', 'Customer', 'Item'). |