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! | No further notes. |
parentId | ID ID! | The parent AGENT (a User) — rows ride COMMLEDGER#<agentUserId>. |
entryType | CommissionEntryType CommissionEntryType! | No further notes. |
entryClass | CommissionEntryClass CommissionEntryClass! | No further notes. |
amountMinor | Int Int! | The SIGNED payable figure (minor units — earn +, clawback −). |
currency | String String! | No further notes. |
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! | No further notes. |
createdAt | String String! | No further notes. |