---
title: "List Cost-Centers"
method: GET
path: "/cleemy-procurement/api/costcenters"
tags: ["Cost-Centers"]
---

# List Cost-Centers

`GET /cleemy-procurement/api/costcenters`

List cost-centers.

## Query parameters

- `fields.root` 'count'
- `page` integer
- `limit` integer

## Response `200`

Successful read of cost-centers

- object
  - `items` CostCenter[], required
    - `id` integer
    - `name` string, required
    - `code` string, required
    - `ownerId` integer — ID of the user who will be the owner of the cost-center.
    - `owner` object — **Read-only.** Owner of the cost-center.
      - `id` integer
      - `href` string, uri
      - `name` string
      - `firstName` string
      - `lastName` string
      - `pictureHref` string, uri, nullable — **Read-only.** URL to this user picture image file.
    - `state` 'Disabled' | 'Enabled' — Disabled: the cost-center is disabled. Enabled: the cost-center is enabled.
    - `establishmentIds` integer[] — **Write-only.** IDs of the establishments to which the cost-center belongs."
    - `establishments` EstablishmentReference[] — **Read-only.** Establishments to which the cost-center belongs.
      - `id` integer
      - `name` string
      - `href` string, uri
  - `prev` union
    - string
    - integer
  - `next` union
    - string
    - integer
  - `count` integer

---

[API](https://skmtc.net/luccasoftware/apis/lucca-expenses.md) · [All operations](https://skmtc.net/luccasoftware/apis/lucca-expenses/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/luccasoftware/lucca-expenses/revisions/110f9897756c/schema)
