Sales invoices
What does an accounts-receivable invoice look like in each API? Three payloads, one journal. Xero posts a line to an account; QuickBooks posts it to an item that points at an account; NetSuite posts it to an item sublist with a segment set. And QuickBooks has no status field at all.
Endpoints
Xero
GET /Invoices?where=Type=="ACCREC"
Shared with bills — the filter is mandatory
QBO
SELECT * FROM Invoice
Its own entity
NetSuite
SuiteQL: FROM transaction WHERE type='CustInvc'
REST /record/v1/invoice for single records
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.
QuickBooks has no invoice status
QBOThere is no Status field on a QBO Invoice: open, paid, part-paid and overdue are computed from Balance, TotalAmt and DueDate. A voided invoice keeps its record and zeroes its amounts, so counts over-report while sums do not.
Do — Derive it in one function at normalization, store it, and mark it derived. Never present it as the source's own.
Xero serves receivables and payables from one endpoint
XeroGET /Invoices returns ACCREC and ACCPAY documents together. An aging table fed from that endpoint without a Type filter shows payables as receivables, with plausible-looking numbers and the wrong sign on the balance sheet.
Do — Every Xero invoice read carries a Type filter. Make it a required parameter in the adapter's function signature so it cannot be forgotten.
QuickBooks wants an item where Xero wants an account
QBOYou cannot post a QBO invoice line directly to an income account — the line references an Item, and the item carries the account. Creating invoices from a source that only knows accounts means resolving or creating a service item per account, and that item then lives in the customer's product list permanently.
Do — Maintain a small, explicitly named set of integration items rather than creating one per account on the fly. Show the user which item a line will use before the first write.
Dimensions sit at different levels
Xero · QBO · NetSuiteXero always puts tracking on the line. QBO puts Department on the header and Class on either, depending on a company preference. NetSuite allows both and lets the line override the header.
Do — Fan header values down to every line at normalization and record that you did, so an edit UI does not write per-line values back to a system that cannot store them.
The same fact, different payloads
Stacked, not tabbed, so you can compare two shapes without holding one in your head.
Xero — account-based line, tracking on the line
QBO (non-US) — item-based line, numeric tax code, department on the header
NetSuite — item sublist, segments per line, subsidiary on the header
The type the components consume
What this changes in the interface
Every difference above that reaches the screen, and what the component does about it.
- QBO status is derived
- The status pill on a QBO document is annotated as derived, and the detail drawer shows the balance arithmetic behind it. A user reconciling to QuickBooks must be able to see why we said 'part paid'.
- Xero shares an endpoint between AR and AP
- Every ledger table takes an explicit document type. There is no 'all invoices' view, because there is no such thing.
- Item is required on some sources and absent on others
- The line editor's item field is required per capability, never per component. The same InvoiceForm renders an account picker on Xero and an item picker on QBO.
- Overdue is a computed view, not a stored state
- Aging buckets are computed against an explicit as-of date shown in the header, not against 'now'. See the AsOf component.
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.
- InvoiceFormWith the revenue-recognition preview per line.
- InvoiceDetailBalance due as the hero, not total.
- InvoiceRegisterGapless-numbering check surfaced.
- InvoiceCardInvoice summary with aging state.
- InvoiceA claim on a customer
- AgingGrouping open receivables or payables into buckets by days past due date — current, 1–30, 31–60, 61–90, 90+
- DSODSO is a liquidity and working-capital metric, calculated as (Ending AR ÷ Credit sales for the period) × Days in the period.
- Order to cash (AR)The receivables stack from quote to revenue: quote → order → fulfillment → invoice → collection → cash application → revenue.
Compared acrossXero docsQuickBooks Online docsNetSuite docs