Payroll API
57 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 -
Allow return of Paystubs/Payslips in pdf format
It indicates you can do this for Invoices by setting the “Accept” value in the http header to “application/pdf”. I want the same functionality for the Paystubs/Payslips
76 votes -
be able to overwrite timesheets via the API
There is no way to delete Approved timesheets or revert them to Draft through the API. Sending a timesheet that already exists returns a message from Xero saying that the TimesheetID needs to be supplied as the timesheet already exists. Supplying the TimesheetID then returns a message saying that the timesheet is not in Draft. Another option would be to let the user revert multiple timesheets to Draft (in a similar way to how they can approve multiple timesheets at once).
57 votes -
Payslip endpoint is missing fields
Payslip endpoint seems to be incomplete e.g. YTD data?
41 votes -
Employees endpoint: expose more data
Expose other information on Employees endpoint, such as their bank, rate and tax details
38 votes -
Payroll AU API - Unscheduled Payruns & Payslips
After creating an unscheduled payrun via the Payroll AU API when you get the payrun it returns an array of payslips where the employee id and payrun id do not exist (the only fields returned are FirstName, LastName & UdatedDateUTC). If you then proceed into the xero admin (in the browser) and view the payrun you can then click to include an employee. Returning back to the API if you retrieve the payrun again the employee id and payrun id are then set for that employees payslip entry.
We also tried creating approved timesheets for employees before the unscheduled payrun…
36 votes -
Allow querying payslips of an employee
Please provide a way to fetch payslips by employee id.
Either adding a payslips element to Employees or providing a Payrolls API will do.
32 votes -
Employee photo and emergency contact information using API
I would like to add Employee photo and emergency contact information using API , in API documentation, there is no field/tag to upload employee photo and emergency contact . Please add this feature as well.
Thanks!
32 votes -
Reject Leave Application
Need ability to change a LeaveApplication status to REJECTED
30 votes -
Payrun Payslip Results Paging
In terms of what you have done around the Invoices paging, but now including all the line items, Do you have any plans to do something similar with the Payroll/payrun endpoint? Eg at the moment, I can get a payrun with a list of payslips on them, but I then have to make a call for each payslip to get the details of the payslip.
If I have a PayRun with 100 Payslips, using the C# Wrapper, certainly, I have to make 100 calls to get all the details from the API, so that I can get the EarningsLines and…
24 votes -
Webhooks for time off events
It would be nice to be able to hook into the leave events, requested, accepted, rejected etc.
My use case for this is automatically adding leave requests to a calendar, and updating existing ones when their status changes.
20 votes -
Allow retrieval of a payment summary
Also known as a group certificate, in Australia at the end of financial year employees need to be given a payment summary.
To my knowledge this is not yet possible in Xero API. It would be great if this was added.
19 votes -
Filter list of Timesheets by Status and/or Modification Date
I want to retrieve a list of unprocessed timesheets.
In the Australian Payroll API you can filter the list of timesheets you retrieve by modification date, so you don't get 1000s of historical timesheets.
However, in the New Zealand Payroll API this is not possible.
Please add the ability to filter the list of timesheets by either status or modification date.15 votes -
Allow the employee endpoint to re-instate an employee.
The basic method to terminate an employee is to set their termination date. However to re-instate an employee requires accessing the web-interface and choosing the re-instate button.
As far as I can tell, this only removes the termination date from the employee record. It should be possible to remove that value in the API to allow re-instatement easily.15 votes -
Implement Deduction Pay Template API (in UK).
Implement the API for the input of Deduction Pay Templates in the UK API. This will allow automated bulk import from systems generating external deductions. Ideally, do this on a multi-employee basis, so that a single call will allow for the update of multiple employees. This feature appears to be available in NZ & AUS APIs already.
14 votes -
API Access to Public Holidays
Xero lets you define public holidays, assign them to holiday groups, and assign a holiday group to an employee. I'd really like to be able to:
- Retrieve the list of holiday groups and holidays defined for each.
- Include the name of the assigned holiday group for each employee when retrieving the list of employees.
13 votes -
9 votes
-
Expose the Employee's Status in the Payroll API
The Employees endpoint in the NZ Payroll API returns all Employees of the Organisation. There is no way to distinguish between the "current" Employees and "old/former" Employees.
This means any UI showing the Employees includes everybody rather than just the current Employees. Where the user should only be selecting "current" Employees we should be able to provide them a drop down that is limited to the valid choices!
This is not currently possible because the API does not expose the status of the Employee.
8 votes -
Expose detailed Employee taxes
The Xero Payroll UI shows detailed the Employee Taxes in Paystub/payslip such as Federal Income, SSN, Medicare, State Withholding etc.
However the Paystubs API only returns the total of that taxes
7 votes
- Don't see your idea?