Финансы · Чтение
Посмотреть остатки на счетах
Рассчитывает остатки по выбранным финансовым счетам компании.
finance_get_account_balances
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Посмотреть остатки на счетах» выполни чтение в текущей компании. Выведи кратко: список позиций.
- items
- Список позиций
Уточнить условия
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Для «Посмотреть остатки на счетах» перечисли допустимые параметры accountIds. Уточни, какие значения нужны для моей задачи, до запроса данных.
- accountIds
- Параметр чтения
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Посмотреть остатки на счетах» объясни список позиций. Отметь отсутствующие значения.
- items
- Список позиций
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Calculate account balances from existing opening balances and the account-delta RPC. Use IDs from finance_list_accounts. Requires access to all company locations because financial accounts have no location boundary. Does not move money or expose bank account numbers.
Параметры запроса
- accountIds
- Exact account identifiers to calculate, at most 50. обязательно по схеме · array · до элементов 50
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 50
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"accountIds": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical financial account identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
},
"description": "Exact account identifiers to calculate, at most 50."
}
},
"required": [
"accountIds"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"accountId": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Canonical financial account identifier."
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Stored account currency."
},
"openingBalance": {
"description": "Recorded opening balance.",
"type": [
"number",
"null"
]
},
"delta": {
"description": "Existing engine net transaction movement.",
"type": [
"number",
"null"
]
},
"balance": {
"description": "Opening balance plus net transaction movement, without currency conversion.",
"type": [
"number",
"null"
]
}
},
"required": [
"accountId",
"currency",
"openingBalance",
"delta",
"balance"
],
"additionalProperties": false
},
"description": "Calculated balances for authorized company accounts."
}
},
"required": [
"items"
],
"additionalProperties": false
}