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
Salary Slip → Update
AI-generatedSummary
Update a Salary Slip document in ERPNext by specifying its document name and providing the updated data as a JSON object.
Inputs
- API Version — Choose the Frappe REST API version to use for the update request (v1 or v2). Defaults to v1.
- Document Name (required) — The unique identifier of the Salary Slip document to update.
- Data JSON (required) — A JSON object containing the fields and values to update in the Salary Slip document.
Output shape
a single updated Salary Slip document object
The operation returns the full updated document as JSON, reflecting the applied changes. Errors are returned as messages if the update fails.
Examples
Example 1: Update an existing Salary Slip
Set API Version to 'v1' or 'v2'. Provide the exact document name of the Salary Slip to update in 'Document Name'. Provide the new or changed fields in 'Data JSON' as a JSON object, e.g., {"gross_pay": 5000}. The node outputs the updated Salary Slip document on success.