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!
parentIdID ID!The parent agent — rows ride commledger#<agentUserId>.
entryTypeCommissionEntryType CommissionEntryType!One of the values of [CommissionEntryType](/types/CommissionEntryType/).
entryClassCommissionEntryClass CommissionEntryClass!One of the values of [CommissionEntryClass](/types/CommissionEntryClass/).
amountMinorInt Int!The signed payable figure (minor units — earn +, clawback −).
currencyString String!
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!
createdAtString String!