App runtime
Отменить операцию от имени установки
Changed onКоррекция и сторно намеренно не опубликованы до появления атомарной замены исходных движений.
post/api/v1/app/finance/operations/{id}/cancel
Request
- Base URLhttps://erp.akeda.ru
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
Finance Operation Action required
source, Finance Operation Source required
expected_version, integer required
reason, string
Response
Отменённая операция
Finance Operation required
recognition_mode, 'document' | 'plan' required
cash_paid, string required
Фактически оплачено по проведённым распределениям
advance, string required
Оплата сверх признанного начисления
cash_payments, Finance Operation Fact[] required
unattributed_facts, Finance Operation Fact[] required
Применения к долгу, не привязанные к строке графика (ERP-1417)
id, string uuid required
kind, 'sale' | 'purchase' required
company_id, string uuid required
contact_id, string uuid required
currency, string required
amount, string required
Decimal string
due_date, string date
purpose, string
pnl_item_id, string uuid
project_id, string uuid
contract_id, string uuid
source_system, string required
source_ref, string required
external_id, string required
schema_version, 1 required
status, 'draft' | 'posted' | 'cancelled' required
current, Finance Operation Version required
versions, Finance Operation Version[] required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
11 more changes in this revision
- info