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

Расчёт выплат · Расчёты · Просмотр

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

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

Получить данные
  1. Вы указываетеId записи
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расчёт выплат / Расчёты / Просмотр» выполни чтение по выбранной записи (ID записи). Выведи кратко: calculation.
Что искать в ответе
calculation
Поле ответа
Уточнить объект
  1. Вы указываетеId записи
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Перед чтением «Расчёт выплат / Расчёты / Просмотр» сверь ID записи с выбранной мной записью. Если совпадений несколько, покажи различия и дождись выбора.
Параметры примера
id
Из выбранной записи
При совпадениях
Уточнить выбор
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расчёт выплат / Расчёты / Просмотр» объясни calculation. Отметь отсутствующие значения.
Поля для проверки
calculation
Поле ответа
Как работает действие

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

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

Read the original native payroll calculation and revision, including after an uncertain create, approve or void. Never transfers money.

Параметры запроса
id
Идентификатор выбранной записи. обязательно по схеме · string
Что вернёт команда
calculation
Native calculation value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа payroll_calculation_get
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "calculation": {
      "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": {
          "$ref": "#/$defs/_mcp0"
        },
        "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": {
          "$ref": "#/$defs/_mcp1"
        },
        "to": {
          "$ref": "#/$defs/_mcp2"
        },
        "payDate": {
          "$ref": "#/$defs/_mcp3"
        },
        "currency": {
          "$ref": "#/$defs/_mcp4"
        },
        "input": {
          "type": "object",
          "properties": {
            "profileId": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
              "description": "Native Recruiter salary identity employeeId~salaryDocumentId; obtain from payroll_native_profiles_list. This is not a legacy SQL payroll profile UUID."
            },
            "from": {
              "$ref": "#/$defs/_mcp1"
            },
            "to": {
              "$ref": "#/$defs/_mcp2"
            },
            "payDate": {
              "$ref": "#/$defs/_mcp3"
            },
            "timezone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100,
              "description": "Native timezone value; use the value and type returned by the corresponding service."
            },
            "weekAnchor": {
              "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": "Native weekAnchor value; use the value and type returned by the corresponding service."
            },
            "periodsPerYear": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "number",
                  "const": 4
                },
                {
                  "type": "number",
                  "const": 12
                },
                {
                  "type": "number",
                  "const": 24
                },
                {
                  "type": "number",
                  "const": 26
                },
                {
                  "type": "number",
                  "const": 52
                },
                {
                  "type": "number",
                  "const": 260
                }
              ],
              "description": "Native periodsPerYear value; use the value and type returned by the corresponding service."
            },
            "earningsMode": {
              "type": "string",
              "enum": [
                "native",
                "hourly",
                "monthly",
                "weekly",
                "shift",
                "day",
                "piecework",
                "manual"
              ],
              "description": "Native earningsMode value; use the value and type returned by the corresponding service."
            },
            "piecework": {
              "description": "Native piecework value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "confirmed": {
                  "type": "boolean",
                  "const": true,
                  "description": "Native confirmed value; use the value and type returned by the corresponding service."
                },
                "note": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 2000,
                  "description": "Native note value; use the value and type returned by the corresponding service."
                },
                "quantities": {
                  "minItems": 1,
                  "maxItems": 200,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "productId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
                        "description": "Native productId value; use the value and type returned by the corresponding service."
                      },
                      "operation": {
                        "type": "string",
                        "enum": [
                          "sale",
                          "production",
                          "delivery",
                          "packing",
                          "service"
                        ],
                        "description": "Native operation value; use the value and type returned by the corresponding service."
                      },
                      "quantity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "Native quantity value; use the value and type returned by the corresponding service."
                      }
                    },
                    "required": [
                      "productId",
                      "operation",
                      "quantity"
                    ],
                    "additionalProperties": false
                  },
                  "description": "Native quantities value; use the value and type returned by the corresponding service."
                }
              },
              "required": [
                "confirmed",
                "note",
                "quantities"
              ],
              "additionalProperties": false
            },
            "overtime": {
              "type": "string",
              "enum": [
                "us-weekly",
                "exempt",
                "manual"
              ],
              "description": "Native overtime value; use the value and type returned by the corresponding service."
            },
            "gross": {
              "description": "Native gross value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000
            },
            "earningsNote": {
              "default": "",
              "description": "Native earningsNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 2000
            },
            "taxMode": {
              "type": "string",
              "enum": [
                "us-federal-2026",
                "manual"
              ],
              "description": "Use only the native supported jurisdiction/year or explicitly reviewed manual amounts. Never invent taxes or opening balances."
            },
            "opening": {
              "description": "Native opening value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "ssWages": {
                  "$ref": "#/$defs/_mcp5"
                },
                "medicareWages": {
                  "$ref": "#/$defs/_mcp6"
                },
                "futaWages": {
                  "$ref": "#/$defs/_mcp7"
                },
                "confirmed": {
                  "type": "boolean",
                  "description": "Native confirmed value; use the value and type returned by the corresponding service."
                },
                "note": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 1000,
                  "description": "Native note value; use the value and type returned by the corresponding service."
                }
              },
              "required": [
                "ssWages",
                "medicareWages",
                "futaWages",
                "confirmed",
                "note"
              ],
              "additionalProperties": false
            },
            "taxes": {
              "default": [],
              "description": "Native taxes value; use the value and type returned by the corresponding service.",
              "maxItems": 50,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100,
                    "description": "Native name value; use the value and type returned by the corresponding service."
                  },
                  "party": {
                    "type": "string",
                    "enum": [
                      "employee",
                      "employer"
                    ],
                    "description": "Native party value; use the value and type returned by the corresponding service."
                  },
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Native amount value; use the value and type returned by the corresponding service."
                  }
                },
                "required": [
                  "name",
                  "party",
                  "amount"
                ],
                "additionalProperties": false
              }
            },
            "taxNote": {
              "default": "",
              "description": "Native taxNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 2000
            },
            "taxableWages": {
              "description": "Native taxableWages value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "ssWages": {
                  "$ref": "#/$defs/_mcp5"
                },
                "medicareWages": {
                  "$ref": "#/$defs/_mcp6"
                },
                "futaWages": {
                  "$ref": "#/$defs/_mcp7"
                }
              },
              "required": [
                "ssWages",
                "medicareWages",
                "futaWages"
              ],
              "additionalProperties": false
            },
            "postTaxDeduction": {
              "default": 0,
              "description": "Native postTaxDeduction value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000
            },
            "deductionNote": {
              "default": "",
              "description": "Native deductionNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 1000
            },
            "futaRate": {
              "description": "Native futaRate value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 6
            },
            "futaNote": {
              "default": "",
              "description": "Native futaNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 1000
            }
          },
          "required": [
            "profileId",
            "from",
            "to",
            "payDate",
            "timezone",
            "weekAnchor",
            "periodsPerYear",
            "earningsMode",
            "overtime",
            "earningsNote",
            "taxMode",
            "taxes",
            "taxNote",
            "postTaxDeduction",
            "deductionNote",
            "futaNote"
          ],
          "additionalProperties": false,
          "description": "Native input value; use the value and type returned by the corresponding service."
        },
        "result": {
          "type": "object",
          "properties": {
            "engine": {
              "type": "string",
              "maxLength": 100,
              "description": "Native engine value; use the value and type returned by the corresponding service."
            },
            "currency": {
              "$ref": "#/$defs/_mcp4"
            },
            "employeeId": {
              "$ref": "#/$defs/_mcp0"
            },
            "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."
            },
            "blockers": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 10000
              },
              "description": "Native blockers value; use the value and type returned by the corresponding service."
            },
            "coverage": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 10000
              },
              "description": "Native coverage value; use the value and type returned by the corresponding service."
            }
          },
          "required": [
            "engine",
            "currency",
            "employeeId",
            "gross",
            "net",
            "totalCost",
            "blockers",
            "coverage"
          ],
          "additionalProperties": {},
          "description": "Native result 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."
        }
      },
      "required": [
        "id",
        "employeeId",
        "profileId",
        "status",
        "revision",
        "from",
        "to",
        "payDate",
        "currency",
        "input",
        "result",
        "createdAt",
        "createdBy"
      ],
      "additionalProperties": false,
      "description": "Native calculation value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "calculation"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native employeeId value; use the value and type returned by the corresponding service."
    },
    "_mcp1": {
      "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."
    },
    "_mcp2": {
      "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."
    },
    "_mcp3": {
      "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."
    },
    "_mcp4": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Native currency value; use the value and type returned by the corresponding service."
    },
    "_mcp5": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native ssWages value; use the value and type returned by the corresponding service."
    },
    "_mcp6": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native medicareWages value; use the value and type returned by the corresponding service."
    },
    "_mcp7": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native futaWages value; use the value and type returned by the corresponding service."
    }
  }
}