If you are a PayrollPanda Core customer, visit payrollpanda.my/help to explore our all-new Help Center.

How to integrate Xero with PayrollPanda?

PayrollPanda payroll software integrates with Xero online accounting software - all your payroll data will be auto-synced into Xero. Follow the steps below to set up the integration.


1. Connect your Xero account

First you need to connect Xero to PayrollPanda:


2. Set up sync settings

Here you can select if you want to auto-sync the payroll data into Xero upon completing the payroll or if you want to manually do so. If you select Generate Bills Upon Payroll Submission, all bills will be automatically created in Xero. If you do this manually, you can sync it yourself by clicking Sync with Xero under Payroll History each time you complete the payroll.

There are three different ways to map your payroll to Xero. Depending on how you wish to record the payroll data you can either choose:

  • Net Salary: Map total net salary and each of the statutory payments.
  • Gross Salary: Map gross salary and employer statutory contributions.
  • Basic Salary: Map basic salary, employer statutory contributions and any additions/deductions (E.g. Travel allowance etc.).

A detailed sample for each mapping type is provided below under Sample Mapping.


3. Map payroll items to Xero

Based on the type of mapping selected, you need to map the PayrollPanda items to Xero Accounts. There are two Xero Account types we need to map to, Xero Expense Accounts (Debit) and Xero Liability Accounts (Credit).

To set up accounts in Xero:

  • Login to Xero and go to Settings > Chart of Accounts
  • Click "Add Account"
  • Choose Account Type > Expense or Liability
  • Provide a unique Code
  • Name the Account


4. Map to Xero Contacts 

Contact refers to the contact for which the invoice (bill) is created in Xero. It's recommended you either use:

  • One Contact (Single bill): After which one bill is created per payroll run, e.g. Human Resources Bill with a breakdown of all salary and statutory payments for that month.
  • Multiple Contacts (Multiple bills): After which a bill is created for specific payroll expenses, e.g. Human Resources Bill, LHDN Bill, KWSP Bill and Perkeso Bill.


To add a contact in Xero go to  Contacts > Add Contact.

Note: If you create multiple bills, on the balance sheet it will appear in Accounts Payable under Current Liabilities. If you use a single bill separate items will appear, e.g.  Accounts Payable, PCB Payable,  EPF Payable etc.

Upon completing the mapping click 'Save' at the bottom and you are set to run payroll.


Sample Mapping

Below you find a sample mapping based on each of the different Xero mapping options as described under 2. Set up sync settings.


a. Net Salary Mapping Example

Here you have to map the Net Salary and each of the Employee and Employer Statutory Contributions. Each of the payroll items is mapped to an Expense Account and a Liability Account, e.g. PCB Expense and PCB Payable Account.


In this sample, we map it all to one Xero Contact so one bill is created in Xero, the Human Resource bill. In case you want to map it to multiple bills you can refer to Gross Salary Mapping Example. Once the bill is accepted the payroll data is reflected accordingly in your P&L and Balance Sheet.

Sample Bill (One bill)


b. Gross Salary Mapping Example

For Gross Salary, instead of the Net Salary the Gross Salary and each of the Employee and Employer Statutory Contributions will be mapped.

Important: Note that Gross Salary and Employee Contributions need to be mapped to reflect in Xero accordingly. Employee Contributions will be deducted twice to ensure it's reflected correctly in the P&L and Balance Sheet.


In this sample, we map to multiple Xero Contacts so multiple bills are created in Xero. The Human Resource, LHDN, KWSP, Perkeso and Perkeso EIS bills accordingly. Once the bills are accepted the payroll data will reflect in your P&L and Balance Sheet.

Sample Salary Bill (Multiple bills)


c. Basic Salary Mapping Example

Basic Salary allows you to map each of the payroll items, i.e. Additions and Deductions. It's important you map each of the payroll items you use in your monthly payroll run, such as Overtime, Bonus and Unpaid Leave.

Tax allowable deductions (E.g. Lifestyle Relief, Higher Education Fees etc.) and BIKs can be excluded as they won't appear in your accounting software.

Important: Note that Basic Salary and Employee Contributions need to be mapped to reflect accordingly in Xero. Employee Contributions will be deducted twice to ensure it's reflected correctly in the P&L and Balance Sheet.


In this sample, we map to multiple Xero Contacts so multiple bills are created in Xero. The Human Resource, LHDN, KWSP, Perkeso and Perkeso EIS bills accordingly. Once the bills are accepted the payroll data will reflect in your P&L and Balance Sheet.

Sample Salary Bill (Multiple bills)


If you need further assistance with the set-up, you may reach out to us via the in-system chat.



This help article was compiled for version 0.60.0 of app.payrollpanda.my

Was this article helpful?

Can’t find what you’re looking for?

Our award-winning customer care team is here for you.

Contact Support