Вернуть согласованную заявку на оплату на доработку
Changed onСогласованная заявка, платёжка по которой ещё не ушла в банк, возвращается на доработку: строка очереди оплат модуля finance снимается, заявка переходит в состояние rework, её правят и отправляют на согласование заново — маршрут подбирается снова. Вернуть может автор заявки и тот, кто согласует заявки (иначе 403); причина необязательна, её читает автор. Признак can_rework в карточке заявки говорит, доступно ли действие. Заявка не в состоянии approved — 409 docflow.payment_request.state; версия устарела — 409 docflow.payment_request.conflict; платёжка уже в банке — 409 docflow.payment_request.in_bank: её сначала удаляют в интернет-банке, а финансы возвращают заявку в план.
Request
- Base URL: https://erp.akeda.ru
- URL: https://erp.akeda.ru/api/v1/docflow/payment-requests/{id}/rework
- Auth: one of:
- HTTP bearer
- 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
Заявка на оплату
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Response
Заявка на доработке
Changes
- warning
added the new
partially_paidenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info