Finance payroll

Снять отметку о завершении расчёта зарплаты

Changed on

Отменяет документ «Завершение расчёта зарплаты за месяц» штатной отменой. В закрытом периоде отмена запрещена (409 period_closed). Отметка вне области права запроса — 404 finance.record.not_found, как несуществующая.

post/api/v1/finance/payroll/month-close/{id}/cancel

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

Path parameters

id, string uuid required

Идентификатор отметки

Headers

X-Tenant, string required

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

Response

Отменённая отметка

CoreDocument required
id, string uuid required
type_id, string uuid required
type_key, string required
type_name, string required
number, string required
date, string date required
status, 'draft' | 'posted' | 'cancelled' required
basis_type, string uuid nullable required
basis_id, string uuid nullable required
basis_number, string required
entity_refs, object required
payload, object required
comment, string required
is_marked_deleted, boolean required
created_by, integer nullable required
created_by_name, string required
created_at, string date-time required
updated_at, string date-time required
posted_at, string required
cancelled_at, string required
custom, object

Значения своих полей кабинета (графы вида core.document.<ключ вида>). Отдаёт карточка документа; списки поле не несут

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

    7 more changes in this revision