Finance reports

Рассчитать ФОТ по штатному расписанию

Changed on

Новый черновик вида бюджета: статья зарплаты (salary_item_id) на месяцы с текущего до конца периода — оклад плюс фиксированная премия позиций штатного расписания юрлица на сегодня, по подразделениям; статья взносов (contributions_item_id, необязательно) — contributions_pct процентов (30 по умолчанию) от официальной части оклада. Вакансии — при include_vacant. Прежние строки этих статей в этих месяцах заменяются, остальные строки сохраняются. Нет позиций с окладом — 400 (positions).

post/api/v1/finance/budgets/payroll-model

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

FinanceBudgetPayrollModelInput required
company_id, string uuid required
kind, 'cashflow' | 'pnl'
month, string required
salary_item_id, string uuid required
contributions_item_id, string uuid
contributions_pct, string
include_vacant, boolean

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