Skip to content

How do I get time back?

Insight Job software and accounts 7 min read

The Xero API for a small business: what you can automate, and what it costs

By Renzo Demartini, Chartered Accountant ·

Drafted with AI, reviewed and spot-checked by me.

A script drafts the invoice in 2 calls and you approve it. Xero’s lowest daily limit is 1,000.

Illustrative figures, not client data.

Illustrative figures, not client data.

  1. Job 3318 is marked complete in the job app.
  2. A script finds the customer in Xero.
  3. The API creates a draft invoice. Nothing is sent.
  4. A script drafts the invoice in 2 calls and you approve it. Xero’s lowest daily limit is 1,000.
The build behind this topicA$3,900

Invoice Check

Invoices that do not reach Xero or MYOB, duplicates, and job numbers that do not match.

  • Simpro
  • ServiceM8
  • AroFlo
  • Xero
  • MYOB
See Simpro to Xero invoice checks
Fixed price · AUDYou decide what a person approves

Your job software knows a job is finished. Xero does not, so someone retypes it as an invoice. The Xero API lets a program do that step.1

The short answer: the API creates invoices and bills, applies payments, updates contacts and reads reports. One business on its own Xero organisation pays A$10 a month including GST for a Custom Connection.2 Xero allows 1,000 calls a day on its free Starter tier and 5,000 on paid tiers.3 A person still approves each draft.

  1. 01 · Job doneThe job is complete

    Job app Job 3318 Complete

    • Customer A (sample)A$2,640.00
  2. 02 · FindA script finds the customer
    • Customer found in Xero
    • Job not invoiced yet
  3. 03 · DraftThe API creates a draft

    Xero Invoice Draft

    • Customer A (sample)A$2,640.00
  4. 04 · ApproveA person approves

    Invoice for job 3318A draft in Xero. Nothing is sent yet.

At the end of the day Steps 1 to 3 are a script reading and drafting. Step 4 is your decision.

What the Xero API can do

Four jobs a program can do through the Xero Accounting API, where each lives and how
You want to In Xero’s API How it works
Create an invoice or a bill Invoices POST. ACCREC is a sale, ACCPAY a bill
Apply a payment Payments PUT to an approved invoice
Add or update a customer Contacts Retrieve, add, update
Read profit and loss Reports Read only. Needs the reports role

Xero describes the Accounting API as able to create transactions such as invoices and credit notes, and to extract data through its reports endpoint.1 A new invoice is a draft unless you set another status.4 Payments apply only to approved invoices.5 Contacts can be added and updated.6

What Xero says about invoices, payments and the beta

The Invoices page says its endpoint can “Create sales invoices or purchase bills”.4 The types page calls ACCREC “A sales invoice – commonly known as an Accounts Receivable or customer invoice”.8 It calls ACCPAY “A bill – commonly known as an Accounts Payable or supplier invoice”.8 For payments, Xero says “Payments cannot be modified, only created and deleted”.5

The reports page says a Standard user without the “reports” role gets an HTTP 403 error.7 On 5 November 2026 Xero announced the Account Data API in beta. It gives read-only access to account transactions, balances and movements.13 Xero says it is “gated behind the Advanced Developer Plan” and its “endpoints, parameters, and schemas may still change before general availability”.13

Which connection to use, and who pays

A Custom Connection against an app using the standard sign-in: when each fits, the cost and what to check first
Connection Fits when Cost Check first
Custom Connection One business, one Xero organisation A$10 a month including GST Australia, New Zealand, UK and US only
App with the standard sign-in Several organisations connect The developer pays no charge to A$1,445 a month, excl. GST Starter allows 5 connections

A Xero user with the Connected Apps permission buys it, so the builder never holds your Xero login.9 For answers inside Claude, see the Xero MCP setup guide and connecting Xero to Claude.

What Xero’s pages say about the prices

Xero’s Custom Connections page, read 8 November 2026, says “Price: $10/m AUD (inc GST)”.2 It calls this a “Recurring monthly subscriber charge per Custom connection purchased”.2 It says Custom Connections are “only available for Xero organisations in Australia, New Zealand, the UK, and the US”.9

The developer pricing page lists a “Monthly Tier Fee” of “No charge”, “$35 AUD”, “$245 AUD” and “$1445 AUD” for Starter, Core, Plus and Advanced.10 Their maximum connections are 5, 50, 1000 and 10,000.10 The page says “Pricing is tax exclusive” and “Payments are accepted via registered credit card”.10 Xero’s FAQ says the tier changes “will take effect on 2 March, 2026”.11

The limits that matter

Three sample automations use about 93 calls a day, under Xero’s 1,000 Starter limit

Calls a day, sample

