Appearance
UpsertCostCategoryInput
Type: Input
Input for creating or updating a cost category
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| code | String! | Unique category code (required) | |
| description | String | Description | |
| externalId | String | External system identifier | |
| id | CostCategoryID | ID for update; omit for create | |
| isActive | Boolean | Whether the category is active | |
| name | String! | Category name (required) | |
| unit | CostCategoryUnit! | Unit of measure (required) |