Integrations / Xero

Xero integration
for VeloCMS

Every paid order should show up in your accounting system without someone copying it over. VeloCMS connects to Xero and creates an invoice for each order, so your books stay current as sales happen.

What this integration does

The Xero connector in VeloCMS listens for afterOrderCreate events. For each paid order, it first looks for an existing Xero Contact by customer email and creates one if none exists. Then it creates an ACCREC invoice in Xero using the customer's email, the order total, and the account code you configure in the plugin settings. If the contact lookup or creation fails, the invoice is still attempted using the customer email directly. The connector is fail-soft: any Xero API error is logged but never blocks the order webhook. This is a one-way push from VeloCMS to Xero for bookkeeping.

ACCREC invoices

Each paid order becomes a Xero accounts-receivable invoice with the order total and a clear description.

Contact deduplication

VeloCMS searches Xero by email and reuses an existing contact before creating a new one, keeping your contact list clean.

Configurable account code

Set the Xero account code in plugin settings. If left blank, the connector falls back to a sensible default.

Where to find it in admin

  1. 1
    Admin → Plugins → Xero. Connect your Xero organisation through the OAuth2 flow.
  2. 2
    Set the account code. Enter the Xero account code you want on each invoice. VeloCMS creates an invoice for every paid order from that point forward.

Use cases

A freelancer selling digital products from their blog can close each month with Xero invoices already matching their VeloCMS sales. A small business selling merchandise and courses can keep their accountant happy without manually entering every transaction. A developer building a client store can wire the Xero connector once and give the client an accounting-ready sales flow from day one.

Also see QuickBooks Online for an alternative accounting connector.

Invoice every sale in Xero.

14-day free trial. Connect Xero and stop copying orders into your accounting system.

Get started with VeloCMS