Connect your data to Claude in 1 minute. No code needed Try it now

Connect Xero to Supabase

Send Xero contacts, invoices, payments and 63 more data types to Supabase on a schedule. Filter by date and narrow it down by statuses. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

Supabase schema xero
  • contacts
  • invoices
  • payments
  • accounts
  • projects
  • 61 more data types
Each Xero data type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect Xero and Supabase

6 steps. You can preview the Xero data in Coupler.io before anything reaches Supabase.

Step 1 of 6

Connect Xero

Sign in to Xero and authorize Coupler.io. There's no API key to copy.

Sign in with Xero

Step 2 of 6

Choose what to export

Pick the Xero data you want in Supabase.

Accounting

Show 32 more data types Show fewer data types

Accounting

Payroll (for United Kingdom or New Zealand)

Payroll (for Australia)

And 26 more data types.

Xero tenantNot setIf you have access to several Xero organizations, specify the one to take data from. If you don’t see your Xero tenant in the list, try to reconnect your account in the ‘Connections’ section.
Report typeNot set
ProjectsNot setSpecify projects from where you want to extract data.

Step 3 of 6

Filter by date

Limit the export to records in a date range.

Changed afterAny dateSpecify the data entity’s last updated date to export data added after this date.
Start dateAny dateSpecify the start date for your report period.
End dateAny dateSpecify the end date for your report period.
Created afterAny dateSpecify the start date to filter your data to.
Show 3 more fields Show fewer fields
Created beforeAny dateSpecify the end date to filter your data to.
Expiring afterAny dateSpecify the start expiry date to filter your data to.
Expiring beforeAny dateSpecify the end expiry date to filter your data to.

Step 4 of 6

Fine-tune the export

Optional settings for this Xero export.

StatusesNot setSelect one or more invoice statuses to retrieve.
Journal number more thanNot setJournals with a JournalNumber greater than the value will be returned. Journals with a JournalNumber greater than the value will be returned.
Journal number less thanNot setJournals with a JournalNumber less than the value will be returned. Journals with a JournalNumber less than the value will be returned.
Split byNot set
Show 3 more fields Show fewer fields
StatusNot setSelect a status to filter.
Advanced settingsNot set
Include archivedNot set

Step 5 of 6

Connect Supabase

Enter the connection details from your Supabase project's Connect panel, then the schema and table for the Xero data.

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
TablecontactsCreated automatically on the first run
Show 3 more fields Show fewer fields
Userpostgres.abcdefghijklmnopPooler user looks like postgres.[project-ref]
Password••••••••••••Database password, not an API key
SchemaxeroA dedicated schema keeps it out of the Data API

Step 6 of 6

Choose a write mode and schedule

Every run either replaces or appends the data in Supabase. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in contacts and loads fresh Xero data.

Get the most of Xero to Supabase integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
Xero to Supabase questions

66 data types, including Contacts, Invoices, Payments, Accounts and Projects.

You sign in to Xero and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need. You can also filter by changed date or created date. Splitting the data by period is available too.

Yes. Available filters include statuses.

Yes. On the first successful run, Coupler.io creates the xero schema and the contacts table if the database user has the privileges to do so, and detects column types from the Xero data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep Xero data in a schema your app doesn't expose through the Data API.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example QuickBooks or Stripe, and join or append them before the data reaches Supabase.

High five for scrolling till the very end!
See you in the app!