Everything you need to connect Gennai to Xero, export draft bills with PDF attachments, auto-categorize your spend, and manage multiple Xero organisations, plus how to disconnect cleanly at any time.
There are two ways to connect Gennai to Xero. Both go through Xero's standard OAuth flow, so your Xero password is never shared with us. Xero handles the sign-in and you grant Gennai access from inside Xero.
Xero displays an "Allow access" page listing the permissions Gennai is asking for. If you manage more than one Xero organisation, you'll see a dropdown to choose which organisation to connect. Pick the one whose bills you want Gennai to file.
Gennai only asks Xero for what it needs to create supplier Bills and keep them synced with your Chart of Accounts. It never asks for access to your bank feeds, payroll, customers, or sales invoices. You can review or revoke Gennai's access at any time from Xero by visiting Settings > Connected apps.
The connection appears as active in your Integrations panel. In the background, Gennai runs a one-off sync to read your Chart of Accounts and recent supplier coding history. This is what powers the auto-categorization feature described in the next article. The sync usually finishes in under a minute for a typical Xero organisation.
When you export an invoice from Gennai, we create a draft Bill in your Xero organisation with the original PDF attached. You stay in control: every Bill lands as a draft for you to review and approve inside Xero.
Gennai uses one direction sync: data flows from Gennai to Xero, never the other way. We never modify bills in Xero that are already there. We only create new draft bills for invoices you've exported through Gennai.
If you edit a bill inside Xero (change the account code, add tracking categories, mark it as approved), Gennai will leave your changes alone. The flow is strictly: Gennai creates a draft, then you review and finalise it in Xero.
Each Gennai invoice becomes one Xero Accounts Payable Bill (type ACCPAY), status Draft. The fields on the Bill are filled in from what we extracted from your invoice: the supplier, date, amount, currency, invoice number, and description.
Here's how an extracted invoice maps onto the resulting Xero Bill. The sample below uses generic data for illustration.
The original PDF that produced the invoice is uploaded as an attachment to the Bill in Xero. This means your accountant can open the source document directly from Xero. No chasing emails, no downloading from Gennai.
Gennai tracks every export, so re-exporting the same invoice doesn't create a duplicate Bill. If the original draft is still unapproved in Xero, we update it in place. If you've already approved the Bill in Xero, Gennai leaves it untouched, consistent with our one-direction policy.
Gennai can suggest the correct expense account for Bills it sends to Xero, so your accountant doesn't have to re-code suppliers we already recognise. The suggestion is based on what already lives in your Xero account: your Chart of Accounts and your past supplier coding.
When you connect Xero, Gennai does two read-only things:
We never write to either of these. If you rename an account or re-organise your chart inside Xero, Gennai picks up the change on its weekly background sync.
If neither signal exists yet (for example, when you're importing a brand-new supplier for the first time), Gennai creates the Bill in Xero without a suggested account code. You can assign one in Xero before approving the draft, and Gennai will learn the supplier's pattern for next time.
The suggested account code is just that: a suggestion. Every Bill lands in Xero as a draft, so you can edit the code before approving (or remove it entirely if you'd rather code from scratch). Reinforcing the rule from Article 2: we never modify bills in Xero that you've already touched. We only ever pre-fill the draft we created.
If you manage several companies in one Gennai workspace, you can connect each one's Xero organisation separately. Gennai routes each invoice to the right Xero based on who the invoice is billed to.
From the Integrations panel, add additional Xero organisations by clicking Connect company. Each connection goes through its own Xero consent flow and is treated as a separate destination, so a Bill exported for company A never lands in company B's Xero by mistake.
When Gennai extracts an invoice, we look at the buyer (who the invoice is billed to) and match it against your connected Xero organisations in this order:
If none of these reach a confident match, the invoice waits in No company for you to pick the right one manually.
You can change the company on any invoice, individually or in bulk from the invoice table. When you correct a routing decision, Gennai learns the buyer identity (tax ID or name alias) so future invoices from the same supplier and buyer combination route correctly without manual intervention.
When you click export, Gennai groups your selected invoices by destination Xero organisation and sends each batch to the right place. The export modal shows a per-company breakdown so you can see exactly how many Bills will land in each Xero account before you confirm.
You can disconnect Xero from Gennai at any time. We've designed the disconnect flow to be clean and immediate. Your tokens are purged on our side, and you can also revoke Gennai's access from Xero directly for full removal.
Inside Gennai, open Integrations, find your Xero connection, and click Disconnect. The moment you confirm:
For a complete two-sided removal, you can also revoke Gennai's access from inside Xero:
This invalidates any cached tokens on Xero's side and severs the authorisation from your Xero account entirely.
All OAuth tokens encrypted at rest using AES-256-GCM. Tokens are decrypted only in memory at the moment a request is being made to Xero, and are never written to logs, never shared with third parties, and never used outside of providing the Gennai-to-Xero integration described on this page.
Refresh tokens are rotated automatically by Xero on every refresh cycle; the new token is re-encrypted before being stored. All traffic between Gennai and Xero is over TLS.
If you want every trace of your data removed, you have two options:
Either route disconnects all integrations automatically as part of the deletion. You don't need to manually disconnect Xero first.
If you change your mind, you can reconnect Xero at any time from the Integrations panel. Bills already in your Xero are preserved. Gennai's one-direction policy means we won't touch them on reconnection.
Xero is a trademark of Xero Limited. Gennai Invoice Manager is not affiliated with or endorsed by Xero Limited.