Next Steps: Connect Open Pantry to Xero

GJGelou Jimeno
Published 24 May 20264 min read
The short answer

Open Pantry stays the operational source of truth for products, customer pricing, ordering and payments, while Xero remains the financial record. Orders export to Xero as draft sales invoices for you to approve. Set-up covers seeding contacts and items, account code and tax mapping, and product and customer matching rules.

Key takeaways
  • Orders export to Xero as draft sales invoices, which you review and approve there
  • Payments stay in Open Pantry and are usually not synced to Xero
  • Seeding contacts and items from Xero first avoids duplicates and speeds up matching
  • Products match by linked Xero item ID, then item code or SKU, then exact name
  • Customers match by linked contact ID, then email, then account reference, then name
  • New Open Pantry products push to Xero every 24 hours, or immediately during an invoice export
In this guide 12 sections
  1. 01How Open Pantry + Xero work together
  2. 02Seeding Your Integration (recommended first step)
  3. 03What Gets Sent From Open Pantry to Xero
  4. 04Account Code Mapping (Sales / Revenue Accounts)
  5. 05Tax Mapping (GST + Tax-free)
  6. 06Product Matching (Open Pantry → Xero “Products & Services”)
  7. 07Customer Matching (Open Pantry → Xero “Contacts”)
  8. 08Orders Exported to Xero (Sales Invoices)
  9. 09Product Sync Timing (24-hour check + immediate on invoice export)
  10. 10What We Need From You (Xero Setup Checklist)
  11. 11Go-live Checklist
  12. 12FAQs
Illustration of two laptops syncing orders and accounting reports.
Xero logo

This guide explains how Open Pantry and Xero work together, what gets synced, how products/customers are matched, and what we need from you to go live.

How Open Pantry + Xero work together

Open Pantry is your operational source of truth for:

  • Products (SKU / pack size / descriptions)
  • Customer-specific pricing and price tiers
  • Ordering workflow and order history
  • Payments (managed in Open Pantry)

Xero remains the financial system of record for:

  • Sales invoices and accounting reporting
  • Revenue coding (account codes) and tax reporting

Typical workflow

  1. A restaurant places an order in Open Pantry
  2. Open Pantry exports the order to Xero as a Draft sales invoice
  3. You review in Xero and Approve (and optionally email) the invoice from Xero Xero Central+1

If you already have customers and/or items set up in Xero, seeding helps avoid duplicates and speeds up matching.

What we can seed:

Option A — Seed Open Pantry from Xero

  • Pull existing Contacts (customers) from Xero
  • Pull existing Products & services (items) from Xero

Option B — Seed via export

  • You export contacts/items from Xero and we use that to align matches

What Gets Sent From Open Pantry to Xero

Commonly synced:

  • Contacts (matched or created)
  • Products & services items (matched or created)
  • Orders exported as sales invoices
  • Line items: quantity, unit price, description
  • Account code (sales/revenue account)
  • Tax rate (GST / tax-free)

Usually not synced:

  • Payments (payments are managed in Open Pantry)
  • Inventory/COGS journals (unless you specifically use tracked inventory workflows)

Account Code Mapping (Sales / Revenue Accounts)

In Xero, invoices and line items are coded to Sales/Revenue accounts in your Chart of Accounts. Xero treats “Revenue” and “Sales” account types identically. Xero Central

Default behaviour

By default, Open Pantry exports invoices coded to a default sales account (for example, 200 Sales).

If you want mapping to your existing GL structure

If you want Open Pantry invoices mapped to your existing account codes (e.g., freight to a separate income account, or different accounts by category), tell us what you want and we’ll configure the mapping.

Tax Mapping (GST + Tax-free)

Xero uses Tax rates on invoice lines (e.g., GST on Income, Tax Exempt / BAS Excluded, etc. depending on your setup). You can add/edit tax rates in Xero, and Xero supports entering transactions as GST inclusive/exclusive/no tax. Xero Central+2Xero Central+2

What we map:

  • Your default taxable sales tax rate (e.g., GST)
  • Your tax-free / non-taxable rate (whatever it’s called in your Xero file)
  • Freight tax treatment (taxable vs non-taxable, if different)

If you already have taxable + tax-free configured in Xero, we’ll map Open Pantry’s taxable/non-taxable items to those exact Xero tax rates (we’ll confirm the names/rates during setup). Xero Central+1

Product Matching (Open Pantry → Xero “Products & Services”)

In Xero, products/items are managed in Sales → Products and services, and each item has a Code and Name. Xero Central

