Finance operations

Сменить статью доходов и расходов у проведённого акта

Changed on

Меняет статью у проведённого акта продажи или закупки, выставленного по операции или заказу, и перепроводит тот же документ. Связь с продажей или закупкой, зачёты аванса и НДС остаются: зачёты на время перепроведения снимаются и встают обратно. Выручка или расход переезжает на новую статью. Правка пишется в историю операции. Закрытый период — отказ 409. Повтор с той же статьёй ничего не меняет.

post/api/v1/finance/trade/acts/{id}/pnl-item

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

object required
pnl_item_id, string uuid required

Новая статья доходов и расходов

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