Retire manual AP entry
Close the loop between your inbox and Xero without typing a single bill.



Stop forwarding PDFs manually to your accountant: Gmail invoices reach Xero parsed, vendor-resolved, and ready for one-click sign-off per closing window.

The Gmail integration turns your inbox into an automated invoice capture flow.

The Xero integration connects Well to your accounting platform for bidirectional data flow.
Suppliers send invoices as PDF attachments; Xero accepts bills via a structured invoice API.
Connecting Gmail to Xero through Well turns each emailed PDF into a Xero bill draft, complete with vendor matched to the Xero contact list, tax broken out by rate, and the original PDF kept on the record.




Close the loop between your inbox and Xero without typing a single bill.
Every SaaS, travel, and supplier bill lands in Xero the day it arrives.
Apply the same tax and tracking logic to every bill so reports stay clean.
Keep the original document attached to each Xero bill for audit and review.

Pulls from your Gmail inbox. Picks up emails matching has:attachment filename:pdf and runs the document through extraction. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Pulls from your Gmail inbox. The vendor is matched against your existing company records. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Pulls from your Gmail inbox. Receipts, invoices, statements: any PDF attachment is read and captured into your records. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Pulls from your Gmail inbox. Well prepares a new vendor record from the email and document headers for your confirmation. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Pulls from your Gmail inbox. Well picks up any received email with a PDF attachment; forwarded headers are recovered automatically. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Pulls from your Gmail inbox. Well's AI extracts the bill from the attached PDF and matches the vendor against your existing records. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.

Driven by emailed invoices, receipts, and notifications. Well forwards the PDF to your Xero email-in address; Xero creates a draft bill via Hubdoc with contact, dates, totals, line items, and tax type pre-filled. You review and post.

Driven by emailed invoices, receipts, and notifications. Hubdoc reads the contact name and trading address off the PDF to match the vendor. You confirm or merge on first sight.

Driven by emailed invoices, receipts, and notifications. Hubdoc extracts the tax type and applies it on the draft bill. You confirm before posting.
7 fields flow from Gmail into Xero.
| Gmail field | Label | Xero field | Label | |
|---|---|---|---|---|
| extracted.invoice_number | Invoice number | → | InvoiceNumber | Invoice number |
| extracted.issue_date | Issue date | → | Date | Bill date |
| extracted.due_date | Due date | → | DueDate | Due date |
| extracted.total | Total | → | Total | Total |
| extracted.subtotal | Subtotal | → | SubTotal | Subtotal |
| extracted.tax | Tax | → | TotalTax | Tax |
| extracted.currency | Currency | → | CurrencyCode | Currency |
3 fields flow from Gmail into Xero.
| Gmail field | Label | Xero field | Label | |
|---|---|---|---|---|
| extracted.vendor_name | Vendor name | → | Name | Contact name |
| extracted.vendor_domain | Vendor domain | → | Website | Website |
| extracted.vendor_tax_id | Vendor tax id | → | TaxNumber | Tax number |

Click Connect with Google; Google asks which mailbox to scope and returns a refresh token and authorise read access to invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers. Access tokens are exchanged and refreshed automatically before they expire, and the grant is revocable from your Google Workspace.
Well discovers the Gmail attachments matching your invoice pattern (invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers) and the the Xero draft bills queue populated by Hubdoc. Tune the parsing prompt once on the first ten records; Well saves the mapping and applies it to every subsequent attachment above 85% confidence.

Click Connect with Xero; Well's OAuth proxy handles Xero authorisation through Dynamic Client Registration. Xero's MCP server registers a write-scoped Well client through DCR; no credential paste, no shared secret.
Each one answers a question from the data this pair brings in. The required ones return nothing until a source like it is connected.
Needs a source like these
Get page 1 of your 1120 back as a PDF with your own book figures already in the boxes, and a list of every box left for your preparer.
Get one 1099-NEC per contractor back as a PDF with your own posted figures already in box 1, and the list of payees you cannot file for yet.
See the VAT position your data suggests for a quarter, and which invoices to fix first.
Read your profit and loss or balance sheet from QuickBooks, Xero or Pennylane.
Answers better with these connected
Know how many months of cash you have at your current burn, with both sides of the division shown.
See a company's or household's spend by category, supplier and trend; not for savings: use Subscription spend.
See which customers still owe you money: the unpaid and overdue invoices, how late each is, and the total.
See what you owe and when, ordered by due date with a running total.
Rank your most valuable customers by lifetime value, over a year you name or their whole life.
See how much of your cash and receivables sit outside your reporting currency.
Everything you know about one company, in one view.
Find what payment settled an invoice, or catch every payment that never got one.
Find the bills with no paperwork attached, before an auditor does.
See the monthly run-rate of live subscriptions, or an invoice average when no typed subscriptions are present.
Drive the month-end close from open to sent to your accounting tool.
See what you owe your suppliers, and how long each bill has been past due.
The board numbers in one pass, each with its scope and its window stated.
The measures you name, arranged on one board that stores the question rather than the answer.
See how much each customer billed in a period, ranked by revenue, with the part you could not place named.
See what each supplier invoiced you over a year, ranked, with unplaced invoices counted.
See what in a month has not reached the ledger, and which pile each item sits in.
Compare your bank with your books, list the gaps, and re-run what missed rows.
Find money owed back to you: refunds, credit notes, VAT credits, double debits, then unpaid customer invoices.
For each supplier that looks like a freelancer, read the purchase invoices, the payment rail and any contract Well holds, and state the facts a requalification question turns on, next to the papers your country expects you to keep.
Uses them when they are there
Connects and checks them
Well calls Gmail with an OAuth 2.0 token scoped to read-only access. Gmail's consent screen lists the scopes before you approve; access tokens are exchanged and refreshed automatically before they expire. Anything Well holds between Gmail and Xero is encrypted at rest and handled in line with GDPR.
Read Gmail records
Scoped to invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers. No access to anything else in your Gmail account.
Deliver documents to your Xero inbox
Well forwards the extracted document to your Xero email-in address; Xero reads draft bills via email-in, with contact, dates, totals, and related records from it and you review and post. No write credential to Xero is requested.
Modify or delete Gmail records
Not granted. Gmail is read-only on Well's side; the source of truth never moves.
Read other workspaces' data
Not granted. A session resolves only to the workspaces your account belongs to, and Well checks that membership before it returns any record.


Connect both sides. Your first invoice flows from source to ledger in minutes.
Other ways to connect Gmail or Xero through Well.

Gmail
See the Gmail connector

Xero
See the Xero connector


Gmail → Pennylane
Capture invoices from Gmail, extract line items with AI, and…


Gmail → QuickBooks
Capture Gmail vendor invoices, extract lines inside Well, fo…


Mercury → Xero
Match Mercury wires, ACH, and card transactions to invoices…

Outlook
See the Outlook connector

Freshbooks
See the Freshbooks connector

Kolecto
See the Kolecto connector