Finance reports

Сдать, принять или вернуть бюджет подразделения

Changed on

Действие над частью бюджета подразделения: submit — сдать (черновик или возвращённое), accept — принять сданное, return — вернуть с обязательным комментарием, plan — назначить срок и ответственного. Недопустимый переход — 409. Ответ — обновлённый процесс года.

post/api/v1/finance/budgets/submissions

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

FinanceBudgetSubmissionInput required
company_id, string uuid required
kind, 'cashflow' | 'pnl'
month, string required
department_id, string uuid
action, 'submit' | 'accept' | 'return' | 'plan' required
due_date, string date
responsible_id, integer
comment, string

Response

Бюджетный процесс

FinanceBudgetSubmissions required
results, FinanceBudgetSubmission[] required

Changes

    • info

      added the optional property results/items/can_edit to the response with the status

    • info

      added the optional property results/items/can_review to the response with the status

    • info

      endpoint added