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
Attendance → Create
AI-generatedSummary
Create a new Attendance document in ERPNext HRMS by submitting JSON-formatted document data via the selected Frappe API version.
Inputs
- API Version — Choose between v1 (/api/resource) and v2 (/api/v2/document) Frappe REST API versions for the request.
- Data JSON (required) — Provide the JSON object containing the fields and values for the new Attendance document to be created.
Output shape
a single JSON object representing the created Attendance document returned by the ERPNext API
The output includes the full document data as returned by ERPNext after creation. Errors will halt execution or be returned in JSON error format if 'Continue On Fail' is enabled.
Examples
Example 1: Create Attendance Record
Set API Version to 'v1' or 'v2'. Enter valid JSON in 'Data JSON' representing the Attendance document fields (e.g., employee, status, check_in, check_out).