Skip to main content
Xero → MetaIntegration guide

Connecting Xero to Meta Conversions API

Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Xero invoice before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Xero to Meta: paid invoices matched on customer data

Send a paid Xero invoice to the Meta Conversions API as Purchase with the amount paid, an action_source other than website, the contact's hashed email and phone, and the fbc stored from the inquiry form. Send when payment is recorded, not in monthly batches. Since payments land outside Meta's seven-day click window, treat them as optimization and audience signal.

A paid Xero invoice gives Meta something it rarely gets from a service business: the actual revenue from a customer who once responded to an ad. Meta can match it on the hashed email and phone on the Xero contact even without a click ID, and adding the fbc stored from the original inquiry form raises match quality. Check that the contact's email is the person who filled in the form, not a generic accounts address, or the match fails.

Send Purchase from the Xero payment event with the amount paid and an action_source other than website, because the payment did not happen on your site. Send it when the payment is recorded; a monthly batch of paid invoices sent as website events is rejected under Meta's seven-day limit on event_time. There is no browser event to deduplicate against, but if your inquiry form fires Lead in the browser and from the server, those two still need a shared event_id.

Meta's attribution window caps at seven days after the click, and invoice payments on terms land well outside it, so Ads Manager will rarely credit these Purchases to a campaign. Their value is as an optimization and audience signal. Credit notes cannot be retracted in Meta; keep the net figure in Xero, where the bank reconciliation already makes it reliable.

Xero → Meta · what breaks

Why this join usually fails — Xero → Meta

  1. 01

    The fbc and fbp values 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.

  2. 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.

  3. 03

    Double counting from broken deduplication

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  4. 04

    Nothing reconciles afterwards

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Xero → Meta · the fix

What working looks like — Xero → Meta

  • The fbc and fbp values on every invoice

  • Conversions arriving in Meta

    Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.

  • Reconciled against the source

Xero → Meta · architecture

How Xero and Meta actually connect

  1. 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. 2

    Meta Conversions API needs a click to match

    Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.

  3. 3

    The identifier is the bridge

    The fbc and fbp values, captured at the visit and carried into the Xero invoice.

  4. 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. 5

    Deduplication at the destination

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

Xero → Meta · normal or broken

Working vs. broken, side by side — Xero → Meta

Normal, not a fault

  • The fbc and fbp values present on the invoice

  • Sent from the Xero invoice payment webhook

  • Deduplicated correctly

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

  • Reconciles with the source

Actually broken

  • The fbc and fbp values 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

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  • Nobody has reconciled it

Xero → Meta · diagnose

Diagnostic order — Xero → Meta

  1. 01

    Count invoices carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Read Event Match Quality and the deduplication indicator

    In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.

  5. 05

    Read the match rate, not the success message

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Xero → Meta · prove

How it gets proven — Xero → Meta

Source of truth

Xero's paid invoices by payment date, reconciled against the bank feed.

  • The fbc and fbp values confirmed present on a live invoice.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • A paid invoice confirmed reconciled against the bank feed before being counted.

Xero → Meta · free audit

What we check in the free audit

  • Count invoices carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Check whether the conversion fires on issue or on payment
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Xero's paid invoices by payment date, reconciled against the bank feed.

Get my free conversion tracking audit

Free30 minutesNo obligation

Xero → Meta · when not to buy

When you don't need this — Xero → Meta

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the fbc and fbp values.
  • 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 are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.

Xero → Meta · what we deliver

What gets built — Xero → Meta

  • 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 Meta

    Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Xero → Meta questions, answered

Yes, as Purchase events via the Conversions API, matched on hashed contact email and phone plus the stored fbc where you have it. Send each payment when it is recorded.

Free · 30 min

Get Xero and Meta joined properly

Free30 minutesNo obligation