Appearance
UpsertRecordedCostInput
Type: Input
Input for recording an actual cost incurred
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| costCategoryId | CostCategoryID! | Associated cost category ID (required) | |
| costCenterId | CostCenterID | Associated cost center ID | |
| costRateId | CostRateID | Cost rate to use (optional, derives unitRate if provided) | |
| currency | CurrencyISO! | Currency code (required) | |
| description | String | Description or notes | |
| id | RecordedCostID | ID for update; omit for create | |
| jobId | JobID | Related job ID | |
| quantity | Float! | Quantity consumed (required) | |
| recordedAt | ISO8601 | Date the cost was recorded (defaults to today) | |
| referenceId | String | External reference ID | |
| referenceType | String | Type of external reference | |
| unitRate | Float | Cost per unit (required unless costRateId provided) |