Integrate with Xero

Xero is an online double-entry accounting software for businesses with 0–100 employees. Features of their service include invoice management, bank reconciliation, bookkeeping, and more. 

When you connect your Gusto and Xero accounts, each time you run payroll, the details can be synced to Xero as a Bill (on eligible Xero editions) or as a Manual Journal (available on all Xero editions). You get additional levels of granularity within the entry based on earnings types, Gusto departments, and Xero tracking categories.

Click the dropdowns below to learn more about the integration.

Customize journal entries: Group your account mappings and map by Xero tracking categories

To provide more granularity, you have the option to map your chart of accounts by employee, job, departments, or Gusto Projects (available to companies using Gusto Project Tracking). If you use Xero tracking categories, you can also map employees, jobs, departments, or Gusto Projects to tracking categories (optional).

Set up grouped mappings

Important: Review the section below related to the desired grouped mapping option before continuing. These sections contain setup information for each grouped mapping type.

  1. In your Gusto admin account, head to the App directory and choose Xero.
  2. Go to the Settings tab.
  3. Next to "Journal entry consolidation," click edit.
  4. Select by employee, projects, jobs, or departments.
    • You can map your chart of accounts by just one category.
  5. Click Submit.

The journal entries will be broken out by the grouped mapping selection the next time you sync payrolls to your accounting integration.

Note: Updating your company’s grouped mapping type will delete any overridden mappings associated with the previous journal entry consolidation type. Your company default mappings will be saved. For example, if you switch from consolidating by job to consolidating by department, any overridden mappings for your company’s jobs will not be retained. A reminder message will be displayed when you switch your journal consolidation method. 

Override default mappings

You have the option to override the default mappings for each employee, department, job, or project. This means you can assign different accounts to payroll items at the employee, department, job, or project level. Overriding your company’s default mappings is not required. The journal entries will be broken out by employee, department, job, or project regardless of whether any accounts have overrides. 

  1. Go to the Mapping tab.
  2. Scroll to the “Mappings by employee, project, job, or department” section. For each section you want to map, click Override
  3. If your company uses Xero tracking categories, you’ll first have the option to choose a tracking category.
  4. For each line item, choose the Xero account you want it to correspond with. 
  5. Your progress is saved as you go. When you’re done mapping, click the x icon to return to the main Mappings page.
  6. Repeat for each section you want to map.
Map your chart of accounts by employee

You can add more granularity by mapping your accounts by employee. You can use different accounts for the different payroll items for each employee and contractor. This means you can have the earnings of each employee go to different accounts. This will expand the entry we send over into the accounting software.

As an example, say you have two employees. Before you enable employee mappings, all regular wages earned are sent to one "Salaries and Wages" expense account. After enabling employee mappings, you will see two line items for employee’s regular wages. You will have the option to use separate expense accounts for each employee. When running reports in your accounting software, you will have this additional breakdown.

If you use Xero Tracking Categories, you can also map your employees and contractors to tracking categories.

Click here to learn more about mapping with Xero tracking categories.

These transactions will be exported by employee to your accounting software account. If any employees are left unmapped, they will sync based on the settings you choose under “Default Company Mappings.” 

To map by employee, make sure you have the following already set up:

  1. You've connected Xero to Gusto with the steps above.
  2. Your original chart of accounts has already been mapped.
  3. Employee/contractor-specific accounts and Xero tracking categories have been set up in your accounting software (optional).
Map your chart of accounts by departments

You can add more granularity by mapping your accounts by department. You can use different accounts for the different payroll items within a department. This means you can have the earnings of one department go to one account and the earnings of a second department go to a different account. This will expand the entry we send over into the accounting software.

As an example, say you have two departments: Design and Marketing. Before you enable department mappings, all regular wages earned are sent to one "Salaries and Wages" expense account. After enabling department mappings, you will see two line items for each department’s earnings. You can use separate expense accounts for each department. When running reports in your accounting software, you will have this additional breakdown.

If you use Xero tracking categories, you can also map each department to a tracking category.

These transactions will be exported by department to your accounting software account. If any departments are left unmapped, they will sync based on the settings you choose under “Default Company Mappings.” 

To map by department, make sure you have the following already set up:

  1. You've connected Xero to Gusto with the steps above.
  2. Your original chart of accounts has already been mapped.
  3. Department-specific accounts and Xero tracking categories have been set up in your accounting software (optional).
  4. Enable Gusto departments by clicking the Settings section and selecting the Preferences tab.
  5. Add specific departments under the People tab and assign employees and/or contractors to the departments. 
Map your chart of accounts by job

