AlmondTill/G3N API

RecordCashEntryInput

input type

Record-input for recordCashEntry: a POSITIVE magnitude (the port stamps the type-law sign — paid_in/pickup INTO the drawer, paid_out/drop OUT); reason REQUIRED; glCategory REQUIRED on paid_in/paid_out and refused otherwise. The session must be open.

Fields

FieldTypeRequiredNotes
tillSessionIdID ID!yesNo further notes.
entryTypeManualCashEntryType ManualCashEntryType!yesNo further notes.
currencyString String!yesThe entry currency (the per-currency drawer).
amountMinorInt Int!yesThe POSITIVE magnitude in minor units — the port stamps the sign.
reasonString String!yesREQUIRED — the merchant's drawer-op reason ('window cleaner', 'safe drop 14:00').
glCategoryStringnoThe GL category — REQUIRED iff paid_in/paid_out; a bounded free string (the GAAP journal mapping is a named deferral).
captionStringnoOptional caption override.
refsString [String!]noProvenance document refs (bounded free strings).

Used by