AlmondTill/G3N API

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

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 TX-… — the same for everyone, shared reference data.
typeString String!The kind of record — always TaxRate here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active or doomed.
parentIdID ID!The owning TaxJurisdiction; for a TaxRate parentId === rootId — always present.
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.
categoryTaxCategory TaxCategory!The taxed category. One sub-schedule per (jurisdiction × category). Immutable.
treatmentTaxTreatment TaxTreatment!The rule outcome. Immutable — supersede to change.
ratePpmInt Int!The rate in integer parts-per-million (0..1000000; 6.625% = 66250). 0 ⟺ zero_rated/exempt. Immutable.
compoundBoolean Boolean!Tax-on-tax: applies over the base plus prior stacked tax. Immutable.
combinedBoolean Boolean!The HST marker: this rate replaces the ancestor-chain stack. Immutable.
thresholdMinorUnitsIntOptional: 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.
startAtString String!The window start (inclusive; UTC ISO-8601). Immutable.
endAtString String!The window end (exclusive; UTC ISO-8601; always present — far-future = the standing rate). Moves only via the system splice trim.

Used by