Finance settlements

Получить оплаты с нераспределённым остатком

Changed on

Страница фиксирована двумя сотнями оплат, своего limit у операции нет: offset шагают на 200. Страница короче двухсот означает, что оплаты кончились.

get/api/v1/finance/settlements/payments

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

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

Точный контрагент. Вместе с юрлицом и валютой ограничивает оплаты до пагинации.

direction, 'in' | 'out'

Направление оплаты; точный подбор по направлению требует contact_id.

q, string
offset, integer

Смещение страницы. Шаг страницы — 200: столько оплат отдаёт запрос

Headers

X-Tenant, string required

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

Response

Оплаты и нераспределённые суммы

FinanceSettlementPaymentPage required
count, integer required
results, FinanceSettlementPayment[] 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