Job mapping is another way to add additional granularity. This option allows you to map accounts by each unique job title in Gusto. For employees with multiple jobs, each job can be mapped independently, and payroll costs associated with each job will be split out on the synced journal entry. This will expand the entry we send over into the accounting software.

As an example, say you employ cashiers and cooks at your business. Before you enable job mappings, all regular wages earned are sent to one "Salaries and Wages" expense account. After enabling job mappings, you will see two line items for each job’s earnings. You can use separate expense accounts for each job. When running reports in your accounting software, you will have this additional breakdown.

If you use Xero tracking categories, you can also map each job to a tracking category.

Assign employees to jobs

Before you map your chart of accounts by jobs, make sure each employee is assigned to at least one job. Here's how:

Salaried employees: edit their job title

Hourly employees:

  1. Click the People section and select Team members.
  2. Click your employee’s name.
  3. Go to the Pay tab.
  4. In the "Compensation" section, click Add Earning Type or Pay Rate.
  5. Select the earning type or additional pay rate.
  6. Select a job title from the drop-down list.
    • If the desired job title does not exist, type in a new job title to create a new one.
  7. Add amount, earning period, and default hours per pay period.
  8. Click Save.

Hourly employees can have as many pay rates or jobs as you'd like. If an employee has multiple jobs, their paystub lists each job and its associated earnings. 

For employees who have not been assigned a job title, their expenses are mapped based on the settings you choose under “Default Company Mappings.” 

These transactions will be exported by job to your accounting software account. If any jobs are left unmapped, they will sync based on the default company mappings.

To map by job, make sure you've already:

  • Connected Xero to Gusto with the steps above.
  • Mapped your original chart of accounts.
  • Set up job-specific accounts and Xero tracking categories in the accounting software (optional).
  • Assigned employee to one or more jobs in Gusto (see the steps above).
Map your chart of accounts by projects

Mapping by projects (as opposed to jobs or departments) is good for businesses with multiple people in the same role and when some employees work hours in one role and other hours in another role. Please note that consolidating by project is available to customers using Gusto Project Tracking.

As an example, say you have employees tracking time to two Gusto Projects. Before you enable project mappings, all regular wages earned are sent to one "Salaries and Wages" expense account. After enabling project mappings, you will see two line items for each project’s earnings. You can use separate expense accounts for each project. When running reports in your accounting software, you will have this additional breakdown.

If you use Xero tracking categories, you can also map each project to a tracking category.

These transactions will be exported by project to your accounting software account. If any projects are left unmapped, they will sync based on the settings you choose under “Default Company Mappings.” 

To map by project, make sure you've already:

  • Connected Xero to Gusto with the steps above.
  • Mapped your original chart of accounts.
  • Set up project-specific accounts and Xero tracking categories in the accounting software (optional).
  • Set up Gusto Project Tracking.
Xero tracking categories

If you use Xero tracking categories, you can map employees, departments, jobs, or projects to tracking categories. Using tracking categories is optional and must be used in conjunction with the Grouped Account Mapping option. 

Set up Xero tracking categories

  1. Go to the Mapping tab.
  2. Scroll to the “Mappings by employee, project, job, or department” section. For each section you want to map, click Override
  3. At the top, click the dropdown under "Xero Tracking Category."
  4. Select the desired tracking category or begin typing to search across your tracking categories. 
    • If you do not see the desired tracking category, click the link to refresh your chart of accounts. 
  5. Repeat for each employee, department, job, or project you would like to map.
  6. The next time you sync your payroll, the entry will tie to the appropriate tracking category.
Grouped mapping options for contractor payments

Consolidating journal entries by employee and department are compatible with contractors.

Consolidating by job and project are not compatible with contractors. Job titles and Gusto Projects are not currently supported with contractor profiles. If your company pays contractors and uses job or project consolidation, contractor payments will be synced based on the default company mappings. 

Troubleshoot syncing errors 

Here are some common syncing errors and their resolutions.

Error message Detail Resolution

You’ve already reconciled payments against this Bill in Xero. Please "Remove & Redo" any payments applied to this Bill in Xero, and then try again.

The entry has already been reconciled and cannot be re-synced.

Remove and redo any payments applied to this Bill. Next, sync the payroll or payment from Gusto
You have reached the limit of invoices you can approve in Xero. Please update your Bill approval settings in the App Directory or upgrade your Xero plan.

You’ve reached the limit of invoices you can approve. 

Change your bill approval settings in the Gusto App directory or upgrade your Xero plan.

This Bill has already been synced and approved in Xero. You cannot change the status from Approved to Awaiting Approval. To resync this Bill, you must first void it in Xero.

We cannot change the status of an approved bill.

Void the bill in Xero.