submit_document
Submit an ERPNext document (e.g., Sales Invoice) to move it through the submittable workflow using its doctype and document name.
Instructions
Submit a submittable document (e.g. Sales Invoice).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doctype": "<doctype>",
"name": "<name>"
},
"name": "submit_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Document name/ID | |
| doctype | Yes | ERPNext DocType name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||