Match a Mercury payment to a Xero invoice
Well reads the invoices in Xero and the transactions in Mercury and pairs a payment with the invoice it settles before forwarding the document to Xero's email-in address.
Stop reconciling by hand: Mercury bank lines reach Xero as drafts with the counterparty resolved and the receipt attached. You confirm and post in seconds.
The Mercury integration connects your startup banking to Well via MCP, pulling transactions, balances, and counterparty data into your workspace.
The Xero integration connects Well to your accounting platform for bidirectional data flow.
Mercury runs on US banking rails in USD; Xero closes books in GBP, AUD, NZD, or EUR depending on where the entity is registered.
Connecting them through Well handles the currency conversion, the counterparty resolution, and the matching inside its own ledger. Every Mercury transaction is reconciled against your invoices with the FX rate of the booking date and the original Mercury reference preserved; the matched document is then forwarded to Xero's email-in. Hubdoc reads the PDF and creates a draft bill with contact, dates, totals, and tax type extracted.
Well reads the invoices in Xero and the transactions in Mercury and pairs a payment with the invoice it settles before forwarding the document to Xero's email-in address.
Well reads Xero's own ledger and invoice records so the document it forwards reflects what Xero already holds for the counterparty.
Well ties the Mercury company and payment means to the matching Xero contact, so a supplier reads the same on both sides.
The Mercury transaction stays linked to the document forwarded to Xero, so the entry traces back to the cleared payment.
Pulls from the Mercury transactions API. Picks up cleared ACH credits and debits with the company id reference. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Tracks check deposits with the payer, amount, and clearing date. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Captures debit card transactions with merchant and MCC code. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Resolves the account and routing numbers from the Mercury account so a payment instrument can be matched. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Pulls each Mercury account the workspace holds with its balance, currency, and routing details. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Triggers on every debit or credit posting in a Mercury account. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Captures incoming wires with originator, reference, and value date. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls from the Mercury transactions API. Tracks outbound wires with beneficiary detail and instruction. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Driven by Mercury transaction events. 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.
5 fields flow from Mercury into Xero.
| Mercury field | Label | Xero field | Label | |
|---|---|---|---|---|
| transaction.amount | Amount | Total | Amount | |
| transaction.currency | Currency | CurrencyCode | Currency | |
| transaction.posted_at | Posted date | Date | Transaction date | |
| transaction.bank_description | Description | Reference | Reference | |
| transaction.id | Transaction id | BankTransactionID | Bank line id |
Click Connect with Mercury; Mercury's MCP server handles authorisation through Dynamic Client Registration. Mercury's MCP server registers a read-scoped Well client through DCR; no credential paste, no shared secret.
Well discovers Mercury's transactions, wires, ACH transfers, card payments, and counterparty records and the the Xero draft bills queue populated by Hubdoc. Counterparty proximity, amount, date, and reference drive the match score; lines above 85% post automatically and the rest queue for a one-click sign-off.
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 connects to Mercury through its MCP server, which issues short-lived access tokens via Dynamic Client Registration. Well never holds a long-lived Mercury secret; the server refreshes its own tokens on each session. Well's storage region is configured per workspace regardless of where Mercury and Xero host theirs.
Read Mercury records
Scoped to transactions, wires, ACH transfers, card payments, and related records. No access to anything else in your Mercury 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 Mercury records
Not granted. Mercury 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. Cash lines arrive in Xero with their source still attached.
Other ways to connect Mercury or Xero through Well.

Mercury
See the Mercury connector

Xero
See the Xero connector


Mercury → Pennylane
Reconcile Mercury USD transactions inside Well, then forward…


Mercury → QuickBooks
Reconcile Mercury transactions inside Well with vendors reso…


Gmail → Xero
Capture invoices from Gmail, extract data with AI, and push…

iBanFirst
See the iBanFirst connector

Plaid
See the Plaid connector

Freshbooks
See the Freshbooks connector