---
title: "Сохранить драйверы бюджета"
method: PUT
path: "/api/v1/finance/budgets/drivers"
tags: ["Finance reports"]
---

# Сохранить драйверы бюджета

`PUT /api/v1/finance/budgets/drivers`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/finance/budgets/drivers`
- 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

Драйверы и правила юрлица заменяют прежние. Драйвер без id получает новый; base_id — показатель из этого же списка, без ссылки на себя и без циклов, factor — число (пусто — 1); правило ссылается на драйвер из этого же списка; статья — нужного вида; значения и ставки — числа. Ошибка — 400 с полем и номером строки.

## Headers

- `X-Tenant` string, required

## Request body

- FinanceBudgetDrivers
  - `company_id` string, uuid, required
  - `drivers` FinanceBudgetDriver[], required
    - `id` string, uuid, required
    - `name` string, required
    - `unit` string
    - `values` object, required
    - `actuals` object
    - `base_id` string, uuid
    - `factor` string
  - `rules` FinanceBudgetDriverRule[], required
    - `id` string, uuid
    - `driver_id` string, uuid, required
    - `kind` 'cashflow' | 'pnl', required
    - `item_id` string, uuid, required
    - `item_name` string
    - `department_id` string, uuid
    - `rate` string, required

## Response `200`

Драйверы бюджета

- FinanceBudgetDrivers
  - `company_id` string, uuid, required
  - `drivers` FinanceBudgetDriver[], required
    - `id` string, uuid, required
    - `name` string, required
    - `unit` string
    - `values` object, required
    - `actuals` object
    - `base_id` string, uuid
    - `factor` string
  - `rules` FinanceBudgetDriverRule[], required
    - `id` string, uuid
    - `driver_id` string, uuid, required
    - `kind` 'cashflow' | 'pnl', required
    - `item_id` string, uuid, required
    - `item_name` string
    - `department_id` string, uuid
    - `rate` string, required

## Other responses

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

## Changes

- **2026-11-09** `37b1ce2addd4`: 2 info
  - added the new optional request property `drivers/items/actuals`
  - added the optional property `drivers/items/actuals` to the response with the `200` status
- **2026-11-03** `c1eda5ff62f0`: 4 info
  - added the new optional request property `drivers/items/base_id`
  - added the new optional request property `drivers/items/factor`
  - added the optional property `drivers/items/base_id` to the response with the `200` status
  - added the optional property `drivers/items/factor` to the response with the `200` status
- **2026-10-28** `7ecce6713408`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/finance/budgets/drivers/put.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)
