Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Install

Reports

Should you build statements on the reports endpoints? No — build them on ledger data, then use the reports endpoints to prove you got the same answer. Report output is presentation, with no stable row identity to drill from.

Endpoints

Xero

GET /Reports/{ProfitAndLoss,BalanceSheet,TrialBalance,AgedReceivablesByContact,…}

Row-typed output

QBO

GET /reports/{ProfitAndLoss,BalanceSheet,GeneralLedger,TrialBalance,…}

Nested Rows and Columns

NetSuite

Saved searches, SuiteQL, SuiteAnalytics

You define the query

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.

NativeNative
— A field or object exists for it
PartialPartial
— Exists with a caveat that changes what you can build
DerivedDerived
— Not stored — you compute it
AbsentAbsent
— Nothing in the API
Reports fields compared across Xero, QuickBooks Online and NetSuite
ConceptXeroQBONetSuite
Output shape
Partial

Rows[] with RowType

Header, Section, Row, SummaryRow

Partial

Nested Rows / Columns with ColData[]

Native

Whatever your query returns

Stable row identityWhether a report row can be drilled into.
Partial

Some cells carry AccountID

Partial

ColData.id, sometimes

Native

You control it

Comparative periods
Native

periods, timeframe parameters

Native

date_macro, summarize_column_by

Native

Query it

Cash vs accrual basis
Partial

paymentsOnly parameter on some reports

Native

accounting_method parameter

Native

Report or query setting

Dimensional breakdown
Partial

trackingCategoryID parameters

Two at most

Partial

Class and Department columns

Native

Any segment

Aging
Partial

AgedReceivablesByContact / AgedPayablesByContact

One contact at a time

Native

AgedReceivables, AgedPayables

Native

Saved search or SuiteQL

Drill-down to transactions
Absent

—

Absent

—

Native

Native

What differs, and what to do about it

Each difference comes with how to handle it.

Structural

Report rows are presentation, not data

Xero · QBO · NetSuite

Header, section and summary rows are interleaved with data rows, nesting depth carries meaning, and identity is inconsistent. Parsing is possible; drilling from a parsed row back to the transactions behind it generally is not.

Do — Build interactive statements from ledger data. Use the report endpoint on a schedule, assert equality, and surface a variance when it appears.

Sharp edge

Xero's aged reports are per contact

Xero

AgedReceivablesByContact takes one contact. Building a full aging report means one call per customer, against a 60-call-per-minute limit — a hundred customers is close to two full minutes of the organization's budget, and a tenth of a Starter-tier app's 1,000-call day.

Do — Compute aging ourselves from invoices plus unapplied cash, and tie to the ledger's own report for a sample of contacts rather than all of them.

What this changes in the interface

Every difference above that reaches the screen, and what the component does about it.

Our number and their number can differ
Statement components carry a tie-out line: the ledger's total, ours, and the variance. Zero variance is shown, not hidden — its presence is the assurance.
Report rows cannot be drilled
Drill-down is offered from ledger-derived statements only. Where a figure came from a report endpoint, the row is not clickable and says why.

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.

Compared acrossXero docsQuickBooks Online docsNetSuite docs