Payroll API
5 results found
-
delete leave application via API
delete leave application via API
225 votes -
Allow the viewing of all leave applications
Currently the LeaveApplications endpoint in the Payroll API only lets you see approved leave applications. I believe it should show all leave applications (awaiting approval, approved, rejected) with an appropriate status for each.
A use case for this is to develop an automated shared calendar that lists all leave for an organisation, with leave awaiting approval in as "tentative" and approved leave in as "confirmed", allowing all employees to see at a glance if someone else is taking leave at the time they're going to request.
155 votes -
leave balances
Require an endpoint to obtain leave balances based on a date filter.
81 votesLeaveBalances are now available via the Xero Payroll API. They can be obtained via the Employees endpoint. More details are available here: http://developer.xero.com/documentation/payroll-api/leavebalances/
-
Reject Leave Application
Need ability to change a LeaveApplication status to REJECTED
30 votes -
Add a payroll API call for querying leave types
Currently calls to the LeaveApplications methods in the Payroll API require you to know the internal ID of the leave type you're interested in. Because of this, it would be good to be able to get a listing of the types of leave currently configured, and get details of a specific leave type.
2 votesAs Alex commented, this is possible via the Pay Items endpoint: http://developer.xero.com/documentation/payroll-api/payitems/#LeaveTypes
- Don't see your idea?