CashEntry
object type
ONE posted cash-drawer ledger fact: the sign is the direction (positive = cash into the drawer).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | |
type | String String! | |
caption | String String! | The derived display caption — entryType + currency + signed minor; never editable. |
status | String String! | The state: active | doomed (doomed = voided, reserved for a future void-family flow). |
parentId | ID ID! | The parent TillSession. |
rootId | ID ID! | |
entryType | CashEntryType CashEntryType! | The canned entry type. |
currency | String String! | The entry currency. |
amountMinor | Int Int! | The signed minor-unit amount — the sign IS the drawer direction. |
reason | String | The reason — required on the manual ops; auto-generated on float_in/count_adjust. |
glCategory | String | The GL expense/income category — rides paid_in/paid_out only. |
refs | String [String!] | Provenance document refs (bounded free strings — typed refs land with their writers). |
fx | CashEntryFx | The FX capture. |
overdrawn | Boolean | Present (true) exactly when this entry drove its currency's drawer total negative. |
createdAt | String String! | |
updatedAt | String String! | |
revision | ID ID! | |
revisionNum | Int Int! |