Journals and the general ledger
Can you get the actual general ledger out? Xero yes, through a read-only append-only feed that is the best endpoint in any of these APIs. NetSuite yes, through SQL. QuickBooks no — there is no GL endpoint, and that absence shapes every statement you build on it.
Endpoints
Xero
GET /Journals?offset={JournalNumber}
Read-only, gapless, every posting. Advanced partner tier only since March 2026
QBO
None
Reports API, or reconstruct from entities
NetSuite
SuiteQL over transactionaccountingline
The real GL, joinable
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.
Xero's Journals endpoint is the crown jewel and is easy to miss
XeroIt emits the actual general ledger — every posting from invoices, payments, bills, bank transactions and manual journals — as immutable, sequentially numbered records. Paginate by offset on JournalNumber and you have an append-only, gapless, perfectly replayable ledger feed.
Do — Anything that reconciles or re-derives statements builds on /Journals, not on /Invoices. Store the highest JournalNumber seen as the sync cursor; it never goes backwards. Since March 2, 2026 Xero reserves the endpoint for apps on its Advanced partner tier that have passed a security assessment and had the use case approved — so make hasGlFeed a capability you discover, and keep a reconstruct-from-documents fallback for apps without it.
The Xero GL feed now sits behind a partner tier
XeroFrom March 2, 2026 the Journals endpoint is available only from the Advanced tier of Xero's developer pricing, and only after an initial and annual security assessment and use-case approval. ManualJournals stays open on every tier, but it holds only the journals people typed — not the postings that invoices, payments and bank transactions generate.
Do — Treat Journals access as a per-app capability, not a property of Xero. Without it, statements are reconstructed from documents and tied to the Reports endpoints, exactly as on QBO, and the provenance label says so.
QuickBooks has no general ledger endpoint
QBOThere is no way to ask QBO for postings. Your three options are the Reports API (correct totals, presentation-shaped rows, no stable ids), reconstructing postings from every transaction entity (you then own the correctness of Intuit's tax and FX posting rules, forever), or mirroring entities via change data capture and deriving statements from the mirror.
Do — Reports API for tie-out, an entity mirror for detail. Display which one produced the number; the two will occasionally disagree.
NetSuite requires you to pick the right line table and book
NetSuitetransactionline is the transaction's lines; transactionaccountingline carries the debit and credit amounts, per accounting book. Query the wrong one and you get quantities without postings, or every book summed together.
Do — Always filter posting = 'T' and accountingbook explicitly. Never rely on the default book being 1 without checking the account's configuration.
The same fact, different payloads
Stacked, not tabbed, so you can compare two shapes without holding one in your head.
Xero — a journal from the read-only GL feed
NetSuite — the GL for a period, primary book
QBO — the closest thing, and it is a report
The type the components consume
Xero hands you one signed NetAmount, QBO a PostingType enum, NetSuite two columns. Store two columns — the conversion only runs one way without loss.
What this changes in the interface
Every difference above that reaches the screen, and what the component does about it.
- QBO statements have no posting-level backing
- Every statement component declares its provenance — reconstructed or reported — and shows the tie-out variance against the ledger's own report. A controller trusts the variance line more than the chart.
- Xero GL lines carry no party
- Drill-down from a GL line goes to the source document for the party, rather than showing a blank counterparty column.
- NetSuite postings are per book
- The book is part of the statement header, alongside entity and period. Two books are two statements, never one merged number.
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.
- JournalEntryDebit and credit as two columns. No signed-column variant.
- JournalEntryTableAll entries, with the gapless-numbering check.
- AccountRegisterGL detail with a running balance.
- LedgerTableDouble-entry with debit/credit columns and a balance check.
- Journal entryA balanced set of debit and credit lines posted to the GL
- PostingCommitting an entry to the ledger, making it immutable
- SubledgerThe detail, by customer, vendor or asset, whose total must equal its control account in the GL
- The accounting modelEvery Lopifi component sits on one data model, and if the model is wrong no amount of design saves the product. This page defines it, from the journal line up to basis and materiality.
Compared acrossXero docsQuickBooks Online docsNetSuite docs