---
title: "Сверить ориентиры сверху с планом"
method: GET
path: "/api/v1/finance/budgets/targets"
tags: ["Finance reports"]
---

# Сверить ориентиры сверху с планом

`GET /api/v1/finance/budgets/targets`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/finance/budgets/targets`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2
    - Authorization code: `https://erp.akeda.ru/oauth2/authorize`
    - Token URL: `https://erp.akeda.ru/oauth2/token` scopes: `akeda:delegate`
  - HTTP bearer

Встречное планирование: сценарий-ориентир (scenario_id, не основной) против основного сценария вида за период, содержащий месяц, по значениям разреза бюджета юрлица — поступления и выплаты ориентира и плана (последние версии) и разница «план − ориентир»; outflow_over — выплаты плана выше ориентира. Внутренние переводы не считаются. Ориентиры — обычный сценарий, своего хранения нет.

## Query parameters

- `company_id` string, uuid, required
- `kind` 'cashflow' | 'pnl'
- `month` string, required
- `scenario_id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Response `200`

Сверка ориентиров с планом

- FinanceBudgetTargets
  - `kind` string, required
  - `company_id` string, uuid, required
  - `scenario_id` string, uuid, required
  - `period_from` string, required
  - `period_to` string, required
  - `rows` object[], required
    - `dimension_id` string, uuid
    - `dimension_name` string
    - `target_inflow` string, required
    - `target_outflow` string, required
    - `plan_inflow` string, required
    - `plan_outflow` string, required
    - `inflow_diff` string, required
    - `outflow_diff` string, required
    - `outflow_over` boolean, required
  - `cascade` object[]
    - `dimension_id` string, uuid, required
    - `parent_id` string, uuid
    - `dimension_name` string, required
    - `level` integer, required
    - `own_target` string, required
    - `children_target` string, required
    - `branch_target` string, required
    - `unallocated` string, required
    - `over_allocated` boolean, required
    - `branch_plan` string, required
    - `branch_diff` string, required
    - `branch_over` boolean, required

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `503`: Внешний банк, справочник или контур подключений временно недоступен

## Changes

- **2026-11-09** `37b1ce2addd4`: 1 info
  - added the optional property `cascade` to the response with the `200` status
- **2026-11-08** `05a92b0d4409`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/finance/budgets/targets/get.md)

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) - [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c?raw)
