Last updated:
A GoCardless to Xero integration applies each confirmed Direct Debit to the right Xero sales invoice through a GoCardless clearing account, reconciles net payouts against the bank feed with fees booked as expense, reverses failed and charged-back collections, turns refunds into credit notes, and sends each currency's payout to the right Xero organisation.
GoCardless in Xero already covers the standard sync. If it handles your objects, volumes and edge cases, use it. This page is about what changes when it does not: custom objects and fields, duplicate handling, conditional logic, and someone owning the failures.
GoCardless knows everything about a collection - the mandate it was taken under, the payment that cleared on Thursday, the per-transaction fee, the payout that lands net in your bank account next week, the Direct Debit that fails and is clawed back four days later. Xero, and whoever closes your books inside it, needs all of that as accounting: the invoice marked paid, the payment sitting in the right account, the payout reconciled against the real bank line, the fees booked as expense.
The gap between those two systems is where the manual work lives. The integration reads each relevant event from GoCardless, applies your matching and posting rules, and keeps Xero in step so nobody has to reconcile a batched payout against a spreadsheet of individual payments at the end of the month.
| GoCardless object / event | Becomes in Xero | Notes |
|---|---|---|
| Confirmed payment | Payment applied to the matching sales invoice | Posted into a GoCardless clearing account, matched by reference, amount, and mandate |
| Customer / mandate | Contact | Mapped once, so every future payment ties to the same debtor |
| Payout | Bank transaction reconciled against the bank feed | Nets many payments minus fees, refunds, and failures in that batch |
| Provider fees | Expense booking on the payout | Per-transaction plus percentage, deducted before the money arrives |
| Failed / charged-back payment | Reversing payment, invoice reopened | Direct Debit can fail days after it was reported paid |
| Refund | Credit note against the contact | Reverses the original payment on the refund date |
| Subscription billed in GoCardless | Sales invoice raised in Xero | Only when the recurring billing lives in GoCardless, not Xero |
You choose the clearing account, the fee account, and the matching rules with us once, usually together with your accountant. Every payment after that follows them, so the clearing account balance becomes a check that something is wrong rather than a monthly puzzle.
A CSV import or a generic connector books the clean collections and leaves the awkward ones for month-end:
GoCardless payment, payout, fee, refund, and failure events are consumed by webhook or on a schedule, validated, matched to the right Xero contact and invoice, and posted through your agreed clearing and fee accounts. Payouts are reconciled against the bank feed so the numbers close themselves.
Each GoCardless event ID and payment ID is stored alongside the Xero payment or credit note it produced. A redelivered webhook therefore finds its Xero record and stops, and because events are applied in sequence, a failed event arriving after paid_out reverses the payment that was already applied rather than racing it. Mandate, payment, and customer data runs through AWS infrastructure hosted in the EU.
Running it is part of the deal: we monitor every payout, respond to alerts, and keep up with GoCardless and Xero API changes, token rotation, and rate-limit shifts under an SLA. The close no longer depends on someone remembering to run a sync.
If you collect a handful of Direct Debits a month against invoices you already raise in Xero, GoCardless in Xero does the job, and that is what we will recommend. A managed pipeline pays off when volume climbs, when subscriptions are billed in GoCardless rather than Xero, when payouts span currencies, or when fees, refunds, and late failures turn every payout into a manual reconciliation your finance team should not have to do by hand.
Weighing an iPaaS tool, a freelancer or an in-house build instead? Compare the options →
Need this integration built and permanently operated? Tell us which systems connect and what data has to move. Fixed-price scoping quote within 48 hours.