Finance reports

Рассчитать бюджет по драйверам

Changed on

Новый черновик вида бюджета за период, содержащий month (бюджета нет — календарный год): у пар «статья × подразделение» из правил сумма месяца — сумма значений драйверов на ставку, прежние строки пар заменяются, остальные строки сохраняются. Ни одного правила с значением — 400 (rules).

post/api/v1/finance/budgets/drivers/apply

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

FinanceBudgetDriversApplyInput required
company_id, string uuid required
kind, 'cashflow' | 'pnl' required
month, string required

Response

Черновик по драйверам

FinanceBudgetDriversApplied required
budget, FinanceBudget required
lines, integer required

Changes

    • info

      added the optional property budget/lines/items/amount_base to the response with the status

    • info

      added the optional property budget/missing_rates to the response with the status

    • info

      added the optional property budget/regulation to the response with the status