Finance transactions

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

Changed on

Возвращает банковские операции, доступные вызывающему.

get/api/v1/finance/transactions

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 управленческого бизнеса; без параметра — консолидация «Весь бизнес»

account, string uuid
match_state, string
direction, 'in' | 'out'
allocation, 'unallocated'

unallocated — только то, что ждёт имени от человека: без статьи, статья именного расчёта без человека или статья, ждущая контрагента, без контрагента. Внутренние переводы и то, чему контрагент ставится правилом (налоги, взносы, банк), сюда не попадают

limit, integer

Сколько операций вернуть. Потолок и умолчание совпадают: выписка всегда отдаётся страницами по 500

offset, integer

Смещение страницы. Сколько операций отвечает фильтру целиком, говорит поле total

Headers

X-Tenant, string required

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

Response

Отфильтрованные операции

FinanceTransactionPage required
count, integer required

Строк на этой странице

total, integer required

Сколько операций отвечает фильтру целиком; сравнение с count говорит, есть ли ещё страницы

results, FinanceTransaction[] required
totals, FinanceTransactionTotals required

Итоги по всему фильтру, а не по странице. Суммы в валюте учёта по историческому курсу

limit, integer

Размер страницы, применённый сервером

offset, integer

Смещение этой страницы

has_more, boolean

Есть ли строки за этой страницей: true — запросите следующую с offset + count

Changes

    • info

      added the optional property results/items/required_dimensions to the response with the status

    • info

      added the required property results/items/unallocated to the response with the status

    • info

      added the required property results/items/unallocated_reasons to the response with the status