ERPNext HRMS icon

ERPNext HRMS

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

Expense Claim → Submit

AI-generated

Summary

Submit an existing Expense Claim document in ERPNext via the Frappe API to change its state to submitted.

Inputs

  • API Version — Choose between stable v1 endpoint or v2 endpoint compatible with Frappe v16.
  • Document Name (required) — The unique identifier (name) of the Expense Claim document to submit.

Output shape

a single JSON value representing the response message or object from the submit action

Returns the response message from the ERPNext API submit method call. Operation requires the document name and calls a POST to the submit method endpoint after fetching the current document state.

Examples

Example 1: Submit Expense Claim with documentName 'EXP-0001' using API version v1

Set 'Resource' to 'Expense Claim', 'Operation' to 'Submit', 'Document Name' to 'EXP-0001', and optionally choose API Version 'v1' or 'v2'.

Links

Discussion