ERPNext HRMS icon

ERPNext HRMS

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

Custom DocType → Create

AI-generated

Summary

Create a new document in a specified Custom DocType in ERPNext/Frappe using the selected API version.

Inputs

  • API Version — Select the Frappe REST API version to use for the request (v1 or v2). Defaults to v1.
  • Custom DocType (required) — Specify the name of the Custom DocType in which to create the document (e.g., 'Job Applicant').
  • Data JSON (required) — Provide the document data as a JSON object representing the field values for the new document.

Output shape

a single document record in JSON format representing the newly created document

The output contains the full document data returned by ERPNext/Frappe after creation. The operation supports multiple input items and processes each independently, returning an error object per item if failure occurs and 'Continue On Fail' is enabled.

Links

Discussion