Skip to content

Xero integration overview

PICMI offers two versions of its Xero integration for payroll: one tailored for New Zealand (NZ) and the other for Australia (AU). To ensure the integration works correctly, your organisation in Xero must match the corresponding region—NZ or AU—based on where your business operates. This is because Xero's payroll systems have region-specific requirements, such as IRD numbers and KiwiSaver details for NZ or Tax File Numbers and superannuation details for AU.

note

If your Xero organisation is not set to the correct region, the integration will not function properly.

PICMI currently supports only ONE connected app on an account at a time. Please contact us if you require more than one.

Payroll NZ: Integration configuration

ConfigurationDescriptionValues
Employer subsidy contribution tax rateTax rate applied to employer subsidiesNZ tax rates
Employer subsidyAmount of the employer subsidy10.5% (MB) for income up to $14,000, 17.5% (M) for $14,001–$48,000, 30% (MH) for $48,001–$70,000, 33% (MT) for $70,001–$180,000, and 39% (MA) for income over $180,000.
Payment methodMethod of payment for employeesBank, Cash, Cheque
Engagement typeType of engagement with the employeePermanent, Fixed Term, Casual
Payment frequencyFrequency of payments to employeesWeekly, Fortnightly, Monthly
Earnings rateDefault earnings rate to be appliedEarningsRate from Xero
Pay run calendarCalendar schedule for pay runsPayRunCalendar from Xero
Holiday calendarCalendar used for managing holidaysHolidayCalendar from Xero
Statement particularsParticulars for bank statements
Statement codeCode for bank statements
Statement referenceReference for bank statements
Days per weekNumber of working days per week for the employee
Hours per dayNumber of working hours per day for the employee
Address post codeDefault post code used if not provided
Address regionDefault region used if not provided

Payroll NZ: PICMI-Xero integration fields

Field NameDescriptionValidation/Constraint/Default ValueSource
Employee IDUnique identifier for the employee-1 if updating, otherwise uses employee IDIntegration Configuration
First NameFirst name of the employeeMaximum 35 characters MandatoryPersonal Information
Last NameLast name of the employeeMaximum 35 characters MandatoryPersonal Information
Date Of BirthEmployee's date of birthMust follow the format YYYY-MM-DD MandatoryJob
GenderGender of the employeeOptions: M/FPersonal Information
EmailEmployee's email addressMandatory if the account type is not 'Staff' More in troubleshooting sub-alias emails for existing archived usersJob
Phone NumberEmployee's phone numberMaximum 15 digits with single spaces, no plus sign (+)Personal Information
AddressEmployee’s home address, including street, city, suburb, and postcodeMandatoryPersonal Information
Engagement TypeType of engagement for the employeePermanent, Fixed Term, Casual (Required for employees of organisations created after 5th August 2024)Integration Configuration
Job TitleJob title of the employeeJob
IRD NumberThe employee's IRD (Inland Revenue Department) numberPersonal Information
Tax CodeEmployee's tax codeOptions: M, M SL, ME, ME SL, etc Refer to NZ tax codesPersonal Information
Special Tax Rate PercentageSpecial tax rate percentagePersonal Information
Has Special Student Loan RateWhether the employee has a special student loan ratePersonal Information
Special Student Loan Rate PercentageThe percentage for the special student loan ratePersonal Information
Is Eligible For KiwiSaverEmployee’s eligibility for KiwiSaverJob
ESCT Rate PercentageEmployer superannuation contribution tax rateJob
KiwiSaver Employee Contribution Rate PercentageEmployee’s KiwiSaver contribution percentageOptions: 0%, 3%, 4%, 6%, 8%, 10%Personal Information
KiwiSaver Employer Contribution Rate PercentageEmployer’s KiwiSaver contribution percentageOptions: 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%Integration Configuration
KiwiSaver Opt Out DateThe date the employee opted out of KiwiSaverJob
KiwiSaver Contribution Holiday End DateEnd date of the employee’s KiwiSaver contribution holidayJob
Has Student Loan BalanceWhether the employee has a remaining student loan balancePersonal Information
Student Loan BalanceThe remaining balance of the employee’s student loan as per the letter from IRPersonal Information
Student Loan As AtDate of the letter indicating the student loan balancePersonal Information
Payment MethodMethod by which the employee is paid (eg, Cheque, Electronically, Manual)Options: Cheque, Electronically, ManualIntegration Configuration
Account NameName of the employee’s bank accountMaximum 32 characters MandatoryPersonal Information
Account NumberEmployee’s bank account numberDigits only, maximum 8 digits MandatoryPersonal Information
Sort CodeEmployee’s bank account sort codeMust be exactly 6 digits MandatoryPersonal Information
Start DateEmployment start dateMust follow the format YYYY-MM-DDJob
End DateEmployment end dateMust follow the format YYYY-MM-DD (defaults to 7 days after if Fixed Term and empty)Job

Payroll AU: Integration configuration

ConfigurationDescriptionValues
Statement textThe text that will appear on your employee's bank statement when they receive payment
Employment typeType of employment with the employeeEmployee, Contractor
Employment basisBasis of engagement with the employee for tax purposesFull-time, part-time, casual, labour hire, non-employee
Address regionDefault region used if not providedACT, NSW, NT, QLD, SA, TAS, VIC, WA
Earnings RateXero unique identifier for earnings rateOptional
Pay Run CalendarXero unique identifier for payroll calendar for the employeeOptional
Super FundXero identifier for super fund; requires EmployeeNumberOptional
External Id GeneratorRecommended to use the 15 digit generator on the integration (for Super Fund)Optional

Payroll AU: PICMI-Xero integration fields

