5 results found
delete leave application via API225 votes
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
Require an endpoint to obtain leave balances based on a date filter.81 votes
LeaveBalances 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/
Need ability to change a LeaveApplication status to REJECTED30 votes
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 votes
As Alex commented, this is possible via the Pay Items endpoint: http://developer.xero.com/documentation/payroll-api/payitems/#LeaveTypes
- Don't see your idea?