What we've built with Xero
- Supplier invoices to draft bills. AI reads PDF invoices from the finance inbox, matches each one to a known supplier and creates a draft bill in Xero with the PDF attached. A person approves.
- Sales and stock in sync. For a trading business, invoices and credit notes flow between the operations system and Xero, so the monthly reconciliation went from days to hours.
- Reports that combine Xero with everything else. Costs and margins that need figures from Xero and from your inventory or spreadsheets.
How we keep your books safe
- The smallest permissions that work. Our invoice system can read and write invoices, attachments and contacts, and read settings. It has no access to payments, bank accounts, payroll or reports.
- Drafts, not final entries. Bills arrive as drafts for a person to approve.
- No duplicates. Before creating a bill, the system checks Xero for the same supplier and invoice number.
- A successful reply isn't proof. After every write we read the record back and compare it. On one project that caught a credit note whose amount changed from 108.34 to 108.45, because decimal places weren't set on the request.
Xero's limits, and how to plan around them
Xero limits how often an app can call it for each connected organisation (Xero developer docs):
- 5 calls in progress at once
- 60 calls per minute
- 1,000 calls per day for new apps on the starter tier, and 5,000 per day on higher tiers
Go over and Xero answers with "too many requests" and tells you how long to wait. That wait can be hours. On one project, about 4,160 of a day's 5,000 calls went on full syncs run over and over from a laptop, which shared the same allowance as the live system.
What we do about it: one daily budget that every script shares, tests that run on sample data instead of the live organisation, and requests that carry many records at once (Xero suggests up to about 50).
If you also use Unleashed
Unleashed has its own built-in Xero integration. It pushes transactions from Unleashed into Xero, one way: changes made in Xero don't flow back, and one Unleashed account connects to one Xero organisation (Unleashed help centre). For most businesses that covers the accounting side. Where we help is everything around it: reports that need both systems, checks that stock and books agree, and the other systems and paperwork the built-in integration doesn't touch. See working with Unleashed.
Questions
Do we need to change our Xero setup?
Usually not. We connect to the organisation you already have, with the smallest set of permissions the job needs.
Can AI create bills in Xero without anyone checking?
Not in the systems we build. AI prepares drafts, and a person approves them in Xero.
Will this use up our Xero API limit?
We plan the number of calls before we build, keep a shared daily budget, and stop before the limit. Xero's daily limit applies to each connected organisation.