Field NameDescriptionValidation/Constraint/Default ValueSource
SurnameLast name of the employeeMandatoryPersonal Information
First NameFirst name of the employeeMandatoryPersonal Information
Date Of BirthEmployee's date of birthOptional, preferred format: dd/MM/yyyyPersonal Information
EmailEmployee's email addressMust be a valid email formatPersonal Information
Phone NumberEmployee's phone numberMaximum 13 digits, no dashes or spaces, no '+'Personal Information
AddressEmployee’s home address, including street, city, and postcodeMandatoryPersonal Information
GenderGender of the employeeOptions: Male/Female/Non-Binary/Not StatedPersonal Information
Job TitleEmployee’s job titleOptionalJob
Employment TypeType of employment for the employeeOptional, Fulltime, Parttime, Casual, Labourhire, etc.Job
Start DateEmployment start dateOptional, preferred format: YYYY-MM-DDJob
Bank Account NameThe name of the bank accountOptional, 32 characters maximumPersonal Information
Bank Account BSBThe BSB number of the accountOptionalPersonal Information
Bank Account NumberThe account numberOptionalPersonal Information
Tax DeclarationEmployee’s tax declarationOptionalPersonal Information
Earnings RateXero unique identifier for earnings rateOptionalConfiguration
Pay Run CalendarXero unique identifier for payroll calendar for employeeOptionalConfiguration
Super FundXero identifier for super fund, requires EmployeeNumberOptionalConfiguration

Payroll AU: mapping targets and default sources

The table below explains the main mapping targets used by the Xero Payroll AU integration.

  • Mapping target is the field PICMI sends to Xero.
  • Xero field is the label used in this guide.
  • Mapping source (default) shows the field or workflow question PICMI will try to use automatically when a default mapping exists.
  • If the default source says Manual mapping, you should choose the source field yourself.

note

This table reflects the defaults proven in code and tests for the Xero Payroll AU integration. Some fields support automatic matching, but the exact question or source field may depend on your workflow setup. If a field does not map as expected, review the mapping manually.

Mapping targetXero fieldMapping source (default)
FirstNamesFirst NameWorker GivenName
SurnameSurnameWorker FamilyName
BirthdateDate Of BirthWorkflow question: What is your date of birth?
EmailEmailWorker Email
PhonePhone NumberWorker Phone
GenderGenderAutomatic default mapping supported; workflow question What is your gender?; falls back to Not Stated
AddressPostalAddressWorkflow question: What is your postal address?
TitleJob TitleAutomatic default mapping supported; falls back to the Job Title when building the Xero employee
StartDateStart DateJob StartDate
RemunerationRemuneration / Pay RateAutomatic default mapping supported; falls back to the Job Remuneration when available
BankBank Account BSBWorkflow question: BSB number
BankAccountBank Account NumberWorkflow question: Account number
BankAccountNameBank Account NameWorkflow question: Your account name
TaxNumberTax Declaration / TFNWorkflow question: If yes, enter your TFN
TaxTypeTax Declaration / TFN TypeWorkflow question: Do you have a TFN?
TaxResidencyTax Declaration / Tax ResidencyWorkflow question: What is your tax residency status?
TaxFreeTax Declaration / Tax-free thresholdWorkflow question: Do you want to claim the tax-free threshold from this payer?
TaxRepaymentTax Declaration / Study or training loan repaymentsWorkflow question: Do you have a study or training loan that requires repayments?
SuperContributionsSuper Fund selectionWorkflow question: Which super fund should we pay your superannuation contributions into?
SuperNameSuper Fund nameWorkflow question: What is the name of the super fund? (Required for existing or private self-managed funds)
SuperAccountSuper member or account numberWorkflow question: What is the member or account number for your Existing Super Fund?
EmployeeIdManual mapping
NationalityManual mapping
VisaStartManual mapping

Special Tax File Numbers (TFNs) in Australia

In some situations, special or placeholder TFNs are used when an individual doesn't yet have a regular TFN or qualifies for an exemption. These are commonly used in payroll, superannuation, and ATO reporting.

TFN CodeDescription
000 000 000No TFN provided; not eligible for exemption. Tax must be withheld at max rate.
111 111 111TFN application is in progress; valid for 28 days only.
333 333 333Individual is under 18 and earns less than the tax-free threshold.
444 444 444Individual receives certain government pensions or benefits and is exempt.

Xero does not necessarily accept these values and applications will need to be reissued.

Authorisation

To connect PICMI with Xero, we use OAuth (a simple one-click authorisation). Just make sure you sign in to both Xero and PICMI in your browser to link the two systems.

Read more about OAuth in our integrations guide

Key things to know about Xero's authorisation rules:

  • When you first connect PICMI to Xero, Xero gives us a one-time code. This code expires after 5 minutes, so it must be used quickly.
  • That one-time code lets PICMI securely request:
    • An access token – this allows us to talk to Xero on your behalf.
    • A refresh token – this allows us to keep that connection going over time.
  • The access token only lasts 30 minutes, but don’t worry – PICMI refreshes it automatically in the background.
  • The refresh token lasts 60 days, but again, you don’t need to worry – PICMI automatically refreshes it after * 45 days* to keep things running smoothly.
  • If the refresh token ever expires, you’ll need to re-authorise PICMI by going through the connection process again.

Troubleshooting

If you notice any discrepancies between PICMI and Xero:

  • Re-authorisation: If needed, re-authorise the integration by reconnecting your Xero account.
  • Email field with sub-alias: If an employee's job has ended and some time has passed, you can’t create a new user with the same email address. To handle this, PICMI will automatically create the user using a sub-alias email of the original email adding the month and year (eg hone.smith+08-2024@example.com)

note

PICMI will automatically keep your token up to date by refreshing it before it expires (at about the half-way point)

PICMI is the simple hiring tool that helps make your job their first choice