---
title: "Создать ручную плановую строку"
method: POST
path: "/api/v1/finance/payment-calendar/plans"
tags: ["Finance payment calendar"]
---

# Создать ручную плановую строку

`POST /api/v1/finance/payment-calendar/plans`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/finance/payment-calendar/plans`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://erp.akeda.ru/oauth2/authorize`, token URL `https://erp.akeda.ru/oauth2/token`, scopes: `akeda:delegate`)
  - HTTP bearer

Создаёт ручную плановую строку платёжного календаря.

## Query parameters

- `business` string, uuid

## Headers

- `X-Tenant` string, required

## Request body

- FinancePaymentPlanInput
  - `project_id` string, uuid
  - `company_id` string, uuid, required
  - `direction` 'in' | 'out', required
  - `plan_date` string, date, required
  - `amount` string, required: Positive decimal string
  - `currency` string, required
  - `source_kind` 'bank' | 'cash' | 'unset', required
  - `account_id` string, uuid
  - `wallet_id` string, uuid
  - `contact_id` string, uuid
  - `item_id` string, uuid
  - `title` string, required
  - `note` string

## Response `201`

Созданный план

- FinancePaymentPlan
  - `project_id` string, uuid
  - `id` string, uuid, required
  - `company_id` string, uuid
  - `direction` 'in' | 'out', required
  - `plan_date` string, date, required
  - `amount` string, required
  - `currency` string, required
  - `source_kind` 'bank' | 'cash' | 'unset', required
  - `account_id` string, uuid
  - `wallet_id` string, uuid
  - `contact_id` string, uuid
  - `item_id` string, uuid
  - `title` string, required
  - `note` string, required
  - `status` 'planned' | 'done' | 'cancelled', required
  - `executed_on` string, date
  - `executed_document_id` string, uuid
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Запись не найдена или не видима текущему пользователю

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) · [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) · [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/a99574d597cc?raw)
