Stock documents

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

Changed on

Счёт запасов (10/41/43) задаёт правило по складу или товару с датой начала. Книга проводит складское движение по правилу на дату документа, поэтому после смены правила остаток остаётся в книге на старом счёте. Ответ — строки, которые перенесёт документ stock_account_transfer («Перенос остатка») на эту дату: склад, товар, счёт откуда, счёт куда и сумма. Пустой список означает, что переносить нечего.

Только чтение: документ не заводится.

get/api/v1/stock/account-transfers/proposal

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

date, string date required

Дата переноса, ГГГГ-ММ-ДД

business_id, string uuid

Бизнес; без него — строки всех бизнесов

Headers

X-Tenant, string required

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

Response

Строки переноса остатка

StockAccountTransferProposal required
count, integer required
results, StockAccountTransferLine[] 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

    3 more changes in this revision