Reading, paging and delta sync
How do you get everything out, and then keep it fresh? Xero pages 100 records at a time against a daily cap of 5,000 calls per organization. QuickBooks queries 1,000 rows with a SQL-like syntax. NetSuite's REST list endpoints return ids only — use SuiteQL, or the sync will not finish. Volatile: verify the numbers.
Endpoints
Xero
?page=1&pageSize=1000, If-Modified-Since
Journals page by offset instead
QBO
STARTPOSITION / MAXRESULTS, /cdc
Change data capture for deltas, 30-day lookback
NetSuite
SuiteQL with limit / offset
REST list endpoints return ids only
The same concept in three vocabularies
Read across a row. An empty cell means the concept has nowhere to live in that system. Design around it; don't paper over it.
- Native
- — A field or object exists for it
- Partial
- — Exists with a caveat that changes what you can build
- Derived
- — Not stored — you compute it
- Absent
- — Nothing in the API
What differs, and what to do about it
Each difference comes with how to handle it.
NetSuite REST list endpoints return ids, not records
NetSuiteGET /record/v1/invoice returns a page of { id, links } objects. Fetching 5,000 invoices that way is 5,001 calls against a concurrency limit in the single digits. This is not an optimization problem; it is the difference between a sync that finishes and one that does not.
Do — Use SuiteQL for every bulk read. Reserve the REST record service for single-record reads and for writes.
Deletes are invisible in two of the three
QBO · NetSuiteXero never truly deletes — it flips a status, so a delta sync sees it. QBO surfaces deletes only through change data capture, which looks back 30 days at most, so a poll-only integration — or one that was offline for a month — accumulates ghost records forever. NetSuite hard-deletes and the record simply stops existing.
Do — Poll for changes, but reconcile the id set periodically: fetch all ids for a window and mark anything missing as gone. Without that pass, aging reports quietly include documents that no longer exist.
Xero's daily cap makes backfill a scheduling problem
XeroXero allows 5,000 calls per organization per day (1,000 on the free Starter tier), 60 per minute and five in flight. A full history for a large organization cannot be fetched in one day. Any sync that assumes it can complete in one run will fail partway through and, if it is not resumable, start again from the beginning tomorrow. Paid tiers also meter monthly egress — the bytes your GETs download — so re-reading unchanged history now costs money as well as time.
Do — Persist a cursor per endpoint — the Journals offset, the highest UpdatedDateUTC — and resume from it. Show sync progress to the user as a real, multi-day state.
Modified-since is whole-record, not field-level
Xero · QBO · NetSuiteAll three tell you a record changed and none tells you what changed. A trivial edit re-delivers the whole document, and a sync that recomputes downstream state on every delivery does a great deal of unnecessary work.
Do — Hash the normalized record and skip downstream work when the hash is unchanged. It also gives you the before-and-after that QBO's missing audit trail does not.
The same fact, different payloads
Stacked, not tabbed, so you can compare two shapes without holding one in your head.
QBO — paged query, then change data capture for deltas
Xero — the GL feed, resumable by construction
NetSuite — SuiteQL, because the REST list gives you ids
What this changes in the interface
Every difference above that reaches the screen, and what the component does about it.
- Sync can take days
- Sync state is a first-class object in the interface: last completed, in progress with a real position, throttled, failed and resumable. Never an indeterminate spinner.
- Data has an age
- Every figure sourced from a mirror carries an as-of time. 'Synced 4 minutes ago' is content, not chrome.
- Ghost records are possible
- Reconciliation passes are surfaced: when a document disappears from the source, the UI says it was removed and when we noticed, rather than deleting it silently.
Where the accounting is explained
What consumes this payload
The components read the normalized object above. Here are the surfaces it feeds, the glossary entries for its concepts, and the document that explains the accounting.
- TransactionTableThe workhorse. Virtualized, sticky, priority-collapsing.
- StaleIndicatorLast-synced + retry.
- AsOfTimestamp with live relative formatting and a stated timezone.
- As atThe point-in-time label for a balance sheet
- BasisCash or accrual
- Ledger APIs: Xero, QuickBooks Online, NetSuiteXero, QuickBooks Online and NetSuite each have their own idea of what an invoice is. This page compares them object by object, so a component built against one still works on the other two.
Compared acrossXero docsQuickBooks Online docsNetSuite docsVerify quantitative claims