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
| Field | Type | Notes |
|---|---|---|
id | ID ID! | |
parentId | ID ID! | The parent agent — rows ride commledger#<agentUserId>. |
entryType | CommissionEntryType CommissionEntryType! | One of the values of [CommissionEntryType](/types/CommissionEntryType/). |
entryClass | CommissionEntryClass CommissionEntryClass! | One of the values of [CommissionEntryClass](/types/CommissionEntryClass/). |
amountMinor | Int Int! | The signed payable figure (minor units — earn +, clawback −). |
currency | String String! | |
configId | ID | The winning config. |
orderId | ID ID! | The driving Order. |
returnId | ID | The driving Return (the return-clawback arm; return-driven entries carry both refs). |
lines | CommissionEntryLineDetail [CommissionEntryLineDetail!] | The per-line split. |
caption | String String! | |
createdAt | String String! |