Stock product units

Подобрать цену по умолчанию для прихода без цены поставщика

Changed on

Цена по умолчанию для излишка инвентаризации, ввода остатков и оприходования: себестоимость единицы на складе, по юрлицу (без юрлица — по бизнесу), цена последнего прихода, закупочная цена карточки — первая найденная, с источником. Нет ни одной — 0 и source none: строку надо оценить до закрытия месяца (по ФСБУ 5 излишки приходуются по справедливой стоимости). Не больше 200 товаров за раз. Без права stock.valuation:read («Себестоимость и суммы склада», ERP-1978) список пуст.

get/api/v1/stock/price-suggestions

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

products, string required

Товары через запятую

company, string uuid

Юрлицо

business, string uuid

Бизнес — если юрлицо не задано

warehouse, string uuid

Склад

date, string date

Дата ГГГГ-ММ-ДД; пусто — сегодня

Headers

X-Tenant, string required

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

Response

Цена и источник по каждому товару

StockPriceSuggestions required
results, 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

    3 more changes in this revision