What the Xero API Can and Can't Do: A Plain-English Guide Before You Plan a Custom Integration

16 November 2026 Aaron Chambers Systems Integration

The Xero API lets another system read and write most of the everyday records in Xero. These include contacts, sales invoices, bills, payments, items, tracking categories and manual journals, plus payroll records where Xero Payroll is in use. It won't reconcile your bank account for you. Bank feeds are open only to approved providers. Xero allows only two active tracking categories, and every connected organisation has limits on how many requests an integration can make. If what you want is "get the information from our job system into Xero without anyone typing it again", the API can usually do it. The details below will tell you whether your particular plan fits.

What problem an integration is actually solving

A common reason to look at the Xero API is a familiar frustration. Someone raises an invoice in the job system and then types it into Xero. A supplier bill gets approved in one place and keyed in again somewhere else. The finance team spends the first week of the month making the two sets of numbers agree.

That is double entry, which means the same information typed into two systems. It produces data silos, where information sits in one system and stops before it reaches the people who need it. It also leads to systems that disagree and numbers that arrive too late to act on. A well-built integration through the Xero API removes the retyping. Each record is entered once and flows to where it's needed, so Xero becomes a single source of truth for the accounts (one place everyone takes the financial number from).

Here is what that looks like when it's fixed. On the first working day of the month, every job invoice is already in Xero and coded to the right tracking category. Your finance team only looks at the handful the integration flagged as needing a person. You can read more about the pattern on our page on eliminating double data entry.

What the Xero API can read and write

In plain English, a custom integration can generally create, update and read the following:

  • Contacts. Customers and suppliers, including addresses, payment terms and default account codes.
  • Sales invoices and credit notes. It can create them as drafts or approved, attach PDFs, and send them from Xero.
  • Bills. Supplier invoices can be created from an approval system or a purchasing tool, ready for payment.
  • Payments. It can record that an invoice or bill has been paid, against the right bank account.
  • Items. These are your products or services, with codes, descriptions and default prices.
  • Tracking categories. It can read your categories and their options and apply them to transaction lines, so revenue and costs land against the right job, site or division.
  • Manual journals. Accruals, allocations and adjustments can be posted from another system.
  • Purchase orders and quotes. Useful when ordering or quoting happens elsewhere.
  • Reports. It can read figures such as the profit and loss, balance sheet and trial balance. This is handy for feeding a dashboard.
  • Payroll, where available. With Xero Payroll in Australia, an integration can work with records such as employees, timesheets and leave. For example, timesheets can come in from a rostering or docket system.

For example, if your job management system creates an invoice when a job is completed, the integration can create the matching invoice in Xero with the correct customer, items, tracking category and attachment. Nobody needs to touch it.

What it can't do, or where it's restricted

This is the part that catches people out. Each limit changes how an integration has to be designed.

Bank reconciliation isn't done through the API. An integration can record payments and bank transactions. The step of matching bank feed lines to those transactions still happens inside Xero, by a person, with Xero's own suggestions and bank rules. What this means for you: an integration can make reconciliation much quicker, because the transactions are already there to match. It won't make reconciliation disappear.

Bank feeds are limited to approved providers. A custom integration can't become a bank feed. If you want transactions from a payment platform or an unusual account to appear as a feed, that has to come through a provider Xero has approved. Otherwise the integration records the transactions in another way.

Two active tracking categories. Xero allows only two active tracking categories, for example "Job" and "Region". An integration can't add a third. If your job system tracks job, site, division and cost centre, you'll need to decide which two go into Xero. The rest can stay in the source system or in reporting. This is often the most important design decision in the whole project.

Request limits per organisation. Xero limits how many API calls an integration can make to each connected organisation per minute and per day, and how many it can make at the same time. The exact figures are published in Xero's developer documentation and can change, so we check the current numbers at the start of every project rather than relying on a blog post (this one included). What it means for you: if your job system creates hundreds of invoices at month-end, the integration has to pace itself. It queues the invoices, sends them in batches where Xero allows it, and retries anything Xero asks it to slow down on. A poorly built integration skips this and quietly drops records. That is one of the most common reasons an integration only half works.

Locked periods and finished transactions stay protected. If your accountant has set a lock date, the API can't change transactions in that period. Paid invoices can't simply be edited, and approved invoices are voided rather than deleted. This is good for the integrity of your books, but the integration needs a plan for corrections.

Compliance lodgement stays in Xero. Don't expect an integration to lodge your BAS or file payroll with the ATO for you. Those steps belong inside Xero, with a person reviewing them.

Every connection needs permission. Someone with access to the Xero organisation has to authorise the integration, and only for the areas it's been granted. If that connection lapses or the person leaves, it may need to be reauthorised.

And in MYOB

The MYOB API covers similar ground. It handles contacts, sales and purchase invoices, items, payments and payroll records such as timesheets. A few differences matter in practice. MYOB uses jobs (and categories) rather than Xero's tracking categories to track where income and costs belong. Its API works with company files that are online. It also has its own limits on how fast requests can be made. If you're comparing the two for a new integration, the questions are the same: what needs to flow, how much of it, and which dimensions you need to report on.

What this means before you plan anything

Before anyone writes code, it helps to answer three questions:

  1. Which records need to move, and in which direction?
  2. How many, and at what times? A steady flow during the day and a month-end spike are designed differently.
  3. How do you need to slice the numbers, and do those dimensions fit inside two tracking categories?

Cost is a separate question. Xero's 2026 developer pricing changed who pays for API access, and we've covered that in Xero API pricing in 2026. For how we build and support these integrations, see our Xero API integration service.

Frequently asked questions

Can a Xero integration reconcile my bank account automatically?

No. An integration can create the payments and transactions so they're ready to match, but reconciling bank feed lines happens inside Xero. Bank rules and Xero's matching suggestions do much of the work. A person still confirms it.

Can an integration add a third tracking category in Xero?

No. Xero allows two active tracking categories. If you need more ways to slice the numbers, the usual answer is to keep the extra detail in the source system and bring it together in reporting.

What happens if we send too much data to Xero at once?

Xero will tell the integration to slow down. A well-built integration queues the records and retries them, so nothing is lost. A poorly built one may skip records, and that leads to systems that disagree.

Can the Xero API handle payroll?

Partly. With Xero Payroll, an integration can work with records such as employees, timesheets and leave. This is useful for bringing in hours from a rostering or docket system. Reviewing and finalising pay runs, and the reporting to the ATO, stay in Xero.

If you're not sure whether the Xero API can do what your business needs, that's a good question to start with. Book a free initial chat and we'll talk through what you want to connect and where the limits are likely to matter.

Related Articles