Core orders

Получить реестр договоров финансирования

Changed on

Договоры, по которым кабинет привлекает деньги и платит за них: кредитные линии, овердрафт, кредиты и займы, лизинг с выкупом, факторинг (ERP-3117). Снятые не показываются, архивные — по archived. Долг, доступный лимит и график — следующие этапы раздела.

get/api/v1/core/financing/contracts

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

Query parameters

kind, 'revolving_line' | 'line' | 'overdraft' | 'loan' | 'owner_loan' | 'leasing' | 'factoring'

Вид финансирования — одна вкладка реестра

company_id, string uuid
archived, boolean

Показать и архивные договоры

Headers

X-Tenant, string required

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

Response

Договоры финансирования

CoreFinancingContractList required
results, CoreFinancingContract[] required

Changes

    • info

      added the optional property results/items/allOf[#/components/schemas/CoreContractTerms]/terminated_on to the response with the status

    • info

      added the optional property results/items/allOf[#/components/schemas/CoreContractTerms]/regular_single_invoice to the response with the status