Skip to main content
Xero → AwinIntegration guide

Connecting Xero to Awin

Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Awin is a traditional last-click affiliate network, and last-click is the whole problem: whoever touched the customer most recently takes the commission, which is a structural invitation for voucher-code sites to intercept sales you had already won. The join between them succeeds or fails on one thing: whether the Awin click reference, awc reaches the Xero invoice before the conversion happens, because Awin can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Xero invoices as Awin sales: commission on paid, net of tax

Capture the Awin awc value when the referred visitor submits an inquiry, store it on the deal, and post the conversion server-to-server when Xero marks the invoice paid. Use Xero's InvoiceID as the order reference, since invoice numbers can be edited, and send the subtotal excluding tax. Decline or amend the transaction when a credit note cancels the invoice.

Awin is built around online retail orders, and a Xero business usually sells on invoice, so the sale Awin should commission is the moment the invoice is paid, not the inquiry where the publisher's click landed. Capture the awc value when the referred visitor submits the inquiry, store it on the deal or job, and post the conversion server-to-server when Xero marks the invoice paid, with the invoice ID as the order reference.

Two Xero details decide the commission. Send the subtotal excluding sales tax, because Xero's invoice total includes tax and publishers should not earn on it. And use Xero's InvoiceID rather than the invoice number as the reference, because invoice numbers can be edited in Xero and a renumbered invoice re-posted becomes a second commissionable sale. Repeating invoices create a new invoice every period; decide in your publisher terms whether those earn commission before the integration decides for you.

Timing is the failure. Awin's cookie length and validation period are usually set with retail in mind; an inquiry that becomes an invoice paid ten weeks later may arrive after publishers expected it, and they will query sales that never appeared. Ask Awin whether your program can post the transaction at quote acceptance as pending and validate it on payment, and decline or amend it in Awin when a credit note cancels the invoice.

Xero → Awin · what breaks

Why this join usually fails — Xero → Awin

  1. 01

    The Awin click reference, awc 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

    Voucher-code publishers intercepting sales at the checkout

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  4. 04

    Nothing reconciles afterwards

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Xero → Awin · the fix

What working looks like — Xero → Awin

  • The Awin click reference, awc on every invoice

  • Conversions arriving in Awin

    The sale appears as pending, publishers see it in their reporting, and it validates after your approval period.

  • Reconciled against the source

Xero → Awin · architecture

How Xero and Awin 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

    Awin needs a click to match

    Awin needs the click reference, a unique order reference, the order value and the commission group. Missing the click reference means the sale is untracked and the publisher will query it.

  3. 3

    The identifier is the bridge

    The Awin click reference, awc, 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

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

Xero → Awin · normal or broken

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

Normal, not a fault

  • The Awin click reference, awc present on the invoice

  • Sent from the Xero invoice payment webhook

  • Deduplicated correctly

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

  • Reconciles with the source

Actually broken

  • The Awin click reference, awc 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 customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  • Nobody has reconciled it

Xero → Awin · diagnose

Diagnostic order — Xero → Awin

  1. 01

    Count invoices carrying the Awin click reference, awc

  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

    Segment publishers by type and check where the click happened in the journey

    Voucher and cashback clicks that occur within seconds of an order are interception, not acquisition. Use the deduplication flag rather than paying for both.

  5. 05

    Read the match rate, not the success message

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Xero → Awin · prove

How it gets proven — Xero → Awin

Source of truth

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

  • The Awin click reference, awc confirmed present on a live invoice.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • A paid invoice confirmed reconciled against the bank feed before being counted.

Xero → Awin · free audit

What we check in the free audit

  • Count invoices carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Check whether the conversion fires on issue or on payment
  • Segment publishers by type and check where the click happened in the journey
  • 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 → Awin · when not to buy

When you don't need this — Xero → Awin

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the Awin click reference, awc.
  • 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 affiliate programme this is irrelevant. If you do, the commission structure by publisher type will change your economics more than the tracking accuracy will.

Xero → Awin · what we deliver

What gets built — Xero → Awin

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

    Server-to-server conversion posting from your order system, or the tracking pixel where server posting is not available.

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

Store the awc click reference on the lead, carry it to the Xero invoice, and post the sale server-to-server when the invoice is paid, using the subtotal and the InvoiceID as the order reference.

Free · 30 min

Get Xero and Awin joined properly

Free30 minutesNo obligation