ERPNext HRMS icon

ERPNext HRMS

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

Leave Allocation → Get

AI-generated

Summary

Retrieve a specific Leave Allocation document from ERPNext HRMS by its document name using the specified API version.

Inputs

  • API Version — Select which Frappe REST API version to use for the request (v1 or v2). Defaults to v1.
  • Document Name (required) — The unique identifier (name) of the Leave Allocation document to fetch.

Output shape

a single JSON object representing the Leave Allocation document

Returns the full document data as received from the ERPNext API for the given document name. If errors occur, they surface unless 'Continue on Fail' is enabled in the node settings.

Links

Discussion