AlmondTill/G3N API

FxRate

object type

An FX rate window: ONE effective-dated conversion rate record in the tenant schedule, resolved group (default) → org → LF most-specific-wins at every conversion event. Modes: absolute (explicit buy/sell integer-micro rates — the only group-level mode) · adjust (± ppm over the next-less-specific effective rate, both directions, optional fee) · par (1:1). Doom cancels a not-yet-effective future record only (CONFLICT/IMMUTABLE otherwise — supersede instead). The window/pair/mode/rate fields are wire-IMMUTABLE (the edit surface is caption only). Consumed by the foreign_cash tender lane at the BUY side.

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 FX-… — stable for the record’s life.
typeString String!The kind of record — always FxRate 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 level anchor: the org group itself (group level — parentId === rootId), an Organization, or a LogicalFacility.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
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.
levelString String!The resolution level this record binds. Stored explicit, validated against the real parent at create; immutable.
fromCurrencyString String!The from (tendered/foreign) currency — a platform-registry code inside the anchor organization's allowed set. Immutable — supersede to change.
toCurrencyString String!The TO (settlement) currency — the org default currency at resolution; a platform-registry code inside the anchor organization's allowed set. Immutable.
modeString String!The record mode. Immutable.
buyRateMicroIntAbsolute only: the rate WE buy the from-currency at, integer micro to-per-from. Immutable.
sellRateMicroIntAbsolute only: the rate WE sell the from-currency at, integer micro to-per-from. Immutable.
adjustPpmIntAdjust only: the signed ± ppm applied to both directions (buy AND sell) of the next-less-specific effective rate. Immutable.
feeMinorIntAdjust only, optional: a fee in TO-currency minor units, reducing the credited amount at conversion. Immutable.
startAtString String!The window start (inclusive; UTC ISO-8601) — set at birth (absent in the create input = effective NOW, server-stamped), immutable thereafter.
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