Finance reports
Сохранить новую версию бюджета без создания учётных фактов
Changed onexpected_version реализует compare-and-swap: ревизия, которую клиент видел последней, 0 для первого бюджета; expected_revision принимается как синоним, оба имени с разными значениями — 400.
post/api/v1/finance/project-budgets
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
union required
object required
OR
object required
Response
Новая версия бюджета
Finance Project Budget required
id, string uuid required
project_id, string uuid required
company_id, string uuid required
date, string date required
currency, string required
revision, integer required
note, string required
lines, Finance Project Budget Line[] required
created_at, string date-time required
Changes
- info
added the new optional request property
lines/items/schedule - info
added the optional property
lines/items/scheduleto the response with the status
- info
- info
added the optional property
fieldto the response with the status
7 more changes in this revision
- info