Foreman and Xero Payroll NZ
Staff clock in on a phone or iPad, Foreman adds up their hours, and you send the approved hours to Xero Payroll NZ as draft timesheets. Here's how the connection works.
What goes between Foreman and Xero
- From Xero to Foreman: your employees (name, email and pay calendar; leavers are left out), your ordinary earnings rates, and your pay calendars.
- From Foreman to Xero: each person's approved hours for a pay period, as a draft timesheet on the earnings rate you choose, one line a day.
- Nothing else goes either way. Foreman never reads pay rates, bank details or tax details.
Getting started
New Foreman businesses can currently sign up in New Zealand only.
- Start Foreman. Make an account at foreman-app.com/signup, or use Sign up with Xeroto have your name and email filled in from Xero. Signing up with Xero doesn't connect your payroll yet.
- Connect.Sending hours to Xero is part of the Pro plan. In Foreman, go to Integrations › Xero (NZ) › Connection and press Connect to Xero. Xero opens in the same tab: sign in, choose your organisation, and allow access. Xero lists what Foreman asks for (the four permissions below). Xero then sends you back to the Connection page, which says it's connected and shows your organisation's name.
- Match your people. On the Staff Mappings page, link each Xero employee to the person in Foreman who clocks in. Foreman suggests matches by name and email; you confirm them.
- Choose the earnings rate. Foreman lists your ordinary earnings rates from Xero (only those of the Regular Earnings type). Pick the one hours go to when you send them.
- Send hours.When a pay period's hours are approved, send them from Timesheets. They arrive in Xero as draft timesheets for the pay calendar each person is on. Check and approve them in Xero, then run your pay there.
What Foreman asks Xero for, and why
Foreman asks for these four permissions and no others. Xero shows them to you before you allow access.
- payroll.employees.read
- Reads your employees, so each one can be matched to a person in Foreman. Foreman never changes an employee in Xero.
- payroll.settings.read
- Reads your earnings rates and pay calendars, so hours go to the right rate and pay period. Foreman never changes your payroll settings.
- payroll.timesheets
- Sends the hours you approve to Xero as draft timesheets, for you to check and approve in Xero.
- offline_access
- Keeps Foreman connected between visits, so you don't sign in to Xero every time you send hours.
Questions
How do I disconnect Foreman from Xero?
In Foreman, go to Integrations › Xero (NZ) › Connection and press Disconnect from Xero. Foreman ends the connection in Xero and removes its copy of your Xero employees, earnings rates and pay calendars. The record of hours already sent stays, and so does everything in Xero. You can also disconnect from Xero's side: in Xero, choose your organisation, then Settings › Connected apps, and disconnect Foreman.
What doesn't the Xero connection do?
Foreman never pays anyone, never runs or posts a pay run, and never changes your employees, pay rates, bank details or payroll settings in Xero. It doesn't send leave yet, or anything to Xero's accounting side (invoices, bills, the bank). It works with Xero Payroll New Zealand only, not Australia or the UK. Timesheets arrive in Xero as drafts: nothing is paid until you approve them and run your pay in Xero.
When does Foreman read from Xero, and when does it send?
Foreman reads your employees, earnings rates and pay calendars when you connect, and again whenever you press Sync Xero Employees on the Staff Mappings page or Sync Xero Earnings Rates on the Earnings Rates page. It sends hours only when you choose to: from Timesheets, one person's or everyone's for a pay period. Nothing is sent on a timer.
Can I connect more than one Xero organisation?
No: one Xero organisation goes with one Foreman business. If you tick several organisations in Xero while connecting, Foreman keeps the first and disconnects the others, so they aren't left connected unused. To switch organisations, disconnect in Foreman first, then connect the other one. A Xero organisation already connected to another Foreman business can't be connected to a second.
Foreman says Xero has ended the connection. What happened?
Most likely someone disconnected Foreman in Xero (Settings › Connected apps). Xero also ends a connection that isn't renewed for 60 days, but Foreman renews it for you before then, so not using Foreman for a while won't end it. Press Connect to Xero on the Connection page and choose the same organisation: your employee links are kept. If you'd rather not reconnect, press “Remove this connection from Foreman instead”.
Who can connect or disconnect Xero?
The business's owner, and anyone the owner has given access to integrations. In Xero, you need access to the organisation's payroll.
Something went wrong sending hours. Where do I see why?
Foreman shows Xero's own reason next to each person whose hours Xero didn't take, and keeps it on the pay period until they're sent. Integrations › Xero (NZ) › Export History lists every send. If you're stuck, email support@foreman-app.com.
What happens to my Xero data if I stop using Foreman?
Disconnect first, as above: Foreman ends its connection in Xero and cancels its access, then removes its copy of your Xero employees, earnings rates and pay calendars. Nothing else in Xero is changed or deleted. If you close your Foreman business, Foreman disconnects Xero for you the same way.
Help inside Foreman
The Connection page lists the same four permissions in plain words, says when Xero has ended the connection and how to reconnect, and links back here. When a sync or a send fails, Foreman says why in the words Xero gave, and what to do next.
Still stuck? Email support@foreman-app.com. We're in New Zealand.