Skip to main content
Xero → The Trade DeskIntegration guide

Connecting Xero to The Trade Desk

Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Xero invoice before the conversion happens, because The Trade Desk can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Xero customers to The Trade Desk: UID2 from billing emails

Send paid Xero invoices to The Trade Desk with the hashed billing email for UID2 matching, the subtotal, payment date and InvoiceID as conversion identifier, after confirming your privacy notice covers UID2 opt-out. B2B billing emails rarely match, and invoices often fall outside the view-through lookback, so optimize on website leads and use uploads to read match rate.

The Trade Desk matches conversions through UID2 built from hashed email, and Xero holds one email per contact: the billing address. For consumer customers that is often the person who saw the ad. For business customers it is usually accounts@ or a bookkeeper who never did, so matched conversions from a B2B Xero file will understate what the campaign reached.

Send paid invoices, not issued ones, with the hashed email, the subtotal and the payment date, and use the InvoiceID as the conversion identifier. The UID2 framework requires that people were given notice and an opt-out for this use; check that your customer terms or privacy notice covers it, and confirm with your Trade Desk contact whether conversions go up as hashed email or as UID2 tokens you generate yourself.

The lag matters more than the match. Open-internet campaigns are mostly view-through, and an invoice paid sixty days after an impression is unlikely to fall inside the lookback window. For most Xero businesses the sane setup is lead conversions from the website for optimization, plus a periodic Xero upload used to read match rate and the click-through share, not to drive bidding.

Xero → The Trade Desk · what breaks

Why this join usually fails — Xero → The Trade Desk

  1. 01

    Unified ID 2.0, derived from a hashed email 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

    View-through conversions on the open internet

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  4. 04

    Nothing reconciles afterwards

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Xero → The Trade Desk · the fix

What working looks like — Xero → The Trade Desk

  • Unified ID 2.0, derived from a hashed email on every invoice

  • Conversions arriving in The Trade Desk

    The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.

  • Reconciled against the source

Xero → The Trade Desk · architecture

How Xero and The Trade Desk 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

    The Trade Desk needs a click to match

    The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.

  3. 3

    The identifier is the bridge

    Unified ID 2.0, derived from a hashed email, 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

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

Xero → The Trade Desk · normal or broken

Working vs. broken, side by side — Xero → The Trade Desk

Normal, not a fault

  • Unified ID 2.0, derived from a hashed email present on the invoice

  • Sent from the Xero invoice payment webhook

  • Deduplicated correctly

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

  • Reconciles with the source

Actually broken

  • Unified ID 2.0, derived from a hashed email 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

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  • Nobody has reconciled it

Xero → The Trade Desk · diagnose

Diagnostic order — Xero → The Trade Desk

  1. 01

    Count invoices carrying Unified ID 2.0, derived from a hashed email

  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

    Split reported conversions into click-through and view-through

    If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.

  5. 05

    Read the match rate, not the success message

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Xero → The Trade Desk · prove

How it gets proven — Xero → The Trade Desk

Source of truth

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

  • Unified ID 2.0, derived from a hashed email confirmed present on a live invoice.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • A paid invoice confirmed reconciled against the bank feed before being counted.

Xero → The Trade Desk · free audit

What we check in the free audit

  • Count invoices carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Check whether the conversion fires on issue or on payment
  • Split reported conversions into click-through and view-through
  • 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 → The Trade Desk · when not to buy

When you don't need this — Xero → The Trade Desk

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry Unified ID 2.0, derived from a hashed email.
  • 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 cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.

Xero → The Trade Desk · what we deliver

What gets built — Xero → The Trade Desk

  • 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 The Trade Desk

    Server-side conversion upload with the hashed identity and value, from your order system.

  • 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 → The Trade Desk questions, answered

Yes, as offline conversions with hashed email, provided your privacy notice covers it. Check with your Trade Desk contact which upload route your account uses.

Free · 30 min

Get Xero and The Trade Desk joined properly

Free30 minutesNo obligation