Получить заявки на оплату
Changed onЗаявка на оплату — документ модуля docflow (документы): её заводят и согласуют здесь, а в модуль finance (счета, выписки и расчёты) приходит только согласованная. Автор с правом docflow.flow:request видит свои заявки; scope=all отдаёт все заявки кабинета тем, у кого есть docflow.flow:read или docflow.flow:approve. Строка несёт ход оплаты (progress) и, когда платёж прошёл, реквизиты платёжного поручения — доступа к финансам для этого не нужно.
Request
- Base URL: https://erp.akeda.ru
- URL: https://erp.akeda.ru/api/v1/docflow/payment-requests
- 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)
Query parameters
mine — свои заявки (по умолчанию); all — все заявки кабинета при праве чтения или согласования
Состояние документа заявки: черновик, на согласовании, на доработке, согласована, отклонена, отозвана
Состояние документа заявки
Только заявки этому получателю (контрагент справочника); видимость та же, что у списка
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Response
Заявки на оплату
Changes
- warning
added the new
partially_paidenum value to the//response property for the response status - info
added the new optional
queryrequest parametercontact_id - 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