Skip to content
Portalby Webisoft®Book a demo

How to triage a shared inbox into Xero

Connect your shared mailbox and Xero to Portal. The AI reads each message, matches the sender to the Xero customer, and your routing rules forward it or draft a draft Xero sales invoice, since Xero has no sales order document or a draft Xero quote, with its expiry date for review.

01About

About Xero.

Xero is online accounting software that calls itself a global small business platform, used by small businesses and the accountants and bookkeepers who work with them. It has been around since 2006 and leads cloud accounting in New Zealand, Australia and the UK.

It is sold as subscription plans with no per-user license fees. In the US the plans are Early, Growing and Established: Early sends quotes and up to 20 invoices, multiple currencies and project tracking come with Established, and Inventory Plus is an optional add-on on Growing and Established.

Xero only runs in the cloud. Every integration reaches it through the Xero Accounting API with OAuth 2.0, one connected organisation at a time, so there is nothing to install and nothing to open in a firewall.

Portal by Webisoft is a B2B portal for Xero: customer self-service and team apps on live Xero data.

02The hard part

Why connecting to Xero is hard.

Small teams on Xero answer the shared inbox between everything else, opening Xero for every contact balance and invoice question.

Small API limits per organisation

Xero allows 5 calls in progress at once and 60 calls per minute for each connected organisation, plus a daily limit of 1,000 calls on the starter app tier and 5,000 on higher tiers. An organisation can connect at most five uncertified apps, so each extra tool you wire to Xero eats into the same small budget.

Tokens that expire and scopes that change

A Xero access token lasts 30 minutes and a refresh token 60 days, and every refresh hands back a new refresh token that has to be saved, with only a 30 minute grace period if it is lost. Xero is also replacing broad scopes such as accounting.transactions with granular ones; broad scopes remain available until September 2027.

Accounting documents, not order documents

Items saved in Xero feed quotes, invoices and purchase orders; there is no sales order to hold an order before it is billed. Core Xero also does not track inventory in more than one location, and codes can be assigned to up to 4,000 items, so order and stock workflows have to be mapped onto what Xero has.

03Options

Your options.

OptionFits whenWatch out for
Native Xero add-onsYou need one narrow function and an add-on covers it.Each add-on is its own product to license, learn and upgrade.
Generic integration platformYou have someone in-house to build and maintain the flows.You still build the screens, the AI layer and the Xero write rules yourself.
Custom codeThe need is unique and you have developers who know Xero.Upgrades and staff changes put the integration at risk.
Portal by WebisoftYou want customers, your team and AI agents working on live Xero data.It works on top of Xero; it does not replace it.
04How Portal connects

How Portal reaches Xero.

Your administrator clicks Connect with Xero, signs in and picks the organisation; Portal then works through the Xero Accounting API with OAuth 2.0 and granular scopes. Changes are found with If-Modified-Since, and Xero also notifies Portal when contacts and invoices change, so nothing has to be set up on the Xero side. Portal keeps to 3 calls at a time, under the 5 Xero allows.

Because Xero has no sales order, an order placed in Portal is written as a draft sales invoice and a quote as a draft Xero quote; accepting a quote creates the draft invoice from its lines and marks the quote invoiced. Every create carries an Idempotency-Key and a portal reference, and Portal looks for that reference before creating, so a retried order or payment is never entered twice. Credit hold is a Xero contact group, Credit Hold by default, since Xero has no credit hold flag.

05Before you start

What you need.

06Steps

Step by step.

Your Portal team sets up the Xero connection with you during onboarding, so the first step is done together. The rest is yours to change any time.

  1. Connect with Xero and pick the organisation

    Under Setup, ERP, ERP system, choose Xero and click Connect with Xero, sign in and pick the organisation to connect; Portal fills in its name and organisation ID. Then name the contact group that marks credit hold, Credit Hold by default, and enter the code of the Xero bank account that receives portal payments. Nothing is installed, and Xero notifies Portal on its own when contacts and invoices change.

  2. Connect the inbox and describe your business

    In Email, Sources, connect the shared mailbox. In Email, AI reading, add your intents, sender types and locations.

  3. Route by intent and customer

    In Email, Routing rules, add rules such as: purchase orders from matched customers create an order draft, quote requests create a quote request, tracking questions go to customer service. Senders are matched to the Xero contact, on credit hold when it belongs to the Credit Hold contact group.

  4. Test, then turn on

    Use Try your rules with an email to see where a message would go, then tick Read incoming mail with intake. Forwards wait in the Review queue until approved.

07What syncs

What syncs with Xero.

RecordReadWrite backNote
Contacts (customers, contact persons, addresses)YesYesCreate, update and archive; credit hold from a contact group; balance from Xero
ItemsYesYesAn item no longer sold is inactive
PricesYesNoItem sales price only: Xero has no price levels or customer prices
StockYesNoQuantity on hand of tracked items, one location
QuotesYesYesAn accepted quote becomes a draft invoice
OrdersYesYesDraft sales invoices, since Xero has no sales order
InvoicesYesYesAn order's draft invoice is approved when you bill it
Credit notesNoYesAllocated to the invoice they credit
PaymentsYesYesOne Xero payment per invoice paid, into the bank account you choose
Purchase ordersYesYesCreate, and change line quantities
Bills and supplier paymentsNoYes

Limits today: Xero has no sales orders, shipments or returns: portal orders become draft invoices and returns become credit notes.

08Next

What you can do next.

09FAQ

Xero questions, answered.

How does it know which Xero customer sent the email?

It matches the sender to the Xero contact, on credit hold when it belongs to the Credit Hold contact group. You can add a Customer is matched condition to any rule.

Does anything get sent without review?

Forwards wait for review by default and drafts stay drafts until an approver submits them.

Can it draft quotes as well as orders?

Yes. The Create a quote request action starts a draft Xero quote, with its expiry date for review.

10More guides

Keep going.

Sources