🍪We use cookies!

This website utilizes cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising. You may change your settings at any time or accept the default settings.

CaptivateClick
  • Home/
  • Services/
    Website Design
    • Web designResponsive sites built to convert.
    • Branding & identityBrand identity, logo and visual system designed to stay distinctive and consistent as you grow.
    • E-commerceWebshops built to sell.
    • Shopify agencyShopify stores that sell.
    • Landing pagesCampaign and offer pages.
    Lead Generation
    • Cold emailRelevant outreach that starts conversations.
    • LinkedIn outreachSocial selling with a human voice.
    • Appointment settingQualified B2B meetings in your calendar.
    • ProspectingThe right companies, people and timing.
    SEO
    • Technical SEOHelp Google discover, read and index the right pages.
    • Local SEOMaps and local visibility.
    • SEO auditSee what holds you back and what to fix first.
    • Get found on GoogleHelp customers find your business.
    Advertising
    • Ad reviewLanding page for your ad sends.
    • Google AdsGoogle Ads and SEM built around high-intent searches, qualified conversions and measurable revenue.
    • Meta AdsFacebook and Instagram campaigns built around creative testing, clean signals and profitable scale.
    • LinkedIn AdsB2B campaigns built around account targeting, buying committees and qualified pipeline.
    AI Automation
    • AI agentsAgents that do the work.
    • Xero & QuickBooks integrationXero and QuickBooks connected to your systems.
    • HubSpot automationsHubSpot pipeline automation.
    • System integrationSystems that share the same data.
    AI visibility
    • AI checkFree AI visibility check.
    • Answer engine optimisationBecome the answer AI cites.
    • GEO SEOShow up in AI-generated answers.
    • AI search (guide)Guide: what AI search is and what it means.
    See all services
  • Projects/
    • Climentum CapitalWeb designView case
    • Nordic Acceleration GroupWeb designView case
    • NorthforkWeb designView case
    • Hawkeye AdvertisingWeb designView case
    All projects
  • About Us/
  • Blog/Xero Api
  • Contact/
CaptivateClick

Navigation

  • Home
  • Services
  • Projects
  • About Us
  • Blog
  • Contact
  • Privacy Policy

Services

  • Website Design
  • Lead Generation
  • SEO
  • Advertising
  • AI Automation
  • AI visibility

Website Design

  • Web design
  • Branding & identity
  • E-commerce
  • Shopify agency
  • Landing pages

Lead Generation

  • Cold email
  • LinkedIn outreach
  • Appointment setting
  • Prospecting

SEO

  • Technical SEO
  • Local SEO
  • SEO audit
  • Get found on Google

Advertising

  • Ad review
  • Google Ads
  • Meta Ads
  • LinkedIn Ads

AI Automation

  • AI agents
  • Xero & QuickBooks integration
  • HubSpot automations
  • System integration

AI visibility

  • AI check
  • Answer engine optimisation
  • GEO SEO
  • AI search (guide)
© 2026 CaptivateClick

Blog

Xero API: how to connect Xero to your other systems

October 7, 20266 min read
Black and grey jigsaw pieces with sharp shadows on a light surface, an image of systems that need to fit together

On this page

  • What is the Xero API?
  • What can you connect?
  • Three ways to connect Xero
  • 1. Ready-made app
  • 2. Connector tool
  • 3. Custom integration
  • What does it cost?
  • How the API works technically
  • Sign-in with OAuth 2.0
  • Limits
  • Real-time events
  • Security
  • QuickBooks, Sage and Making Tax Digital
  • Common pitfalls
  • Frequently asked questions
  • Sources

Short answer: the Xero API lets other systems read and write data in Xero, such as contacts, items, invoices, payments and bank transactions. You can connect Xero to other systems in three ways: with a ready-made app from the Xero App Store, with a connector tool such as Zapier, Make or n8n, or with a custom integration built directly on the API. The same three options apply to QuickBooks and Sage.

In brief

The Xero API is a REST API that returns XML by default and JSON on request. It uses OAuth 2.0, with access tokens that last 30 minutes and refresh tokens that last 60 days. Each organisation allows 60 calls a minute and up to 5,000 a day. Since March 2026, developers pay by app tier, from free for up to five connections. Xero integrates with more than 1,000 apps, including its own free Shopify integration.

