ERPNext HRMS icon

ERPNext HRMS

Work with ERPNext/Frappe HRMS v15-v16 documents and methods

Frappe Method → Submit

AI-generated

Summary

Submit a submittable ERPNext/Frappe document by its document name, triggering its submission process in the backend.

Inputs

  • API Version — Select the Frappe REST API version to use, either v1 (/api/resource) or v2 (/api/v2/document). Defaults to v1.
  • Document Name (required) — The unique name or ID of the Frappe document to submit.

Output shape

a single message indicating success and response details from the submit action

This operation requires that the document name corresponds to a submittable document type. The node fetches the full document, then calls the submit action and returns the response message or raw response.

Examples

Example 1: Submit an Expense Claim document named EXP-0001 using the default API version v1

Set resource to the applicable document (e.g. Expense Claim), operation to Submit, specify the Document Name as EXP-0001, and choose API Version if different from default.

Links

Discussion