← API reference
CANONICAL TYPE REFERENCE

RecordedCostState

An actual cost incurred, linked to cost categories, cost centers, and optionally jobs/operations

Unique identifier

Associated cost category ID

Associated cost center ID (optional)

Cost rate used for this record (optional)

Related job ID (optional)

User who recorded this cost

quantityFloat!

Quantity consumed

unitRateFloat!

Cost per unit

totalCostFloat!

Total cost (quantity × unitRate)

Currency code

Description or notes

Type of external reference (e.g., 'order', 'operation')

External reference ID

Date the cost was recorded (ISO8601)

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""
An actual cost incurred, linked to cost categories, cost centers, and optionally jobs/operations
"""
type RecordedCostState {
  """Unique identifier"""
  id: RecordedCostID!
  """Associated cost category ID"""
  costCategoryId: CostCategoryID!
  """Associated cost center ID (optional)"""
  costCenterId: CostCenterID
  """Cost rate used for this record (optional)"""
  costRateId: CostRateID
  """Related job ID (optional)"""
  jobId: JobID
  """User who recorded this cost"""
  recordedByUserId: UserID
  """Quantity consumed"""
  quantity: Float!
  """Cost per unit"""
  unitRate: Float!
  """Total cost (quantity × unitRate)"""
  totalCost: Float!
  """Currency code"""
  currency: CurrencyISO!
  """Description or notes"""
  description: String
  """Type of external reference (e.g., 'order', 'operation')"""
  referenceType: String
  """External reference ID"""
  referenceId: String
  """Date the cost was recorded (ISO8601)"""
  recordedAt: ISO8601!
  """Creation timestamp (ISO8601)"""
  createdAt: String!
  """Last update timestamp (ISO8601)"""
  updatedAt: String!
}

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