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!yes
entryTypeManualCashEntryType ManualCashEntryType!yesOne of the values of [ManualCashEntryType](/types/ManualCashEntryType/).
currencyString String!yesThe entry currency — a platform-registry code inside the register's organization's allowed set.
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