---
title: "Obtener estado de resultados por centro de costo"
method: GET
path: "/api/v1/accounting/income-statement/by-cost-center"
tags: ["API"]
---

# Obtener estado de resultados por centro de costo

`GET /api/v1/accounting/income-statement/by-cost-center`

## Request

- Base URL: `https://api.lapyme.com.ar`
- URL: `https://api.lapyme.com.ar/api/v1/accounting/income-statement/by-cost-center`
- Auth: HTTP bearer

Calcula el estado de resultados agrupado por la posición de centro de costo solicitada.

## Query parameters

- `date_from` string, date
- `date_to` string, date
- `period_preset` 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days' | 'this_month' | 'previous_month' | 'this_year'
- `cost_center_1_ids` string[]
- `cost_center_2_ids` string[]
- `cost_center_3_ids` string[]
- `circuit_id` string
- `reporting_currency` 'ARS' | 'USD'
- `group_by_cost_center_position` integer

## Response `200`

Reporte por centro de costo obtenido

- ApiSharedObject1923b260ad
  - `request_id` string, required
  - `effective_scope` union, required: Circuito sobre el que corrió el reporte: `all`, o el circuito pedido (`circuit_id` null es General).
    - 'all'
    - ApiSharedObject8d2ab49c4a
      - `circuit_id` string, uuid, nullable, required
      - `circuit_name` string, required
  - `data` object, required

## Other responses

- `400`: Solicitud inválida
- `401`: API key faltante o inválida
- `403`: Scope insuficiente o contabilidad no habilitada
- `429`: Límite de solicitudes excedido para la organización
- `500`: Error interno del servidor
- `503`: Verificación de credenciales temporalmente ocupada; reintentá sin cambiar la operación ni su Idempotency-Key.

## Changes

- **2026-11-03** `ed0d46e68fbe`: 3 breaking, 12 info
  - for the `query` request parameter `reporting_currency`, default value was changed from `PES` to `ARS`
  - removed the enum value `DOL` from the `query` request parameter `reporting_currency`
  - removed the enum value `PES` from the `query` request parameter `reporting_currency`
  - added the new optional `query` request parameter `circuit_id`
  - …11 more

[Operation history](https://skmtc.dev/lapyme/apis/la-pyme-api/changes/api/v1/accounting/income-statement/by-cost-center/get.md)

---

[API](https://skmtc.dev/lapyme/apis/la-pyme-api.md) - [All operations](https://skmtc.dev/lapyme/apis/la-pyme-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lapyme/apis/la-pyme-api/revisions/067bbb55f421?raw)
