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.
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. Well's storage region is configured per workspace regardless of where Gmail and Xero host theirs.
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
Encryption keys are per-workspace; another tenant's records are inaccessible by design.
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