Actions77
- Employee Actions
- Attendance Actions
- Employee Checkin Actions
- Expense Claim Actions
- Holiday List Actions
- Leave Allocation Actions
- Leave Application Actions
- Salary Slip Actions
- Shift Assignment Actions
- Custom DocType Actions
- Frappe Method Actions
Leave Allocation → Submit
AI-generatedSummary
Submit a Leave Allocation document identified by its document name in ERPNext HRMS using the Frappe REST API.
Inputs
- API Version — Select the Frappe REST API version to use for the request, either v1 (stable) or v2 (for Frappe v16). Defaults to v1.
- Document Name (required) — Specify the unique identifier (name) of the Leave Allocation document to submit.
Output shape
A JSON object containing the server response message confirming the submission action or relevant response details.
The operation requires the document to exist and be in a state that can be submitted. Errors will be returned if the document cannot be found or cannot be submitted. The returned data is the response message from the submit action of the Frappe API.