AlmondTill/G3N API

CommissionEntry

object type

ONE immutable commission fact: the SIGNED minor-unit figure IS the payable direction; ONE entry per (agent × class × winning config × order). Corrections are NEW clawback entries, never edits; the configId is immutable provenance (history outlives a doomed config).

Fields

FieldTypeNotes
idID ID!No further notes.
parentIdID ID!The parent AGENT (a User) — rows ride COMMLEDGER#<agentUserId>.
entryTypeCommissionEntryType CommissionEntryType!No further notes.
entryClassCommissionEntryClass CommissionEntryClass!No further notes.
amountMinorInt Int!The SIGNED payable figure (minor units — earn +, clawback −).
currencyString String!No further notes.
configIdIDThe winning config.
orderIdID ID!The driving Order.
returnIdIDThe driving Return (the return-clawback arm; return-driven entries carry BOTH refs).
linesCommissionEntryLineDetail [CommissionEntryLineDetail!]The per-line split.
captionString String!No further notes.
createdAtString String!No further notes.