Finance connector sync

Привязать внешний счёт к счёту Akeda или изменить импорт

Changed on

Привязывает внешний банковский счёт к счёту Akeda или изменяет настройки его импорта.

patch/api/v1/finance/connectors/accounts/{accountId}

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

Path parameters

accountId, string uuid required

Headers

X-Tenant, string required

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

Request body

FinanceConnectorAccountPatch required
account, string uuid nullable
is_enabled, boolean
ignored, boolean

Игнорировать счёт: импорт выключается, синхронизация его не предлагает

Response

Обновлённая привязка

FinanceConnectorAccount required
id, string uuid required
connector, string uuid required
external_account_id, string required
number, string required
bic, string required
bank_name, string required
title, string required
currency, string required
external_customer_id, string required
owner_inn, string required
owner_name, string required
company, string uuid nullable required
company_name, string required
account, string uuid nullable required
account_name, string required
company_is_active, boolean required
is_enabled, boolean required
ignored, boolean

Человек решил счёт не подключать; синхронизация его не заводит

last_synced_at, string date-time nullable required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision