Tenancy and multi-entity
What is the boundary of one set of books? A Xero tenant and a QuickBooks realm are each one company, full stop. A NetSuite account holds a subsidiary tree with elimination and consolidated rates built in. A group spanning both is the normal case, and only one of them will help you.
Endpoints
Xero
GET /connections, GET /Organisation
One organization per tenant id
QBO
GET /companyinfo/{realmId}
One company per realm
NetSuite
SuiteQL: FROM subsidiary
A hierarchy inside one account
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 ids are not globally unique
QBO · NetSuiteIds are unique per entity type within a realm. Invoice 145 and Bill 145 are different documents. Any cache key, URL or React key built from the id alone will collide, and the collision looks like data corruption rather than a key bug.
Do — Key everything as {system}:{tenantId}:{entityType}:{id}. Make the canonical id a branded string so a bare source id cannot be assigned to it.
Consolidation is your job on two of the three
Xero · QBO · NetSuiteA group on Xero or QBO is n disconnected tenants. You own the entity tree, the intercompany elimination and the currency translation. On NetSuite all three exist already, and ignoring them produces double-counted intercompany revenue.
Do — Own the entity tree in your schema. Map NetSuite subsidiaries into it rather than adopting them as the tree, so a mixed group — two Xero orgs plus a NetSuite subsidiary, which is common — still has a coherent parent.
Xero switches tenant with a header, and it is easy to get wrong
XeroThe same access token serves every connected organization; the Xero-Tenant-Id header decides which one you are talking to. A misthreaded header writes an invoice into the wrong company's books, and the API cannot tell you that you meant otherwise.
Do — Never carry the tenant id in ambient context. Pass it explicitly through every adapter call, and assert it against the record's expected tenant before any write.
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.
- An entity may be one of several in a group
- EntityMark appears wherever a figure belongs to one entity, and consolidated figures state their basis and their elimination treatment.
- Ids collide across entity types
- Every deep link and cache key carries system, tenant and entity type. Search results show the source and entity alongside the 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.
- EntitySelectorExplicit scope. Standalone vs. consolidated visually distinct.
- EntityMarkBank/merchant logo with the full fallback ladder.
- ConsolidationViewEntity columns, eliminations, NCI, group total.
- ConsolidatedPresenting a parent and the entities it controls as one economic entity, with intercompany balances and transactions eliminated
- EliminationA consolidation-only entry removing intercompany balances, transactions and unrealized profit, so the group does not report trading with itself
- StandaloneA single entity, without consolidation
- Multi-entity & FXConsolidation and currency are where finance UIs produce wrong numbers without anyone noticing. Both ask you to add up figures that look like they add up and don't: two entities that trade with each other, or euros and dollars in one column.
Compared acrossXero docsQuickBooks Online docsNetSuite docs