Finance transactions

Перепровести выбранные банковские операции без смены полей

Changed on

Для каждой строки снимает опиравшиеся на неё погашения, аванс и зачёты, перепроводит документ операции одним переходом (отмена старых движений и новые в одной транзакции) и разносит её правилом заново. Без confirm_release ответ 409 finance.repost.release_needs_consent с общим списком released по всем строкам; с согласием — исход каждой строки (reposted или failed с причиной period_closed, deleted, not_posted).

post/api/v1/finance/transactions/repost

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

Headers

X-Tenant, string required

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

Request body

object required
ids, UUID[] required
confirm_release, boolean

Response

Исход каждой строки

object 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