# AffiliateEntry

object type

ONE immutable affiliate fact: ORDER-level (no per-line detail v1 — the product-scope predicate is a named deferral); basisMinor + ratePpm stamp the earn (self-auditing — the affiliate's rate is EDITABLE, the entry's snapshot is not).

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `id` | [ID](/types/#scalars) `ID!` | No further notes. |
| `parentId` | [ID](/types/#scalars) `ID!` | The parent Affiliate — rows ride AFFLEDGER#<affiliateId>. |
| `entryType` | [AffiliateEntryType](/types/AffiliateEntryType/) `AffiliateEntryType!` | No further notes. |
| `amountMinor` | [Int](/types/#scalars) `Int!` | The SIGNED payable figure (minor units — earn +, clawback −). |
| `currency` | [String](/types/#scalars) `String!` | No further notes. |
| `basisMinor` | [Int](/types/#scalars) | The ORDER NET the earn computed on (stamped on earn — self-auditing arithmetic). |
| `ratePpm` | [Int](/types/#scalars) | The rate snapshot (ppm — stamped on earn). |
| `orderId` | [ID](/types/#scalars) `ID!` | No further notes. |
| `returnId` | [ID](/types/#scalars) | No further notes. |
| `caption` | [String](/types/#scalars) `String!` | No further notes. |
| `createdAt` | [String](/types/#scalars) `String!` | No further notes. |
