← API reference
CANONICAL TYPE REFERENCE

CostCategoryState

A global cost category that spans all business units for consolidated reporting (e.g., Labor, Material, Overhead, Service)

Unique identifier

External system identifier

nameString!

Category name

codeString!

Unique category code

Description of the cost category

Unit of measure (e.g., 'hour', 'sheet', 'kg')

isActiveBoolean!

Whether the category is active

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""
A global cost category that spans all business units for consolidated reporting (e.g., Labor, Material, Overhead, Service)
"""
type CostCategoryState @iac_resource(name: "cost_category") @iac_ops(create: "createCostCategory", read: "getCostCategory", update: "updateCostCategory", delete: "deleteCostCategory") {
  """Unique identifier"""
  id: CostCategoryID! @iac_identity(assignedBy: SERVER) @iac_computed
  """External system identifier"""
  externalId: String
  """Category name"""
  name: String!
  """Unique category code"""
  code: String!
  """Description of the cost category"""
  description: String
  """Unit of measure (e.g., 'hour', 'sheet', 'kg')"""
  unit: CostCategoryUnit!
  """Whether the category is active"""
  isActive: Boolean!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.