← API reference
CANONICAL TYPE REFERENCE

CreateRecordedCostInput

Input for creating a recorded cost

Associated cost category ID (required)

Associated cost center ID

Cost rate to use (optional, derives unitRate if provided)

Related job ID

quantityFloat!

Quantity consumed (required)

Cost per unit (required unless costRateId provided)

Currency code (required)

Description or notes

Type of external reference

External reference ID

Date the cost was recorded (defaults to today)

View exact SDL
"""Input for creating a recorded cost"""
input CreateRecordedCostInput {
  """Associated cost category ID (required)"""
  costCategoryId: CostCategoryID!
  """Associated cost center ID"""
  costCenterId: CostCenterID
  """Cost rate to use (optional, derives unitRate if provided)"""
  costRateId: CostRateID
  """Related job ID"""
  jobId: JobID
  """Quantity consumed (required)"""
  quantity: Float!
  """Cost per unit (required unless costRateId provided)"""
  unitRate: Float
  """Currency code (required)"""
  currency: CurrencyISO!
  """Description or notes"""
  description: String
  """Type of external reference"""
  referenceType: String
  """External reference ID"""
  referenceId: String
  """Date the cost was recorded (defaults to today)"""
  recordedAt: ISO8601
}

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