Cost-center.

name
string
required
code
string
required
id
integer
ownerId
integer

ID of the user who will be the owner of the cost-center.

owner
object

Reference to a user. Read-only. Owner of the cost-center.

state
enum<string>
default:Disabled

Disabled: the cost-center is disabled. Enabled: the cost-center is enabled.

Available options:
Disabled,
Enabled
establishmentIds
integer[]

Write-only. IDs of the establishments to which the cost-center belongs."

establishments
Reference to an establishment · object[]

Read-only. Establishments to which the cost-center belongs.