Skip to main content
Xero → BrazeIntegration guide

Connecting Xero to Braze

Xero holds the invoice and the reconciliation, which makes it the definitive revenue record for many service and trade businesses. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the Xero invoice before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Xero paid invoices on Braze profiles via your own user ID

Map Xero ContactIDs to your Braze external IDs, then send a paid invoice as a purchase or custom event on the account owner's profile only. Braze purchases need product ID, currency and price; Xero item codes are optional, so require them or send a custom event with the subtotal. Never send at invoice issue.

Braze identifies users by your external ID, and Xero identifies customers by its ContactID, so the integration needs a mapping table on your side before anything is sent. For an app-based service billed by invoice, a paid invoice becomes a Braze purchase or custom event on the user who owns the account, triggering things like an in-app message confirming an upgrade, or removing that user from a payment-reminder campaign.

Braze's purchase object expects a product ID, currency and price for each item. Xero line items can supply those as the item code, the invoice currency and the unit amount, but item codes are optional in Xero, and an invoice built from free-text lines gives Braze purchases with no usable product. Either require item codes on invoices for app services, or send a custom event with the invoice subtotal instead of itemized purchases.

The most common break comes from the business-customer shape. One Xero contact pays for several app users; sending the invoice to each user's profile multiplies revenue in Braze and sends every user the same message. Send it to the account owner only and update a custom attribute, such as paid-through date, on the others. Never send at invoice issue: a push announcing an upgrade before the money arrives is hard to take back if the invoice goes unpaid.

Xero → Braze · what breaks

Why this join usually fails — Xero → Braze

  1. 01

    The Braze external user ID 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

    Duplicate events sending duplicate push notifications

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  4. 04

    Nothing reconciles afterwards

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

Xero → Braze · the fix

What working looks like — Xero → Braze

  • The Braze external user ID on every invoice

  • Conversions arriving in Braze

    The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.

  • Reconciled against the source

Xero → Braze · architecture

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

    Braze needs a click to match

    Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.

  3. 3

    The identifier is the bridge

    The Braze external user ID, 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

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

Xero → Braze · normal or broken

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

Normal, not a fault

  • The Braze external user ID present on the invoice

  • Sent from the Xero invoice payment webhook

  • Deduplicated correctly

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The Braze external user ID 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 duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  • Nobody has reconciled it

Xero → Braze · diagnose

Diagnostic order — Xero → Braze

  1. 01

    Count invoices carrying the Braze external user ID

  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

    Send a test purchase and read the user profile's event stream

    One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.

  5. 05

    Read the match rate, not the success message

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

Xero → Braze · prove

How it gets proven — Xero → Braze

Source of truth

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

  • The Braze external user ID confirmed present on a live invoice.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • A paid invoice confirmed reconciled against the bank feed before being counted.

Xero → Braze · free audit

What we check in the free audit

  • Count invoices carrying the Braze external user ID
  • Follow one real conversion end to end
  • Check whether the conversion fires on issue or on payment
  • Send a test purchase and read the user profile's event stream
  • 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 → Braze · when not to buy

When you don't need this — Xero → Braze

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the Braze external user ID.
  • 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 have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.

Xero → Braze · what we deliver

What gets built — Xero → Braze

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

    The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.

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

Map each Xero ContactID to the Braze external ID of the account owner, and post a purchase or custom event when Xero marks the invoice paid.

Free · 30 min

Get Xero and Braze joined properly

Free30 minutesNo obligation