Connecting Xero to PartnerStack
Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Xero invoice before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Xero repeating invoices as PartnerStack recurring revenue
Store the PartnerStack referral key at signup, map it to the Xero ContactID, and post each paid invoice from the repeating template as a transaction through PartnerStack's API, using the subtotal before tax. Xero has no cancel event, so when the repeating template ends, report the customer as cancelled, and report reversals for credit notes on commissioned invoices.
PartnerStack pays recurring commission on subscription revenue, and for a business that bills subscriptions through Xero repeating invoices rather than a billing platform, Xero is the only system that knows each period's revenue. Store the referral key on the customer at signup, map it to the Xero ContactID, and report each paid invoice generated from the repeating template as a transaction against that customer in PartnerStack.
Check whether PartnerStack offers a Xero connection for your account; its standard billing integrations are built around subscription platforms, so expect to post transactions through its API from your own middleware. Report paid amounts, not issued invoices, and send the subtotal before tax, because partners on a percentage should not earn commission on sales tax collected for the state.
Cancellation is where Xero differs from a subscription platform. There is no cancel event: a repeating invoice template is deleted or reaches its end date, and the absence of the next invoice is the churn. PartnerStack will not infer that. When the template ends, report the customer as cancelled, and when a credit note is allocated to a commissioned invoice, report a reversal for that amount. Check monthly that every customer accruing commission still has an active repeating invoice in Xero.
Xero → PartnerStack · what breaks
Why this join usually fails — Xero → PartnerStack
- 01
The PartnerStack referral key 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 commission that recurs on revenue that stopped
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
- 04
Nothing reconciles afterwards
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Xero → PartnerStack · the fix
What working looks like — Xero → PartnerStack
The PartnerStack referral key on every invoice
Conversions arriving in PartnerStack
The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.
Reconciled against the source
Xero → PartnerStack · architecture
How Xero and PartnerStack 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
PartnerStack needs a click to match
PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.
- 3
The identifier is the bridge
The PartnerStack referral key, 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
Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Xero → PartnerStack · normal or broken
Working vs. broken, side by side — Xero → PartnerStack
Normal, not a fault
The PartnerStack referral key present on the invoice
Sent from the Xero invoice payment webhook
Deduplicated correctly
Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Reconciles with the source
Actually broken
The PartnerStack referral key 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
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
Nobody has reconciled it
Xero → PartnerStack · diagnose
Diagnostic order — Xero → PartnerStack
- 01
Count invoices carrying the PartnerStack referral key
- 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
Check whether churn events reach PartnerStack at all
In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.
- 05
Read the match rate, not the success message
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Xero → PartnerStack · prove
How it gets proven — Xero → PartnerStack
Source of truth
Xero's paid invoices by payment date, reconciled against the bank feed.
- The PartnerStack referral key confirmed present on a live invoice.
- Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
- A paid invoice confirmed reconciled against the bank feed before being counted.
Xero → PartnerStack · free audit
What we check in the free audit
- Count invoices carrying the PartnerStack referral key
- Follow one real conversion end to end
- Check whether the conversion fires on issue or on payment
- Check whether churn events reach PartnerStack at all
- 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 → PartnerStack · when not to buy
When you don't need this — Xero → PartnerStack
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the PartnerStack referral key.
- 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 run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.
Xero → PartnerStack · what we deliver
What gets built — Xero → PartnerStack
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 PartnerStack
Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.
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 → PartnerStack questions, answered
Check PartnerStack's current integration list; most Xero setups report transactions through PartnerStack's API from middleware that watches for paid invoices.
Report the cancellation yourself when the repeating invoice template ends, since Xero sends no cancel event of its own.
Almost always because the PartnerStack referral key 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.
PartnerStack attributes through a referral key carried on the link and stored against the customer. Because commissions are frequently paid on recurring revenue for the life of the subscription, losing the key does not cost a partner one commission — it costs them the whole relationship's worth, and produces a dispute you cannot resolve after the fact.
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.
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
More on Xero → PartnerStack
- Xero → Google AdsConnecting Xero to Google Ads
- Xero → MetaConnecting Xero to Meta Conversions API
- Xero → GA4Connecting Xero to GA4
RELATED GUIDES
Where Xero → PartnerStack fits in the rest of your tracking
- QuickBooks → PartnerStackConnecting QuickBooks to PartnerStack
- Wave → PartnerStackConnecting Wave to PartnerStack
- Harvest → PartnerStackConnecting Harvest to PartnerStack
- Xero → AwinConnecting Xero to Awin
- Xero → ImpactConnecting Xero to Impact.com
- Accounting and CPAConversion tracking for accounting firms, measured in engagements
- FreshBooks → PartnerStackConnecting FreshBooks to PartnerStack
- BILL → PartnerStackConnecting BILL to PartnerStack
Free · 30 min
Get Xero and PartnerStack joined properly
Free30 minutesNo obligation
