Finance reports

Сохранить новую версию бюджета без создания учётных фактов

expected_version реализует compare-and-swap: ревизия, которую клиент видел последней, 0 для первого бюджета; expected_revision принимается как синоним, оба имени с разными значениями — 400.

post/api/v1/finance/project-budgets

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/finance/project-budgets
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

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

Request body

OR

Response

Новая версия бюджета

idstring uuid required
project_idstring uuid required
company_idstring uuid required
datestring date required
currencystring required
revisioninteger required
notestring required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.