POST
/
accounting
/
cost-centres

Authorizations

Authorization
string
headerrequired

Value for the Authorization header parameter.

Body

name
string
required

The name of the cost centre, which is displayed in the UI

code
string
required

The code of the cost centre, which is used for exports

type
enum<string>
required

The type of the cost centre, which is used for exports

Available options:
KOST1,
KOST2
status
enum<string>
default: activerequired

The status of the cost centre

Possible values:

  • active: The cost centre is active and can be used and referenced
  • archived: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active,
archived

Response

201 - application/json
id
string
name
string
required

The name of the cost centre, which is displayed in the UI

code
string

The code of the cost centre, which is used for exports

type
enum<string>
required

The type of the cost centre, which is used for exports

Available options:
KOST1,
KOST2
status
enum<string>
default: activerequired

The status of the cost centre

Possible values:

  • active: The cost centre is active and can be used and referenced
  • archived: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active,
archived
createdAt
string

The date and time when the cost centre was created

updatedAt
string

The date and time when the cost centre was last updated