Last updated: November 2026
The short answer
HubSpot’s Data Sync app for Xero syncs contacts, products, invoices and payments in both directions. It’s a good fit when sales needs to see what a customer owes or has bought. It struggles with custom rules, such as matching invoices to specific deals, and that’s when middleware or a custom integration makes sense.
An accounting software integration like this is about sales and financial data synchronisation, so both teams see the same customer, invoice and payment status.
Your main options
Option | What it syncs | Good for |
|---|---|---|
Data Sync by HubSpot | Contacts, products, invoices and payments, both ways | Most small and mid-sized businesses |
HubSpot CRM integration by Xero | Contacts from Xero into HubSpot, and invoices created in HubSpot into Xero | Teams that mainly want to raise invoices from the CRM |
Middleware (Make, Zapier) or a custom build | Whatever you define | Matching invoices to deals, multiple entities, custom rules |
HubSpot and Xero integration options compared for Australian ecommerce
There’s no single best option. It depends on how many invoices you raise, whether they need to sit on deals and how much of your revenue comes through Shopify. Here’s how the main paths compare.
Option | Setup effort | Cost | Invoices on deals | Best for |
|---|---|---|---|---|
Data Sync by HubSpot | Low | Free app. Custom field mappings need Data Hub Starter or above | Limited | Most small and mid-sized businesses that want contacts, products, invoices and payments in both systems |
HubSpot CRM integration by Xero | Low | Contact sync is free for Xero subscribers | Draft invoices raised from HubSpot, approved in Xero | Teams that mainly want Xero contacts and overdue status visible in HubSpot |
Third-party connector apps | Low to medium | $ to $$ subscription | Often, but check each app | Deal-level invoicing or custom mapping without a custom build |
Shopify-led setup | Medium | $ to $$ | Wholesale only | Brands with high retail volume: Shopify syncs to HubSpot, an accounting connector posts summaries to Xero, and only wholesale invoices sync to HubSpot |
Middleware (Make, Zapier) | Medium | $ to $$ | Yes, if you build it | Custom rules and lighter volumes |
Custom build on the APIs | High | $$$ | Yes | Several Xero organisations, complex rules or high volumes |
How to choose:
Mostly wholesale or B2B invoices. Start with Data Sync by HubSpot and keep Xero as the source of truth.
High retail volume through Shopify. Keep retail summaries out of HubSpot and sync only wholesale invoices.
Invoices must match deals, or you run more than one Xero organisation. Look at a connector app, middleware or a custom build.
Fixing the two-factor authentication error
The most common setup problem is the Data Sync app getting stuck on a message about two-factor authentication, even when your own login already has it switched on. The connection needs two-factor authentication to be required across the whole HubSpot account, for every user, not just enabled on your own login.
To fix it, a HubSpot super admin makes two-factor authentication required for all users in the account’s security settings, checks every user has set it up, then reconnects Xero.
Other common problems
Duplicate contacts. Xero and HubSpot name the same customer differently, so the sync creates duplicates. Clean and match records before you connect.
Invoices on the wrong company. The Xero contact is often the billing entity, not the company your sales team works with. Decide which record owns invoices before syncing.
Payments not showing. Payments sync when they’re applied to an invoice that has already synced.
Nobody notices when it breaks. Have someone check sync errors each week, or set up alerts.
When to use something else
You need invoices tied to specific deals, not just companies.
You run more than one Xero organisation.
You need fields or line-item detail the native sync doesn’t map.
Finance wants approval steps before anything reaches Xero.
HubSpot and Xero for Australian ecommerce businesses
For ecommerce brands, the question isn’t just whether HubSpot and Xero connect. It’s which data should flow where, so sales sees what matters without flooding the CRM with thousands of consumer invoices.
Data | Source of truth | Show in HubSpot? | Why |
|---|---|---|---|
Retail orders | Shopify | Yes, as orders on the contact via the Shopify sync | Segmentation, lifetime value and service context |
Retail sales in Xero | Shopify, summarised into Xero | No | Usually posted as daily or payout summaries, not per customer |
Wholesale invoices | Xero | Yes, on the company record | Reps see what each stockist has bought and owes |
Payments and overdue status | Xero | Yes | Chase overdue accounts before taking new orders |
Products | Shopify or your inventory system | Yes | Line items on quotes and deals |
A wholesale order-to-cash workflow in HubSpot and Xero
For B2B ecommerce and wholesale teams, this is the flow we usually design around the sync.
A new stockist is won as a deal in HubSpot, and the company record is created there.
The order is placed in Shopify B2B or your order system, which stays the source of truth for the order.
The invoice is raised in Xero, or drafted from HubSpot and approved in Xero.
The invoice and its payment status sync back to the company record in HubSpot.
An overdue account creates a task for the account owner before the next order is taken.
Reorder reminders run from the last order or invoice date.
Gaps the integration won’t close
The sync moves data. It doesn’t design the process around it. These are the gaps that usually need a decision, a workflow or custom support.
Credit limits and holds. Xero shows what’s overdue. Stopping an order for an account on hold is a rule you set in your order system or a HubSpot workflow.
Customer-specific pricing. Price lists live in Shopify or your inventory system, so decide how reps see the right price when they quote.
Stock and backorders. Inventory belongs in Shopify or an inventory system such as Cin7 or Unleashed, not in HubSpot or Xero.
Parent companies and branches. One billing entity in Xero can cover several stores your reps treat as separate accounts. Map this before you sync.
Deposits, part payments and credit notes. Check how each one appears in HubSpot before reps rely on the balance.
Ownership of the sync. Someone has to check the errors each week.
Forecasting and revenue reporting
Once wholesale invoices and payments sit in HubSpot, you can report revenue by account, region and channel, and forecast from three inputs: open deals for new stockists, expected reorders from existing accounts and paid invoices from Xero. Reconcile HubSpot’s revenue reports with Xero each month, so finance and sales stay on one number. Our guide on why HubSpot reports don’t add up covers the usual gaps.
Where OffenOps fits
OffenOps connects HubSpot to Xero, MYOB, Pronto and NetSuite for Australian and NZ businesses, and fixes integrations that have stopped syncing. See HubSpot ERP & Xero Integration.
Frequently asked questions
Does HubSpot sync invoices to Xero in Australia?
Yes. HubSpot supports creating invoices in HubSpot that sync to Xero for teams in Australia, New Zealand and the UK.
Which system should own invoices?
Xero. Finance stays the source of truth for invoices and payments, and HubSpot shows them on the customer record so sales has the context.
Can you set this up for us?
Yes. We connect, clean and monitor HubSpot and Xero integrations as part of our ERP and Xero integration work. Simple connections are done at $150 an hour, and complex integrations get a custom quote.
Should every Shopify order sync to Xero as an invoice?
Usually not for retail. Most ecommerce brands post Shopify sales to Xero as daily or payout summaries using an accounting connector such as A2X, and only raise individual invoices for wholesale accounts. Those wholesale invoices are the ones worth showing in HubSpot.
What’s the best way to connect HubSpot and Xero for an ecommerce business?
For most Australian ecommerce brands, HubSpot’s Shopify integration handles retail customers and orders, an accounting connector posts Shopify sales to Xero, and Data Sync by HubSpot brings wholesale invoices and payments into HubSpot. Move to middleware or a custom build only when invoices need to match deals or you run several Xero organisations.
How often does the HubSpot and Xero sync run?
With Data Sync by HubSpot, changes in HubSpot reach Xero within a few minutes and changes in Xero are picked up every 30 minutes. You can also run a sync on demand from the integration settings.
Does Data Sync support Australian and New Zealand dollars?
Yes. AUD and NZD are both supported. Check that your HubSpot company currency matches your Xero base currency before you connect, or invoices can fail to sync.
Does the HubSpot and Xero integration handle wholesale workflows on its own?
It handles the data: contacts, invoices and payments. Credit holds, customer-specific pricing, branch structures and reorder reminders need process design on top, and sometimes a workflow or a custom integration.
Related
HubSpot Xero & ERP Integration · HubSpot for Wholesale & Shopify B2B · Why your HubSpot reports don’t add up · HubSpot & Xero for Ecommerce · How to choose a HubSpot integration consultant
