AggregateDocs
Guides

Xero through your own app

Last updated

Short answer: create a Web app in your own Xero developer account, paste its client id and client secret into Aggregate, and sign in to Xero. Aggregate then reads the same invoices, bills, accounts and reports as its Xero connection, through your app. Aggregate only reads, it can't change anything in Xero, and it can't move money.

Status: Self-host for now. It's built to Xero's API documentation and the same code as the Xero connection, and it hasn't been run with a customer-made app yet. If a number looks off, tell us at support@aggregate.finance.

Why your own app

You create the app in your own Xero developer account, so you agree to Xero's terms directly when you create it. Aggregate uses your app's client id and secret only to sign in to your organisation, renew that sign-in, and end it when you disconnect.

Make the app

  1. Sign in at developer.xero.com/app/manage and choose New app.
  2. Name it (for example "Aggregate for my company"), choose Web app, and enter your company's website.
  3. For the Redirect URI, paste exactly the address Aggregate shows in the connect drawer. It's your Aggregate server's address followed by /api/connectors/xero-own-app/callback, for example https://aggregate.example.com/api/connectors/xero-own-app/callback.
  4. Create the app. If Xero asks which scopes the app may use, tick only these read scopes: - openid - offline_access (so the sign-in can be renewed) - accounting.settings.read - accounting.invoices.read - accounting.payments.read - accounting.banktransactions.read - accounting.manualjournals.read - accounting.reports.profitandloss.read
  5. Open Configuration, choose Generate a secret, and copy the Client id and the Client secret.

Connect

In Aggregate, open the company it belongs to, then Connections → + Add a connection → Xero (your own app). Paste the client id and client secret, then sign in to Xero and pick your organisation. The client id and secret are stored encrypted with the connection, never in plain text.

Aggregate checks with Xero that the sign-in can only read: right after you sign in, and again at the start of every sync. If it could ever do more than read, Aggregate ends the sign-in at Xero, disconnects it and deletes what it stored. If Xero doesn't accept the client secret, Aggregate says so; copy both again from Configuration.

What it reads and how it's counted

The same as the Xero connection: the chart of accounts, invoices and bills, credit notes, payments, overpayments and prepayments, spend and receive money, manual journals, and the monthly profit and loss report to check against. The numbers come out the same as through Aggregate's Xero connection. If the same organisation is already connected the other way, disconnect that one first.

Disconnect and delete

Disconnect it in Aggregate at any time. Aggregate ends the sign-in at Xero with your app, and deletes what this connection brought in right away. You can also delete the app at developer.xero.com once you no longer need it. Backups are kept for 25 days, so deleted data is gone from backups within 30 days. To delete all your data, delete your workspace. See Privacy.

Questions people ask

Can my AI change anything in Xero? No. Aggregate only reads, and it can't move money.

What does it cost? Aggregate is free while we're in beta. We may introduce paid plans later, and we'll let you know before anything changes.

Who do I contact? support@aggregate.finance.

Last checked 2026-11-26.

© 2026 Aggregate Finance LLC