AlmondTill/G3N API

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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like TJ-… — the same for everyone, shared reference data.
typeString String!The kind of record — always TaxJurisdiction here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdIDThe id of the record this one belongs to; a record at the top of your group names the group itself.
rootIdID 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.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID 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.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
levelTaxJurisdictionLevel TaxJurisdictionLevel!The depth class — a child sits strictly deeper than its tree parent (skips legal: cities under states). Immutable.
treeParentIDThe mutable tree pointer — absent ⟺ a country root. Moves stay in-country.
regimeTaxRegimeCountry roots only: sales_tax (rates stack down the chain) | vat_gst (single rate). Descendants inherit by walk-up.
countryCodeStringCountry roots only: ISO 3166-1 alpha-2 (uppercase) — also the one-live-tree-per-country global uniqueness marker value.
currencyCodeStringCountry roots only: ISO 4217 (uppercase) — the currency TaxRate thresholds are minor units of.
codeStringOptional official geography code (ISO 3166-2 region / FIPS county / place code …) — seed-pipeline provenance; NOT an identity key.

Used by