Tender
object type
ONE applied tender: FSM-LESS by ratified intent (SPEC_CATALOG / — status is always active; the lifecycle is its Payment / the money facts); sysId-LESS (the class); IMMUTABLE — reversal = a NEW refund tender row (negative appliedMinor), never an edit. Posted ONLY by applyTender, refundTender, and the refund writers (refundReturn/posReturn method=cash) — each in ONE transaction with the Order rollup stamp (+ the drawer entries for cash).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | No further notes. |
type | String String! | No further notes. |
caption | String String! | The derived display caption — tenderType + currency + signed applied minor; never editable. |
status | String String! | FSM-less: always active. |
parentId | ID ID! | The parent Order. |
rootId | ID ID! | No further notes. |
tenderType | TenderType TenderType! | The canned tender type (SPEC_REGISTRY row 92). |
appliedMinor | Int Int! | SIGNED minor units APPLIED toward the order balance — positive = payment, negative = a refund tender. |
currency | String String! | The settlement currency — the order currency snapshot. |
collectedMinor | Int | CASH, positive tenders: the PHYSICAL cash handed over (before change, tip included). |
changeMinor | Int | CASH: the physical change handed back (the change_given drawer lane). |
tipMinor | Int | The tip captured at tender. |
roundingDeltaMinor | Int | The cash-rounding ledger note (settling cash tenders): roundedDue − exactDue — the sale total NEVER changes. |
externalCard | TenderExternalCard | The pinpad capture (external_card tenders only). |
fx | TenderFx | The foreign-cash capture (foreign_cash tenders only). |
paymentId | ID | The Payment this card tender was spawned by (card tenders only; the payment read tells the processor story). |
instrumentId | ID | The StoredValueInstrument this tender drew from or credited. |
orgCustomerId | ID | The OrgCustomer house account this tender charged or credited. |
returnId | ID | The Return this refund tender settles. |
tillSessionId | ID | The drawer session a cash tender settled to/paid out of. |
reason | String | The caller's reason (required on refund tenders). |
refs | String [String!] | Provenance document refs (bounded free strings). |
createdAt | String String! | No further notes. |
updatedAt | String String! | No further notes. |
revision | ID ID! | No further notes. |
revisionNum | Int Int! | No further notes. |