Finance reports

Сравнить версии бюджета

Changed on

Что изменилось между двумя версиями одного бюджета (base — было, target — стало): только изменившиеся строки месяц × статья × подразделение с суммами «было», «стало» и разницей, плюс итоги версий. Версии разных юрлиц или видов — 400.

get/api/v1/finance/budgets/versions/compare

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

base, string uuid required
target, string uuid required

Headers

X-Tenant, string required

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

Response

Сравнение версий

FinanceBudgetCompare required
before, FinanceBudget required
after, FinanceBudget required
total_before, string required
total_after, string required
rows, FinanceBudgetCompareRow[] required

Changes

    • info

      added the optional property after/lines/items/amount_base to the response with the status

    • info

      added the optional property after/missing_rates to the response with the status

    • info

      added the optional property before/lines/items/amount_base to the response with the status

    1 more change in this revision