Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать списание с расчётного счёта

write.money.create_bank_writeoff

Creates a draft outgoing bank payment document in 1C with a required operation kind, previewing details before you confirm. Handles supplier payments, taxes, bank fees and account transfers.

Instructions

Создаёт документ «Списание с расчётного счёта» (исходящий платёж с банка). НЕПРОВЕДЁННЫЙ; провести — post_document. Вид операции ОБЯЗАТЕЛЕН и не угадывается (напр. «ОплатаПоставщику», «ПеречислениеНалога», «ПрочееСписание», «КомиссияБанка», «ПереводНаДругойСчет»; «ПеречислениеЗП» и «СнятиеНаличных» — отказ: их оформляют в 1С). Перевод между своими счетами — operationKind «ПереводНаДругойСчет» и targetBankAccount (счёт-получатель той же организации, в той же валюте). Для оплаты поставщику с договором заполняется расшифровка: счёт расчётов — по настройке договора, источник виден в предпросмотре (обычно 60), сумма взаиморасчётов — для рублёвого договора. 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_bank_writeoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
cashNoУправление торговлей: касса — название, код или Ref_Key (одна у организации — сама)
dateNoДата YYYY-MM-DD (по умолчанию — момент предпросмотра)
amountYesСумма списания
budgetNoУправление торговлей, перечисление в бюджет: реквизиты платежа
personNoУправление торговлей, выдача подотчётнику: физическое лицо — название или Ref_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, чтобы повтор не создал дубликат.
purposeTextNoНазначение платежа (текст)
cashflowItemNoУправление торговлей: статья движения денежных средств — название, код или Ref_Key (НЕ угадывайте)
organizationNoОрганизация (юрлицо) для фильтра: часть названия, ИНН или Ref_Key из list_organizations. Без указания — все организации базы.
otherItemRefNoБухгалтерия: Ref_Key статьи прочих доходов и расходов — субконто счёта 91
operationKindYesВид операции (ОБЯЗАТЕЛЬНО, не угадывать): ОплатаПоставщику / ПеречислениеНалога / ПрочееСписание / КомиссияБанка / Депозит …
toBankAccountNoУправление торговлей, инкассация: счёт организации, куда сдаются деньги
orgBankAccountNoБанковский счёт организации — печатается в документе как реквизиты для оплаты. Название/номер счёта (напр. «Сбербанк» или «40802…») либо Ref_Key. Без указания берётся ОСНОВНОЙ счёт организации.
responsibleRefNoОтветственный документа — Ref_Key пользователя 1С (read.catalog.list_users): ставится в «Ответственный» или, где его нет (продажи и закупки УТ), в «Менеджер». Помеченный, недействительный и служебный — отказ; у документов без обоих полей (ПКО, РКО и заявка на расходование УТ) — отказ. Заменяет ответственного из fields
cashflowItemRefNoRef_Key статьи ДДС
counterpartyRefNoRef_Key контрагента (для расчётов)
fromBankAccountNoУправление торговлей: счёт-отправитель организации (с другого счёта)
settlementLinesNoОплата одного контрагента несколькими строками расшифровки, сумма строк = amount. Бухгалтерия — по договорам {contractRef, amount}, счета расчётов по настройке договора каждой строки; Управление торговлей — по документам {basisRef, amount} (оплата поставщику, поступление от клиента). Как разнести сумму, решает пользователь — не угадывать
targetBankAccountNoБухгалтерия, «ПереводНаДругойСчет» (ОБЯЗАТЕЛЕН): счёт-получатель — банковский счёт той же организации, Ref_Key, номер или часть названия

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.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the created document is unposted, operationKind is mandatory and some kinds are refused, transfers require the same organization and currency, settlement account source appears in preview, and confirm retries should reuse operationId after timeout. These details are not contradicted by the readOnly=false, destructive=false, openWorld=true annotations.

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?

The purpose and unposted status are front-loaded, followed by operationKind, transfer handling, supplier settlement, and confirm flow. It is dense and somewhat run-on, with some repetition of schema details, but every sentence carries operational value.

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

Completeness4/5

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

Given a complex 29-parameter tool with a rich input schema, output schema, and annotations, the description covers the critical workflow: unposted creation, mandatory operationKind, refused kinds, transfers, settlement lines, and dry-run/confirm. Some optional parameter combinations remain schema-only, but the definition is complete enough for correct invocation.

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 100%, so the baseline is already 3, but the description adds meaningful cross-parameter context: operationKind refusal cases, targetBankAccount currency/organization constraints for transfers, and settlement account behavior visible in preview (usually 60). It does not explain all 29 parameters, but it adds useful semantics for the critical ones.

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: creates the bank write-off document, and explicitly says it is unposted while naming post_document for posting. This distinguishes the tool from its posting sibling and makes the purpose immediately clear.

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 clear when-not guidance for operation kinds such as salary transfer and cash withdrawal, and explains the transfer-between-own-accounts case and supplier settlement breakdown. It does not compare against the other payment-creation siblings, so it falls short of fully explicit alternative routing.

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