Sign in

Create leave application

documented

Create a leave application.

POST /LeaveApplicationsPayrollNzno implementation yet0 runs

Input

employee_id*
Employee ID (NZ)
e.g. 4ff1e5cc-9835-40d5-bb18-09fdb118db9c
leave_type_id*
Leave Type ID
Leave type GUID
start_date*
Start Date (YYYY-MM-DD)
2026-02-01
end_date*
End Date (YYYY-MM-DD)
2026-02-05
number_of_units
Number of Units
e.g. 8
number_of_units_taken
Number of Units Taken
e.g. 0
idempotency_key
Idempotency Key
KEY_VALUE
Calls Xero as you (your API key is your account); keychains.dev holds the credentials.
Create leave application · Xero · OpenIntegrations