← API reference
CANONICAL TYPE REFERENCE

BusinessUnitState

An organizational unit that can contain cost centers. Supports hierarchical structure via parentId.

Unique identifier

External system identifier

Parent business unit ID for hierarchy

nameString!

Business unit name

codeString!

Unique code for the business unit

Description of the business unit

isActiveBoolean!

Whether the business unit is active

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""
An organizational unit that can contain cost centers. Supports hierarchical structure via parentId.
"""
type BusinessUnitState @iac_resource(name: "business_unit") @iac_ops(create: "createBusinessUnit", read: "getBusinessUnit", update: "updateBusinessUnit", delete: "deleteBusinessUnit") {
  """Unique identifier"""
  id: BusinessUnitID! @iac_identity(assignedBy: SERVER) @iac_computed
  """External system identifier"""
  externalId: String
  """Parent business unit ID for hierarchy"""
  parentId: BusinessUnitID @iac_ref(resource: "business_unit")
  """Business unit name"""
  name: String!
  """Unique code for the business unit"""
  code: String!
  """Description of the business unit"""
  description: String
  """Whether the business unit 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.