Appearance
UpsertCostRateInput
Type: Input
Input for creating or updating a cost rate. Creating with an existing rate's category/center creates a new version.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| costCategoryId | CostCategoryID! | Associated cost category ID (required) | |
| costCenterId | CostCenterID | Associated cost center ID (optional) | |
| currency | CurrencyISO! | Currency code (required) | |
| effectiveFrom | String | Effective start date (defaults to today) | |
| effectiveTo | String | Effective end date (null = no end) | |
| id | CostRateID | ID for update; omit for create | |
| rate | Float! | Rate amount (required) |