App runtime

Отменить операцию от имени установки

Коррекция и сторно намеренно не опубликованы до появления атомарной замены исходных движений.

post/api/v1/app/finance/operations/{id}/cancel

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/app/finance/operations/{id}/cancel
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

expected_versioninteger required
reasonstring

Response

Отменённая операция

recognition_mode'document' | 'plan' required
cash_paidstring required

Фактически оплачено по проведённым распределениям

advancestring required

Оплата сверх признанного начисления

idstring uuid required
kind'sale' | 'purchase' required
company_idstring uuid required
contact_idstring uuid required
currencystring required
amountstring required

Decimal string

due_datestring date
purposestring
pnl_item_idstring uuid
project_idstring uuid
contract_idstring uuid
source_systemstring required
source_refstring required
external_idstring required
schema_version1 required
status'draft' | 'posted' | 'cancelled' required

Changes

No recorded changes to this operation across all 2 revisions of this API.