Finance reports

Зарезервировать лимит

Changed on

Резерв лимита бюджета БДДС под договор или заказ раньше, чем по нему придёт заявка на оплату: активный резерв уменьшает остаток лимита заявок той же статьи, подразделения и месяца. Статья — статья ДДС, title — под что резерв.

post/api/v1/finance/budgets/reservations

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

FinanceBudgetReservationInput required
company_id, string uuid required
month, string required
item_id, string uuid required
department_id, string uuid
amount, string required
title, string required
contact_id, string uuid

Response

Новый резерв

FinanceBudgetReservation required
id, string uuid required
company_id, string uuid required
month, string required
item_id, string uuid required
item_name, string
department_id, string uuid
department_name, string
amount, string required
title, string required
contact_id, string uuid
status, 'active' | 'released' required
created_by, integer
created_at, string required
released_at, string

Changes