Browse sources$ls -a sources
Logo of xero
Xero
Streamline accounting features with your users’ Xero data
Sync your customers' dataFiber pulls data from your customers' Xero accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Logo of xero
Fiber
postgres-prod
xero_accounts
xero_bank_transactions
xero_contacts
Your customers' Xero accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the Xero API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Accounts belonging to the Xero
-- organization of a particular user.

SELECT *
FROM fiber.xero_account
WHERE organization_id = '{user.organization_id}'
-- Fetch all the Accounts belonging to the Xero
-- organization of a particular user.

SELECT *
FROM fiber.xero_account
WHERE organization_id = '{user.organization_id}'
Code
CREATE TABLE fiber.xero_account (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
organization_id TEXT,
date TIMESTAMP WITH TIME ZONE,
from TEXT
)
CREATE TABLE fiber.xero_account (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
organization_id TEXT,
date TIMESTAMP WITH TIME ZONE,
from TEXT
)
Model definition
About this source
Logo of xero
XeroCloud-based accounting software for small businesses.xero.com  ↗
Available resources
Missing a resource? We will build it for you.
Similar integrations
OAuth
Need help with OAuth for Xero?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with Xero and over 200 other APIs. Setup and deploy within minutes.
Logo of xeroIntegrate Xero using Fiber Fiber makes it easy to access third-party data from Xero accounts. Get started in just a few minutes.