ERPNext HRMS icon

ERPNext HRMS

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

Expense Claim → Delete

AI-generated

Summary

Delete an Expense Claim document in ERPNext by specifying its document name and selecting the API version to use.

Inputs

  • API Version — Choose between Frappe REST API versions v1 (/api/resource) and v2 (/api/v2/document) for the request.
  • Document Name (required) — The unique identifier (name) of the Expense Claim document to delete.

Output shape

a single JSON object containing a success confirmation and the name of the deleted document

The output JSON has properties 'success' (boolean) and 'name' (the deleted document's name). If deletion fails, an error is thrown or returned depending on node error handling settings.

Links

Discussion