Skip to content

Payroll API

This forum is dedicated to gathering feedback and ideas for Xero's Payroll API.

Payroll API

Categories

JUMP TO ANOTHER FORUM

69 results found

  1. Have an "Approve and Next" button for Timesheets, so that once you have approved a timesheet you don't have to click close and then click into the next persons timesheet, you would just click "Approve and Next" and it takes you to the next one. Saves time. Like when approving the Payslips, this option is there, but not in Timesheets.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Timesheets  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. The Xero AU Payroll Employees API does not update or return the “last updated” timestamp when employee bank account or superannuation details are changed. Our HR system relies on this timestamp to detect updates, and without it, outdated data may overwrite correct information in Xero. This poses a risk of employee pay or super being sent to incorrect accounts.

    Please review and update the API so these changes correctly trigger a timestamp update, ensuring accurate and reliable data sync between systems.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    1. Give payroll admins the ability to move the status from "draft" to "pending approval" as is possible in NZ and UK or
    2. Give permissions to users with approval power to see the timesheet in the "draft" status through "Xero me" or
    3. Permit users with approval power to see the "timesheet" module in addition to "Xero me"

    Similar case - https://productideas.xero.com/forums/939198-for-small-businesses/suggestions/50247837-au-timesheet-approval-process-upgrade

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Timesheets  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. If you use the API to modify a leave application (e.g. approve it), the history of the leave application shows that the modification was made by the user that authorised Xero into our App. Everywhere else in Xero the history shows the name of the App as the modifier (this is better as it may not have been that person that authorised).

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Leave  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. To add/update Employee, Leave, Timesheet data, we are supporting multiple records sync through a single API request in AU version.
    But, in UK version, need to trigger separate APIs for every data sync. Can we support the same (bulk data sync) as in AU version?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Unable to sync leave records via API. Because, we must be update holiday group & work pattern in Xero manually, before syncing leave records. Is it possible to update those data via any APIs?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    1. Employees are typically assigned an employee number, but the system currently generates a GUID instead.

    2. Since employees are unaware of their GUID, the only way to retrieve a specific record is by fetching all employees and filtering manually, which significantly impacts performance—especially for companies with a large workforce.

    3. Our goal is to allow employees to enter their employee number via our mobile app to verify their employment. This number is familiar to them, unlike the system-generated GUID

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    1. Xero already offers a manual Pay Advance process, but this functionality is not exposed via API.

    2. This feature is essential for our application, enabling employees in urgent financial situations (e.g., requiring funds for car repairs before payday) to apply for a pay advance through our app.

    3. Once an employee submits a request, we intend to create the Pay Advance entry directly in Xero Payroll. Given the potential volume of requests, a manual approach is not viable.

    4. Since this functionality already exists in Xero Payroll, exposing it via API should be straightforward and would significantly improve efficiency.

    https://central.xero.com/s/article/Pay-an-advance-to-an-employee

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. When we use the API to post Leave entries from our application, other earnings line items in the payslip are being removed.

    This issue occurs specifically when the Leave falls within the same fortnightly pay period after the payslip has been created for the employee.

    Example:
    An employee has the following earnings on their payslip:
    - Ordinary Hours
    - Overtime Hours
    - Bonus

    After we send the Leave entry via the API, the Overtime Hours and/or Bonus earnings line items are removed from the payslip, leaving only the Ordinary Hours.

    This behavior seems unintended, as adding a Leave entry should…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Leave  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. We want to automate our payroll process by automating the transfer of Wages and PAYG data from Employment Hero to XERO’s BAS Lodgement.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Currently within the API a leave application's LeaveApplicationID changes when the leave request transitions to the scheduled state. There should be the ability within the API to reference the original LeaveApplicationID for traceability.

    Use Case: enable external systems attempting to track information relating to leave requests to be able to identify the lifecycle of a leave request without having to match start / end dates and employee separately

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Leave  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. This applies to Payroll AU API (but possibly opthers).

    Currently, payslips include LeaveEarningsLines that allow you to see how much leave was paid out to an employee as wages.

    However, this is missing the crucial LeaveTypeID. This makes it impossible to pull a payslip and identify which leave the user actual took.

    It then forces you to look at LeaveApplications but there is no direct link between the two to help youj identify which leave relate to which payslip line.

    This needs to be added in order to allow reconciling.

    8 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. In the Xero UI, under Accounting > Reports > Payroll > Superannuation Accruals/Payments sections, I can run reports for super contributions but this information is not available via any of the Xero APIs. There must be an underlying API call to retrieve this information and display this report in the UI - it would be good to have the same information available as an API.

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. It's recently become possible to view all leave application irrespective of their state, but it's only possible to create leave requests in with a "scheduled" status. It'd be very useful if the API could be used for an employee to create a leave request.

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Leave  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. 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…

    13 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Payslips  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. If a user has more than 200 pay runs, I need to retrieve the first page initially of https://developer.xero.com/documentation/api/payrolluk/payruns#get-payruns endpoint, then it will provide the number of items in response and then I need to retrieve the following pages with pay runs that I need to process.
    More paid pay runs means more call to Xero, so it can be a problem on production env in a few weeks/years.

    It makes sense to add additional request parameters to filter not needed pay runs. For instance, posted date, then I can retrieve items only for the last week.

    Best practices of…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Ability to set deduction entries (either fixed amount or percentage) in payslip. Currently, the only option is to amend the pay template of the employee which means it may automatically roll onto the next pay run.

    When approving a timesheet, we would like to set deduction items for that pay calendar which pull through similar to timesheet line entries, but unique for that pay calendar. Eg. an employee would have a fixed amount deduction one month, but not the next.

    This could be part of the timesheet or the payslip, but ultimately determined by the pay calendar of the employee.

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Payslips  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. The note tab on each employee file can be enhanced with the ability to add files such as their work contract/s or ID, perhaps even workings related to holidays or payment plans agreed upon, etc. Having the ability to upload can provide the opportunity to load signed agreements which is more important than a "note". The option to make a note visable or not could be useful to employee/employer too.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. 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.

    7 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Our app allows adding earnings lines for commissions to payslips. We would also like to add messages to the payslip at the same time (via the API) to indicate what each commission was for. Currently the payslip API doesn't allow this that I can find. So our clients have to cut and paste payslip messages from our app to the payslip in the Xero website, which is very cumbersome and error prone.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Payslips  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3 4
  • Don't see your idea?