Properties
| Name | Type | Description |
|---|---|---|
| company_id | object | |
| contact_id | object | |
| contract_document_id | object | |
| channel_id | object | Канал продаж заказа (ERP-2885): по нему склад решает, когда резервировать (правило канала). Не назван — канал подберётся по покупателю, если тот ровно в одном канале |
| counterparty | object | |
| funnel_id | object | Необязательная действующая воронка продаж этого кабинета; повтор с другой воронкой отвечает 409 |
| external_id | string | Номер продажи или закупки у магазина — ключ идемпотентности загрузки |
| number | string | Пусто — кабинет выдаст следующий номер |
| title | string | |
| currency | string | Код валюты сделки, например RUB |
| manager | string | |
| comment | string | |
| order_date | string | |
| ship_date | string | |
| due_date | string | |
| discount | string | |
| prices_include_vat | boolean | Цены включают налог; пусто — умолчание кабинета |
| scenario | string | Путь сделки; продажа или закупка с оплатой на сайте — self_service |
| payment | object | |
| source | string | Не используется контуром приложения: источник журнала — пространство приложения из токена |
| warehouse_id | object | |
| items | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/akeda-ru/json-schema/akeda-ru-docflow-app-sales-order-input-schema.json",
"title": "DocflowAppSalesOrderInput",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/akeda-ru-app-runtime-api-openapi.yml#/components/schemas/DocflowAppSalesOrderInput",
"type": "object",
"additionalProperties": false,
"required": [
"company_id",
"external_id",
"currency",
"order_date",
"items"
],
"properties": {
"company_id": {
"$ref": "#/$defs/UUID"
},
"contact_id": {
"$ref": "#/$defs/UUID"
},
"contract_document_id": {
"$ref": "#/$defs/UUID"
},
"channel_id": {
"$ref": "#/$defs/UUID",
"description": "Канал продаж заказа (ERP-2885): по нему склад решает, когда резервировать (правило канала). Не назван — канал подберётся по покупателю, если тот ровно в одном канале"
},
"counterparty": {
"$ref": "#/$defs/DocflowAppSalesOrderCounterparty"
},
"funnel_id": {
"$ref": "#/$defs/UUID",
"description": "Необязательная действующая воронка продаж этого кабинета; повтор с другой воронкой отвечает 409"
},
"external_id": {
"type": "string",
"minLength": 1,
"description": "Номер продажи или закупки у магазина — ключ идемпотентности загрузки"
},
"number": {
"type": "string",
"description": "Пусто — кабинет выдаст следующий номер"
},
"title": {
"type": "string"
},
"currency": {
"type": "string",
"description": "Код валюты сделки, например RUB"
},
"manager": {
"type": "string"
},
"comment": {
"type": "string"
},
"order_date": {
"type": "string",
"format": "date"
},
"ship_date": {
"type": "string",
"format": "date"
},
"due_date": {
"type": "string",
"format": "date"
},
"discount": {
"type": "string"
},
"prices_include_vat": {
"type": "boolean",
"description": "Цены включают налог; пусто — умолчание кабинета"
},
"scenario": {
"type": "string",
"enum": [
"self_service",
"one_off_sale",
"contract_sale"
],
"description": "Путь сделки; продажа или закупка с оплатой на сайте — self_service"
},
"payment": {
"$ref": "#/$defs/DocflowAppSalesOrderPayment"
},
"source": {
"type": "string",
"description": "Не используется контуром приложения: источник журнала — пространство приложения из токена"
},
"warehouse_id": {
"$ref": "#/$defs/UUID"
},
"items": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/DocflowAppSalesOrderItem"
}
}
},
"$defs": {
"DocflowAppSalesOrderCounterparty": {
"type": "object",
"additionalProperties": false,
"description": "Покупатель человеческими ключами. ИНН узнаётся строго; телефон — признак физлица. Имя, телефон и почта остаются в продаже или закупке как реквизиты плательщика",
"properties": {
"name": {
"type": "string"
},
"inn": {
"type": "string"
},
"kpp": {
"type": "string"
},
"phone": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"DocflowAppSalesOrderItem": {
"type": "object",
"additionalProperties": false,
"required": [
"quantity",
"price"
],
"properties": {
"article": {
"type": "string",
"description": "Артикул или штрихкод позиции у магазина; узнаётся справочником номенклатуры точным совпадением"
},
"product_id": {
"$ref": "#/$defs/UUID"
},
"title": {
"type": "string",
"description": "Пусто — название берётся из номенклатуры"
},
"kind": {
"type": "string",
"enum": [
"goods",
"service",
"material",
"semi_product"
],
"description": "Пусто — вид номенклатуры"
},
"unit": {
"type": "string"
},
"quantity": {
"type": "string"
},
"price": {
"type": "string"
},
"discount": {
"type": "string"
},
"vat_rate": {
"type": "string",
"description": "Ставка строки: 22%, 10%, без НДС; пусто — учётная политика юрлица на дату продажи или закупки"
}
}
},
"DocflowAppSalesOrderPayment": {
"type": "object",
"additionalProperties": false,
"required": [
"provider",
"external_id",
"amount"
],
"description": "Сообщение эквайринга о продаже или закупке. Идемпотентно по паре provider + external_id",
"properties": {
"provider": {
"type": "string",
"description": "Кто подтвердил списание: yookassa, tochka, имя платёжного кабинета сайта"
},
"external_id": {
"type": "string",
"description": "Номер платежа у провайдера"
},
"kind": {
"type": "string",
"enum": [
"payment",
"refund"
],
"description": "Пусто — списание (payment)"
},
"amount": {
"type": "string",
"description": "Сумма больше нуля; возврат присылается видом refund, а не минусом"
},
"currency": {
"type": "string"
},
"paid_at": {
"type": "string",
"description": "Когда провайдер списал; пусто — момент сообщения"
}
}
},
"UUID": {
"type": "string",
"format": "uuid"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/akeda-ru-docflow-app-sales-order-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.