Finance counterparty terms

Получить коммерческие условия на указанную дату

Changed on

Возвращает действующую неизменяемую версию; если настройка отсутствует, configured=false, id, valid_from и created_at — null. Контрагента нет в справочнике — 404 finance.counterparty_terms.contact_not_found.

get/api/v1/finance/counterparties/{contactId}/terms

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

contactId, string uuid required

Query parameters

company_id, string uuid
currency, string
at, string date-time

Headers

X-Tenant, string required

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

Response

Действующие условия или безопасное отсутствие настройки

FinanceCounterpartyTerms required
id, string uuid nullable required

Версия условий; null при configured=false — настройки нет, а не запись с нулевым id

contact_id, string uuid required
company_id, string uuid
currency, string required
credit_limit, string

Decimal string; отсутствие означает, что лимит не задан

payment_delay_days, integer required
prepayment_percent, string required

Decimal string от 0 до 100

valid_from, string date-time nullable required

Момент начала действия; null при configured=false

valid_from_date, string date

Дата начала действия в поясе кабинета: 01.01.2026 по Москве — 2026-01-01, хотя valid_from — 2025-12-31T21:00:00Z

valid_to, string date-time
valid_to_date, string date

Первый день в поясе кабинета, когда версия уже не действует

reason, string required
created_by, integer
created_at, string date-time nullable required

null при configured=false

configured, boolean 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

    7 more changes in this revision