Entities and registrations
Model multi-entity legal hierarchies, store state sales tax permits and filing frequencies, and scope API keys, calculations, ledgers, and filings to each subsidiary.
Legal entity hierarchy
Create up to 200 active legal entities per workspace across up to 5 hierarchy levels (root depth 0 through 4). Each entity supports an EIN (XX-XXXXXXX), unique slug code, dbaName, structureType (corporation, llc, partnership, sole_proprietor, nonprofit, government, disregarded_entity, or division), optional parentEntityId, an optional defaultShipFrom address or coordinate pair for automatic origin sourcing, and a taxReportingMode:
separate_filer: Files sales tax returns independently under its own EIN and state permits.consolidated_with_parent: Rolls up reporting into its nearest separate-filer ancestor (exposed asreportingParentEntityId). PassincludeChildren=trueonGET /transactions,GET /transactions/report, andGET /nexus/monitorto aggregate consolidated subsidiaries under a parent entity.
Manage legal entities
Filter GET /entities by status (active or archived), parentEntityId, ein, search, and limit (1 to 200). GET /entities/{entityId} returns the entity profile alongside its registrations and direct children. DELETE soft-archives an entity only when it has no active child entities and no active entity-scoped API keys.
Reference an entity in POST /tax/calculate or query parameters on /transactions, /transactions/report, and /nexus/monitor by passing one of entityId, entityCode, or ein.
{
"legalName": "Acme Retail LLC",
"dbaName": "Acme Direct",
"code": "acme-retail",
"ein": "12-3456789",
"structureType": "llc",
"parentEntityId": "ent_0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d",
"taxReportingMode": "separate_filer",
"isDefault": false,
"defaultShipFrom": {
"address": "117 W Duval St, Jacksonville, FL 32202, USA"
}
}{
"entity": {
"entityId": "ent_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d",
"legalName": "Acme Retail LLC",
"dbaName": "Acme Direct",
"code": "acme-retail",
"ein": "12-3456789",
"einLast4": "6789",
"structureType": "llc",
"parentEntityId": "ent_0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d",
"taxReportingMode": "separate_filer",
"isDefault": false,
"status": "active",
"defaultShipFrom": {
"address": "117 W Duval St, Jacksonville, FL 32202, USA"
},
"metadata": null,
"depth": 1,
"childCount": 0,
"reportingParentEntityId": null,
"createdAt": 1795881600000,
"updatedAt": 1795881600000,
"archivedAt": null
}
}State registrations and permits
Record each state where an entity is registered to collect sales tax, including permitNumber, filingFrequency (monthly, quarterly, or annual), effectiveDate, status (active or closed), and optional notes. Active registrations annotate state rows in GET /nexus/monitor with registered: true and permitNumber, and automatically generate due dates in GET /filings/calendar.
{
"permitNumber": "FL-26-8019482716-4",
"filingFrequency": "monthly",
"effectiveDate": "2026-01-01",
"status": "active",
"notes": "Florida DR-15 monthly return"
}{
"registration": {
"entityId": "ent_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d",
"stateCode": "FL",
"stateName": "Florida",
"permitNumber": "FL-26-8019482716-4",
"filingFrequency": "monthly",
"effectiveDate": "2026-01-01",
"status": "active",
"notes": "Florida DR-15 monthly return",
"createdAt": 1795881600000,
"updatedAt": 1795881600000,
"closedAt": null
}
}API key entity scoping
When creating an API key in /dashboard/keys, you can leave it workspace-wide or scope it to specific legal entities using defaultEntityId and allowedEntityIds:
defaultEntityId: Applied automatically whenever a calculation or ledger call omitsentityId,entityCode, andein.allowedEntityIds: Restricts the key to the listed entities. List queries automatically filter to permitted entities; explicit requests for disallowed entities or workspace-wide writes return HTTP403(forbidden); single-record reads outside scope return HTTP404so subsidiary keys cannot probe other entities.