Contents

  1. What is the Xero API?
  2. What can you connect?
  3. Three ways to connect Xero
  4. What does it cost?
  5. How the API works technically
  6. QuickBooks, Sage and Making Tax Digital
  7. Common pitfalls

What is the Xero API?

Xero has been around since 2006 and says it serves 5 million customers in more than 180 countries, and that it leads cloud accounting in the UK (Xero). The API is the door in. It lets your online shop, CRM or payment system create invoices, update contacts and fetch accounting data without anyone typing the same thing twice.

Technically it is a REST API over HTTP. By default all successful responses on the accounting API come back as XML, and you get JSON by setting the Accept header to application/json. Invoices, quotes and credit notes can also be fetched as PDF (Xero Developer).

What can you connect?

AreaExample
ContactsNew customers in your CRM become contacts in Xero
Items and pricesProducts and prices stay in sync with your online shop
Invoices and quotesAn order in the shop becomes an invoice in Xero
PaymentsPayments are recorded and matched automatically
Bank transactions and journalsTransactions from a payment provider are posted to the right accounts
ReportsProfit and loss and balance sheet data feed a dashboard

Access is controlled by scopes. Xero is replacing broad scopes with granular ones. Since March 2026, all new and existing web apps have granular scopes, such as separate scopes for invoices and payments, and broad scopes remain available until September 2027 (Xero Developer).

Three ways to connect Xero

1. Ready-made app

Xero integrates with more than 1,000 apps (Xero), listed in the Xero App Store (Xero). For Shopify there is a free integration built by Xero itself, which syncs sales, payouts, fees and taxes (Xero App Store). A ready-made app is the quickest and cheapest route when the flow is standard.

2. Connector tool

Zapier has a Xero app with ready-made templates, though Xero counts as a premium app there (Zapier). n8n has an official Xero node (n8n Docs), and Make has a Xero app too. Connector tools suit simple flows across several systems without writing code. Read more in What is n8n?

3. Custom integration

A custom integration is built directly on the API to your rules. It pays off when the flow is unique, when many systems are involved, or when ready-made apps cannot handle your exceptions, such as customer-specific prices, several warehouses or particular VAT rules.

Ready-made appConnector toolCustom integration
Time to startHoursDaysWeeks
FlexibilityLowMediumHigh
CostMonthly feeMonthly fee by volumeOne-off build plus running costs
Best forStandard flowsSimple flows across several systemsUnique rules and larger volumes

Read more about how we build Xero and QuickBooks integrations and connect other tools through system integration.

What does it cost?

For the business using Xero, the subscription is the main cost. Xero's UK plans are Ignite, Grow, Comprehensive and Ultimate, from £18 to £70 a month excluding VAT at standard prices (Xero). On top of that comes the cost of the integration: a monthly fee for an app or connector, or development time for a custom build.

For developers, Xero changed its model on 2 March 2026. Apps now sit in one of five tiers, Starter, Core, Plus, Advanced and Enterprise, priced by the number of connected organisations and the data transferred. Starter is free for up to five connections, which suits a business building an integration for its own organisation. The old revenue share for App Store apps has been retired (Xero Developer). The new terms also forbid using API data to train AI models.

How the API works technically

This section is for anyone building or commissioning an integration.

Sign-in with OAuth 2.0

The customer approves the integration with their normal Xero login and chooses which organisation it can access. The integration then gets an access token that lasts 30 minutes and a refresh token that lasts 60 days. Refresh tokens rotate, so each refresh returns a new one, and you need the offline_access scope to get them at all (Xero Developer).

A call that fetches invoices looks like this:

GET https://api.xero.com/api.xro/2.0/Invoices?page=1
Authorization: Bearer <access token>
Xero-tenant-id: <organisation id>
Accept: application/json

Limits

Per organisation, Xero allows 5 calls in progress at a time and 60 calls a minute. The daily limit is 1,000 calls on the Starter tier and 5,000 on higher tiers. Across all organisations, an app can make 10,000 calls a minute. Every response shows how much is left in headers such as X-MinLimit-Remaining (Xero Developer). Lists are paged, with a default of 100 items and a maximum of 1,000 per page (Xero Developer).

