Skip to main content
Xero → Microsoft AdsIntegration guide

Connecting Xero to Microsoft Ads

Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Xero invoice before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Xero to Microsoft Ads: offline conversions on paid invoices

Capture MSCLKID on the form, keep it in the CRM or job system, and write it onto the Xero contact when the client is created. Because payment on terms can pass Microsoft's import window, upload the accepted quote or booked job as the offline conversion and use the Xero payment for a value adjustment where supported. Upload repeat clients once.

Trade and professional-service businesses on Xero often get some of their best leads from Bing search, and Microsoft's offline conversion import is the right mechanism for the revenue that follows. The MSCLKID has to be captured on the form, kept in the CRM or job system, and written onto the Xero contact, for example in a field or tracking category set up for it, when the client is created.

The timing collides with Microsoft's import window. A click, a quote, a job and then thirty-day terms can push payment past it, so check the current limit in your account. One workable pattern is to upload the accepted quote or booked job as the offline conversion goal, then use the Xero payment to confirm or correct its value with a conversion adjustment if your account supports them. Uploading at invoice issue books revenue that may never arrive.

Repeat invoices from one client should not each be uploaded against the original MSCLKID; with a different conversion time on each, twelve monthly invoices become twelve conversions from one click. Upload the first paid invoice, or a lifetime value estimate, once, and let credit notes reduce it.

Xero → Microsoft Ads · what breaks

Why this join usually fails — Xero → Microsoft Ads

  1. 01

    The MSCLKID 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

    Auto-tagging switched off

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  4. 04

    Nothing reconciles afterwards

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Xero → Microsoft Ads · the fix

What working looks like — Xero → Microsoft Ads

  • The MSCLKID on every invoice

  • Conversions arriving in Microsoft Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.

  • Reconciled against the source

Xero → Microsoft Ads · architecture

How Xero and Microsoft Ads 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

    Microsoft Ads needs a click to match

    Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.

  3. 3

    The identifier is the bridge

    The MSCLKID, 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

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

Xero → Microsoft Ads · normal or broken

Working vs. broken, side by side — Xero → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the invoice

  • Sent from the Xero invoice payment webhook

  • Deduplicated correctly

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

  • Reconciles with the source

Actually broken

  • The MSCLKID 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

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  • Nobody has reconciled it

Xero → Microsoft Ads · diagnose

Diagnostic order — Xero → Microsoft Ads

  1. 01

    Count invoices carrying the MSCLKID

  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

    Confirm auto-tagging is enabled and check the upload diagnostics

    One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.

  5. 05

    Read the match rate, not the success message

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Xero → Microsoft Ads · prove

How it gets proven — Xero → Microsoft Ads

Source of truth

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

  • The MSCLKID confirmed present on a live invoice.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • A paid invoice confirmed reconciled against the bank feed before being counted.

Xero → Microsoft Ads · free audit

What we check in the free audit

  • Count invoices carrying the MSCLKID
  • Follow one real conversion end to end
  • Check whether the conversion fires on issue or on payment
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • 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 → Microsoft Ads · when not to buy

When you don't need this — Xero → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the MSCLKID.
  • 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 Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.

Xero → Microsoft Ads · what we deliver

What gets built — Xero → Microsoft Ads

  • 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 Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • 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 → Microsoft Ads questions, answered

Store the MSCLKID on the Xero contact when the client is created, then upload paid invoices against it to an offline conversion goal. Check that payment falls inside Microsoft's import window.

Free · 30 min

Get Xero and Microsoft Ads joined properly

Free30 minutesNo obligation