10 jobs a day at 2 calls each. 300 open invoices at 100 a page is 3 calls an hour. 1 call a week, shown as 1.

Illustrative figures, not client data.

Xero counts calls for each organisation: 5 at one time, 60 a minute, and 1,000 a day on Starter or 5,000 on paid tiers.3 Past a limit, Xero answers HTTP 429 and the program waits.3

Three sample automations

Three automations, the Xero objects each uses, a sample number of calls a day and who decides
Automation Xero objects Calls a day, sample Who decides
Draft an invoice when a job completes Contacts (read), Invoices (draft) 20 You approve the draft
Flag paid invoices Invoices (read) 72 You review mismatches
Weekly profit and loss to a sheet Reports (read) 1 You read it

None of the three changes your books without a person. For the same pattern on Simpro’s API, see the n8n and Simpro worked example.

Webhooks instead of hourly checks

A webhook can replace the hourly check. Xero disables one that fails to answer for 24 hours.12

What it costs to have it built

Hours, cash, running cost, build price and payback for the sample invoice automation, kept apart
Measure Sample figure What it means
Retyping time 22 hours a month 10 jobs a day, 6 minutes
Cash saved A$500 a month 10 casual hours at A$50
Running cost A$40 a month A$10 Xero, A$30 hosting, sample
Build A$3,900 once The price of Invoice Check
Payback 8.5 months A$3,900 ÷ (A$500 − A$40)

Sample data, not a client’s. Hours and dollars stay apart: 22 hours is time, and A$500 is cash only because 10 casual hours stop.

Check before you sign

  1. Connection. A Custom Connection in your own Xero organisation.
  2. Country. Australia, New Zealand, the UK or the US.9
  3. Scopes. The builder picks them and you see them when you approve.11
  4. Drafts only. The program never approves, sends or pays.
  5. Keys. You hold the client id and secret, or know who does.
  6. Running cost. The monthly host cost, in writing.

Where a person stays in charge

The script

It reads the job, finds the customer and creates a draft. It never approves or sends.

Xero

The scopes you approve and your user roles decide what the program can touch.

You

You approve each draft, apply payments and can disconnect the app in Connected Apps.

Xero says the user who authorised an app can disconnect it from Connected Apps.11 I would build this on a Custom Connection, drafting only. A build this size is, for example, Invoice Check at A$3,900, in 2–3 weeks.14

If you are not sure which workflow to fix first, start with a Workflow Audit for A$1,500. It is a short brief by email and a read-only review of one workflow, up to two connected systems and a four-week sample of its records. The written report gives a clear decision (build it, change a setting or not yet) and a fixed quote if a build is worth doing.14 Start with a free fit check by email at the foot of this page.

Questions

Is the Xero API free?

Xero lists the Starter tier at “No charge” a month for the developer, and a Custom Connection for one organisation is A$10 a month including GST. The paid tiers run from A$35 to A$1,445 a month, excl. GST.102

What are Xero’s API rate limits?

For each organisation: 5 calls at one time, 60 a minute, and 1,000 a day on Starter or 5,000 on paid tiers. Past the minute or daily limit Xero answers with an HTTP 429 and a Retry-After header.3

Can the Xero API create bills as well as invoices?

Yes. The Invoices endpoint creates sales invoices and purchase bills, by type: ACCREC for a sales invoice and ACCPAY for a bill.48

Does a Custom Connection work in any country?

No. Xero says it is only available for organisations in Australia, New Zealand, the UK and the US.9

Can I cut off a program’s access to Xero?

Yes. Xero says the user who authorised the app can disconnect it from their Connected Apps page.11

Sources

Not sure which to fix first?

Get a free fit check by email and I will say whether it is worth automating. No call needed. The next step is a A$1,500 workflow audit of one workflow, with a clear decision and a fixed quote if a build is worth doing.

Get a free fit check by email

If you would rather have it built

Each topic has a fixed-price build behind it. The audit tells you which one is worth doing for your business.

Need more than one workflow? For strategy, board work and larger custom builds, I work through renzodemartini.com.

More insights

I get the systems you already have talking to each other and working together, so you get your nights and weekends back and are home for dinner.

Renzo

Renzo Demartini, Chartered Accountant

Works with Xero, MYOB, QuickBooks, n8n and Zapier, your job software, and whatever else you run.

Get a free fit check by email

Send the form with the workflow to fix and your email. Your software, team size and timing are optional, but they help. I reply by email, usually with a question or two, and tell you whether it's a fit. No call needed. If it is, the next step is the A$1,500 Workflow Audit.

Tell me what’s stuckStep 1 · Fit check · free, by email

Optional, but it helps me reply

Sending saves your details in HubSpot so I can reply. No mailing list. No payment is taken. How your enquiry is handled.