ERPNext HRMS icon

ERPNext HRMS

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

Salary Slip → Get

AI-generated

Summary

Retrieve a Salary Slip document from ERPNext by specifying its document name (ID) using the selected Frappe API version.

Inputs

  • API Version — Select the Frappe REST API version to use, either v1 (/api/resource) or v2 (/api/v2/document). Defaults to v1.
  • Document Name (required) — Specify the exact name (ID) of the Salary Slip document to retrieve.

Output shape

a single JSON object representing the Salary Slip document

Returns the full document data for the specified Document Name. Requires the document to exist, otherwise an error is thrown.

Examples

Example 1: Get Salary Slip by ID

Set Resource to 'Salary Slip', Operation to 'Get', API Version to 'v1' or 'v2', and enter the Document Name of the salary slip to fetch.

Links

Discussion