Resolve a Square sale to a Xero contact
Well reads a Square transaction and the contacts already in Xero, matches the buyer to one it recognises, and forwards the prepared document to your Xero email-in address.
Skip the spreadsheet middle step: Square card payments, payouts, and refunds are matched in Well, then the matched PDFs land in Xero as draft bills ready for your review.
The Square connection reads your Square account through the Square MCP server using OAuth.
The Xero integration connects Well to your accounting platform for bidirectional data flow.
Square handles point-of-sale and online payments; Xero accepts emailed PDFs and creates draft bills via Hubdoc.
Connecting Square to Xero through Well matches each Square transaction inside its own ledger with Square location context, processing-fee breakdown, and bank-deposit context attached, then forwards the matched document to Xero's email-in. Square's MCP server pushes payout events to Well; Hubdoc creates the draft bill from the forwarded PDF, with Square location context surfaced for your team to apply the matching tracking category in Xero.
Well reads a Square transaction and the contacts already in Xero, matches the buyer to one it recognises, and forwards the prepared document to your Xero email-in address.
Well reads the invoices and contacts already in Xero to check that a Square sale belongs to a known account, so the forwarded document lines up with what Xero holds.
A Square buyer that matches an existing Xero contact by company is resolved to that one record inside Well, so the forwarded document does not create a near-duplicate.
The originating Square transaction stays linked to the document forwarded to Xero, so each entry traces back to the sale behind it.
Captures successful card-present and card-not-present payments with currency, fees, and customer linkage. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls new customer records with name, email, and stored payment methods. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Captures partial and full refunds with the originating payment id. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls the tip amount off the payment so it can be routed separately. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects changes to a Square customer's name, email, or stored payment method and refreshes the company record. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Captures the completed Square order with its line items, taxes, and the payment that settled it. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects paid Square invoices with line items, applied discounts, and tax breakdown. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Captures chargebacks with the contested payment and reason code. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects the moment Square dispatches a payout batch toward your bank account. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
5 fields flow from Square into Xero.
| Square field | Label | Xero field | Label | |
|---|---|---|---|---|
| payment.amount_money.amount | Payment amount | Total | Amount | |
| payment.amount_money.currency | Currency | CurrencyCode | Currency | |
| payment.created_at | Charge date | Date | Transaction date | |
| payment.note | Description | Reference | Reference | |
| payment.id | Charge id | BankTransactionID | Bank line id |
5 fields flow from Square into Xero.
| Square field | Label | Xero field | Label | |
|---|---|---|---|---|
| invoice.invoice_number | Invoice number | InvoiceNumber | Invoice number | |
| invoice.invoice_date | Issue date | Date | Bill date | |
| invoice.due_date | Due date | DueDate | Due date | |
| invoice.total_money.currency | Currency | CurrencyCode | Currency | |
| invoice.primary_recipient.customer_id | Customer | Reference | Reference |
Click Connect with Square; Square's MCP server registers a Well client automatically. Square's MCP server registers a read-scoped Well client through DCR; no credential paste, no shared secret.
Well discovers Square's card payments, invoices, refunds, customers, payouts, disputes, and inventory adjustments and the the Xero draft bills queue populated by Hubdoc. Match candidates are scored on counterparty name, amount, currency, and reference; you approve any that need a human eye and Well saves the rule for the next batch.
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 Square through its MCP server, which issues short-lived access tokens via Dynamic Client Registration. Well never holds a long-lived Square secret; the server refreshes its own tokens on each session. Well's storage region is configured per workspace regardless of where Square and Xero host theirs.
Read Square records
Scoped to card payments, invoices, refunds, customers, and related records. No access to anything else in your Square 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 Square records
Not granted. Square 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. Square activity arrives in Xero ready to reconcile.
Other ways to connect Square or Xero through Well.

Square
See the Square connector

Xero
See the Xero connector


Square → Freshbooks
Reconcile Square sales, refunds, and customer activity insid…


Square → Bill.com
Reconcile Square supplier-side activity inside Well, forward…


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

Bill.com
See the Bill.com connector

Melio
See the Melio connector

Freshbooks
See the Freshbooks connector