Finance trade

Получить свободные авансы контрагента

Changed on

Возвращает свободные, то есть неразнесённые, авансы контрагента.

get/api/v1/finance/trade-journal/advance

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Query parameters

business, string uuid

UUID управленческого бизнеса; без параметра — консолидация «Весь бизнес»

company_id, string uuid

Omit for the selected business without a legal entity

contact_id, string uuid required
currency, string required
direction, 'sales' | 'purchases' required

Headers

X-Tenant, string required

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

Response

Общая сумма и адресуемые авансы

FinanceTradeAdvance required
amount, string required

Общая свободная decimal string

advances, FinanceOpenAdvance[] required

Changes