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

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

`PUT /api/v1/finance/budgets/settings`

## Request

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

Запись настроек контроля заявок по БДДС юрлица: что считается израсходованным, перенос остатка, контроль заявок.

## Headers

- `X-Tenant` string, required

## Request body

- FinanceBudgetSetting
  - `company_id` string, uuid, required
  - `spend_basis` 'approved' | 'submitted', required
  - `carry_over` boolean, required
  - `dimension` 'department' | 'cfo' | 'project' | 'contact_group': Разрез бюджета юрлица: department — подразделение, cfo — ЦФО, project — проект, contact_group — группа контрагентов (папка контрагента операции или заявки). Значение разреза строки — в department_id
  - `zero_based_items` UUID[]: Статьи «с нуля»: сумма только с расшифровкой, утверждение без неё — отказ; не передано — список не меняется
  - `control_period` 'month' | 'quarter': Окно лимита заявки: month — месяц, quarter — квартал месяца заявки
  - `control_enabled` boolean, required
  - `control_mode` 'block' | 'warn'
  - `tolerance_pct` string
  - `tolerance_amount` string
  - `variance_note_pct` string
  - `variance_norm_pct` string: Норма отклонения оплат от плана статьи, %; по умолчанию 15
  - `variance_target_pct` string: Цель отклонения оплат от плана статьи, % (не выше нормы); по умолчанию 10
  - `approve_day` integer
  - `lock_day` integer
  - `department_pool` boolean: Статья кончилась — заявку проверяют по общему остатку подразделения за месяц, с этапом «только сверх лимита»
  - `owner_id` integer, nullable

## Response `200`

Настройки бюджета

- FinanceBudgetSetting
  - `company_id` string, uuid, required
  - `spend_basis` 'approved' | 'submitted', required
  - `carry_over` boolean, required
  - `dimension` 'department' | 'cfo' | 'project' | 'contact_group': Разрез бюджета юрлица: department — подразделение, cfo — ЦФО, project — проект, contact_group — группа контрагентов (папка контрагента операции или заявки). Значение разреза строки — в department_id
  - `zero_based_items` UUID[]: Статьи «с нуля»: сумма только с расшифровкой, утверждение без неё — отказ; не передано — список не меняется
  - `control_period` 'month' | 'quarter': Окно лимита заявки: month — месяц, quarter — квартал месяца заявки
  - `control_enabled` boolean, required
  - `control_mode` 'block' | 'warn'
  - `tolerance_pct` string
  - `tolerance_amount` string
  - `variance_note_pct` string
  - `variance_norm_pct` string: Норма отклонения оплат от плана статьи, %; по умолчанию 15
  - `variance_target_pct` string: Цель отклонения оплат от плана статьи, % (не выше нормы); по умолчанию 10
  - `approve_day` integer
  - `lock_day` integer
  - `department_pool` boolean: Статья кончилась — заявку проверяют по общему остатку подразделения за месяц, с этапом «только сверх лимита»
  - `owner_id` integer, nullable

## Other responses

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

## Changes

- **2026-11-09** `37b1ce2addd4`: 1 warning, 1 info
  - added the new `contact_group` enum value to the `dimension` response property for the response status `200`
  - added the new `contact_group` enum value to the request property `dimension`
- **2026-11-08** `05a92b0d4409`: 4 info
  - added the new optional request property `variance_norm_pct`
  - added the new optional request property `variance_target_pct`
  - added the optional property `variance_norm_pct` to the response with the `200` status
  - added the optional property `variance_target_pct` to the response with the `200` status
- **2026-11-07** `d2477ecdac9e`: 4 info
  - added the new optional request property `dimension`
  - added the new optional request property `zero_based_items`
  - added the optional property `dimension` to the response with the `200` status
  - added the optional property `zero_based_items` to the response with the `200` status
- **2026-11-05** `96e7cfc32b6b`: 2 info
  - added the new optional request property `control_period`
  - added the optional property `control_period` to the response with the `200` status
- **2026-10-31** `96a745afb64c`: 2 info
  - added the new optional request property `department_pool`
  - added the optional property `department_pool` to the response with the `200` status

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