Match a payment to its invoice
Well reads payments and invoices from Razorpay, matches each payment to the invoice it settled, and forwards the reconciled document to Xero's email-in address.
Razorpay settles in batches; Well decomposes each payout into its component charges and forwards a clean per-customer document to Xero's inbox, with VAT and fee context attached.
The Razorpay integration imports payment data from India's leading payment gateway into Well.
The Xero integration connects Well to your accounting platform for bidirectional data flow.
A payment in Razorpay and the invoice it settles describe one event, but getting the reconciled record into Xero usually means matching them by hand.
Well reads the payments and invoices from Razorpay and the records already in Xero, matches each payment to the invoice it settled, resolves the customer, and forwards the reconciled document to your Xero email-in address. Well never posts journal entries to Xero through its API, so your accountant stays the system of record.
Well reads payments and invoices from Razorpay, matches each payment to the invoice it settled, and forwards the reconciled document to Xero's email-in address.
Well matches the company on a Razorpay payment against the contacts already in Xero and carries the resolved customer onto the forwarded document.
A Razorpay payment that finds no invoice is held in Well's queue with its customer and amount, so nothing is forwarded without a match.
Well forwards reconciled documents to Xero's email-in and never posts journal entries through its API, so the ledger stays your accountant's.
Detects renewal cycles and links the new invoice to the recurring contract. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects when an order is fully captured and links the underlying payments to the order reference. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Captures successful Razorpay payments with currency, fees, and order linkage. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Pulls the paid invoice with its line items, customer, and applied tax. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects payout batches as Razorpay processes them toward your bank. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Captures failed payment attempts with the error code so you can chase the customer or retry. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
Detects refunds against captured payments and links back to the order. 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 merchant response window. Forwarded to Xero's email-in via Hubdoc; Hubdoc extracts contact, dates, totals, and tax type into a draft bill.
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.
4 fields flow from Razorpay into Xero.
| Razorpay field | Label | Xero field | Label | |
|---|---|---|---|---|
| payment.amount | Captured amount | Total | Amount | |
| payment.currency | Currency | CurrencyCode | Currency | |
| payment.created_at | Capture date | Date | Transaction date | |
| payment.id | Charge id | BankTransactionID | Bank line id |
4 fields flow from Razorpay into Xero.
| Razorpay field | Label | Xero field | Label | |
|---|---|---|---|---|
| invoice.number | Invoice number | InvoiceNumber | Invoice number | |
| invoice.date | Issue date | Date | Bill date | |
| invoice.currency | Currency | CurrencyCode | Currency | |
| invoice.customer_id | Customer | Reference | Reference |
Click Connect with Razorpay; Razorpay's MCP server handles authorisation. Razorpay's MCP server registers a read-scoped Well client through DCR; no credential paste, no shared secret.
Well discovers Razorpay's captured payments, refunds, settlements, disputes, subscription cycles, and paid invoices 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 Razorpay through its MCP server, which issues short-lived access tokens via Dynamic Client Registration. Well never holds a long-lived Razorpay secret; the server refreshes its own tokens on each session. Well's storage region is configured per workspace regardless of where Razorpay and Xero host theirs.
Read Razorpay records
Scoped to captured payments, refunds, settlements, disputes, and related records. No access to anything else in your Razorpay 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 Razorpay records
Not granted. Razorpay 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.
Link both tools to Well so each Razorpay payment reaches Xero matched to its invoice with the customer resolved.
Other ways to connect Razorpay or Xero through Well.

Razorpay
See the Razorpay connector

Xero
See the Xero connector


Razorpay → Freshbooks
Reconcile Razorpay sales, refunds, and settlements inside We…


Razorpay → Bill.com
Bridge Razorpay supplier-side activity into Bill.com as sche…


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