Now that Australian Xero organisations have a full payroll application within Xero, it would be great to expose functionality such as timesheets, payrun details etc via the API. Some work will need to be done to connect this to the Xero API and we need to implement special permissions to only allow access for specific users and applications.
Vote and subscribe to updates to be kept up to date with developments.127 votes
The Xero Payroll API is now available – see http://developer.xero.com/payroll-api/ for full details
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/
Payitems can be exported via API but marking them as "Reportable as W1 on Activity Statement" still has to be done in the web interface.56 votes
IsReportableAsW1 is now included on EarningsRates and IsExemptFromW1 is now included on DeductionTypes
Thanks for voting!
Ability to post records of employee worked hours directly into timesheets alligning to the pay cycle for those employees. This would allow many products the ability to dumpo employee worked hours directly to payroll within xero. Users can then process payroll as normal.27 votes
The Timesheets endpoint enables a timesheet to be created and updated via the API. Through the API it’s possible to set the earnings rate and number of hours worked (earned) for each day. The Timesheet must be associated with the Draft Payrun. For full documentation on the Timesheets endpoint visit: http://developer.xero.com/documentation/payroll-api/timesheets/
The US version of Xero now has payroll functionality. We plan to provide an API for the payroll function, similar to the existing Australian payroll API.
Subscribe here to be notified about progress, possible beta testing and roll out dates as they come to hand.16 votes
For full details of the US payroll API, check here: http://developer.xero.com/documentation/payroll-api-us/overview-payroll-us/
It's nice we can get the list of Tracking Categories (and options). However, it would be nice to be able to see which Tracking Category is linked to "Timesheet Categories" in the payroll config.
Since I need to associate this with timesheet data for uploading, it's important to be able to prevent users from mistakenly associating with the wrong set of options.3 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?