Finance exchange

Получить реестр «К оформлению в бухгалтерии»

Changed on

Документы, переданные бухгалтеру, и их состояние по базе 1С (ERP-102): вид, номер, дата, контрагент, сумма, статус, номер и ссылка 1С, причина отклонения, кто и когда решил. Фильтр по бизнесу, юрлицу, статусу, виду, номеру, контрагенту и периоду. Наполнение реестра из проведённых документов — следующий этап.

get/api/v1/finance/accounting-registry

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

Бизнес; пусто — весь кабинет

company_id, string uuid

Юрлицо; пусто — все открытые юрлица

status, 'new' | 'sent' | 'accepted' | 'rejected' | 'not_required'

new — новый, sent — отправлен, accepted — принят в учёт, rejected — отклонён, not_required — не требует бухучёта

Статус строки реестра

document_kind, string

Ключ вида документа

number, string

Часть номера документа

contact, string

Часть имени или ИНН контрагента

date_from, string date

Дата документа с

date_to, string date

Дата документа по

limit, integer

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

offset, integer

Сколько строк пропустить

group, 'new' | 'sent' | 'excluded'

Вкладка очереди — новые, отправленные и принятые, отклонённые и не учитываемые

Headers

X-Tenant, string required

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

Response

Страница реестра

FinanceAccountingPage required
count, integer required

Всего строк под фильтром

limit, integer required
offset, integer required
results, FinanceAccountingEntry[] required
groups, object required

Changes

    • info

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

    • info

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

    • info

      added the new optional query request parameter group

    1 more change in this revision