Create Xero invoice from Vend sale

Inventory ManagementAccounting

What it does

When a sale is created in Vend, this automation searches Xero for the customer and item. It creates the contact and item if they do not exist, then creates the invoice so the sale is recorded in Xero.

Who it's for

Accounting teams who need sales from Vend synced to Xero without manual entry.

How teams use this

Sync Vend sales to Xero automatically

Every sale in Vend becomes an invoice in Xero without manual data entry. The contact and items are created on first use, then reused for future sales.

Prevent duplicate contacts and items

The automation searches for existing contacts and items before creating new ones. This keeps Xero clean and ensures sales from the same customer link to one contact record.

Add custom fields to the invoice

Extend this automation to include purchase order number, cost center, or project code on each Xero invoice. Map those fields from Vend so invoices are tagged for reporting.

Route invoices by sales channel

Check the sale source in Vend and route the invoice to different Xero accounts or cost centers. Online and in-store sales can be tracked separately.

How it works

  1. Monitor for new sales. A new sale is created in Vend with a customer, items, quantities, and amounts that need to be recorded in Xero.
  2. Find or create the contact. Search Xero for the customer by code or email. If the contact does not exist, create it so the invoice has a valid customer record.
  3. Find or create each item. For each product in the sale, search Xero for the item. Create any item that does not already exist in Xero.
  4. Create the invoice. Create the sales invoice in Xero with the contact, items, quantities, and amounts from the Vend sale.