Finance operations

Получить состояние продажи или закупки

Возвращает план, фактические начисления и оплаты из проведённых документов, аванс и неизменяемую историю версий.

get/api/v1/finance/operations/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/finance/operations/{id}
  • 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

Path parameters

idstring uuid required

Headers

X-Tenantstring required

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

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 1 revision of this API.