Finance registers

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

Changed on

Проверяет строки ведомости и считает итоги для сверки с сальдо счетов 01 и 02 источника. Ошибка строки — код в errors строки, а не отказ всего запроса. Показывает и ввод начальных остатков суммой на 01/02 на эту дату: загрузка его сторнирует. Ничего не пишет.

post/api/v1/finance/fixed-assets/import/preview

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

FinanceFixedAssetImportInput required
company_id, string uuid required
date, string date required

Дата начала учёта — дата документа принятия

rows, FinanceFixedAssetImportRow[] required
warehouse_id, string uuid nullable

Response

Проверенные строки и итоги

FinanceFixedAssetImportPreview required
company_id, string required
date, string required
rows, FinanceFixedAssetImportRow[] required
total_cost, string required

Итог стоимости по строкам без ошибок

total_depreciation, string required

Итог амортизации по строкам без ошибок

total_residual, string required

Итог остаточной стоимости по строкам без ошибок

opening_cost, string required

Ввод начальных остатков на 01 на эту дату — загрузка его сторнирует

opening_depreciation, string required

Ввод начальных остатков на 02 на эту дату — загрузка его сторнирует

valid, integer required

Строк без ошибок

invalid, integer required

Строк с ошибками

Changes

    • warning

      added the new product_kind enum value to the rows/items/errors/items response property for the response status

    • warning

      added the new product_unknown enum value to the rows/items/errors/items response property for the response status

    • warning

      added the new quantity_invalid enum value to the rows/items/errors/items response property for the response status

    10 more changes in this revision