create_document
Create new documents in 1C/BAS ERP systems by specifying the document type (e.g., customer invoice, order) and its fields, including line items.
Instructions
Створення нового документа в 1С/BAS (наприклад, СчетНаОплатуПокупателю, ЗаказКлиента)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_name": "<document_name>",
"fields": "<fields>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Реквізити документа, включаючи табличні частини (наприклад, ТоварныеЧасти / Товары) | |
| document_name | Yes | Назва документа без префікса Document_ (наприклад, ЗаказКлиента) |