# 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](/types/#scalars) `ID!` | No further notes. |
| `parentId` | [ID](/types/#scalars) `ID!` | The parent AGENT (a User) — rows ride COMMLEDGER#<agentUserId>. |
| `entryType` | [CommissionEntryType](/types/CommissionEntryType/) `CommissionEntryType!` | No further notes. |
| `entryClass` | [CommissionEntryClass](/types/CommissionEntryClass/) `CommissionEntryClass!` | No further notes. |
| `amountMinor` | [Int](/types/#scalars) `Int!` | The SIGNED payable figure (minor units — earn +, clawback −). |
| `currency` | [String](/types/#scalars) `String!` | No further notes. |
| `configId` | [ID](/types/#scalars) | The winning config. |
| `orderId` | [ID](/types/#scalars) `ID!` | The driving Order. |
| `returnId` | [ID](/types/#scalars) | The driving Return (the return-clawback arm; return-driven entries carry BOTH refs). |
| `lines` | [CommissionEntryLineDetail](/types/CommissionEntryLineDetail/) `[CommissionEntryLineDetail!]` | The per-line split. |
| `caption` | [String](/types/#scalars) `String!` | No further notes. |
| `createdAt` | [String](/types/#scalars) `String!` | No further notes. |
