Tax
Who computes the tax, and can you override it? The messiest area of the three APIs. QuickBooks in the United States computes tax itself and will not let you create rates; everywhere else you carry your own. And rounding rules differ enough that re-deriving tax from rate times base is always wrong.
Endpoints
Xero
GET /TaxRates
Rates with TaxComponents[] for compound tax
QBO
SELECT * FROM TaxCode / TaxRate
Plus the TaxService endpoint outside the US
NetSuite
taxcode, taxgroup, taxtype, nexus
Jurisdiction model
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 US is a different product from QuickBooks elsewhere
QBOUnder automated sales tax you cannot create tax rates through the API, and the tax on a transaction is computed by Intuit from the addresses on it. Amounts you send may be silently replaced. Outside the US, GlobalTaxCalculation and explicit tax codes behave the way Xero's do.
Do — Expose canCreateTaxRates as a capability. The tax UI is read-mostly where it is false, and the write path does not promise a tax amount it cannot guarantee.
Compound tax survives only as a list
Xero · QBO · NetSuiteXero's TaxComponents and QBO's TaxLine both express 'this 13% is 5% federal plus 8% provincial'. A canonical taxAmount scalar throws that away — and the components are exactly what a tax return needs.
Do — Model tax as { code, name, components: [{ name, rate, amount }], total }. The scalar is a computed property of the breakdown, not the storage.
Never re-derive tax from rate times base
Xero · QBO · NetSuiteRounding differs per system and per jurisdiction: per line or per document, half-up or half-even. Recomputing produces a number that is right most of the time and off by a cent on the invoices someone is looking at.
Do — Store the source's amount. If you display a rate, display the source's rate. Where you must compute — a preview before a write — mark it as an estimate until the source answers.
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.
- Tax may not be editable
- The tax field is disabled with an explanation where the source computes it, rather than accepting input the write will discard.
- Compound tax has parts
- The tax total is expandable into its components in the document detail. One number with no breakdown is not enough to file anything.
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.
- BillFormPer-line coding, required evidence, discount ROI surfaced.
- CheckoutSummaryItemized total with fees and tax.
- InvoiceA claim on a customer
- BillA claim against us
- 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