Xero data extractor
Import a new customer’s Xero data — accounts, bank transactions, bank transfers, and branding themes, and 17 more object types — into your product as normalised, relational tables. Vern handles Xero’s auth, pagination and rate limits, so onboarding a customer off Xero doesn’t mean building and maintaining that plumbing yourself.
- Objects extracted
- 21
- Incremental
- 14
- Authentication
- Managed by Vern
Every queryable object type
Re-runs pull only what changed
Stored encrypted, never in the transcript
Export coverage
What Vern pulls from Xero
Know exactly what comes across before you migrate. Every object below is normalised into typed tables with referential keys preserved, so the relationships between a customer's records survive the import.
- Accounts
- Bank transactions
- Bank transfers
- Branding themes
- Contact groups
- Contacts
- Credit notes
- Currencies
- Employees
- Invoices
- Items
- Manual journals
- Organisations
- Overpayments
- Payments
- Prepayments
- Purchase orders
- Repeating invoices
- Tax rates
- Tracking categories
- Users
Managed by Vern
The parts you'd otherwise build yourself
Authentication
Vern collects whatever this source needs to authenticate, stores it encrypted in a vault, and attaches it to every request. Credentials never enter the agent transcript.
Pagination
Vern detects and handles Xero's paging model — cursor, page number or offset — internally, and returns one consistent, de-duplicated result set. You import a customer's complete data without ever managing a page token.
Rate limits
API sources rarely publish their real rate ceiling until you hit a 429 mid-import, and many silently cap page size. Vern queues and throttles requests to stay under the limit, so a partial pull never lands a customer in your product with missing data.
Output shape
Normalised JSON per object with referential keys preserved and timestamps in ISO 8601. Delivered as JSON or CSV, pushed to your API or webhook, or loaded straight into your application database.
Schema drift
If Xero changes what it returns between migrations, the agent notices the difference against what it recorded last time and raises it, rather than importing a customer with a column quietly missing.
What it learns
Everything Vern works out about Xero's quirks — field formats, enum values, ID and date patterns — is written down against the source and applied automatically to every customer you migrate off it afterwards.
What your customer provides
- Start Date
- Tenant ID
- Client ID
- Client Secret
- Access Token
Collected once, stored encrypted in a vault, and attached to every request. Credentials are never written into the agent transcript.
API quickstart
Run a Xero migration from your own product
Create the migration, let the agent extract and map, then pull the result out — without your customer ever seeing a Vern dashboard.
API=https://app.vern.so/api/v1
KEY="x-api-key: $VERN_API_KEY"
JSON="Content-Type: application/json"
# 1 — create a migration against Xero
ID=$(curl -sX POST $API/migrations -H "$KEY" -H "$JSON" \
-d '{"name":"Acme onboarding","source":"Xero"}' \
| jq -r .migration.id)
# 2 — hand over the customer's credentials for this run
curl -X POST $API/migrations/$ID/source-connection -H "$KEY" -H "$JSON" \
-d '{"credentials": { ... }}'
# 3 — the agent extracts, maps and previews, stopping before it writes
curl -X POST $API/migrations/$ID/runs -H "$KEY" -H "$JSON" \
-d '{"kind":"generate"}'
curl $API/migrations/$ID/preview -H "$KEY"
# 4 — approve, then pull the normalised rows back out
curl -X POST $API/migrations/$ID/runs -H "$KEY" -H "$JSON" \
-d '{"kind":"execute"}'
curl -X POST $API/migrations/$ID/exports -H "$KEY" -H "$JSON" \
-d '{"slugs":["customers","invoices"]}'The Migration API runs the whole lifecycle over HTTP with an organisation-scoped key. The agent conversation can be streamed into your own UI, and the preview lets you check exactly what an import will produce before a single row is written.
Read the API referenceRelated
Other Accounting sources
Onboarding a customer off Xero?
Bring a real Xero export and we'll show you what lands in your product.