TaxJurisdiction
object type
A tax jurisdiction — ONE node of OUR canonical jurisdiction tree (roots = countries; full local depth for the US). Shared-canonical, ruled: AT builds and maintains this data centrally; merchants reference it (TaxRegistration nexus, ExemptionCertificate scopes, the calc) and never edit it — the wire is read-only (writes are kit-channel: the US+CA seed slice). The tree is the mutable treeParent pointer; regime/countryCode/currencyCode ride the country root only (descendants inherit by walk-up).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like TJ-… — the same for everyone, shared reference data. |
type | String String! | The kind of record — always TaxJurisdiction here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID | The id of the record this one belongs to; a record at the top of your group names the group itself. |
rootId | ID ID! | The id of the record this one is listed under — a country root names itself; a rate names its owning jurisdiction. Shared reference data carries no organization group here. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
level | TaxJurisdictionLevel TaxJurisdictionLevel! | The depth class — a child sits strictly deeper than its tree parent (skips legal: cities under states). Immutable. |
treeParent | ID | The mutable tree pointer — absent ⟺ a country root. Moves stay in-country. |
regime | TaxRegime | Country roots only: sales_tax (rates stack down the chain) | vat_gst (single rate). Descendants inherit by walk-up. |
countryCode | String | Country roots only: ISO 3166-1 alpha-2 (uppercase) — also the one-live-tree-per-country global uniqueness marker value. |
currencyCode | String | Country roots only: ISO 4217 (uppercase) — the currency TaxRate thresholds are minor units of. |
code | String | Optional official geography code (ISO 3166-2 region / FIPS county / place code …) — seed-pipeline provenance; NOT an identity key. |