Finance settlements

Изменить черновик реестра платежей

Счёт списания, день оплаты, горизонт и заметка черновика; тело несёт expected_version. Утверждённый реестр не правят: его отменяют и собирают заново.

patch/api/v1/finance/payment-registries/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/finance/payment-registries/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Path parameters

idstring uuid required

Headers

X-Tenantstring required

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

Request body

account_idstring uuid
pay_datestring date
horizon_datestring date
notestring
expected_versioninteger required

Response

Реестр со строками

idstring uuid required
numberstring required
business_idstring uuid required
company_idstring uuid required
account_idstring uuid required
company_namestring
account_namestring
currencystring required
pay_datestring date required

День оплаты строк

horizon_datestring date required

До какого дня (следующего прогона) собирались заявки

status'draft' | 'approved' | 'sent' | 'cancelled' required
notestring required
totalstring required

Сумма строк на момент чтения

line_countinteger required
created_byinteger
created_by_namestring
created_atstring date-time required
updated_atstring date-time required
approved_byinteger
approved_by_namestring
approved_atstring date-time
sent_atstring date-time
versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.