Finance statements

Создать заголовок выписки вручную

Changed on

Счёт и границы периода обязательны; provider по умолчанию manual.

post/api/v1/finance/statements

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

Headers

X-Tenant, string required

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

Request body

FinanceStatementCreate required
account, string uuid required
date_from, string date required
date_to, string date required
opening_balance, string

Decimal string

closing_balance, string

Decimal string

provider, string
kind, 'operations' | 'limit'

Выписка лимита (limit) — только у счёта линии, обязательное исходящее сальдо — остаток лимита

Response

Созданная выписка

FinanceStatement required
id, string uuid required
account, string uuid required
account_name, string required
date_from, string date required
date_to, string date required
opening_balance, string required

Decimal string

closing_balance, string required

Decimal string

provider, string required
kind, 'operations' | 'limit'

Обычная выписка с операциями или выписка лимита (ERP-3117): остаток неиспользованного лимита по счёту 91317… счёта линии, без операций

imported_at, string date-time required
transaction_count, integer

Сколько операций у выписки; отдаётся только историей выписок счёта — пустую шапку можно убрать из любого места истории

Changes

    • info

      added the new optional request property kind

    • info

      added the optional property kind to the response with the status

    • info

      added the optional property field to the response with the status

    7 more changes in this revision