Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать расходный кассовый ордер (РКО)

write.money.create_cash_payment

Creates an unposted 1C cash payment order for cash disbursement; requires an operation type and supports dry-run preview before confirmation to avoid duplicate records.

Instructions

Создаёт «Расходный кассовый ордер» (выдача наличных из кассы). НЕПРОВЕДЁННЫЙ; провести — post_document. Вид операции ОБЯЗАТЕЛЕН (напр. «ОплатаПоставщику», «ВыдачаПодотчетномуЛицу», «ВзносНаличнымиВБанк», «ВыплатаЗаработнойПлатыПоВедомостям»). Для оплаты по договору заполняется расшифровка: счёт расчётов — по настройке договора, источник виден в предпросмотре, сумма взаиморасчётов — для рублёвого договора. dry-run/confirm.

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": {
      "operationKind": "<operationKind>",
      "amount": "<amount>"
    },
    "name": "write.money.create_cash_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
cashNoУправление торговлей: касса — название, код или Ref_Key (одна у организации — сама)
dateNoДата YYYY-MM-DD (по умолчанию — момент предпросмотра)
basisNoОснование (текст)
amountYesСумма
budgetNoУправление торговлей, перечисление в бюджет: реквизиты платежа
personNoУправление торговлей, выдача подотчётнику: физическое лицо — название или Ref_Key
cashRefNoRef_Key кассы организации (СчетКасса)
commentNoКомментарий
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
fromCashNoУправление торговлей: касса-отправитель (из другой кассы, из кассы на счёт)
partyTextNoУправление торговлей: «Принято от» / «Выдать» в ордере (по умолчанию — контрагент или лицо)
departmentNoУправление торговлей: подразделение — название, код или Ref_Key
incomeItemNoУправление торговлей, прочее поступление: статья доходов или активов/пассивов (НЕ угадывайте)
contractRefNoRef_Key договора
corrAccountNoБухгалтерия: корреспондирующий счёт — код, напр. «91.02», «76.09», «68.90», «57.01» (не угадывать). ОБЯЗАТЕЛЕН для ПрочийПриход, ПрочийРасход, ПрочееСписание, ПеречислениеНалога; для КомиссияБанка и Депозит — по желанию. Субконто счёта — из counterpartyRef, contractRef, cashflowItemRef, otherItemRef
expenseItemNoУправление торговлей, прочая выдача: статья расходов или активов/пассивов (НЕ угадывайте)
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.
cashflowItemNoУправление торговлей: статья движения денежных средств — название, код или Ref_Key (НЕ угадывайте)
organizationNoОрганизация (юрлицо) для фильтра: часть названия, ИНН или Ref_Key из list_organizations. Без указания — все организации базы.
otherItemRefNoБухгалтерия: Ref_Key статьи прочих доходов и расходов — субконто счёта 91
operationKindYesВид операции (ОБЯЗАТЕЛЬНО, не угадывать)
toBankAccountNoУправление торговлей, инкассация: счёт организации, куда сдаются деньги
responsibleRefNoОтветственный документа — Ref_Key пользователя 1С (read.catalog.list_users): ставится в «Ответственный» или, где его нет (продажи и закупки УТ), в «Менеджер». Помеченный, недействительный и служебный — отказ; у документов без обоих полей (ПКО, РКО и заявка на расходование УТ) — отказ. Заменяет ответственного из fields
cashflowItemRefNoRef_Key статьи ДДС
counterpartyRefNoRef_Key контрагента (для расчётов)
fromBankAccountNoУправление торговлей: счёт-отправитель организации (с другого счёта)

Output Schema

NameRequiredDescriptionDefault
refNo
codeNo
noteNo
notesNo
dryRunNo
createdNo
payloadNo
retriedNo
warningNo
databaseNo
replayedNo
entitySetNo
reconciledNo
willCreateNo
descriptionNo
operationIdNo
deletionMarkNo
writableBaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly=false, destructive=false, openWorld=true; the description adds far more: the created document is unposted until a separate call, confirm=false is a pure dry-run with no write, the returned operationId must be reused on confirmation to avoid duplicates, and on timeout the same id should be retried rather than re-previewed. That is exactly the mutation-safety context the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the identity and the unposted/posting rule, then the mandatory operationKind, then the dry-run/confirm loop — a sensible order for an agent. It is dense but nearly every clause carries decision-relevant information; the contract-decryption sentence is the only one that reads as specialty detail rather than routing guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 27-parameter, nested-object creation tool, the description covers the things the schema cannot: draft-vs-posted lifecycle, the confirm/operationId protocol, mandatory operation kind, and which payment scenario requires extra settlement fields. An output schema exists, so the absence of return-value detail is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description earns above that by adding meaning the schema lacks, notably the enumerated operationKind values (schema has no enums) and the contract-payment "расшифровка" rule — settlement account derived from the contract settings, settlement amount required for rouble contracts. It does not explain the many configuration-specific (УТ vs Бухгалтерия) parameters, which the schema handles per-field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Создаёт «Расходный кассовый ордер» (выдача наличных из кассы)") and immediately scopes it: unposted draft, cash disbursement as opposed to a receipt. An agent can distinguish this from the cash-receipt and bank-writeoff siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete routing guidance: the document is created НЕПРОВЕДЁННЫЙ and must be posted via post_document, and operationKind is flagged as mandatory with four example values. It also prescribes the dry-run → confirm workflow. It does not explicitly contrast with create_bank_writeoff or create_payout_order, leaving that inference to the resource wording.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools