Finance reports

Построить БДДС из БДР

Changed on

Новый черновик БДДС периода из утверждённого БДР, чей период содержит month: статьи с флагами ОПиУ и ДДС переносятся в месяц начисления плюс срок оплаты; их прежние строки БДДС заменяются, остальные строки сохраняются. dropped — сумма, ушедшая за конец периода; skipped_items — статьи БДР без флага ДДС (например, амортизация). Утверждённого БДР нет — 404.

post/api/v1/finance/budgets/cashflow-from-pnl

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

FinanceBudgetCashflowFromPnlInput required
company_id, string uuid required
month, string required

Response

Черновик БДДС

FinanceBudgetCashflowFromPnl required
budget, FinanceBudget required
lines, integer required
dropped, string required
skipped_items, UUID[] required

Changes

    • info

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

    • info

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

    • info

      added the optional property budget/regulation to the response with the status