Embed a Xero integration in your product
Add Xero to your product for your customers, and give your AI agents governed access to it.
Xero's users are small businesses plus the accountants and bookkeepers who serve dozens of them, so an embedded Xero integration has to cope with one login reaching many organizations. Every connection is per organization, and your product picks the right one before it touches invoices, bills, contacts, bank transactions, payments or the chart of accounts. After that, call limits are enforced per organization as well as per app, tracking categories and tax rates differ by region, and reconciliation is its own state rather than a flag on an invoice. fastn manages the per-organization tokens, paces requests inside those limits, and monitors the connector for Xero API changes, proposing a tested fix your team approves.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let a customer connect one Xero organization or several, and choose which one your product writes to.
- Create sales invoices and record bills from your product so the books reflect what the business actually did.
- Read bank transactions and payment status so your product can show what has cleared and what has not.
- Use each organization's own tax rates and tracking categories instead of hard-coding one country's setup.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent compares this week's bank transactions with open invoices and flags the ones that do not line up.
- An agent raises an invoice in the organization the user is working in and nowhere else, with the call audited.
- An agent summarizes which bills fall due in the next fortnight for a single organization.
Example prompt
Which bills are due in the next two weeks in this Xero organization, and how much cash do we need?
Set up Xero in 4 steps
- 01Enable the Xero connector from your fastn dashboard.
- 02Have each customer authorize their own Xero account, so calls run under their credentials rather than a shared key.
- 03Decide which invoices, payments and vendors your product needs, map those fields, then enable the actions and triggers you want.
- 04Call it from your product and expose it to your agents through the same governed integration.
Why teams use the Xero integration
- Ship a Xero integration without building it. Your customers connect their own Xero account inside your product and work their invoices, payments and vendors there, and nothing lands on your team.
- Handle the part that actually costs time: financial writes must be idempotent and reconcilable, because a duplicate is an accounting problem rather than a bug. fastn handles the auth, token refresh, rate limits and pagination, and when Xero changes, its maintainer agent proposes a tested fix, so a Xero update does not start in your backlog.
Used by these teams
Often used alongside
Tools the same teams tend to run next to Xero, across other categories.
More in Finance & ERP
Other Finance & ERP apps your customers can connect the same way. All Finance & ERP integrations
Xero integration FAQ
Can AI agents use this Xero integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent compares this week's bank transactions with open invoices and flags the ones that do not line up. For example: "Which bills are due in the next two weeks in this Xero organization, and how much cash do we need?"
Is the Xero integration safe for financial writes?
Writes are idempotent, so a retry after a timeout does not post a document twice, and every call is logged per tenant so an entry can be traced back to the event that created it. That matters more in finance than anywhere else, because a duplicate is a number somebody has to explain.
Can it handle each customer's own chart of accounts?
Yes. ERP deployments are configured to the business, so account structures, required fields and fiscal calendars differ per customer. Those are mapped per tenant as configuration, not hard-coded.
What about Xero rate limits during a first import?
Backfills are throttled deliberately. ERP limits are often account-wide rather than per-integration, so an unthrottled import can exhaust a customer's allowance and disrupt their other integrations.
What can I build with the Xero integration?
A common starting point: let a customer connect one Xero organization or several, and choose which one your product writes to. The use cases above list the rest.
Add Xero to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.