1. Home
  2. Xero integration
  3. Xero invoice automation

Xero invoice automation: use Xero's own tools first, then the API for the rest

Xero already automates much of invoicing: it repeats invoices for regular customers, emails payment reminders, turns an accepted quote into an invoice in one click, and lets JAX draft and send invoices from Xero, WhatsApp or SMS. For bills, Xero's AI reads an uploaded or forwarded bill and saves a draft for approval. A custom build on Xero's Invoices API fits when the invoice starts in another system, such as a store, a CRM or an ERP.

Checked 18 November 2026

Xero already automates six invoicing jobs

Check these before you pay for any build. Each one is on Xero’s own invoicing and quotes pages, read on 18 November 2026:

  • Repeating invoices. Set one up for a regular customer, and Xero fills in their details each time.
  • Quote to invoice. Each quote shows as draft, sent, accepted or declined. When a customer answers online, Xero updates the status. An accepted quote becomes an invoice in one click, and Xero keeps the link between them.
  • Reminders. Xero emails payment reminders before or after the due date. With your bank connected, they stop once payment arrives.
  • JAX. Xero’s AI drafts and sends an invoice when you ask it in Xero, WhatsApp or SMS. It pulls your product prices and works out the totals. Xero’s JAX page gives a sample request: an invoice based on the last quote for a contact. That page says JAX chat has no extra charge for now, and that Xero may change its terms, including the price.
  • Sending and tracking. Invoices go by email, SMS, online link or PDF, and Xero shows when each one is opened and paid. Customers can pay by card, ACH debit, Apple Pay or Google Pay, with Stripe and GoCardless taking the payment.
  • Group invoicing. Xero can charge several customers at once.

If your invoices start inside Xero, these may be all you need. The gap opens when the invoice starts somewhere else.

Xero reads supplier bills too

Bills are the other half of the job. You upload a bill, or forward it from your email, and Xero’s AI pulls out the details to make a draft bill for approval. Xero flags duplicate bills. Roles and permissions decide who can create a bill and who can approve one.

Plan matters here. Xero’s US pricing page lists “Automate bill entry” on Growing and Established, and “Smart Document Capture” on every plan. Early lists 5 bills. Xero’s bills page does not say which of the two features reads forwarded bills.

The Invoices endpoint holds sales invoices and bills

Software writes both through one API endpoint. Xero’s spec says it retrieves and creates sales invoices or purchase bills. A type field, such as ACCREC or ACCPAY, tells them apart. These are the parts of it an automation uses:

Scroll the table sideways to see every column.

Part What Xero’s spec or changelog says Why it matters
Status DRAFT, SUBMITTED, DELETED, AUTHORISED, PAID or VOIDED A build can save drafts and leave approval to a person
Sent flag Can be set only on approved invoices You can’t mark a draft as sent
Invoice number Auto-generates from your invoice settings when missing Send your own number, or let Xero number it
Idempotency-Key A header of up to 128 characters that lets an app retry without duplicate processing A retry after a timeout can’t create a second invoice
Batches About 50 records per request keeps it under 3.5MB Big runs go in slices
summarizeErrors=false Returns 200 OK with the good records and the failed ones mixed One bad line does not block the batch
Sales tax addresses An invoice can carry addresses used to work out sales tax Xero can work out the tax for you
Discounts Only on ACCREC invoices and quotes, not on bills or credit notes Supplier discounts need another treatment
Email and online invoice One endpoint emails a copy to the contact; another returns the online invoice link The build can send, or hand the link to another system

Two newer entries in Xero’s changelog matter too. Its entry of 8 October 2026 says Xero will begin enforcing matching contacts when a credit note, prepayment or overpayment is set against an invoice or bill. It gives no start date. And apps can now edit fields that carry no money on bills that are partly or fully paid.

Four limits stop an automated invoice run

Plan for these before the first invoice goes through:

  1. The Early plan cap. Early lists 20 invoices. Xero says the limit covers approving and sending, and that transactions started by apps may count toward it.
  2. The daily email limit. Xero plans a change for 14 January 2027. Once an organization reaches its daily limit for invoice emails, the Email endpoint will answer HTTP 429 instead of 500, with no Retry-After header. Xero’s advice is to queue the send for later, because the limit is daily.
  3. API rate limits. Each organization allows 60 calls a minute. Per day it allows 1,000 calls on the Starter developer plan and 5,000 on paid plans.
  4. Stock. An invoice for tracked items can exceed the stock on hand. Xero says to retry with allowBackorders=true. Our Xero inventory page covers backorders.

