MCP Control
Расчёт выплат · Чтение

Расчёт выплат · Расчёты · Список

payroll_calculation_list
Кассовый чек, калькулятор и монеты

Попробуйте три запроса

Получить данные
  1. Вы указываетеСотрудник
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расчёт выплат / Расчёты / Список» выполни чтение по выбранной записи (сотрудник). Выведи кратко: список позиций, следующая страница.
Что искать в ответе
items
Список позиций
nextCursor
Следующая страница
Следующая страница
  1. Вы указываетеПредыдущий ответ
  2. ПомощникПродолжение
  3. Вы получаетеСледующая страница
Запрос в чат
Продолжи «Расчёт выплат / Расчёты / Список» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Как листать выдачу
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расчёт выплат / Расчёты / Список» объясни список позиций, следующая страница. Отметь отсутствующие значения.
Поля для проверки
items
Список позиций
nextCursor
Следующая страница
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.

Описание разработчика

List compact canonical payroll calculations for an employee, including draft, approved and void records. Continue with nextCursor until null; the native cursor preserves microseconds and tied record IDs. Read an individual calculation for inputs and source coverage. No bank payment is performed.

Параметры запроса
employeeId
Native employeeId value; use the value and type returned by the corresponding service. необязательно · string
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 10 · минимум 1 · максимум 25
cursor
Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string
Что вернёт команда
items
Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 25
nextCursor
Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа payroll_calculation_list
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "employeeId": {
      "description": "Native employeeId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "limit": {
      "default": 10,
      "description": "Native limit value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    },
    "cursor": {
      "description": "Native cursor value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,700}$"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "description": "Native id value; use the value and type returned by the corresponding service."
          },
          "employeeId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native employeeId value; use the value and type returned by the corresponding service."
          },
          "profileId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native profileId value; use the value and type returned by the corresponding service."
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "approved",
              "void"
            ],
            "description": "Native status value; use the value and type returned by the corresponding service."
          },
          "revision": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Native revision value; use the value and type returned by the corresponding service."
          },
          "from": {
            "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])))$",
            "description": "Native from value; use the value and type returned by the corresponding service."
          },
          "to": {
            "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])))$",
            "description": "Native to value; use the value and type returned by the corresponding service."
          },
          "payDate": {
            "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])))$",
            "description": "Native payDate value; use the value and type returned by the corresponding service."
          },
          "currency": {
            "type": "string",
            "minLength": 3,
            "maxLength": 3,
            "description": "Native currency value; use the value and type returned by the corresponding service."
          },
          "createdAt": {
            "type": "string",
            "description": "Native createdAt value; use the value and type returned by the corresponding service."
          },
          "createdBy": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native createdBy value; use the value and type returned by the corresponding service."
          },
          "gross": {
            "type": "number",
            "description": "Native gross value; use the value and type returned by the corresponding service."
          },
          "net": {
            "type": "number",
            "description": "Native net value; use the value and type returned by the corresponding service."
          },
          "totalCost": {
            "type": "number",
            "description": "Native totalCost value; use the value and type returned by the corresponding service."
          }
        },
        "required": [
          "id",
          "employeeId",
          "profileId",
          "status",
          "revision",
          "from",
          "to",
          "payDate",
          "currency",
          "createdAt",
          "createdBy",
          "gross",
          "net",
          "totalCost"
        ],
        "additionalProperties": false
      },
      "description": "Native items value; use the value and type returned by the corresponding service."
    },
    "nextCursor": {
      "description": "Native nextCursor value; use the value and type returned by the corresponding service.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false
}