Entities

Cost Center

B2B accounting unit used for budgets, members, checkout, and approvals

A CostCenter is the organizational unit a B2B buyer assigns orders to for internal accounting, budgeting, and approval.

Available since v0.26.0 in @laioutr-core/canonical-types

Components

Base

CostCenterBase

base
Listing-critical identity, code, source identifier, and custom fields.
name
stringrequired

Human-readable display name, e.g. "Marketing Q3".

code
string

Human/ERP identifier distinct from the internal id, e.g. "CC-1001".

externalId
string

Identifier of this cost center in the source system it was imported from.

customFields
Record<string, unknown>

Custom fields are a way for implementations to pass arbitrary data to actions, queries, etc.

Status

CostCenterStatus

status
Whether the cost center is active or inactive.
status
"active" | "inactive"required

The status value set — shared with the b2b/organization/cost-center-* actions so the vocabulary has a single source.

Info

CostCenterInfo

info
A short summary suitable for account lists and checkout pickers.
description
string

Short plain-text description shown as a list/picker subtitle. Not HTML.

  • CostCenterMembersEmployee multi — Resolves employees assigned to the cost center.
Copyright © 2026 Laioutr GmbH