Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article we show how to use Xero AU integration with Tātou.

Info

Need to setup the integration? Please see Getting connected with Xero Australia

Employees

The employee integration is unidirectional, from Xero to Tātou. You can create, update and set termination date* to employees on Xero and it will reflect on Tātou.

...

Included fields

  • Status

  • Staff Id

  • First name

  • Last name

  • E-mail

  • Gender

  • Phone number

  • Birth date

  • Job title

  • Start date

  • Passport Nationality: default to “Australia”

  • Address (address, city, region, country and postcode)

  • Roles: It uses the default organisation role (eg. Crew)

  • Contract Type: default to “Permanent”, it uses Xero tax declaration

  • Recruitment Type: default to “Australian employee”, it uses Xero tax declaration

  • Hourly rate: It uses Xero Pay Template for the Employee (more details below)

  • Emergency contact (this is currently not available on Xero API for integration)

Hourly rate integration

The integration uses the Employee Pay Template to get the hourly rate. If you want to control the hourly rate on Xero, you need to create a new Pay Item in your Payroll settings as well as a new Pay Template with Earning line for each employee as below:

Xero Pay Item

Create a new Pay item of type Ordinary Time Earnings: Xero → Payroll → Payroll Settings → Pay Items. Leave the Rate per Unit empty if you want to control hourly rate by employee, or put a rate if you want to control by Pay Item.

...

Xero Employee - Pay Template

You can link the recent “Ordinary Hours” Pay item created to an Employee. Go to Xero Employee → Employment → Ordinary Earnings Rate and select the appropriate record as image below:

...

Info

If both Employee Pay Template and Pay Items are set, the Employee Pay Template will have priority to set the employee hourly rate on Tātou.

Pay Period (timesheets)

Earning types

As part of the setup to sync timesheets, you need to make sure that all Earning Types on Tātou are correctly linked with Pay Items on Xero.

Depending on your setup, Tātou can generate these types of earnings: Hourly, Contract (Piece rate), Topup, Overtime and Paid rest break. In order to get those earnings on Xero as Payslips earning lines, you need to set up corresponding Pay Items (Xero → Payroll → Payroll Settings → Pay Items → Earnings).

Set up the following pay items:

...

Earning types are matched by name. So you can configure the other fields as necessary for your organisation.

Earning types by Task Code

So let's say that you want your employee’s payslip to describe all piece rate work by task, instead of just “Piece rate”, this is also possible! The integration links Tātou Task Code with Xero Pay Items.

...

The integration will always get the more specific Pay Item when available. It’s important to note that the default “Piece rate” is required for the integration, as if no task found, it will be used.

You can use the same for all Earning Types. So you can potentially have “Ordinary hours | Pruning” for your supervisors for example.

Selecting employees to send payroll data

During the sync process the integration will ignore employees who the Contract Type is “Contractor”.

...

Syncing a pay period

Before you sync your first pay period, make sure you Calendars on Xero match the pay frequency (eg. Weekly). Also check theCalendar next pay period, it needs to be in sync with the period you want to send.

To check and sync a pay period, go to Tātou → Reporting → Pay Periods and Send to Payroll

...

On Xero it will create a new Pay run and will update the Payslips with the Earnings from Tātou. It will also keep any earnings rates that you added to the Employee Pay Template on Xero. So the result will be a mix of any default earnings set on Xero and the Earnings from Tātou.

Troubleshooting common Xero integration errors

“Missing Authentication Token”

Please check if you follow all the steps from How to: Setup the Xero AU integration.

Possible causes:

  • Wrong link on the webhook configuration

  • Missing the Request params tatou_token

  • Expired connection with Xero

“This payslip has a negative net payment value”

This can happen when the employee has more deductions than earnings. Check the Payslips created. After fixing any deductions or missing jobs for that employee, delete the draft pay run and send it again from Tātou.

“No Earning Rate *** found on Xero”

When setting up the integration, you need to create at least 5 types of Pay Items / Earnings on Xero:

...

If any of those are missing, you will receive this message. Please check the Pay Period section of this document to learn more.

“There can only be one draft pay run per calendar”

This can happen when you are submitting the pay period to Xero, but you already have a draft Pay run there. When submitting a pay period, the integration creates a new Pay run as draft, so if you need to fix something and send it again, you need to manually delete the existing draft pay run on Xero.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortmodified
typepage
reversetrue
labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"