create_document
Create a new ERPNext document by specifying the DocType and field values in JSON format.
Instructions
Create a new document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON string of field values, e.g. '{"customer_name": "Test", "customer_type": "Individual"}' | |
| doctype | Yes | ERPNext DocType name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||