Finance reports

Получить план-факт бюджета

Changed on

План-факт периода бюджета вида, чей период содержит месяц: план утверждённой версии основного сценария, факт — из регистра ДДС тем же пересчётом в валюту учёта, что отчёт ДДС. Строки — месяц × статья × подразделение: план, факт — чистый поток статьи в её направлении (валовые поступления и выплаты — в fact_in и fact_out), отклонение «факт − план» и его процент от плана. Строки только с фактом тоже показываются. Факт БДР (pnl) — из главной книги, как отчёт ОПиУ. Утверждённого бюджета нет — план пустой, факт за календарный год.

get/api/v1/finance/budgets/plan-fact

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

company_id, string uuid required
kind, 'cashflow' | 'pnl'
month, string required
allocated, boolean

true — после распределения сервисных ЦФО по правилам юрлица

Headers

X-Tenant, string required

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

Response

План-факт бюджета

FinanceBudgetPlanFact required
kind, 'cashflow' | 'pnl' required
company_id, string uuid required
period_from, string required
period_to, string required
approved_number, integer required
currency, string required
allocated, boolean

Строки после распределения сервисных ЦФО

rows, FinanceBudgetPlanFactRow[] required

Changes

    • info

      added the new optional query request parameter allocated

    • info

      added the optional property allocated to the response with the status

    • info

      added the optional property rows/items/fx_deviation to the response with the status