Tender
object type
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! | |
type | String String! | |
caption | String String! | The derived display caption — tenderType + currency + signed applied minor; never editable. |
status | String String! | |
parentId | ID ID! | The parent Order. |
rootId | ID ID! | |
tenderType | TenderType TenderType! | The canned tender type. |
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. |
paymentId | ID | The Payment this card tender was spawned by. |
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! | |
updatedAt | String String! | |
revision | ID ID! | |
revisionNum | Int Int! |