Finance settlements

Отменить реестр платежей

Changed on

Черновик или утверждённый реестр до банка: строки возвращаются в очередь свободными. Отправленный не отменяется, платёжки возвращают построчно.

post/api/v1/finance/payment-registries/{id}/cancel

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Request body

FinancePaymentRegistryVersion required
expected_version, integer required

Response

Отменённый реестр

FinancePaymentRegistry required
id, string uuid required
number, string required
business_id, string uuid required
company_id, string uuid required
account_id, string uuid required

Счёт списания реестра: утверждение ставит его каждой строке

company_name, string
account_name, string
currency, string required
pay_date, string date required

День оплаты строк

horizon_date, string date required

До какого дня (следующего прогона) собирались заявки

status, 'draft' | 'approved' | 'sent' | 'cancelled' required
note, string required
total, string required

Сумма строк на момент чтения

line_count, integer required
created_by, integer
created_by_name, string
created_at, string date-time required
updated_at, string date-time required
approved_by, integer
approved_by_name, string
approved_at, string date-time
sent_at, string date-time
version, integer 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