ERPNext HRMS icon

ERPNext HRMS

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

Salary Slip → Cancel

AI-generated

Summary

Cancel a submitted Salary Slip document by its document name using the specified ERPNext/Frappe API version.

Inputs

  • API Version — Select which Frappe REST API version to use for the request (v1 or v2).
  • Document Name (required) — The unique identifier (document ID) of the Salary Slip document to cancel.

Output shape

a JSON object containing a confirmation message or relevant response indicating the cancellation status.

This operation requires the document to be previously submitted and available. The API version affects the request endpoint used.

Examples

Example 1: Cancel Salary Slip example

Set Resource to 'Salary Slip', Operation to 'Cancel', specify API Version (default 'v1'), and provide the Document Name of the submitted Salary Slip to cancel.

Links

Discussion