Matching Hierarchy

Open Pantry matches each product to Xero using this order:

  1. Previously linked Xero Item ID (most reliable)
  2. Item Code / SKU (recommended best practice)
  3. Exact name match (fallback)
  4. If no match → Create item in Xero (if auto-create is enabled)

If an item is created in Xero

It will be created with:

  • Code (SKU / item code) and Name Xero Central
  • Default sales account code (unless you provide a mapping)
  • Default tax rate (taxable or tax-free, based on your mapping)

Customer Matching (Open Pantry → Xero “Contacts”)

Open Pantry matches customers using this hierarchy:

  1. Previously linked Xero Contact ID
  2. Email match (if present and unique)
  3. Account number / reference (if you use one)
  4. Exact name match
  5. If no match → Create the contact in Xero (if auto-create is enabled)

Notes on IDs (important)

Once linked, Open Pantry relies on Xero’s internal IDs to keep exports consistent. If you merge/delete contacts in Xero, you may need us to re-link to prevent duplicates.

Orders Exported to Xero (Sales Invoices)

Open Pantry exports orders into Xero as Draft invoices. You then Approve (and optionally send/email) the invoice in Xero. Xero Central+1

Product Sync Timing (24-hour check + immediate on invoice export)

  • Open Pantry checks for new products added in Open Pantry and pushes them to Xero every 24 hours.
  • If you export an invoice to Xero and it includes a product that isn’t in Xero yet, Open Pantry will create/update what’s needed as part of the invoice export, so the invoice can be pushed through without waiting for the 24-hour cycle.

What We Need From You (Xero Setup Checklist)

Please send:

  1. Confirm you’re using Xero (and the organisation name)
  2. Export type: Draft sales invoice (default)
  3. Default sales account code (e.g., 200 Sales)
  4. Tax rate mapping:
    • Taxable sales tax rate (e.g., GST)
    • Tax-free / non-taxable tax rate (name as it appears in Xero)
    • Freight tax rate (if different)
  5. Auto-create preferences:
    • Auto-create missing items in Xero? Yes/No
    • Auto-create missing contacts in Xero? Yes/No
  6. Any special mapping rules (freight account, discounts, category-level account codes)

Go-live Checklist

  • ✅ Seeding completed (if needed)
  • ✅ Account code + tax rate mapping confirmed
  • ✅ Test export with 1–2 orders
  • ✅ Confirm:
    • correct customer match/creation
    • correct item match/creation (item codes)
    • correct taxable vs tax-free behaviour
  • ✅ Go live

Frequently asked questions

How do Open Pantry and Xero work together?

Open Pantry is the operational source of truth for products including SKU, pack size and descriptions, customer-specific pricing and price tiers, the ordering workflow and order history, and payments. Xero remains the financial system of record for sales invoices, accounting reporting, revenue coding and tax reporting. A restaurant orders in Open Pantry, the order exports to Xero as a draft invoice, and you approve it there.

What data syncs from Open Pantry to Xero?

Commonly synced items are contacts, matched or created; products and services items, matched or created; orders exported as sales invoices; line items covering quantity, unit price and description; the sales or revenue account code; and the tax rate for GST or tax-free. Payments are usually not synced because they are managed in Open Pantry, and nor are inventory or cost-of-goods journals.

Should I seed Open Pantry from Xero before going live?

It is the recommended first step if you already have customers or items set up in Xero, because it avoids duplicates and speeds up matching. There are two options: pull existing contacts and products and services items directly from Xero, or export contacts and items from Xero yourself so they can be used to align the matches.

How does Open Pantry match products to Xero items?

In order of reliability: a previously linked Xero item ID, then the item code or SKU which is the recommended practice, then an exact name match. If none match and auto-create is enabled, the item is created in Xero with its code and name, the default sales account code unless you supply a mapping, and the default tax rate based on your mapping.

How are Open Pantry customers matched to existing contacts in Xero?

Using a hierarchy: a previously linked Xero contact ID, then an email match where the address is present and unique, then an account number or reference if you use one, then an exact name match. If nothing matches and auto-create is enabled, the contact is created in Xero. Merging or deleting contacts in Xero may require re-linking to prevent duplicates.

What information is needed to set up the Xero integration?

Confirmation that you use Xero and the organisation name, the export type which defaults to draft sales invoice, your default sales account code such as 200 Sales, tax rate mapping for taxable sales, tax-free and freight if different, whether to auto-create missing items and contacts, and any special mapping rules for freight, discounts or category-level account codes.

GJ
Written byGelou Jimeno