Редактировать транзакцию
Меняет существующую транзакцию по ID и ревизии. Для переноса дня укажите дату и часовой пояс. Редактор сохранит местное время операции, сумму и счета.
finance_transaction_update
Попробуйте три запроса
- Вы указываетеID и новый день
- ПомощникПравка date
- Вы получаетеТот же расход
В выбранной ручной транзакции перенеси расход на 9 ноября 2026 года по часовому поясу America/Tijuana. Прочитай finance_transaction_get, возьми ID и ревизию и измени только дату. Перечитай ту же строку и сверь день, местное время, сумму и счета.
- Новый день
- 2026-11-09
- Сохраняются
- ID, время, сумма и счета
- Вы указываетеID и момент
- ПомощникДата со смещением
- Вы получаетеПрочитать результат
Для выбранной обычной проводки исправь дату и время на 16 ноября 2026 года, 10:30 с UTC−08:00. Передай date как 2026-11-16T10:30:00-08:00 и проверь результат чтением по тому же ID.
- Новое время
- 10:30
- Смещение
- UTC−08:00
- Вы указываетеДата и комментарий
- ПомощникПолная форма
- Вы получаетеСверка записи
В выбранной обычной транзакции замени комментарий на «Аренда за ноябрь» и перенеси дату на 23 ноября 2026 года в часовом поясе компании. Прочитай ревизию и полную форму, сохрани сумму, счета, категорию и вложения. Покажи итог.
- Дата
- 2026-11-23
- Комментарий
- Аренда за ноябрь
Как перенести только дату
Прочитайте исходную транзакцию. Для изменения только дня достаточно ID, ревизии, причины, ключа запроса, даты и часового пояса. Подставьте свои значения вместо учебных. Для точного момента передайте дату и время со смещением и опустите timeZone. У банковских и системных записей действуют правила исходной операции.
{
"name": "finance_transaction_update",
"arguments": {
"id": "demo-expense",
"revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reason": "Исправление даты расхода",
"requestId": "demo-date-001",
"date": "2026-11-09",
"timeZone": "America/Tijuana"
}
}Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Edit an existing transaction, including a manually entered Accounting row. To change only its date pass id, revision from finance_transaction_get, reason, requestId and date (YYYY-MM-DD with the business timeZone, or an ISO timestamp with offset). The same row ID, amount, accounts, category and attachments are preserved. For other edits supply the full native form; date is optional. Bank-owned, system and immutable movement dates are managed by their owning workflows. Preserves native account balance triggers, files and supplier links. For an immutable MCP manual movement the native editor creates its canonical correction instead. Supplier changes require current inventory movement permissions; manual replacement also requires finance_transactions.create. No bank or payment-provider operation.
Параметры запроса
- id
- Идентификатор выбранной записи. обязательно по схеме · string
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- revision
- Текущая версия выбранной записи. обязательно по схеме · string
- reason
- Native reason value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 1000
- type
- Native type value; use the value and type returned by the corresponding service. необязательно · string · варианты +, -, =
- amount
- Native amount value; use the value and type returned by the corresponding service. необязательно · number · максимум 1000000000000
- fromAccount
- Native fromAccount value; use the value and type returned by the corresponding service. необязательно · string / null
- toAccount
- Native toAccount value; use the value and type returned by the corresponding service. необязательно · string / null
- category
- Native category value; use the value and type returned by the corresponding service. необязательно · string / null
- comment
- Native comment value; use the value and type returned by the corresponding service. необязательно · string · до символов 4000
- invoice
- Native invoice value; use the value and type returned by the corresponding service. необязательно · array · до элементов 10
- date
- New bookkeeping date. Use YYYY-MM-DD with timeZone to keep the existing local time, or an ISO timestamp with UTC offset for an exact instant. необязательно · string / string
- timeZone
- IANA business time zone for a calendar date, for example America/Tijuana. Omit for an explicit timestamp. необязательно · string · до символов 100
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native transaction editor result: record/revision/supplies and editability for reads; saved record or correction movement for updates; deleted/reversed acknowledgment for removal. Native audit and account balance effects are preserved. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native id value; use the value and type returned by the corresponding service."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Exact native editor revision from finance_transaction_get. Generic finance_transactions_get revisions use a different contract."
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Native reason value; use the value and type returned by the corresponding service."
},
"type": {
"type": "string",
"enum": [
"+",
"-",
"="
],
"description": "Native type value; use the value and type returned by the corresponding service."
},
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000000000,
"description": "Native amount value; use the value and type returned by the corresponding service."
},
"fromAccount": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
],
"description": "Native fromAccount value; use the value and type returned by the corresponding service."
},
"toAccount": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
],
"description": "Native toAccount value; use the value and type returned by the corresponding service."
},
"category": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"description": "Native category value; use the value and type returned by the corresponding service."
},
"comment": {
"type": "string",
"maxLength": 4000,
"description": "Native comment value; use the value and type returned by the corresponding service."
},
"invoice": {
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "Existing HTTPS receipt or attachment URL; preserve its additional native metadata."
}
},
"required": [
"image"
],
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
},
"description": "Native invoice value; use the value and type returned by the corresponding service."
},
"date": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
],
"description": "New bookkeeping date. Use YYYY-MM-DD with timeZone to keep the existing local time, or an ISO timestamp with UTC offset for an exact instant."
},
"timeZone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "IANA business time zone for a calendar date, for example America/Tijuana. Omit for an explicit timestamp."
}
},
"required": [
"id",
"requestId",
"revision",
"reason"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native transaction editor result: record/revision/supplies and editability for reads; saved record or correction movement for updates; deleted/reversed acknowledgment for removal. Native audit and account balance effects are preserved."
}
},
"required": [
"companyId",
"result"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}