Cost Centre
Add a cost centre
POST
/
accounting
/
cost-centres
Authorizations
Authorization
string
headerrequiredValue for the Authorization header parameter.
Body
name
string
requiredThe name of the cost centre, which is displayed in the UI
Maximum length:
255
code
string
requiredThe code of the cost centre, which is used for exports
Maximum length:
255
type
enum<string>
requiredThe type of the cost centre, which is used for exports
Available options:
KOST1
, KOST2
status
enum<string>
default: activerequiredThe status of the cost centre
Possible values:
active
: The cost centre is active and can be used and referencedarchived
: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active
, archived
Response
201 - application/json
name
string
requiredThe name of the cost centre, which is displayed in the UI
Maximum length:
255
type
enum<string>
requiredThe type of the cost centre, which is used for exports
Available options:
KOST1
, KOST2
status
enum<string>
default: activerequiredThe status of the cost centre
Possible values:
active
: The cost centre is active and can be used and referencedarchived
: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active
, archived
id
string
code
string
The code of the cost centre, which is used for exports
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
Was this page helpful?