Finance payroll

Запустить автоначисление зарплаты за месяц

Changed on

Заводит черновики начисления зарплаты по штатному расписанию отдельно для каждого юрлица за указанный месяц (по умолчанию прошедший). Повторный запуск не задваивает документы: уже обработанное юрлицо пропускается. Закрытый период даёт статус blocked с причиной.

post/api/v1/finance/payroll/automation/run

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

Query parameters

month, string

Месяц начисления в формате YYYY-MM; без него — прошедший месяц. Черновики создаются по каждому юрлицу штата, уже начисленные пропускаются

Headers

X-Tenant, string required

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

Response

Итог прогона по юрлицам

FinancePayrollRunList required
results, FinancePayrollRun[] required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision