Connecting Xero to Branch
Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the Xero invoice before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Xero and Branch: usually no web-to-app seam to bridge
Most Xero businesses have nothing to send to Branch, because customers are not acquired through an app install. Only where customers sign up in your app and are invoiced in Xero should a paid invoice linked to that app user be posted to Branch server-to-server as revenue, with an event ID built from the Xero InvoiceID, on the payment date.
Branch carries a campaign across an app install, and a Xero invoice sits at the far end of a billing process that rarely involves an app. The honest default for this pair is that there is nothing to integrate: no install to attribute and no deep link payload connected to any invoice. Most businesses billing through Xero acquire customers on the web, by referral or through sales, and Branch has no part in any of those.
The exception is a business whose customers sign up or book through its own app and are then invoiced in Xero, such as a service billed monthly. There, the Branch link that drove the install identifies the campaign, the app's user record holds the Branch identity, and a paid Xero invoice linked to that user can be posted to Branch server-to-server as revenue. The link between invoice and user has to live in your own database; Xero contacts have no standard field meant for an app or Branch identifier.
Pass a stable event ID built from the Xero InvoiceID, because Branch forwards events to downstream ad partners and a retried post doubles revenue in all of them. Send only paid invoices, on the payment date, and treat later repeating invoices as retention revenue rather than fresh conversions, or every monthly bill will credit the original campaign again.
Xero → Branch · what breaks
Why this join usually fails — Xero → Branch
- 01
The Branch link click identifier and the deferred deep link payload 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
The install that erases the campaign
Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.
- 04
Nothing reconciles afterwards
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
Xero → Branch · the fix
What working looks like — Xero → Branch
The Branch link click identifier and the deferred deep link payload on every invoice
Conversions arriving in Branch
The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.
Reconciled against the source
Xero → Branch · architecture
How Xero and Branch 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
Branch needs a click to match
Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.
- 3
The identifier is the bridge
The Branch link click identifier and the deferred deep link payload, 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
Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.
Xero → Branch · normal or broken
Working vs. broken, side by side — Xero → Branch
Normal, not a fault
The Branch link click identifier and the deferred deep link payload present on the invoice
Sent from the Xero invoice payment webhook
Deduplicated correctly
Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.
Reconciles with the source
Actually broken
The Branch link click identifier and the deferred deep link payload 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
Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.
Nobody has reconciled it
Xero → Branch · diagnose
Diagnostic order — Xero → Branch
- 01
Count invoices carrying the Branch link click identifier and the deferred deep link payload
- 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
Measure your organic install share and ask whether it is plausible
An implausibly large organic share is usually broken attribution rather than genuine word of mouth.
- 05
Read the match rate, not the success message
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
Xero → Branch · prove
How it gets proven — Xero → Branch
Source of truth
Xero's paid invoices by payment date, reconciled against the bank feed.
- The Branch link click identifier and the deferred deep link payload confirmed present on a live invoice.
- Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
- A paid invoice confirmed reconciled against the bank feed before being counted.
Xero → Branch · free audit
What we check in the free audit
- Count invoices carrying the Branch link click identifier and the deferred deep link payload
- Follow one real conversion end to end
- Check whether the conversion fires on issue or on payment
- Measure your organic install share and ask whether it is plausible
- 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 → Branch · when not to buy
When you don't need this — Xero → Branch
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the Branch link click identifier and the deferred deep link payload.
- If your work is paid at point of sale with no invoicing, the accounting system is not where the conversion should come from.
- If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.
Xero → Branch · what we deliver
What gets built — Xero → Branch
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 Branch
The Branch server-to-server events API, posted from your backend with the user identity and event data.
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 → Branch questions, answered
Only when the paying customer was acquired through your app and their app user record links to the Xero contact. Otherwise there is no install for Branch to attribute to.
Only if an app is part of how customers sign up. Invoice-based businesses acquiring through web and referrals have no web-to-app seam for Branch to bridge.
Almost always because the Branch link click identifier and the deferred deep link payload 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.
Branch stores the click context and replays it into the app on first open, which is how a marketing campaign survives an install. That handoff is probabilistic on iOS and increasingly constrained, so the deep link data can arrive incomplete or not at all — and when it does not, the user looks organic.
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.
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
More on Xero → Branch
- Xero → Google AdsConnecting Xero to Google Ads
- Xero → MetaConnecting Xero to Meta Conversions API
- Xero → GA4Connecting Xero to GA4
RELATED GUIDES
Where Xero → Branch fits in the rest of your tracking
- BILL → BranchConnecting BILL to Branch
- Wave → BranchConnecting Wave to Branch
- QuickBooks → BranchConnecting QuickBooks to Branch
- Xero → AppsFlyerConnecting Xero to AppsFlyer
- Accounting and CPAConversion tracking for accounting firms, measured in engagements
- FreshBooks → BranchConnecting FreshBooks to Branch
- Harvest → BranchConnecting Harvest to Branch
Free · 30 min
Get Xero and Branch joined properly
Free30 minutesNo obligation
