w2x for Xero

w2x for Xero

Developed By w2x

Compatible with WHMCS v8.9

Integrate WHMCS with Xero to keep your billing system and clients in sync with your accounts. Our 5 rated*, Xero certified module sends Contacts, Invoices & Payments and is commercially supported by our team in the UK.

  • Sends Contacts to Xero
  • Sends Invoices to Xero
  • Sends Payments, Credits & Refunds to Xero
  • Receives payments from Xero
  • Email invoices from Xero
  • Integrates with the WHMCS Cron Job
  • Supports single tax rate invoices (including VAT, VAT MOSS & GST)
  • Multi-currency Support
  • Highly configurable but easy to install
  • FREE on-going support
  • 30 Day money-back guarantee



5 stars
4 stars
3 stars
2 stars
1 star

Aled Evans @aled6065

April 26, 2022 at 10:43:47 AM

This is an excellent module and I would highly recommend it to anyone who uses Xero for their accounting. The recent update has also changed the way W2X links with Xero and no longer requires you to manually generate any API keys with Xero. Worth every penny!

  • 2 years ago
  • Version Number 6.6

Electronics @electronics6022

August 25, 2020 at 07:01:46 PM

Slow communication with support :(

David Windell @outeredge

September 28, 2020 at 03:07:11 PM

@electronics6022 Sorry to hear this, we have had a short period of delayed support due to the pandemic but we are back in full action now. All the best.

  • 3 years ago
  • Version Number 4.0
  • Edited

Mike York @mike7228

February 13, 2020 at 10:36:56 AM

Hello! Our unique writing services offer students to get high-quality products in a timely manner! We truly enjoy helping students with their academic tasks!

  • 4 years ago
  • Version Number 3.2

Sam Grindle @sam7293

February 8, 2019 at 06:41:02 PM

This is a fantastic module, saves so much time and has been very well put together. Great help from support too if you need it. Fully recommend.


  • 5 years ago
  • Version Number 2.19

Aidan Casserley @aidan9229

January 24, 2019 at 06:35:32 AM

I don't normally leave reviews, but in this case I absolutely had to!

This is honestly one of the most incredible WHMCS products / integrations out there; not just the way in which the module functions and makes our operation slicker; but also the way it is supported.

If you're looking for a Xero module addon, look no further!

  • 5 years ago
  • Version Number 2.19

Victor Seager @vseager

April 24, 2017 at 03:00:01 PM

This module has saved us so much time for our growing business. The support is also fantastic, although I must say we haven't really had any problems!

  • 7 years ago
  • Version Number 2.3

Martin Gleeson @MartinGleeson

April 14, 2017 at 06:00:55 AM

We love this module, and the great support! It does exactly what we want, saving untold hours of bashing our heads against a brick wall. It makes everything simple and frictionless.

  • 7 years ago
  • Version Number 2.3

Rodolphe Mortreuil @Rodolphe

February 1, 2017 at 10:43:40 PM

We've used this plugin for quite some years now and it just works, period. More importantly though, in the rare instances when either a Xero or WHMCS update creates some problems, John has always been only a few minutes away providing very proactive support which never failed to sort out our issues.

  • 7 years ago
  • Version Number

Sean Davis @seandnz

September 22, 2016 at 02:27:47 PM

Great product and works great. Support is second to none and a must have if you use WHMCS and Xero. Would highly recommend to anyone.

  • 7 years ago
  • Version Number

Paul Nesbitt @PAC-WebHosting-Ltd

September 21, 2016 at 08:22:07 PM

We have been using this module now for around 18 months and it has made life much simpler!

Now everything done in WHMCS ends up in our Xero accounting package!

Could not be happier with it fully recommend.

Paul Nesbitt

  • 7 years ago
  • Version Number

Kevin Perrow @kperrow

June 14, 2016 at 09:57:15 AM

Why does this say $49.99 but when you go check out the price jumps to £59.99 paid Annually.
Thank you for the explanation on the price difference. I will be purchasing this later this week.

David Windell @outeredge

July 26, 2016 at 04:19:36 PM

Hi Kevin, the module is £49.99 GBP + any applicable VAT. We have spoken to WHMCS about updating their marketplace to allow us to use GBP prices as we don't sell in USD.

  • 8 years ago
  • Version Number
  • Edited

Stephen Smith @slightly-different

March 15, 2016 at 05:47:36 AM

We've been using this extension for a couple of years now and it works really well. Life couldn't be easier, whatever we do in WHMCS get's synched to our Xero accounts and payment marked back to WHMCS. Such a time saver!

  • 8 years ago
  • Version Number

Version Compatibility

Compatible with WHMCS v8.9

Full Version Compatibility

  • Selected versions of WHMCS v8.9
  • Selected versions of WHMCS v8.8
  • All versions of WHMCS v8.7
  • All versions of WHMCS v8.6
  • All versions of WHMCS v8.5
  • All versions of WHMCS v8.4
  • All versions of WHMCS v8.3
  • All versions of WHMCS v8.2
  • All versions of WHMCS v8.1
  • All versions of WHMCS v8.0

System Requirements

  • An active Xero account
  • PHP 7.2+

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By w2x


v9.0 Released February 22nd, 2024

Latest Version

  • [Feature] Added Credit Sync
  • [Feature] Only sync contacts that have changes
  • Added PHP 8.2 support
  • Improved detection of transactions where references mismatch
  • Allow custom hooks to skip invoices without causing errors


Previous Versions

v8.11 Released August 21st, 2023

View/hide detailed changelog

  • Only sync contact email address when sync contacts setting or email via Xero is enabled


v8.10 Released June 13th, 2023

View/hide detailed changelog

  • Only paid invoice sync now includes credits
  • Fix for obscure payment sync errors with zero reference invoice numbers
  • Don't send an empty tax type


v8.9 Released May 23rd, 2023

View/hide detailed changelog

  • Add support for new Xero API changes
  • Fix for PHP 8 error
  • Reduce calls to Xero API Organisation endpoint


v8.8 Released April 13th, 2023

View/hide detailed changelog

  • Further fix for "Resource not found" error when syncing lots of payments
  • Database table improvements


v8.7 Released March 29th, 2023

View/hide detailed changelog

  • Add force sync all from specified ID option


v8.6 Released March 6th, 2023

View/hide detailed changelog

  • Improvement to WHMCS to Xero payment sync
  • Bug fix for sending Invoice emails via Xero
  • Add check to stop Xero payments syncing back after Direct Debit reversals


v8.5 Released January 18th, 2023

View/hide detailed changelog

  • Remove duplicate prefixes if WHMCS already has the same one


v8.4 Released December 22nd, 2022

View/hide detailed changelog

  • Improve PHP 8.1 compatibility
  • Reduce payments synced from 100 to 50 at a time


v8.3 Released December 20th, 2022

View/hide detailed changelog

  • Fix "Resource not found" error when syncing lots of payments


v8.2 Released December 19th, 2022

View/hide detailed changelog

  • Fix issue with not all invoices syncing


v8.1 Released December 15th, 2022

View/hide detailed changelog

  • [Feature] Add {$xero_url} to invoice email variables
  • Don't sync changes to draft Invoices


v8.0 Released December 1st, 2022

View/hide detailed changelog

  • [Feature] We now sync Invoices using their "number" instead of the ID
  • [Feature] Add option to only sync paid Invoices
  • [Feature] Prevent draft Invoices syncing to Xero
  • Add support for custom/sequential invoice number format


v7.0 Released November 10th, 2022

View/hide detailed changelog

  • Bump minimum WHMCS version to v8.0
  • Add support for PHP 8.1 (minimum now PHP 7.2)


v6.8 Released July 29th, 2022

View/hide detailed changelog

  • Allow setting product codes in Xero
  • Sync Domains as a product
  • Reduce API limit hits


v6.7 Released June 6th, 2022

View/hide detailed changelog

  • Reveal when Xero is blocking connections
  • Add activity log entry when sending invoice email via Xero
  • Add Project Management invoice item group
  • Map add-ons to individual products in Xero


v6.6 Released February 8th, 2022

View/hide detailed changelog

  • Remove description from Items
  • Improve detection of Xero paid invoices with long prefixes


v6.5 Released November 9th, 2021

View/hide detailed changelog

  • Further fixes for Xero disconnections


v6.4 Released November 9th, 2021

View/hide detailed changelog

  • Fix for Xero sometimes disconnecting


v6.3 Released October 21st, 2021

View/hide detailed changelog

  • Allow switching between multiple organisations
  • Fixed disconnect from Xero option
  • Fixed tracking options not applying


v6.2 Released September 27th, 2021

View/hide detailed changelog

  • We are now Xero Certified! You no longer need to create your own App in Xero.
  • We updated our privacy policy https://edgehosting.uk/privacy-policy#w2x
  • Dropped support for PHP 5.6


v6.1 Released September 1st, 2021

View/hide detailed changelog

  • Renamed module to w2x


v6.0 Released August 26th, 2021

View/hide detailed changelog

  • Prepare module for Xero certification


v5.0 Released March 17th, 2021

View/hide detailed changelog

  • [Feature] Add option to sync WHMCS Products to Xero Items
  • [Feature] Send admin an email notification when sync fails
  • Set payment method in WHMCS to xero-credit for Xero Credit payments
  • Don't prefix bank fees with invoice numbers (for easier reconciliation)
  • Improve UX


v4.5 Released January 19th, 2021

View/hide detailed changelog

  • Add support for three decimal place tax rules


v4.4 Released December 15th, 2020

View/hide detailed changelog

  • Don't mark Invoice as sent if not AUTHORISED


v4.3 Released October 20th, 2020

View/hide detailed changelog

  • Add compatability with WHMCS 8


v4.2 Released September 18th, 2020

View/hide detailed changelog

  • Add checks to prevent duplicate bank fees when syncing history twice
  • Fix re-connect to Xero error


v4.1 Released July 28th, 2020

View/hide detailed changelog

  • Improved Xero connection handling


v4.0 Released July 21st, 2020

View/hide detailed changelog

  • Migrated to OAuth 2.0


v3.5 Released May 12th, 2020

View/hide detailed changelog

  • Fixed Xero payments not syncing due to recent changes in Xero API
  • Improved performance of payment sync
  • Improved handling of customer phone numbers


v3.4 Released May 7th, 2020

View/hide detailed changelog

  • Add support for bank fees recorded as a negative figure
  • Don't sync billing contact details to contact record if use billing contact is disabled


v3.3 Released March 17th, 2020

View/hide detailed changelog

  • Add direct cost accounts to list of bank fee options


v3.2 Released February 12th, 2020

View/hide detailed changelog

  • Fixes for changes made by Xero to emailing invoices


v3.1 Released September 24th, 2019

View/hide detailed changelog

  • Bug fix for bank fees
  • Use native Tax Number field in WHMCS 7.7+


v3.0 Released September 17th, 2019

View/hide detailed changelog

  • Add option to sync transaction fees
  • Add option to append contact ID to names (for uniqueness)


v2.20 Released August 9th, 2019

View/hide detailed changelog

  • Added option to send invoice emails from Xero instead of WHMCS


v2.19 Released December 14th, 2018

View/hide detailed changelog

  • Fixed an issue where WHMCS was creating duplicate payments in Xero when a Xero credit was applied
  • Correctly send telephone country codes to Xero
  • Fix for account codes with .1 and .10 in them
  • Void invoices when fraud check fails
  • Add option to specify branding theme for invoices
  • Use exempt tax rate for late fees when untaxed
  • Fix key pair generation in PHP 7.2
  • Add support for PHP 7.1/7.2 (with latest Ioncube loaders)


v2.14 Released January 22nd, 2018

View/hide detailed changelog

  • Add option to only sync active contacts to Xero
  • Don't mark invoices as paid if the total is zero
  • Correctly encode quotes and apostrophes
  • Add warning about missing/invalid API username


v2.10 Released November 6th, 2017

View/hide detailed changelog

  • Add to-do item when payment sync fails due to voided Xero invoice
  • Add check for invoice status when updating invoice totals


v2.9 Released September 8th, 2017

View/hide detailed changelog

  • Fixed a bug where the account code was incorrect for some line items


v2.8 Released August 10th, 2017

View/hide detailed changelog

  • Add option to specify sales code for Setup Fees
  • Don't throw exceptions when cron job runs
  • Improved handling of Fraud orders


v2.7 Released June 2nd, 2017

View/hide detailed changelog

  • Add optional flag to stop invoices being marked as sent
  • Fixed an account code mapping bug in WHMCS 6


v2.6 Released April 27th, 2017

View/hide detailed changelog

  • Add flag to disable update invoice hook
  • Show a warning if mbstring is not enabled


v2.5 Released April 20th, 2017

View/hide detailed changelog

  • Fix for zero value draft invoices
  • Don't increment next invoice to sync when editing an invoice


v2.4 Released April 5th, 2017

View/hide detailed changelog

  • Match Upgrade orders to Xero Account Codes
  • Add Late Fees to product group mappings
  • Improve manual refund notifications


v2.3 Released March 29th, 2017

View/hide detailed changelog

  • [Feature] Update Xero Invoice when Late Fees are applied
  • [Feature] Update Xero Invoice when changes are made in WHMCS
  • Added reminders for manual refunds


v2.2.0.0 Released March 24th, 2017

View/hide detailed changelog

  • [Feature] Reminders to add WHMCS credits and add funds pre-payments to Xero
  • Prevent duplicate payments being sent to Xero
  • Added Overpayment action reminders


v2.1.0.0 Released March 3rd, 2017

View/hide detailed changelog

  • [Feature] Ability to modify data being sent to Xero with custom PHP via custom-hook.php


v2.0.1.3 Released March 1st, 2017

View/hide detailed changelog

  • Added support for deleting cancelled DRAFT invoices in Xero
  • Fixed a rounding issue with some Xero payments
  • No longer strips line breaks from line items


v2.0.1.2 Released February 23rd, 2017

View/hide detailed changelog

  • Improve matching for Xero to WHMCS payments


v2.0.1.1 Released February 17th, 2017

View/hide detailed changelog

  • Add custom cron.php
  • Fixed a bug with Overpayments
  • Fixed a bug when group line items was enabled
  • Fixed a bug with refunded invoices not syncing future payments


v2.0.0.2 Released January 24th, 2017

View/hide detailed changelog

  • Security enhancements
  • Improve module logging
  • Fix part payments not being applied
  • Include "Other Income" in Sales Accounts
  • Include Bank Accounts without a Code


v2.0.0.1 Released January 13th, 2017

View/hide detailed changelog

  • Bugfix for invoice line totals
  • Bypass invalid due dates in WHMCS


v2.0.0.0 Released January 12th, 2017

View/hide detailed changelog

  • Completely refactored module
  • PHP 7 support
  • Unit Tests
  • Alert notifications for new releases
  • Improved error handling
  • Redesigned UI
  • Simplified configuration options
  • Removed taxrates.ini


v1.9.9.16 Released November 3rd, 2016

View/hide detailed changelog

  • Now syncs Xero Overpayments and Prepayments to WHMCS


v1.9.9.15 Released October 27th, 2016

View/hide detailed changelog

  • Remove session_start()
  • Remove MySQL encoding settings, now uses default encoding


v1.9.9.14 Released October 7th, 2016

View/hide detailed changelog

  • Set MySQL to UTF8 encoding only during execution
  • Now requires PHP 5.6


v1.9.9.13 Released October 1st, 2016

View/hide detailed changelog

  • Support for WHMCS v7


v1.9.9.12 Released September 26th, 2016

View/hide detailed changelog

  • Implemented rate limiting


v1.9.9.11 Released September 21st, 2016

View/hide detailed changelog

  • Allow empty default account code
  • Add billable items to grouped line items


v1.9.9.10 Released July 26th, 2016

View/hide detailed changelog

  • Automatically generate a key/pair when activating module


v1.9.9.9 Released July 21st, 2016

View/hide detailed changelog

  • Fix Xero payments not sending out email confirmations


v1.9.9.8 Released June 21st, 2016

View/hide detailed changelog

  • Add option to specify sales code for Addons


v1.9.9.7 Released May 11th, 2016

View/hide detailed changelog

  • Allow commas in product group names


v1.9.9.6 Released May 5th, 2016

View/hide detailed changelog

  • Add option to group invoice line items by product group


v1.9.9.5 Released February 27th, 2016

View/hide detailed changelog

  • Minor typo


v1.9.9.4 Released February 10th, 2016

View/hide detailed changelog

  • Fix cron & void not always running


See also

QuickBooks Online For WHMCS

Integrate your financial data stored in WHMCS into QuickBooks Online.

KashFlow Accounting

Automatically transfer your billing & transaction history to KashFlow

Zero Invoice Management

Avoid sending notifications or creation of 0€ Invoices

Payment Gateway Fees

Payment Gateway Fees


Integrates WHMCS with Moneybird accounting software