Where a custom invoice agent fits

An agent fits when the invoice starts outside Xero and someone types it in today. In our view, these jobs qualify:

  • Store orders. Each paid order becomes a Xero invoice with the right contact, items and tax.
  • Won deals. A deal marked won in your CRM turns into a Xero invoice.
  • Emailed purchase orders. The agent reads the customer’s order and saves a draft invoice for your team to check.
  • Split bills. One supplier bill spreads across jobs by your own rules, past what Xero’s bill reader does.

Xero sets two rules for any agent, and its Remote MCP server adds a third condition. Its developer terms bar apps from using bots or browser extensions to act like a user, so an agent works through the API. Its terms also bar using data from its APIs to train any AI model. And the version 1 tools on its Remote MCP server do not ask the user to confirm, so the confirm step must be built in.

Xero’s open-source MCP server has a tool that updates an existing draft invoice, which suits a draft first design. It signs in two ways: a Custom Connection, which it suggests for testing on one organization, or a bearer token for many accounts. No new Custom Connection can be made from 1 December 2026. So a build started after that date signs in with a bearer token, unless it reuses a Custom Connection made earlier.

How an invoice automation build runs

A build of this kind runs in this order:

  1. Pick the trigger. A paid order, a won deal, an emailed purchase order or a supplier bill.
  2. Map the records. Each customer, item, account code and tax rate gets its Xero match.
  3. Write drafts. Each invoice is saved as a draft, with an Idempotency-Key built from the source order number.
  4. Approve in Xero. A person approves. Then the build calls the Email endpoint, or your team sends from Xero.
  5. Handle the limits. Emails that hit the daily limit wait in a queue. Big runs go in slices of about 50.

Our team has taken Xero live, and has moved companies off QuickBooks, Xero or Sage into a full ERP.

In ERPNext, the ERP workflows our team built produce bookkeeping entries, invoices, sales orders and quotations. That build is written up in our case study: a multi-agent RFQ system in ERPNext. For quotes that start as emailed requests, see quote automation.

Questions

Does Xero automatically send invoices?

Partly. Xero repeats invoices for regular customers, and it emails payment reminders before or after the due date on its own. With your bank connected, the reminders stop once payment arrives. JAX drafts and sends an invoice when you ask it. Sending on a trigger from another system, such as an order that has shipped, needs an integration that calls Xero's Email endpoint.

How do I send invoices via Xero?

Approve the invoice, then send it by email, SMS, online link or PDF. Xero shows when each one is opened and when it is paid. The SMS route works once an invoice is approved and awaiting payment. Before you text, Xero says to connect a payment service so the customer can pay from the link, and to get the customer's consent to be texted. Software can do the same through the API: the Email endpoint sends a copy of an invoice to its contact.

Are quotes and invoices the same thing?

No. A quote is an offer the customer can accept or decline. An invoice asks for payment. Xero tracks each quote as draft, sent, accepted or declined, and turns an accepted quote into an invoice in one click, keeping a link between the two. In the API they are separate records: quotes have their own endpoint, and invoices sit on the Invoices endpoint.

Can you do invoicing through Xero?

Yes. Every US plan lists invoices, quotes and online payments. Watch the Early plan: it lists quotes and 20 invoices, and Xero says that limit covers both approving and sending. Xero also says invoices that apps create may count toward it. So an automated feed of more than a few invoices belongs on Growing or Established.

Can Xero automate accounts payable?

Much of it. You upload a bill or forward it from your email, and Xero's AI pulls out the details and saves a draft bill for approval. Xero flags duplicate bills, and roles decide who may create and who may approve. Xero's US pricing page lists automated bill entry on Growing and Established, while Early lists 5 bills. A custom agent fits when your coding rules go further, or the bill must also reach another system.

Can an AI agent create invoices in Xero?

Yes, through the API or Xero's Remote MCP server. The server launched on 15 October 2026 with 39 tools across invoicing, accounting, reporting and payments. Xero includes it on the Core developer plan and above, and Starter apps can use it with the demo organization only. Its version 1 tools do not ask the user to confirm a change. So an agent on Xero should save a draft and leave approval to a person, and Xero's FAQ says to always have the agent confirm with you before it writes anything back.

Sources

Every source behind a figure or a vendor fact on this page, with the day we read it.

Talk through where your invoices start

Tell us where your invoices start, such as a store, a CRM or an ERP, which Xero plan you are on, and how many invoices you raise a month. We talk through the build on the first call. The first call is free.

Talk through my invoices