TaxRate
object type
A tax rate cell — ONE effective-dated (jurisdiction × category × window) cell of OUR canonical rate tables, carrying both the rule outcome (treatment) AND the rate (integer parts-per-million — 6.625% = 66250). Shared-canonical + read-only on the wire. A DATED_SCHEDULE: half-open [startAt, endAt) windows, splice-normalized PER (jurisdiction × category) sub-schedule — the record set IS the full rate history; supersede, never rewrite. exempt/zero_rated cells price at 0 (zero_rated keeps input credits — the distinction feeds remittance). compound = tax-on-tax; combined = the HST marker (this rate replaces the ancestor stack). An optional threshold scopes the rule to unit prices strictly below it (minor units of the country currency — the BC childrens-clothing shape).
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 TX-… — the same for everyone, shared reference data. |
type | String String! | The kind of record — always TaxRate 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 or doomed. |
parentId | ID ID! | The owning TaxJurisdiction; for a TaxRate parentId === rootId — always present. |
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. |
category | TaxCategory TaxCategory! | The taxed category. One sub-schedule per (jurisdiction × category). Immutable. |
treatment | TaxTreatment TaxTreatment! | The rule outcome. Immutable — supersede to change. |
ratePpm | Int Int! | The rate in integer parts-per-million (0..1000000; 6.625% = 66250). 0 ⟺ zero_rated/exempt. Immutable. |
compound | Boolean Boolean! | Tax-on-tax: applies over the base plus prior stacked tax. Immutable. |
combined | Boolean Boolean! | The HST marker: this rate replaces the ancestor-chain stack. Immutable. |
thresholdMinorUnits | Int | Optional: the rule applies to unit prices strictly below this (minor units of the jurisdiction country currency); at-or-above falls through to the node standard-category cell. Immutable. |
startAt | String String! | The window start (inclusive; UTC ISO-8601). Immutable. |
endAt | String String! | The window end (exclusive; UTC ISO-8601; always present — far-future = the standing rate). Moves only via the system splice trim. |