Finance statements

Привязать существующие операции к выписке

Changed on

Атомарная привязка по явным UUID. Счёт и дата каждой операции должны соответствовать выписке. previous_statement_id содержит ожидаемую прежнюю привязку либо null; конфликт отменяет весь пакет. Повтор для уже привязанной операции ничего не меняет. Суммы, аналитики, документы и движения регистров не изменяются.

post/api/v1/finance/statements/{id}/transactions

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

id, string uuid required

Headers

X-Tenant, string required

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

Request body

FinanceStatementLinkInput required
transactions, object[] required

Response

Результат привязки

FinanceStatementLinkResult required
statement_id, string uuid required
linked, integer required
unchanged, 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

    9 more changes in this revision