Finance registers

Догнать сумму в валюте учёта в регистре ДДС перепроведением

Changed on

Перепроводит проведённые банковские и кассовые операции и авансовые отчёты, у движения ДДС которых нет суммы в валюте учёта. Другие регистры и книга обязаны остаться прежними, иначе документ откатывается и попадает в пропущенные. Сухой прогон только считает; запись — порциями до 500 документов по курсору. Повторный запуск ничего не находит.

post/api/v1/finance/registers/cashflow-base-backfill

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

Headers

X-Tenant, string required

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

Request body

FinanceCashflowBaseBackfillRequest required
dry_run, boolean

Только посчитать кандидатов без записи.

limit, integer

Размер порции; запись без значения берёт 500, сухой прогон без значения смотрит весь кабинет.

after, string

Курсор next_after прошлого ответа; пустой — с начала.

doc_types, string[]

Виды документов; пустой список — все три писателя ДДС.

Response

Итог догона

FinanceCashflowBaseBackfillResult required
dry_run, boolean required
candidates, integer required
by_type, object required

Кандидатов по видам документа.

applied, integer required
skipped, FinanceCashflowBaseBackfillSkip[] required
limit_reached, boolean required
next_after, string required

Курсор следующей порции; пустой — дошли до конца.

Changes

    • info

      added the optional property field 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

    3 more changes in this revision