Xero Integration · Setup & Support Guide
Connecting InvoiceHelm to Xero
Everything you need to connect your Xero organisation, understand the granular permissions InvoiceHelm requests, review how invoice syncing and payment write-back work, and resolve connection issues.
1. Connecting InvoiceHelm to Xero
You can connect Xero in two ways—both use Xero's standard full-page OAuth 2.0 consent screen with all tokens encrypted at rest on InvoiceHelm's servers:
- Sign up or Sign in with Xero (recommended): Click Sign up with Xero on the registration page (or Sign in with Xero on the login page). Approve the Xero consent screen and select your Xero organisation. InvoiceHelm creates or links your workspace and connects your organisation automatically. You can also launch InvoiceHelm directly from Xero's App Launcher.
- Connect from Account & Settings: If you already have an InvoiceHelm account, open Account & Settings → Accounting & Integrations, click Connect Xero account, and select the Xero organisation you want to sync. Agency / Bookkeeper plans can connect multiple client organisations.
2. OAuth permissions (granular scopes)
InvoiceHelm follows Xero's 2026 granular scope standard and requests only the specific permissions required for UK B2B late-payment credit control:
| Scope | Purpose in InvoiceHelm |
|---|---|
openid, profile, email |
Identifies you when you use Sign up / Sign in with Xero so InvoiceHelm can create or link your user account without a separate password. |
offline_access |
Maintains a secure, encrypted refresh token so automated webhook updates and payment write-backs continue working without requiring you to re-authenticate every 30 minutes. |
accounting.invoices |
Reads authorised sales invoices (ACCREC) and tracks invoice status updates (Paid, Voided, Deleted, or Reopened) so overdue reminders stop immediately once settled. |
accounting.payments |
Writes settled principal payments collected through InvoiceHelm's Stripe payment portal back to the matching Xero invoice automatically (capped at the remaining principal). |
accounting.contacts |
Reads debtor names and email addresses for pulled invoices and optionally pushes contact edits you approve in InvoiceHelm back to Xero. |
accounting.settings.read |
Looks up active bank or payment-enabled accounts in your Xero Chart of Accounts so payment write-backs never use hardcoded account codes. |
3. How invoice sync & Stripe payment write-back work
- Real-time Xero webhooks (targeted fetch): When an invoice is created, paid, or voided in Xero, Xero sends a signed webhook to InvoiceHelm. InvoiceHelm fetches only the affected invoice ID(s) rather than polling your entire ledger, keeping API usage minimal.
- Delta sync (
If-Modified-Since): On-demand syncs in Settings use Xero'sIf-Modified-Sincedelta header and pagination, skipping already-settled invoices so your Xero API quota stays low. - Stripe payment write-back: When a debtor settles an invoice through InvoiceHelm's payment portal, InvoiceHelm posts the principal payment back to the linked Xero invoice against your active Xero bank account, with idempotency markers to prevent duplicate postings.
- Paid-invoice conflict protection: If an invoice already marked Paid in InvoiceHelm is later voided or reopened in Xero, InvoiceHelm never overwrites your settled payment silently—it surfaces a Needs Review banner on your dashboard with one-click resolution options.
4. Disconnecting & reconnecting Xero
- Disconnecting from InvoiceHelm: Open Account & Settings → Accounting & Integrations and click Disconnect next to the organisation. InvoiceHelm immediately removes the tenant connection in Xero via Xero's Connections API (
DELETE /connections/{connectionId}), erases stored OAuth tokens, and stops syncing. On multi-organisation Agency workspaces, disconnecting one client organisation leaves your other connected Xero organisations active. - Disconnecting from inside Xero: If you remove InvoiceHelm under Xero → Settings → Connected Apps, InvoiceHelm detects the revoked authorisation on the next sync or webhook, marks the connection as Expired, and displays a Reconnect Xero banner at the top of your dashboard.
- Reconnecting: Click Reconnect Xero from the dashboard banner or Reconnect in Settings to re-authorise your organisation in one step.
5. Troubleshooting & support
My dashboard shows "Xero connection needs reconnecting"
This appears when InvoiceHelm was disconnected inside Xero, your refresh token expired, or Xero requires updated granular permissions (insufficient_scope). Click Reconnect Xero on the banner (or in Settings) to re-authorise.
A Stripe payment was not written back to Xero
Check that your Xero organisation has at least one ACTIVE bank account (or an active account with Enable payments to this account turned on) and that the Xero connection status is Active in Settings. Payment write-back activity and any skip reasons are recorded on each invoice's audit timeline.
Need help from our team?
Reach us via our contact form or email [email protected]. Include your Xero organisation name and the approximate time of the issue (never send passwords or API keys).