Finance statements

Получить выписки кабинета

Changed on

Страница выписок, свежие по дате окончания периода первыми. Ответ называет применённые limit и offset; страница ровно в limit строк означает, что дальше может быть ещё, — запрашивайте следующую с offset += limit.

get/api/v1/finance/statements

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

business, string uuid

UUID управленческого бизнеса; без параметра — консолидация «Весь бизнес»

limit, integer

Размер страницы. Сотня — и умолчание, и потолок: запрос сверх потолка зажимается до него, а не отклоняется, и применённое значение возвращается в ответе

offset, integer

Сколько выписок пропустить; отрицательное значение читается как начало списка

Headers

X-Tenant, string required

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

Response

Все заголовки выписок

FinanceStatementPage required
count, integer required
limit, integer required

Применённый размер страницы — после зажима до потолка

offset, integer required

Применённое смещение

results, FinanceStatement[] required

Changes

    • info

      added the optional property results/items/kind 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

    4 more changes in this revision