Real-time events

Instead of polling Xero for changes, an integration can subscribe to webhooks, for example when a contact, invoice or credit note is created or updated (Xero Developer). The event says what happened, and the integration then fetches the full record through the API.

Security

Give the integration as few scopes as possible, store tokens encrypted and log every sync so you can trace what happened.

QuickBooks, Sage and Making Tax Digital

QuickBooks Online also has a REST API with OAuth 2.0. Intuit limits it to 500 requests a minute and 10 concurrent requests per company (Intuit Developer). Sage Accounting has its own REST API with OAuth 2.0 as well. The integration patterns above work the same way for all three.

For UK businesses, integrations matter more because of Making Tax Digital. All VAT-registered businesses should now keep digital records and file VAT returns with compatible software (HMRC). Since 6 April 2026, sole traders and landlords with qualifying income over £50,000 also need MTD for Income Tax, with the threshold falling to £30,000 in 2027 and £20,000 in 2028 (HMRC). The fewer manual steps between your sales and your accounts, the easier that is.

Common pitfalls

  • Duplicates. The same order is sent twice and becomes two invoices. Build so the same event can be handled more than once without anything doubling up.
  • Expired refresh tokens. If an integration is not used for 60 days, the refresh token expires and the customer must approve it again.
  • Traffic spikes. A promotion brings hundreds of orders in an hour. Queue the calls so you stay under 60 a minute.
  • VAT and accounts. The wrong account or tax rate in the integration gives errors in your books. Let your accountant approve the mapping before going live.
  • Nobody owns the flow. Decide who gets the alert when a sync fails.

Want your systems to talk to Xero?

We connect Xero and QuickBooks to your shop, CRM, payments and reports, with ready-made apps where they are enough and custom integrations where they are needed.

Read about accounting integrations

Frequently asked questions

What is the Xero API?

The Xero API lets other systems read and write data in Xero, such as contacts, invoices, payments and bank transactions. It is a REST API that returns XML by default or JSON on request, with sign-in through OAuth 2.0.

Is the Xero API free?

For developers, the Starter tier is free for up to five connected organisations. Larger apps pay by tier since March 2026. The business using Xero also needs a Xero subscription.

What are the Xero API rate limits?

Per organisation, 5 concurrent calls, 60 calls a minute and 1,000 calls a day on Starter or 5,000 on higher tiers. An app can make 10,000 calls a minute across all organisations.

How do I connect Xero to Shopify?

The simplest way is Xero's own free Shopify integration in the Xero App Store, which syncs sales, payouts, fees and taxes. Shops with special rules may need a custom integration on the Xero API.

Can I connect Xero without coding?

Yes. Xero integrates with more than 1,000 apps, and connector tools such as Zapier, Make and n8n let you build flows to and from Xero without code.

Sources

  1. Requests and responses, Xero Developer
  2. OAuth 2.0 auth flow, Xero Developer
  3. Scopes, Xero Developer
  4. OAuth 2.0 API limits, Xero Developer
  5. Webhooks overview, Xero Developer
  6. Developer pricing, Xero Developer
  7. Pricing plans, Xero UK
  8. About Xero, Xero UK
  9. Xero App Store, Xero
  10. Shopify by Xero, Xero App Store
  11. Xero integrations, Zapier
  12. Xero node, n8n Docs
  13. REST API features, Intuit Developer
  14. Making Tax Digital for VAT, HMRC
  15. Find out if and when you need to use Making Tax Digital for Income Tax, HMRC
PreviousChatGPT Enterprise or Business? ChatGPT for business in the UK
NextAI strategy for business: how to go from experiments to results

Related Posts

  • Read the blog

    What is n8n? A plain-English guide, with n8n vs Zapier, Make and Power Automate

    October 7, 20266 min read
    Read more
  • Read the blog

    ChatGPT Enterprise or Business? ChatGPT for business in the UK

    October 7, 20265 min read
    Read more
  • Read the blog

    What is a CMS? Content management systems explained

    October 7, 20264 min read
    Read more
Let's get startedLet's get started

Ready to grow?

Let's talk about your project.

Trusted by 110+ businesses to grow online.

  • Mercer Consulting, Co.
  • Mercer Consulting, Co.