Connecting Xero to Customer.io
Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Xero invoice before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Xero invoice events in Customer.io without duplicate reminders
Key Customer.io people on your own customer ID mapped to the Xero ContactID, with billing email as an attribute, and send invoice issued, overdue and paid as events. Xero webhooks only say an invoice changed, so fetch it, compare status, and send only transitions per InvoiceID. Choose one system to own payment reminders so customers do not get two.
Customer.io is the destination here that can genuinely act on Xero's data: invoice issued, invoice overdue and invoice paid are behaviour, and a service business can build onboarding or account messages from them. Key each person on your own customer ID mapped to the Xero ContactID, holding the billing email as an attribute, rather than keying on the Xero email directly, which changes whenever the customer's accounts contact changes.
Overlap with Xero itself is the first thing to check. Xero can send invoice reminders on its own schedule, and a Customer.io overdue campaign running alongside means the customer gets two reminders from two systems with different wording. Pick one owner for reminders. Customer.io earns its place on messages Xero cannot send: an onboarding sequence that starts when the first invoice is paid, or a check-in when a long-running client's repeating invoice ends.
Xero's webhooks report that an invoice changed, not what changed, so your middleware has to fetch the invoice and compare its status before sending an event. Without that, every edit to a paid invoice re-fires the paid event and restarts the campaign. Store the last status sent per InvoiceID and only send transitions. Test against Xero's demo company and a separate Customer.io workspace, so no real client receives a test message.
Xero → Customer.io · what breaks
Why this join usually fails — Xero → Customer.io
- 01
The person identifier you assign never reaches Xero
Like any accounting system, Xero has no marketing context of its own. The identifier must be written onto the contact record by whatever creates it, and in many businesses that is a manual step which will be applied inconsistently unless it is automated.
- 02
Payment terms separating the sale from the money
An invoice issued in March and paid in May is one sale and two dates. Which one the conversion uses has to be a decision rather than an accident.
- 03
A test event sending a real email
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
- 04
Nothing reconciles afterwards
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Xero → Customer.io · the fix
What working looks like — Xero → Customer.io
The person identifier you assign on every invoice
Conversions arriving in Customer.io
The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.
Reconciled against the source
Xero → Customer.io · architecture
How Xero and Customer.io actually connect
- 1
Xero holds the truth
Xero's bank reconciliation is what makes it unusually trustworthy as a source of truth — an invoice marked paid and reconciled is money that actually arrived, which is a stronger guarantee than most systems offer.
- 2
Customer.io needs a click to match
Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.
- 3
The identifier is the bridge
The person identifier you assign, captured at the visit and carried into the Xero invoice.
- 4
The event source decides reliability
Fire on payment, not on invoice issue. Trade businesses on thirty-day terms will otherwise report revenue a month before it exists.
- 5
Deduplication at the destination
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Xero → Customer.io · normal or broken
Working vs. broken, side by side — Xero → Customer.io
Normal, not a fault
The person identifier you assign present on the invoice
Sent from the Xero invoice payment webhook
Deduplicated correctly
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Reconciles with the source
Actually broken
The person identifier you assign missing on most records
Like any accounting system, Xero has no marketing context of its own. The identifier must be written onto the contact record by whatever creates it, and in many businesses that is a manual step which will be applied inconsistently unless it is automated.
Sent from the browser
An invoice issued in March and paid in May is one sale and two dates. Which one the conversion uses has to be a decision rather than an accident.
Counted twice, or not at all
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
Nobody has reconciled it
Xero → Customer.io · diagnose
Diagnostic order — Xero → Customer.io
- 01
Count invoices carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Check whether the conversion fires on issue or on payment
On terms-based businesses this single choice moves the numbers by a full billing cycle.
- 04
Confirm which workspace you are writing to before sending anything
Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.
- 05
Read the match rate, not the success message
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Xero → Customer.io · prove
How it gets proven — Xero → Customer.io
Source of truth
Xero's paid invoices by payment date, reconciled against the bank feed.
- The person identifier you assign confirmed present on a live invoice.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- A paid invoice confirmed reconciled against the bank feed before being counted.
Xero → Customer.io · free audit
What we check in the free audit
- Count invoices carrying the person identifier you assign
- Follow one real conversion end to end
- Check whether the conversion fires on issue or on payment
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Xero's paid invoices by payment date, reconciled against the bank feed.
Free30 minutesNo obligation
Xero → Customer.io · when not to buy
When you don't need this — Xero → Customer.io
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the person identifier you assign.
- If your work is paid at point of sale with no invoicing, the accounting system is not where the conversion should come from.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Xero → Customer.io · what we deliver
What gets built — Xero → Customer.io
Identifier capture into Xero
Write the click identifier to a tracking category or a custom field on the Xero contact at creation, so subsequent invoices inherit the association.
Event source: the Xero invoice payment webhook
Fire on payment, not on invoice issue. Trade businesses on thirty-day terms will otherwise report revenue a month before it exists.
Dispatch to Customer.io
The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.
Reversals where they exist
Credit notes reverse against the original invoice and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Xero's paid invoices by payment date, reconciled against the bank feed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Xero → Customer.io questions, answered
Yes, if middleware listens to Xero's invoice webhooks, fetches the invoice, and sends an event to Customer.io only when the status changes to paid.
One or the other. Running both sends the customer two reminders with different wording for the same invoice.
Almost always because the person identifier you assign never reached the Xero invoice. Like any accounting system, Xero has no marketing context of its own. The identifier must be written onto the contact record by whatever creates it, and in many businesses that is a manual step which will be applied inconsistently unless it is automated. Measure coverage before debugging the dispatch.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
The Xero invoice payment webhook. Fire on payment, not on invoice issue. Trade businesses on thirty-day terms will otherwise report revenue a month before it exists.
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
More on Xero → Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
RELATED GUIDES
Where Xero → Customer.io fits in the rest of your tracking
- FreshBooks → Customer.ioConnecting FreshBooks to Customer.io
- Wave → Customer.ioConnecting Wave to Customer.io
- BILL → Customer.ioConnecting BILL to Customer.io
- Xero → BrazeConnecting Xero to Braze
- Xero → AttentiveConnecting Xero to Attentive
- Accounting and CPAConversion tracking for accounting firms, measured in engagements
- QuickBooks → Customer.ioConnecting QuickBooks to Customer.io
- Harvest → Customer.ioConnecting Harvest to Customer.io
Free · 30 min
Get Xero and Customer.io joined properly
Free30 minutesNo obligation
