Skip to main content

Exporting Timesheets to Xero NZ

How to export approved timesheets directly from Urhere to Xero Payroll NZ.

Before you start

Make sure the following are in place before running your first export:

  • Your Xero NZ organisation is connected to Urhere
    To learn how to connect Xero, view here - Connecting Urhere to Xero | Urhere Help Center

  • Employees are matched to Xero
    Each employee you want to export must be linked to their corresponding employee record in Xero and any pay rates are matched to the Xero earnings rate

  • A payroll calendar exists in Xero
    Your Xero NZ organisation must have at least one active payroll calendar, such as Weekly or Fortnightly.

  • Unscheduled pay runs aren't available in Xero NZ
    If you need to amend a posted pay run, this needs to be manually adjusted in Xero.

How to run an export

  1. Go to Timesheets and select Export Timesheets

  2. Select Xero NZ as the export target

  3. Choose the payroll calendar covering the period you want to export

  4. Review the employees and their approved hours

  5. Select Export to Xero

If any required pay rates need to be created in Xero, Urhere will display a confirmation window listing them. Select Confirm & Create Rates to create the rates automatically in your connected Xero organisation.

Once submitted, the timesheets will appear in Xero as draft timesheets attached to the relevant pay run.

What happens during an export

Understanding this process can help you identify and resolve export problems.

1. Pay run check

Before submitting timesheets, Urhere checks whether a draft pay run already exists in Xero for the selected payroll calendar period.

  • If a draft pay run exists, Urhere attaches the timesheets to it

  • If no draft pay run exists, Urhere creates one automatically

You do not need to create the draft pay run manually in Xero before exporting.

Xero only allows one draft pay run per payroll calendar at a time. If a draft already exists for a different period on the same calendar, Urhere may not be able to create another one. Finalise or delete the existing draft pay run in Xero before trying again.

2. Earnings rate check


Urhere must map each pay type, such as Ordinary Hours or Saturday Rat, to a corresponding Xero earnings rate, also known as a pay item. You can either match your existing Xero earnings rates or allow Urhere to create the required rates.

Match an existing Xero earnings rate

  1. Go to the employee salary details

  2. Select the relevant pay rate and apply the appliable pay rule from the dropdown

  3. Select Save to proceed

Urhere will use the selected Xero earnings rate and will not create a duplicate.

Let Urhere create the rate


If no existing Xero earnings rate has been selected, Urhere will display a list of the rates that need to be created.

After you confirm:

Urhere creates the earnings rates in Xero and the rates are reused during future exports

You should not be prompted to create the rates again unless they are deleted or replaced in Xero.

3. Timesheet submission


Urhere submits a separate timesheet for each matched employee.

Each timesheet contains:

  • One line for each earnings rate, such as Ordinary Hours or Saturday Rate

  • The number of hours worked on each date within the payroll period

For example, an employee's timesheet might contain eight hours of Ordinary Hours on Monday and six hours of Saturday Rate on Saturday.

4. Export result

Once all employees have been processed, Urhere displays an export summary.
Employees exported successfully are confirmed in the summary. Any employees who could not be exported are listed separately so you can correct the issue and export them again.

Common reasons for an employee being rejected include:

  • The employee has not been matched to Xero

  • The employee's Xero payroll setup is incomplete

  • Xero rejected the timesheet information

Successfully submitted timesheets will appear under the relevant draft pay run in Xero, ready to be reviewed and processed.

How to re-export a period


You may need to re-export a payroll period after correcting an employee's hours.

There are two ways to do this:

Option A — Delete the employee's timesheet and re-export

Use this option when only one or a small number of employee timesheets need to be corrected.

  1. In Xero, go to PayrollTimesheets

  2. Find the affected employee's timesheet for the relevant period

  3. Delete the timesheet in Xero

  4. Return to Urhere

  5. Run the export again for the same period and affected employee

Urhere will submit a new timesheet containing the updated hours.

Option B — Delete the draft pay run and start again

Use this option when you want to clear the entire period and export all timesheets again.

  1. In Xero, go to PayrollPay Runs

  2. Find the draft pay run for the relevant period

  3. Delete the draft pay run

  4. Return to Urhere

  5. Run the export again for the same period

Urhere will detect that no draft pay run exists, create a new one and submit the timesheets again.

You can only delete a draft pay run in Xero. If the pay run has already been posted or processed, speak to your payroll administrator or Xero Support before making further changes.

Pay rates and mappings

Urhere uses Xero earnings rates, also known as pay items, to classify exported hours.

Examples include:

  • Ordinary Hours

  • Saturday Rate

  • Sunday Rate

  • Public Holiday Rate

  • Overtime

You can map an Urhere pay rule to an existing Xero earnings rate through SettingsPay Templates. If no mapping has been configured, Urhere will offer to create the required earnings rate automatically during the export. Once a rate has been created or mapped, it is saved and reused during future exports.

What gets exported

  • Ordinary hours – yes, mapped to the applicable Xero earnings rate

  • Penalty rates – yes, Saturday, Sunday and public holiday rates are mapped to separate Xero earnings rates

  • Overtime – yes, mapped to a separate Xero earnings rate

  • Allowances – not yet supported in Xero NZ timesheet exports

  • Leave – not yet supported in the current release

Current limitations

  • Timesheet export only – Pay Run export is not currently available for Xero NZ. Hours are submitted as draft timesheets and must be processed through a pay run in Xero.

  • Employee creation – Urhere cannot create employees in your Xero NZ organisation. Employees must already exist in Xero before they can be linked through Employee Matching.

  • Allowances – allowance lines are not currently included in Xero NZ timesheet exports.

Common questions

The pay rate dropdown is empty when I set up salary details

This can happen when the Xero NZ connection has not finished syncing. Navigate away from the page and then open it again. If the dropdown remains empty, contact Urhere Support so we can check your Xero connection.

I am asked to create rates every time I export

This usually means the original earnings rates were deleted or recreated in Xero. It can also happen if your pay rules have not been mapped to the correct existing Xero earnings rates.

Check the mappings under SettingsPay Templates. If the required rates do not already exist, use Confirm & Create Rates during the export. Urhere will save the new Xero rate IDs for future exports.

My export succeeded, but the hours appear on the wrong date

This can happen when shifts are recorded using a different time zone. Contact Urhere Support and provide the affected employee and timesheet dates so we can investigate.

A timesheet was already submitted and I need to re-export corrected hours

Delete the affected employee's timesheet or the entire draft pay run in Xero, then run the export again from Urhere. See How to re-export a period above for the full instructions.

Xero says a draft pay run already exists, but I cannot see it

Another user may have created a draft pay run directly in Xero. Go to PayrollPay Runs in Xero and check for draft pay runs using the relevant payroll calendar. You can either leave the existing draft in place so Urhere can attach the timesheets to it, or delete the draft if it was created incorrectly.

Did this answer your question?