Навигация по документу
Описание структуры базы данных
Модуль common
ПЕГАС РУС
Схема common
Общая
Таблица common.agent
Агенты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | lastname | Фамилия | text | Да |
| 4 | firstname | Имя/наименование | text | Да |
| 5 | middlename | Отчество | text | Да |
| 6 | insurance_number | СНИЛС | text | Да |
| 7 | id_fund | Фонд/филиал | integer | Нет |
| 8 | agent_area | Область деятельности | text | Да |
| 9 | id_agent_parent | ИД вышестоящего агента | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | data | Данные | jsonb схема |
Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Коментарий",
"type": [
"string",
"null"
]
},
"admin": {
"description": "Администратор",
"type": "boolean"
},
"agent_sequence": {
"description": "Пароль агента",
"type": [
"string",
"null"
]
},
"contragent_selfnumber": {
"description": "Контрагент",
"type": [
"string",
"null"
]
},
"contract": {
"description": "Договор",
"type": "object",
"properties": {
"number": {
"description": "Номер договора",
"type": "string"
},
"date": {
"description": "Дата договора",
"type": [
"string",
"null"
]
},
"period": {
"description": "Период действия договора",
"type": [
"string",
"null"
]
}
},
"required": [
"number"
],
"additionalProperties": false
},
"curator": {
"description": "Куратор",
"type": "object",
"properties": {
"id": {
"description": "ИД куратора",
"type": [
"integer",
"null"
]
},
"name": {
"description": "Наименование куратора",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"fund": {
"description": "Фонд",
"type": "object",
"properties": {
"id": {
"description": "ИД",
"type": "integer"
},
"code": {
"description": "Код",
"type": "string"
},
"fullname": {
"description": "Полное наименование",
"type": "string"
},
"shortname": {
"description": "Краткое наименование",
"type": "string"
}
},
"required": [
"id",
"code",
"fullname",
"shortname"
],
"additionalProperties": false
}
},
"required": [
"admin"
],
"additionalProperties": false
}
Таблица common.order
Платежные поручения
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value | Сумма | numeric | Нет |
| 3 | number | Номер реестра | text | Нет |
| 4 | date | Дата | date | Нет |
| 5 | value_date | Дата поступило | date | Нет |
| 6 | created | Дата создания | timestamp | Нет |
| 7 | id_payer_juridical | ИД плательщика юридического лица | integer | Да |
| 8 | id_payer_natural | ИД плательщика физического лица | integer | Да |
| 9 | id_recipient | ИД получателя | integer | Да |
| 10 | pay_purpose | Назначение платежа | text | Да |
| 11 | payment_type | ИД типа платежа | text | Да |
| 12 | transaction_code | Код транзакции | text | Да |
| 13 | recipient_account | Счёт получателя | text | Да |
| 14 | refused | Отказ | boolean | Нет |
| 15 | amended | Изменён | boolean | Нет |
| 16 | investor | Вкладчик | text | Да |
| 17 | id_fund | ИД фонда/филиала | integer | Да |
| 18 | id_contract | ИД договора | integer | Да |
| 19 | id_department | ИД подразделения | integer | Да |
| 20 | id_order_error | ИД причины не разнесения пп | integer | Да |
| 21 | register_date | Дата регистрации | date | Да |
| 22 | register_number | Дата реестра | integer | Да |
| 23 | operation | Операция | uuid | Нет |
| 24 | id_bank_statement | ИД банковской выписки | integer | Да |
| 25 | id_schema | ИД схемы | integer | Да |
| 26 | account_type | Тип счёта | text | Да |
| 27 | data | Данные | jsonb схема |
Нет |
| 28 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"payer": {
"description": "Информация о плательщике",
"type": "object",
"properties": {
"real_payer": {
"description": "Плательщик",
"type": [
"string",
"null"
]
},
"real_payer_bank": {
"description": "Банк плательщика",
"type": [
"string",
"null"
]
},
"payer_bank_bic": {
"description": "БИК банка плательщика",
"type": [
"string",
"null"
]
},
"payer_inn": {
"description": "ИНН плательщика",
"type": [
"string",
"null"
]
},
"payer_account": {
"description": "Счёт плательщика",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"inpayment": {
"description": "Информация о пп",
"type": "object",
"properties": {
"target_inpayment_value": {
"description": "Целевое назначение платежа",
"type": [
"number",
"null"
]
},
"inpayment_order": {
"description": "Платежное поручение",
"type": [
"integer",
"null"
]
},
"inpayment_order_recipient": {
"description": "Получатель пп",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"verification": {
"description": "Верификация",
"type": [
"string",
"null"
]
},
"lind": {
"description": "ЛИНД",
"type": [
"string",
"null"
]
},
"timestamp_verification": {
"description": "Время верификации",
"type": [
"string",
"null"
]
},
"store_order_number": {
"description": "Номер заказа",
"type": [
"string",
"null"
]
},
"editor": {
"description": "Редактор",
"type": [
"string",
"null"
]
},
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.schema
Пенсионные схемы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | schema_type | Тип схемы | text | Нет |
| 3 | selfnumber | Внешний номер | text | Нет |
| 4 | description | Описание | text | Нет |
| 5 | close_date | Дата закрытия | date | Да |
| 6 | funding_type | Тип финансирования | text | Да |
| 7 | schema_group | Группа | text | Нет |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb схема |
Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"params": {
"description": "Параметры схемы",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"number": {
"description": "Номер в правилах фонда",
"type": "string"
},
"close_on_payment": {
"description": "Возможность расторжения договора на этапе выплат",
"type": "boolean"
},
"close_on_accum": {
"description": "Возможность расторжения договора на этапе накопления",
"type": "boolean"
},
"annuity": {
"description": "Аннуитет",
"type": "string"
},
"schema_variant": {
"description": "Вариант пенсионной схемы",
"type": [
"string",
"null"
]
},
"oud_value": {
"description": "Процент отчислений на ОУД",
"type": [
"number",
"null"
]
},
"oud": {
"description": "Схема удержания ОУД в зависимости от размера взноса",
"type": [
"string",
"null"
]
},
"actuary_admission": {
"description": "Актуарные допущения",
"type": [
"string",
"null"
]
},
"xinpayment": {
"description": "Коэффициент для выкупной суммы в части взносов",
"type": [
"number",
"null"
]
},
"xprofit": {
"description": "Коэффициент для выкупной суммы в части инвест. дохода",
"type": [
"number",
"null"
]
},
"rate_profit_accumulate": {
"description": "Актуарная ставка доходности на этапе накоплений",
"type": [
"string",
"null"
]
},
"rate_profit_outpayment": {
"description": "Актуарная ставка доходности на этапе выплат",
"type": [
"string",
"null"
]
},
"template": {
"description": "Шаблон бумажной формы",
"type": [
"string",
"null"
]
},
"fee": {
"description": "Процент отчислений на целевой взнос",
"type": [
"number",
"null"
]
},
"alfa": {
"description": "Рисковая надбавка",
"type": [
"number",
"null"
]
},
"balance_discount_coeff": {
"description": "Коэффициент дисконта остатка",
"type": [
"number",
"null"
]
},
"id_xi_coeff": {
"description": "Тип коэффициента X",
"type": [
"integer",
"null"
]
},
"id_vesting_coeff": {
"description": "Тип коэффициента вестинга",
"type": [
"integer",
"null"
]
},
"accounts_personification": {
"description": "Персонификация счетов",
"type": "boolean"
}
},
"required": [
"operation",
"number",
"close_on_payment",
"close_on_accum",
"annuity",
"accounts_personification"
]
}
},
"additionalProperties": false
}
Таблица common.sharer
Участники
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | registr_date | Дата регистрации | date | Нет |
| 4 | create_date | Дата создания участника в договоре | date | Нет |
| 5 | id_natural | ИД физического лица | integer | Нет |
| 6 | id_contract | ИД договора | integer | Нет |
| 7 | id_fund | ИД фонда/филиала обслуживания | integer | Да |
| 8 | id_agent | ИД агента | integer | Да |
| 9 | exclude_date | Дата начала исключения | date | Да |
| 10 | close_date | Дата закрытия | date | Да |
| 11 | close_reason | Причина закрытия | text | Да |
| 12 | account_close_date | Дата закрытия счёта | date | Да |
| 13 | account_open_date | Дата открытия счёта | date | Да |
| 14 | last_inpayment_date | Дата последнего взноса | date | Да |
| 15 | workplace_begin_date | Дата приема на работу | date | Да |
| 16 | operation | Операция | uuid | Нет |
| 17 | data | Данные | jsonb схема |
Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"params": {
"description": "Параметры участника",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"informing_type": {
"description": "Тип информирования",
"type": [
"string",
"null"
]
},
"annuity": {
"description": "Аннуитет",
"type": [
"string",
"null"
]
},
"email": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"payment_rate": {
"description": "Процент от зарплаты",
"type": [
"number",
"null"
],
"minimum": 0
}
},
"required": [
"operation"
],
"additionalProperties": false
},
"requisite": {
"description": "Способ выплат",
"type": "object",
"properties": {
"pension": {
"description": "Способ выплат пенсии",
"": "#//requisite"
},
"redemption": {
"description": "Способ выплат выкупной суммы",
"": "#//requisite"
},
"outpayment": {
"description": "Способ выплат пенсии/выкупной суммы",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"pension": {
"description": "Пенсия",
"type": [
"string",
"null"
]
},
"redemption": {
"description": "Выкупная сумма",
"type": [
"string",
"null"
]
}
},
"required": [
"operation"
],
"additionalProperties": false
}
},
"additionalProperties": false
},
"workplace": {
"description": "Место работы",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"id_plant": {
"description": "ИД места работы",
"type": [
"integer",
"null"
]
},
"department": {
"description": "Департамент",
"type": [
"string",
"null"
]
},
"period": {
"description": "Период работы",
"type": [
"string",
"null"
]
},
"tabnumber": {
"description": "Табельный номер",
"type": [
"string",
"null"
]
},
"phnumber": {
"description": "Номер телефона",
"type": [
"string",
"null"
]
}
},
"required": [
"operation"
],
"additionalProperties": false
},
"assignee": {
"description": "Информационные благоприобретатели",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"lastname": {
"description": "Фамилия",
"type": "string"
},
"firstname": {
"description": "Имя",
"type": [
"string",
"null"
]
},
"middlename": {
"description": "Отчество",
"type": [
"string",
"null"
]
},
"birth_date": {
"description": "Дата рождения",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"certificate": {
"description": "Тип ДУЛ",
"type": [
"string",
"null"
]
},
"cert_series": {
"description": "Серия ДУЛ",
"type": [
"string",
"null"
]
},
"cert_number": {
"description": "Номер ДУЛ",
"type": [
"string",
"null"
]
},
"numerator": {
"description": "Числитель доли",
"type": "integer",
"minimum": 1
},
"denominator": {
"description": "Знаменатель доли",
"type": "integer",
"minimum": 0
},
"outpayment_type": {
"description": "Способ выплат",
"type": [
"string",
"null"
]
},
"document_type": {
"description": "Тип документа",
"type": [
"string",
"null"
],
"enum": [
"C"
]
},
"document_number": {
"description": "Номер документа",
"type": [
"string",
"null"
]
},
"document_date": {
"description": "Дата документа",
"type": [
"string",
"null"
]
},
"degree": {
"description": "Степень родства",
"type": [
"string",
"null"
]
}
},
"required": [
"operation",
"lastname",
"numerator",
"denominator"
],
"additionalProperties": false
}
}
},
"additionalProperties": false,
"": {
"requisite": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"outpayment_type": {
"description": "Тип реквизита",
"type": "string"
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"annuity": {
"description": "Аннуитет",
"type": [
"string",
"null"
]
}
},
"required": [
"operation",
"outpayment_type"
],
"additionalProperties": false
}
}
}
Таблица common.account
Счета
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | account_type | Тип счёта | text | Нет |
| 4 | operation | Операция | uuid | Нет |
Таблица common.invalid
Инвалидность
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД ФЛ | integer | Нет |
| 2 | period | Период | daterange | Нет |
| 3 | invalid_rank | Категория | text | Да |
| 4 | invalid_reason | Степень трудоспособности | text | Да |
| 5 | operation | Операция | uuid | Нет |
| 6 | data | Данные | jsonb | Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Таблица common.legatee
Наследники
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | id_natural | ИД физического лица | integer | Нет |
| 4 | id_natural_dead | ИД умершего физического лица | integer | Нет |
| 5 | id_fund | ИД фонда/филиала принадлежности | integer | Да |
| 6 | registr_date | Дата регистрации | date | Нет |
| 7 | id_sharer | ИД участника | integer | Да |
| 8 | id_assignee | ИД благоприобретателя | integer | Да |
| 9 | close_date | Дата закрытия | date | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | data | Данные | jsonb схема |
Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"share": {
"description": "Доля",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"numerator": {
"description": "Числитель",
"type": "integer"
},
"denominator": {
"description": "Знаменатель",
"type": "integer"
}
},
"required": [
"operation",
"numerator",
"denominator"
],
"additionalProperties": false
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"outpayment_type": {
"description": "Тип реквизита",
"type": "string"
},
"number": {
"description": "Номер реквизита",
"type": "integer"
}
},
"required": [
"operation",
"outpayment_type",
"number"
],
"additionalProperties": false
},
"import_to_spr": {
"description": "Импортировано в СПР",
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.natural
Физические лица
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД ФЛ | integer | Нет |
| 2 | lastname | Фамилия | text | Нет |
| 3 | firstname | Имя | text | Нет |
| 4 | middlename | Отчество | text | Да |
| 5 | birth_date | Дата рождения | date | Нет |
| 6 | insurance_number | СНИЛС | text | Да |
| 7 | inn | ИНН | text | Да |
| 8 | id_fund | ИД Фонда | integer | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb схема |
Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"sex": {
"description": "Пол",
"type": "string",
"enum": [
"F",
"M"
]
},
"pension_age": {
"description": "Пенсионные основания",
"type": [
"string",
"null"
]
},
"pdl": {
"description": "Принадлежность к публичной деятельности",
"type": [
"boolean",
"null"
]
},
"birth": {
"description": "Данные при рождении",
"type": "object",
"properties": {
"lastname": {
"description": "Фамилия",
"type": "string"
},
"firstname": {
"description": "Имя",
"type": "string"
},
"middlename": {
"description": "Отчество",
"type": [
"string",
"null"
]
}
},
"required": [
"lastname",
"firstname"
],
"additionalProperties": false
},
"sign": {
"description": "Признаки",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": "string"
},
"period": {
"description": "Период",
"type": "string"
}
},
"required": [
"name",
"period"
]
}
},
"contact": {
"description": "Контакты",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"phnumber": {
"description": "Номер телефона",
"type": [
"string",
"null"
]
},
"faxnumber": {
"description": "Дополнительный номер",
"type": [
"string",
"null"
]
},
"mobile_phnumber": {
"description": "Мобильный номер телефона",
"type": [
"string",
"null"
]
},
"email_address": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"web_address": {
"description": "Веб-адрес",
"type": [
"string",
"null"
]
}
},
"required": [
"operation"
]
},
"address": {
"description": "Адреса",
"type": "object",
"additionalProperties": false,
"properties": {
"registration": {
"description": "Адрес регистрации",
"": "#//address"
},
"live": {
"description": "Адрес проживания",
"": "#//address"
},
"informing": {
"description": "Адрес информирования",
"": "#//address"
},
"birth": {
"description": "Адрес рождения",
"": "#//address"
},
"tax": {
"description": "Адрес НДФЛ",
"": "#//address"
}
}
},
"certificate": {
"description": "Документ удостоверяющий личность",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"certificate": {
"description": "Тип документа",
"type": "string"
},
"series": {
"description": "Серия",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер",
"type": [
"string",
"null"
]
},
"date": {
"description": "Дата выдачи",
"type": [
"string",
"null"
]
},
"issuer": {
"description": "Кем выдан",
"type": [
"string",
"null"
]
},
"issuer_code": {
"description": "Код подразделения",
"type": [
"string",
"null"
]
},
"country": {
"description": "Гражданство",
"type": [
"string",
"null"
],
"pattern": "^[0-9]{1,4}$"
},
"resident": {
"description": "Резидент",
"type": "boolean"
},
"validity_period": {
"description": "Срок действия ДУЛ",
"type": [
"string",
"null"
]
},
"in_fms": {
"description": "В базе ФМС",
"type": "boolean"
}
},
"required": [
"operation",
"certificate",
"resident",
"in_fms"
],
"additionalProperties": false
},
"alive": {
"description": "Нахождение в живых",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"confirm_date": {
"description": "Дата переосвидетельствования",
"type": [
"string",
"null"
]
},
"confirm_number": {
"description": "Номер справки подтверждения",
"type": [
"string",
"null"
]
},
"alive_date": {
"description": "Дата неподтвержденной смерти",
"type": [
"string",
"null"
]
},
"death_date": {
"description": "Дата смерти",
"type": [
"string",
"null"
]
},
"death_doc_number": {
"description": "Номер документа подтверждающего смерть",
"type": [
"string",
"null"
]
},
"death_doc_date": {
"description": "Дата документа подтверждающего смерть",
"type": [
"string",
"null"
]
}
},
"required": [
"operation"
],
"additionalProperties": false
},
"requisite": {
"description": "Реквизиты",
"type": "object",
"properties": {
"bank": {
"description": "Реквизиты банка",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"number": {
"description": "Номер",
"type": "integer"
},
"correct": {
"description": "Корректен",
"type": "boolean"
},
"bic": {
"description": "БИК",
"pattern": "^[0-9]{9}$",
"": "#//definitions/stringNullable"
},
"account": {
"description": "Счет",
"pattern": "^[0-9]{20}$",
"": "#//definitions/stringNullable"
},
"prefix": {
"description": "Префикс",
"": "#//definitions/stringNullable"
},
"recipient": {
"description": "Получатель",
"": "#//definitions/stringNullable"
},
"reason": {
"description": "Причина некорректности",
"": "#//definitions/stringNullable"
},
"card_account_number": {
"description": "Номер карты",
"": "#//definitions/stringNullable"
},
"inn": {
"description": "ИНН",
"pattern": "^[0-9]{10,12}$",
"": "#//definitions/stringNullable"
},
"branch_name": {
"description": "Наименование отделения/филиала",
"": "#//definitions/stringNullable"
},
"branch": {
"description": "Номер отделения банка",
"": "#//definitions/stringNullable"
},
"personal_account": {
"description": "Лицевой счет",
"": "#//definitions/stringNullable"
},
"id_return_order": {
"description": "ИД платёжного поручения возврата",
"type": [
"integer",
"null"
]
},
"country": {
"description": "Страна банка получателя",
"": "#//definitions/stringNullable",
"pattern": "^[0-9]{1,4}$"
},
"id_person_nominal": {
"description": "ИД владельца номинального счёта",
"type": [
"integer",
"null"
]
},
"number_nominal": {
"description": "Номер реквизита выплат владельца номинального счёта",
"type": [
"integer",
"null"
]
}
},
"required": [
"operation",
"number",
"correct"
],
"additionalProperties": false
}
},
"sb": {
"description": "Реквизиты сбербанка",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"number": {
"description": "Номер",
"type": "integer"
},
"correct": {
"description": "Корректен",
"type": "boolean"
},
"clirnum": {
"description": "Код участника расчетов",
"": "#//definitions/stringNullable"
},
"account": {
"description": "Счет",
"pattern": "^[0-9]{20}$",
"": "#//definitions/stringNullable"
},
"recipient": {
"description": "Получатель",
"": "#//definitions/stringNullable"
},
"reason": {
"description": "Причина некорректности",
"": "#//definitions/stringNullable"
},
"card_account_number": {
"description": "Номер карты",
"": "#//definitions/stringNullable"
},
"inn": {
"description": "ИНН",
"pattern": "^[0-9]{10,12}$",
"": "#//definitions/stringNullable"
},
"branch": {
"description": "Номер отделения банка",
"": "#//definitions/stringNullable"
},
"id_return_order": {
"description": "ИД платёжного поручения возврата",
"type": [
"integer",
"null"
]
}
},
"required": [
"operation",
"number",
"correct"
],
"additionalProperties": false
}
},
"post": {
"description": "Реквизиты почты",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"number": {
"description": "Номер",
"type": "integer"
},
"correct": {
"description": "Корректен",
"type": "boolean"
},
"address_type": {
"description": "Тип адреса",
"": "#//definitions/stringNullable",
"enum": [
"registration",
"live",
"informing",
"birth",
"tax"
]
},
"address": {
"description": "Адрес",
"": "#//definitions/stringNullable"
},
"recipient": {
"description": "Получатель",
"": "#//definitions/stringNullable"
},
"reason": {
"description": "Причина некорректности",
"": "#//definitions/stringNullable"
},
"post_destination": {
"description": "Тип получения",
"": "#//definitions/stringNullable"
},
"id_return_order": {
"description": "ИД платёжного поручения возврата",
"type": [
"integer",
"null"
]
},
"country": {
"description": "Страна",
"": "#//definitions/stringNullable",
"pattern": "^[0-9]{1,4}$"
},
"index": {
"description": "Индекс",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation",
"number",
"correct"
],
"additionalProperties": false
}
},
"outpayment": {
"description": "Общий способ выплат",
"": "#//outpayment_type"
},
"outpayment_ndfl": {
"description": "Способ выплат ИУ НДФЛ",
"": "#//outpayment_type"
}
}
},
"terrorist_status": {
"description": "Категория риска террористов/экстремистов",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"risk_category": {
"description": "Категория риска",
"type": "integer",
"minimum": 0
},
"lastname_equal": {
"description": "Совпадение фамилии",
"type": "integer",
"minimum": 0
},
"firstname_equal": {
"description": "Совпадение имени",
"type": "integer",
"minimum": 0
},
"middlename_equal": {
"description": "Совпадение отчества",
"type": "integer",
"minimum": 0
},
"birth_date_equal": {
"description": "Совпадение даты рождения",
"type": "integer",
"minimum": 0
},
"dul_equal": {
"description": "Совпадение паспортных данных",
"type": "integer",
"minimum": 0
},
"baddress_equal": {
"description": "Совпадение мест рождения",
"type": "integer",
"minimum": 0
},
"raddress_equal": {
"description": "Совпадение адреса регистрации",
"type": "integer",
"minimum": 0
},
"laddress_equal": {
"description": "Совпадение адреса проживания",
"type": "integer",
"minimum": 0
},
"registration_equal": {
"description": "Совпадение регистрации в КНДР, Иране",
"type": "integer",
"minimum": 0
},
"official_solution": {
"description": "Официальное решение",
"type": [
"integer",
"null"
]
},
"info_source": {
"description": "Источник",
"type": [
"string",
"null"
]
}
},
"required": [
"operation",
"risk_category",
"lastname_equal",
"firstname_equal",
"middlename_equal",
"birth_date_equal",
"dul_equal",
"baddress_equal",
"raddress_equal",
"laddress_equal",
"registration_equal"
],
"additionalProperties": false
},
"award": {
"description": "Награды",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"award": {
"description": "Награда",
"type": "string"
},
"award_date": {
"description": "Дата награды",
"type": "string"
},
"comment": {
"description": "Комментарий",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation",
"award",
"award_date"
],
"additionalProperties": false
},
"minItems": 1
},
"benefits": {
"description": "Стандартные налоговые вычеты",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"id_code": {
"description": "ИД кода",
"type": "integer"
},
"birth_date": {
"description": "Дата рождения ребёнка",
"": "#//definitions/stringNullable"
},
"period": {
"description": "Период применения",
"type": "string"
},
"num_doc": {
"description": "Номер документа",
"": "#//definitions/stringNullable"
},
"doc_date": {
"description": "Дата документа",
"": "#//definitions/stringNullable"
},
"unconditionally": {
"description": "Применять безусловно",
"type": "boolean"
},
"previous_benefit": {
"description": "СНВ от предыдущего работодателя",
"type": [
"boolean",
"null"
]
},
"comment": {
"description": "Комментарий",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation",
"id_code",
"period",
"unconditionally"
],
"additionalProperties": false
},
"minItems": 1
},
"informing": {
"description": "СМС информирование",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"phnumber": {
"description": "Номер телефона",
"": "#//definitions/stringNullable",
"pattern": "^[0-9]{11}$"
},
"agreed": {
"description": "Согласие на СМС-информирование",
"type": "boolean"
},
"demand_number": {
"description": "Номер заявления",
"": "#//definitions/stringNullable"
},
"demand_date": {
"description": "Дата заявления",
"": "#//definitions/stringNullable"
},
"blocked": {
"description": "Блокировка СМС-информирования",
"type": [
"boolean",
"null"
]
},
"block_reason": {
"description": "Причина блокировки СМС-информирования",
"": "#//definitions/stringNullable"
},
"agreed_identification": {
"description": "Согласие на СМС-идентификацию",
"type": [
"boolean",
"null"
]
},
"blocked_identification": {
"description": "Блокировка СМС-идентификации",
"type": [
"boolean",
"null"
]
},
"block_identification_reason": {
"description": "Причина блокировки СМС-идентификации",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation",
"agreed"
],
"additionalProperties": false
}
},
"required": [
"sex"
],
"additionalProperties": false,
"": {
"address": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"country": {
"description": "Страна",
"pattern": "^[0-9]{1,4}$",
"": "#//definitions/stringNullable"
},
"region_code": {
"description": "Код региона",
"": "#//definitions/stringNullable"
},
"region": {
"description": "Регион",
"": "#//definitions/stringNullable"
},
"region_prefix": {
"description": "Префикс региона",
"": "#//definitions/stringNullable"
},
"area": {
"description": "Район",
"": "#//definitions/stringNullable"
},
"area_prefix": {
"description": "Префикс района",
"": "#//definitions/stringNullable"
},
"city": {
"description": "Город",
"": "#//definitions/stringNullable"
},
"city_prefix": {
"description": "Префикс города",
"": "#//definitions/stringNullable"
},
"settlement": {
"description": "Населённый пункт",
"": "#//definitions/stringNullable"
},
"settlement_prefix": {
"description": "Префикс населённого пункта",
"": "#//definitions/stringNullable"
},
"street": {
"description": "Улица",
"": "#//definitions/stringNullable"
},
"street_prefix": {
"description": "Префикс улицы",
"": "#//definitions/stringNullable"
},
"planning_structure": {
"description": "Планировочная структура",
"": "#//definitions/stringNullable"
},
"planning_structure_prefix": {
"description": "Префикс планировочной структуры",
"": "#//definitions/stringNullable"
},
"index": {
"description": "Индекс",
"": "#//definitions/stringNullable"
},
"house": {
"description": "Дом",
"": "#//definitions/stringNullable"
},
"building": {
"description": "Корпус/строение",
"": "#//definitions/stringNullable"
},
"flat": {
"description": "Квартира/офис",
"": "#//definitions/stringNullable"
},
"fias_guid": {
"description": "УИД ФИАС",
"": "#//definitions/stringNullable"
},
"oneaddress": {
"description": "Адрес одной строкой",
"": "#//definitions/stringNullable"
},
"id_address": {
"description": "ИД адреса КЛАДР",
"type": [
"integer",
"null"
]
},
"comment": {
"description": "Комментарий",
"": "#//definitions/stringNullable"
},
"okato": {
"description": "ОКАТО",
"": "#//definitions/stringNullable"
},
"oktmo": {
"description": "ОКТМО",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation"
],
"dependentRequired": {
"region": [
"region_prefix"
],
"region_prefix": [
"region"
],
"area": [
"area_prefix"
],
"city": [
"city_prefix"
],
"city_prefix": [
"city"
],
"settlement": [
"settlement_prefix"
],
"settlement_prefix": [
"settlement"
],
"street": [
"street_prefix"
],
"street_prefix": [
"street"
],
"planning_structure": [
"planning_structure_prefix"
],
"planning_structure_prefix": [
"planning_structure"
]
},
"additionalProperties": false
},
"outpayment_type": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"outpayment_type": {
"description": "Тип реквизита",
"type": "string"
},
"number": {
"description": "Номер реквизита",
"type": "integer"
}
},
"required": [
"operation",
"outpayment_type",
"number"
],
"additionalProperties": false
},
"definitions": {
"stringNullable": {
"type": [
"string",
"null"
]
}
}
}
}
Таблица common.pension
Параметры пенсии
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | pension | Размер пенсии | numeric | Нет |
| 4 | pension_count | Количество выплат в году | smallint | Нет |
| 5 | period_pay | Период выплат | daterange | Нет |
| 6 | end_date_pension | Дата окончания выплаты срочной пенсии по решению | date | Да |
| 7 | desnum | Номер решения | text | Да |
| 8 | desdate | Дата решения | date | Да |
| 9 | id_pension_decision | ИД решения по пенсии | integer | Да |
| 10 | pension_code_conditions | Код пенсионных оснований | text | Да |
| 11 | territorial_code_conditions | Код территориальных оснований | text | Да |
| 12 | last_charge_date | Дата последнего начисления | date | Нет |
| 13 | annuity | Аннуитет | text | Да |
| 14 | step_number | Этап выплат | smallint | Да |
| 15 | operation | Операция | uuid | Нет |
| 16 | operation_resume | Операция возобновления | uuid | Да |
| 17 | data | Данные | jsonb схема |
Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"information_sertificate": {
"description": "Справка из службы занятости",
"type": [
"boolean",
"null"
]
},
"actual_date": {
"description": "Дата назначения",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.suspend
Приостановки взносов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | period | Период | daterange | Нет |
| 4 | suspend | Код приостановки | text | Нет |
| 5 | operation | Операция | uuid | Нет |
| 6 | data | Данные | jsonb схема |
Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица common.assignee
Благоприобретатели
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | registr_date | Дата регистрации | date | Нет |
| 4 | id_natural | ИД физического лица | integer | Да |
| 5 | id_juridical | ИД юридического лица | integer | Да |
| 6 | id_sharer | ИД участника | integer | Нет |
| 7 | by_the_law | По закону | boolean | Нет |
| 8 | close_date | Дата закрытия | date | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb схема |
Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"share": {
"description": "Доля",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"numerator": {
"description": "Числитель",
"type": "integer"
},
"denominator": {
"description": "Знаменатель",
"type": "integer"
}
},
"required": [
"operation",
"numerator",
"denominator"
],
"additionalProperties": false
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"outpayment_type": {
"description": "Тип реквизита",
"type": "string"
},
"number": {
"description": "Номер реквизита",
"type": "integer"
}
},
"required": [
"operation",
"outpayment_type",
"number"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.contract
Договоры
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Нет |
| 3 | sign_date | Дата регистрации | date | Нет |
| 4 | upplevel | ИД основного договора | integer | Да |
| 5 | id_schema | ИД схемы | integer | Нет |
| 6 | id_investor_juridical | ИД вкладчика (юридическое лицо) | integer | Да |
| 7 | id_investor_natural | ИД вкладчика (физическое лицо) | integer | Да |
| 8 | id_fund | ИД фонда/филиала обслуживания | integer | Нет |
| 9 | id_fund_owner | ИД фонда/филиала владельца | integer | Да |
| 10 | close_date | Дата закрытия/расторжения | date | Да |
| 11 | close_reason | Причина закрытия/расторжения | text | Да |
| 12 | id_agent | ИД агента | integer | Да |
| 13 | create_date | Дата занесения договора в систему | date | Нет |
| 14 | operation | Операция | uuid | Нет |
| 15 | data | Данные | jsonb схема |
Нет |
| 16 | sys_period | Период действия | tstzrange | Нет |
| 17 | id_primary | ИД договора верхнего уровня coalesce(upplevel, id) | integer | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"change_pay_size": {
"description": "Параметры права на обращение за перерасчетом",
"type": "object",
"properties": {
"par_date": {
"description": "Дата начала права на обращение за перерасчетом, исходя из паритетных взносов",
"type": [
"string",
"null"
]
},
"pers_addpers_date": {
"description": "Дата начала права на обращение за перерасчетом, исходя из личных взносов и ДЛВ",
"type": [
"string",
"null"
]
},
"pension_invest_date": {
"description": "Дата начала права на обращение за перерасчетом, исходя из невыплаченных пенсий и инвестиционного дохода",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"params": {
"description": "Параметры договора",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"id_schema": {
"description": "ИД схемы",
"type": [
"integer",
"null"
]
},
"operator": {
"description": "Оператор",
"type": [
"string",
"null"
]
},
"pension_program_type": {
"description": "Тип пенсионной программы",
"type": [
"string",
"null"
]
},
"schema_variant": {
"description": "Вариант пенсионной схемы",
"type": [
"string",
"null"
]
},
"annuity": {
"description": "Аннуитет",
"type": [
"string",
"null"
]
},
"pension_product": {
"description": "Пенсионный продукт",
"type": [
"string",
"null"
]
},
"id_vesting_coeff": {
"description": "Тип коэффициента вестинга",
"type": [
"integer",
"null"
]
},
"exclude_date_type": {
"description": "Признак начала выхода участника",
"type": [
"string",
"null"
],
"enum": [
"I",
"F"
]
},
"pension_rules_date": {
"description": "Дата пенсионных правил",
"type": [
"string",
"null"
]
},
"summation_pension_begin_date": {
"description": "Дата начала суммирования пенсионных обязательств",
"type": [
"string",
"null"
]
},
"application_208_2": {
"description": "Обращение по форме 208-2",
"type": [
"string",
"null"
]
},
"termination_date": {
"description": "Дата соглашения на расторжение договора",
"type": [
"string",
"null"
]
},
"smev_begin_date": {
"description": "Дата начала применения СМЭВ",
"type": [
"string",
"null"
]
},
"edit_vps_12_month": {
"description": "Изменение ПС/ВПС через 12 месяцев",
"type": [
"boolean",
"null"
]
},
"percent": {
"description": "Проценты",
"type": "object",
"properties": {
"target_inpayment": {
"description": "Процент отчисления на целевые взносы",
"type": [
"number",
"null"
],
"minimum": 0
},
"oud_value": {
"description": "Процент отчислений на ОУД",
"type": [
"number",
"null"
],
"minimum": 0
},
"sr_percent": {
"description": "Процент отчисления на СР",
"type": [
"number",
"null"
],
"minimum": 0
}
}
},
"inpayment": {
"description": "Взносы",
"type": "object",
"properties": {
"add_personal": {
"description": "Уплата дополнительных личных взносов",
"type": "boolean"
},
"add_parity": {
"description": "Уплата дополнительных паритетных взносов",
"type": "boolean"
},
"month_before_pension": {
"description": "Срок прекращения уплаты взносов до окончания выплаты пенсии, месяцев",
"type": [
"integer",
"null"
],
"minimum": 0
},
"pay_after_retire_personal": {
"description": "Право на уплату личных взносов после назначения пенсии",
"type": "boolean"
},
"pay_after_retire_parity": {
"description": "Право на уплату паритетных взносов после назначения пенсии",
"type": "boolean"
}
},
"required": [
"add_personal",
"add_parity",
"pay_after_retire_personal",
"pay_after_retire_parity"
],
"additionalProperties": false
},
"pension": {
"description": "Пенсия",
"type": "object",
"properties": {
"outpayment_period": {
"description": "Длительность выплат пенсии, месяцев",
"type": [
"integer",
"null"
],
"minimum": 0
},
"urgent_pension_start_date": {
"description": "Дата начала действия права на назначение срочной пенсии",
"type": [
"string",
"null"
]
},
"min_urgent_pension_period": {
"description": "Минимальная продолжительность выплат срочной пенсии",
"type": [
"integer",
"null"
]
},
"min_urgent_pension_period_2": {
"description": "Минимальная продолжительность выплаты срочной пенсии (2)",
"type": [
"integer",
"null"
]
},
"pension_period_2_start_date": {
"description": "Дата начала права на мин. продолжительность выплат (2)",
"type": [
"string",
"null"
]
},
"step_pension_start_date": {
"description": "Дата начала действия права на назначение ступенчатой пенсии",
"type": [
"string",
"null"
]
},
"min_step_pension_period_male": {
"description": "Минимальная продолжительность выплат поэтапной пенсии для мужчин",
"type": [
"integer",
"null"
],
"minimum": 0
},
"min_step_pension_period_female": {
"description": "Минимальная продолжительность выплат поэтапной пенсии для женщин",
"type": [
"integer",
"null"
],
"minimum": 0
},
"step_pension_coeff": {
"description": "Коэффициент для расчета ступенчатой пенсии от пожизненной пенсии",
"type": [
"number",
"null"
]
},
"max_change_period_pay": {
"description": "Максимальный срок для изменения продолжительности выплат (в мес)",
"type": [
"integer",
"null"
],
"minimum": 0
},
"min_life_pension": {
"description": "Размер пожизненной пенсии для ограничения периода",
"type": [
"number",
"null"
],
"minimum": 0
},
"ability_change_schema": {
"description": "Возможность перехода на другую схему при назначении пенсии",
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
},
"params_value": {
"description": "Признаки",
"type": "object",
"properties": {
"value_1": {
"description": "Признак даты расторжения",
"type": [
"string",
"null"
]
},
"value_2": {
"description": "Признак срока принятия решения по ВС",
"type": [
"string",
"null"
]
},
"value_3": {
"description": "Признак срока принятия решения по пенсии",
"type": [
"string",
"null"
]
},
"value_4": {
"description": "Признак даты отражения пенсионного взноса на ИПС",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"rate_profit": {
"description": "Ставка доходности",
"type": "object",
"properties": {
"value": {
"description": "Размер ставки доходности",
"type": "number"
},
"period": {
"description": "Период",
"type": "string"
}
},
"required": [
"value",
"period"
],
"additionalProperties": false
}
},
"required": [
"operation"
]
}
},
"additionalProperties": false
}
Таблица common.document
Документы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | document_type | Тип документа | text | Нет |
| 3 | incoming_date | Дата | date | Нет |
| 4 | incoming_number | Номер | text | Нет |
| 5 | created | Дата и время создания | timestamp | Нет |
| 6 | covering_letter | Номер сопроводительного письма | text | Да |
| 7 | editor | Пользователь, создавший документ | text | Нет |
| 8 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"file": {
"description": "Файлы",
"type": "array",
"items": {
"type": "object",
"properties": {
"filename": {
"description": "Наименование",
"type": "string"
},
"storage_path": {
"description": "Путь",
"type": "string"
}
},
"required": [
"filename",
"storage_path"
]
}
},
"confirm_date": {
"description": "Дата подтверждения",
"type": [
"string",
"null"
]
},
"using_in_udf": {
"description": "Используется в УДФ",
"type": [
"boolean",
"null"
]
},
"barcode": {
"description": "Штрихкод",
"type": [
"string",
"null"
],
"pattern": "^[0-9]{1,13}$"
}
},
"additionalProperties": false
}
Таблица common.informing
СМС информирование
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | code | Код повода | text | Нет |
| 3 | notification_id | ИД повода для внешней системы | integer | Нет |
| 4 | notification_date | Дата наступления повода | date | Нет |
| 5 | state | Состояние | text | Да |
| 6 | id_natural | ИД физического лица | integer | Нет |
| 7 | id_sharer | ИД участника | integer | Да |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb схема |
Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"state_msg": {
"description": "Детализация состояния (время отправки/сообщение об ошибке)",
"type": [
"string",
"null"
]
},
"notification": {
"description": "Данные о поводах",
"type": "object",
"properties": {
"approved": {
"description": "Дата подтверждения",
"type": "string"
},
"contract_selfnumber": {
"description": "Номер договора",
"type": "string"
},
"finish_date": {
"description": "Дата увольнения",
"type": "string"
},
"payment_type": {
"description": "Тип выплаты",
"type": "string"
},
"pdesdate": {
"description": "Дата решения",
"type": "string"
},
"period": {
"description": "Период",
"type": "string"
},
"period_end": {
"description": "Окончание периода",
"type": "string"
}
}
},
"params": {
"description": "Дополнительные данные",
"type": "object",
"properties": {
"birth_date": {
"description": "Дата рождения",
"type": "string"
},
"confirm_date": {
"description": "Дата подтверждения",
"type": [
"string",
"null"
]
},
"id_benefits_code": {
"description": "ИД кода стандартного налогового вычета",
"type": "integer"
},
"idoperation_pension": {
"description": "ИД операции по пенсии",
"type": "integer"
}
}
}
},
"additionalProperties": false
}
Таблица common.inpayment
Списания с платежных поручений
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_order | ИД платежного поручения | integer | Нет |
| 2 | operation | Операция | uuid | Нет |
| 3 | value | Сумма | integer | Да |
| 4 | payment_type | Тип операции | text | Да |
| 5 | export_date | Дата выгрузки | date | Да |
| 6 | return_sign | Признак возврата | boolean | Да |
Таблица common.operation
Операции
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id | ИД | integer | Нет |
| 3 | name | Наименование | text | Нет |
| 4 | oper_date | Дата операции | date | Нет |
| 5 | value_date | Дата валютирования | date | Нет |
| 6 | editor | Пользователь, создавший операцию | text | Нет |
| 7 | type | Тип | text | Нет |
| 8 | created | Дата и время создания | timestamp | Нет |
| 9 | deleted | Удалена | boolean | Нет |
| 10 | id_list | ИД списка загруженных данных | integer | Да |
| 11 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"batch": {
"description": "Планировщик",
"type": "object",
"properties": {
"id_task": {
"description": "ИД задачи",
"type": "integer"
},
"run": {
"description": "Номер запуска",
"type": "integer"
}
},
"required": [
"id_task",
"run"
]
},
"document": {
"description": "Документы",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"additionalProperties": false
}
Таблица common.other_tax
Налог от предыдущего налогового агента
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД физического лица | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | operation | Операция | uuid | Нет |
| 5 | changed | Время изменения | timestamp | Нет |
Таблица common.outpayment
Реестры выплат
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | paid | Выплачен | boolean | Нет |
| 3 | exported | Оплачен | boolean | Нет |
| 4 | operation | Операция | uuid | Нет |
Таблица common.redemption
Параметры выкупной суммы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | redemption | Размер выкупной суммы | numeric | Нет |
| 4 | desnum | Номер решения | text | Да |
| 5 | desdate | Дата решения | date | Да |
| 6 | id_transaction | ИД транзакции | integer | Да |
| 7 | value_date_transaction | Дата транзакции | date | Да |
| 8 | period | Период | daterange | Нет |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb схема |
Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица common.court_order
Исполнительные листы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | order | Порядок | integer | Да |
| 3 | priority | Приоритет | integer | Да |
| 4 | id_child_natural | ИД получателя ФЛ | integer | Да |
| 5 | id_child_juridical | ИД получателя ЮЛ | integer | Да |
| 6 | id_owner | ИД плательщика | integer | Да |
| 7 | number | Номер | text | Да |
| 8 | date | Дата | date | Да |
| 9 | numerator | Числитель | integer | Да |
| 10 | denominator | Знаменатель | integer | Да |
| 11 | limit | Лимит | numeric | Да |
| 12 | debt | Задолженность | numeric | Да |
| 13 | period | Период удержания | daterange | Да |
| 14 | comment | Комментарий | text | Да |
| 15 | close_date | Дата закрытия | date | Да |
| 16 | operation | Операция | uuid | Нет |
| 17 | data | Данные | jsonb схема |
Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"outpayment_type": {
"description": "Тип реквизита",
"type": "string"
},
"number": {
"description": "Номер реквизита",
"type": "integer"
}
},
"required": [
"operation",
"outpayment_type",
"number"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.transaction
Транзакции
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.account_calc
Расчётные счета
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | account_type | Тип субсчёта | text | Нет |
| 2 | account_type_child | Тип счёта | text | Нет |
| 3 | schema_type | Тип схемы | text | Нет |
| 4 | method | Метод | text | Нет |
| 5 | description | Описание | text | Да |
Таблица common.other_income
Доход от предыдущего налогового агента
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД физического лица | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | operation | Операция | uuid | Нет |
| 5 | changed | Время изменения | timestamp | Нет |
Таблица common.agent_history
Агенты (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | lastname | Фамилия | text | Да |
| 4 | firstname | Имя/наименование | text | Да |
| 5 | middlename | Отчество | text | Да |
| 6 | insurance_number | СНИЛС | text | Да |
| 7 | id_fund | Фонд/филиал | integer | Нет |
| 8 | agent_area | Область деятельности | text | Да |
| 9 | id_agent_parent | ИД вышестоящего агента | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | data | Данные | jsonb | Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Таблица common.ndfl_decision
Решения о возврате НДФЛ
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_natural | ИД ФЛ | integer | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | desnum | Номер решения | text | Нет |
| 5 | desdate | Дата решения | date | Нет |
| 6 | rejected | Отказ | boolean | Да |
| 7 | refund_profit | Возврат прибыли | numeric | Да |
| 8 | export_date | Дата выгрузки | date | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | operation_charge | Операция начисления | uuid | Да |
| 11 | data | Данные | jsonb схема |
Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.order_history
Платежные поручения (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value | Сумма | numeric | Нет |
| 3 | number | Номер реестра | text | Нет |
| 4 | date | Дата | date | Нет |
| 5 | value_date | Дата поступило | date | Нет |
| 6 | created | Дата создания | timestamp | Нет |
| 7 | id_payer_juridical | ИД плательщика юридического лица | integer | Да |
| 8 | id_payer_natural | ИД плательщика физического лица | integer | Да |
| 9 | id_recipient | ИД получателя | integer | Да |
| 10 | pay_purpose | Назначение платежа | text | Да |
| 11 | payment_type | ИД типа платежа | text | Да |
| 12 | transaction_code | Код транзакции | text | Да |
| 13 | recipient_account | Счёт получателя | text | Да |
| 14 | refused | Отказ | boolean | Нет |
| 15 | amended | Изменён | boolean | Нет |
| 16 | investor | Вкладчик | text | Да |
| 17 | id_fund | ИД фонда/филиала | integer | Да |
| 18 | id_contract | ИД договора | integer | Да |
| 19 | id_department | ИД подразделения | integer | Да |
| 20 | id_order_error | ИД причины не разнесения пп | integer | Да |
| 21 | register_date | Дата регистрации | date | Да |
| 22 | register_number | Дата реестра | integer | Да |
| 23 | operation | Операция | uuid | Нет |
| 24 | id_bank_statement | ИД банковской выписки | integer | Да |
| 25 | id_schema | ИД схемы | integer | Да |
| 26 | account_type | Тип счёта | text | Да |
| 27 | data | Данные | jsonb | Нет |
| 28 | sys_period | Период действия | tstzrange | Нет |
Таблица common.tax_exemption
Справки/заявления об освобождении от уплаты налога
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД ФЛ | integer | Нет |
| 2 | year | Год | integer | Нет |
| 3 | ifns_code | Код ИФНС | text | Да |
| 4 | exemption | Право предоставлено Фондом | boolean | Нет |
| 5 | period | Период применения | daterange | Да |
| 6 | letter_number | Номер справки/Номер регистрации заявления | text | Да |
| 7 | letter_date | Дата справки/Дата регистрации заявления | date | Да |
| 8 | id_fund | ИД фонда/филиала | integer | Да |
| 9 | provided_by_fund | Право предоставлено Фондом | boolean | Да |
| 10 | application_date | Дата заявления клиента | date | Да |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb схема |
Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"ifns": {
"description": "ИФНС",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.account_schema
Счета схем
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_schema | ИД схемы | integer | Нет |
Таблица common.account_sharer
Счета участника
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
Таблица common.balance_sharer
Баланс счёта по дате валютирования
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | debet_total | Общая сумма дебет | numeric | Нет |
| 3 | credit_total | Общая сумма кредит | numeric | Нет |
| 4 | period | Период | daterange | Нет |
Таблица common.schema_history
Пенсионные схемы (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | schema_type | Тип схемы | text | Нет |
| 3 | selfnumber | Внешний номер | text | Нет |
| 4 | description | Описание | text | Нет |
| 5 | close_date | Дата закрытия | date | Да |
| 6 | funding_type | Тип финансирования | text | Да |
| 7 | schema_group | Группа | text | Нет |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb | Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Таблица common.sharer_history
Участники (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | registr_date | Дата регистрации | date | Нет |
| 4 | create_date | Дата создания участника в договоре | date | Нет |
| 5 | id_natural | ИД физического лица | integer | Нет |
| 6 | id_contract | ИД договора | integer | Нет |
| 7 | id_fund | ИД фонда/филиала обслуживания | integer | Да |
| 8 | id_agent | ИД агента | integer | Да |
| 9 | exclude_date | Дата начала исключения | date | Да |
| 10 | close_date | Дата закрытия | date | Да |
| 11 | close_reason | Причина закрытия | text | Да |
| 12 | account_close_date | Дата закрытия счёта | date | Да |
| 13 | account_open_date | Дата открытия счёта | date | Да |
| 14 | last_inpayment_date | Дата последнего взноса | date | Да |
| 15 | workplace_begin_date | Дата приема на работу | date | Да |
| 16 | operation | Операция | uuid | Нет |
| 17 | data | Данные | jsonb | Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Таблица common.suspend_charge
Приостановки пенсии
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | period | Период | daterange | Нет |
| 4 | suspend | Код приостановки | text | Нет |
| 5 | resume | Код возобновления | text | Да |
| 6 | id_pension_suspend_decision | ИД решения приостановки | integer | Да |
| 7 | id_pension_resume_decision | ИД решения возобновления | integer | Да |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb схема |
Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица common.account_legatee
Счета наследников
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_legatee | ИД наследника | integer | Нет |
Таблица common.account_natural
Счета физических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_natural | ИД физического лица | integer | Нет |
Таблица common.invalid_history
Инвалидность (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД ФЛ | integer | Нет |
| 2 | period | Период | daterange | Нет |
| 3 | invalid_rank | Категория | text | Да |
| 4 | invalid_reason | Степень трудоспособности | text | Да |
| 5 | operation | Операция | uuid | Нет |
| 6 | data | Данные | jsonb | Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Таблица common.legatee_history
Наследники (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | id_natural | ИД физического лица | integer | Нет |
| 4 | id_natural_dead | ИД умершего физического лица | integer | Нет |
| 5 | id_fund | ИД фонда/филиала принадлежности | integer | Да |
| 6 | registr_date | Дата регистрации | date | Нет |
| 7 | id_sharer | ИД участника | integer | Да |
| 8 | id_assignee | ИД благоприобретателя | integer | Да |
| 9 | close_date | Дата закрытия | date | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | data | Данные | jsonb | Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Таблица common.natural_history
Физические лица (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД ФЛ | integer | Нет |
| 2 | lastname | Фамилия | text | Нет |
| 3 | firstname | Имя | text | Нет |
| 4 | middlename | Отчество | text | Да |
| 5 | birth_date | Дата рождения | date | Нет |
| 6 | insurance_number | СНИЛС | text | Да |
| 7 | inn | ИНН | text | Да |
| 8 | id_fund | ИД Фонда | integer | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb | Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Таблица common.pension_history
Параметры пенсии (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | pension | Размер пенсии | numeric | Нет |
| 4 | pension_count | Количество выплат в году | smallint | Нет |
| 5 | period_pay | Период выплат | daterange | Нет |
| 6 | end_date_pension | Дата окончания выплаты срочной пенсии по решению | date | Да |
| 7 | desnum | Номер решения | text | Да |
| 8 | desdate | Дата решения | date | Да |
| 9 | id_pension_decision | ИД решения по пенсии | integer | Да |
| 10 | pension_code_conditions | Код пенсионных оснований | text | Да |
| 11 | territorial_code_conditions | Код территориальных оснований | text | Да |
| 12 | last_charge_date | Дата последнего начисления | date | Нет |
| 13 | annuity | Аннуитет | text | Да |
| 14 | step_number | Этап выплат | smallint | Да |
| 15 | operation | Операция | uuid | Нет |
| 16 | operation_resume | Операция возобновления | uuid | Да |
| 17 | data | Данные | jsonb | Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Таблица common.suspend_history
Приостановки взносов (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | period | Период | daterange | Нет |
| 4 | suspend | Код приостановки | text | Нет |
| 5 | operation | Операция | uuid | Нет |
| 6 | data | Данные | jsonb | Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Таблица common.account_assignee
Счета благоприобретателей
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_assignee | ИД благоприобретателя | integer | Нет |
Таблица common.account_contract
Счета договоров
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_contract | ИД договора | integer | Нет |
Таблица common.application_ndfl
Заявления на возврат НДФЛ
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_natural | ИД ФЛ | integer | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | period | Год возврата | integer | Нет |
| 5 | number | Номер заявления | text | Нет |
| 6 | date | Дата заявления | date | Нет |
| 7 | report_date | Дата отчета | date | Да |
| 8 | id_decision | ИД рещения | integer | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb схема |
Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.assignee_history
Благоприобретатели (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Да |
| 3 | registr_date | Дата регистрации | date | Нет |
| 4 | id_natural | ИД физического лица | integer | Да |
| 5 | id_juridical | ИД юридического лица | integer | Да |
| 6 | id_sharer | ИД участника | integer | Нет |
| 7 | by_the_law | По закону | boolean | Нет |
| 8 | close_date | Дата закрытия | date | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb | Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Таблица common.contract_history
Договоры (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | selfnumber | Внешний номер | text | Нет |
| 3 | sign_date | Дата регистрации | date | Нет |
| 4 | upplevel | ИД основного договора | integer | Да |
| 5 | id_schema | ИД схемы | integer | Нет |
| 6 | id_investor_juridical | ИД вкладчика (юридическое лицо) | integer | Да |
| 7 | id_investor_natural | ИД вкладчика (физическое лицо) | integer | Да |
| 8 | id_fund | ИД фонда/филиала обслуживания | integer | Нет |
| 9 | id_fund_owner | ИД фонда/филиала владельца | integer | Да |
| 10 | close_date | Дата закрытия/расторжения | date | Да |
| 11 | close_reason | Причина закрытия/расторжения | text | Да |
| 12 | id_agent | ИД агента | integer | Да |
| 13 | create_date | Дата занесения договора в систему | date | Нет |
| 14 | operation | Операция | uuid | Нет |
| 15 | data | Данные | jsonb | Нет |
| 16 | sys_period | Период действия | tstzrange | Нет |
Таблица common.court_order_calc
Начисление по исполнительному листу
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Да |
| 2 | id_register | ИД строки реестра | integer | Нет |
| 3 | value_date_outpayment | Дата реестра выплат | date | Нет |
| 4 | id_order | ИД исполнительного листа | integer | Да |
| 5 | id_natural | ИД ФЛ | integer | Да |
| 6 | id_juridical | ИД ЮЛ | integer | Да |
| 7 | id_account | ИД счёта получателя | integer | Нет |
| 8 | id_account_court | ИД счёта плательщика | integer | Нет |
| 9 | value_debt | Задолженность | numeric | Да |
| 10 | value | Сумма | numeric | Да |
| 11 | outpayment_value | Сумма на руки | numeric | Да |
| 12 | transfer_pay | Сумма за почтовый перевод | numeric | Да |
| 13 | transfer_pay_tax | НДС за почтовый перевод | numeric | Да |
| 14 | delivery_pay | Сумма за доставку | numeric | Да |
| 15 | delivery_pay_tax | НДС за доставку | numeric | Да |
| 16 | comment | Комментарий | text | Да |
Таблица common.legatee_decision
Решения по наследникам
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_legatee | ИД наследника | integer | Нет |
| 3 | value | Сумма | numeric | Нет |
| 4 | desnum | Номер решения | text | Да |
| 5 | desdate | Дата решения | date | Да |
| 6 | id_transaction | ИД транзакции | integer | Да |
| 7 | value_date_transaction | Дата транзакции | date | Да |
| 8 | period | Период | daterange | Нет |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb схема |
Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица common.register_storage
Данные реестров выплат
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.transaction_1900
Транзакции с 1900 по 2020
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2020
Транзакции с 2020 по 2021
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2021
Транзакции с 2021 по 2022
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2022
Транзакции с 2022 по 2023
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2023
Транзакции с 2023 по 2024
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2024
Транзакции с 2024 по 2025
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2025
Транзакции с 2025 по 2026
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2026
Транзакции с 2026 по 2027
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2027
Транзакции с 2027 по 2028
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2028
Транзакции с 2028 по 2029
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2029
Транзакции с 2029 по 2030
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_2030
Транзакции с 2030 по 2031
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | value_date | Дата валютирования | date | Нет |
| 3 | id_account_credit | ИД счёта кредит | integer | Да |
| 4 | id_account_debet | ИД счёта дебет | integer | Да |
| 5 | oper_date | Дата операции | date | Да |
| 6 | period_date | Дата периода | date | Да |
| 7 | value | Сумма | numeric | Нет |
| 8 | comment | Комментарий | text | Да |
| 9 | id_comment | ИД комментария | integer | Да |
| 10 | operation | Операция | uuid | Нет |
| 11 | changed | Время изменения | timestamp | Нет |
Таблица common.transaction_link
Связи транзакций
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД следующей транзакции | integer | Нет |
| 2 | value_date | Дата операции следующей транзакции | date | Нет |
| 3 | id_upplevel | ИД предыдущией транзакции | integer | Нет |
| 4 | value_date_upplevel | Дата операции предыдущией транзакции | date | Нет |
| 5 | type | Тип связи | text | Нет |
Таблица common.account_juridical
Счета юридических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | id_juridical | ИД юридического лица | integer | Нет |
Таблица common.informing_history
СМС информирование (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | code | Код повода | text | Нет |
| 3 | notification_id | ИД повода для внешней системы | integer | Нет |
| 4 | notification_date | Дата наступления повода | date | Нет |
| 5 | state | Состояние | text | Да |
| 6 | id_natural | ИД физического лица | integer | Нет |
| 7 | id_sharer | ИД участника | integer | Да |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb | Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Таблица common.juridical_relation
Зависимости юридических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_juridical | ИД юридического лица | integer | Нет |
| 2 | id_juridical_child | ИД юридического лица наследника | integer | Нет |
| 3 | relation | Тип отношения | text | Нет |
| 4 | comment | Комментарий | text | Да |
Таблица common.redemption_history
Параметры выкупной суммы (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | redemption | Размер выкупной суммы | numeric | Нет |
| 4 | desnum | Номер решения | text | Да |
| 5 | desdate | Дата решения | date | Да |
| 6 | id_transaction | ИД транзакции | integer | Да |
| 7 | value_date_transaction | Дата транзакции | date | Да |
| 8 | period | Период | daterange | Нет |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb | Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Таблица common.court_order_history
Исполнительные листы (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | order | Порядок | integer | Да |
| 3 | priority | Приоритет | integer | Да |
| 4 | id_child_natural | ИД получателя ФЛ | integer | Да |
| 5 | id_child_juridical | ИД получателя ЮЛ | integer | Да |
| 6 | id_owner | ИД плательщика | integer | Да |
| 7 | number | Номер | text | Да |
| 8 | date | Дата | date | Да |
| 9 | numerator | Числитель | integer | Да |
| 10 | denominator | Знаменатель | integer | Да |
| 11 | limit | Лимит | numeric | Да |
| 12 | debt | Задолженность | numeric | Да |
| 13 | period | Период удержания | daterange | Да |
| 14 | comment | Комментарий | text | Да |
| 15 | close_date | Дата закрытия | date | Да |
| 16 | operation | Операция | uuid | Нет |
| 17 | data | Данные | jsonb | Нет |
| 18 | sys_period | Период действия | tstzrange | Нет |
Таблица common.inpayment_deduction
Социальные налоговые вычеты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД ФЛ | integer | Нет |
| 2 | id_contract | ИД договора | integer | Нет |
| 3 | year | Год | integer | Нет |
| 4 | key | Ключ | uuid | Нет |
| 5 | value | Сумма | numeric | Да |
| 6 | letter_number | Номер справки | text | Да |
| 7 | letter_date | Дата справки | date | Да |
| 8 | ifns_code | Код ИФНС | text | Да |
| 9 | worker_id | ИД работодателя | integer | Да |
| 10 | received | Полученный | boolean | Нет |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb схема |
Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"ifns": {
"description": "ИФНС",
"type": [
"string",
"null"
]
},
"worker": {
"description": "Работодатель",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.transaction_comment
Комментарии к транзакциям
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | comment | Комментарий | text | Да |
Таблица common.ndfl_decision_detail
Детализация решений о возврате НДФЛ
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_decision | ИД решения | integer | Нет |
| 3 | id_sharer | ИД участника | integer | Нет |
| 4 | value_pension | Сумма от пенсии | numeric | Да |
| 5 | value_redemption | Сумма от ВС | numeric | Да |
| 6 | value_assignee | Сумма от благоприобретателей | numeric | Да |
| 7 | operation | Операция | uuid | Нет |
| 8 | data | Данные | jsonb схема |
Нет |
| 9 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица common.npo_pension_decision
Решения о пенсии
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | id_last_sharer | ИД последнего участника | integer | Да |
| 4 | number | Номер | text | Нет |
| 5 | date | Дата | date | Нет |
| 6 | decision_type | Тип | text | Нет |
| 7 | deleted | Удалено | boolean | Нет |
| 8 | approved | Подтверждено | boolean | Нет |
| 9 | id_transaction_max | ИД максимальной транзакции | integer | Да |
| 10 | value_date_max | Дата максимальной транзакции | date | Да |
| 11 | id_transaction_approved | ИД транзакции подтверждения | integer | Да |
| 12 | value_date_approved | Дата транзакции подтверждения | date | Да |
| 13 | actuary_type | Тип актуарного расчёта | integer | Да |
| 14 | value_reserve | Сумма резерва | numeric | Да |
| 15 | min_pension | Минимальная пенсия | numeric | Да |
| 16 | id_fund | ИД фонда | integer | Да |
| 17 | start_date_pay_step | Дата начала выплат второго этапа | date | Да |
| 18 | cancelling_number | Номер решения об отмене | text | Да |
| 19 | cancelling_date | Дата решения об отмене | date | Да |
| 20 | priority | Приоритет | integer | Да |
| 21 | post_stamp_date | Дата почтового штемпеля | date | Да |
| 22 | operation | Операция | uuid | Нет |
| 23 | operation_deleted | Операция удаления | uuid | Да |
| 24 | data | Данные | jsonb схема |
Нет |
| 25 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"export_key": {
"description": "Ключ экспорта",
"type": [
"string",
"null"
]
},
"barcode": {
"description": "Штрихкод",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица common.register_transaction
Связь транзакций с реестром выплат
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | value_date_outpayment | Дата реестра выплат | date | Нет |
| 3 | id_register | ИД строки реестра выплат | integer | Да |
| 4 | id_account | ИД счёта | integer | Нет |
| 5 | id_transaction | ИД транзакции | integer | Нет |
| 6 | value_date | Дата транзакции | date | Нет |
Таблица common.ndfl_decision_history
Решения о возврате НДФЛ (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_natural | ИД ФЛ | integer | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | desnum | Номер решения | text | Нет |
| 5 | desdate | Дата решения | date | Нет |
| 6 | rejected | Отказ | boolean | Да |
| 7 | refund_profit | Возврат прибыли | numeric | Да |
| 8 | export_date | Дата выгрузки | date | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | operation_charge | Операция начисления | uuid | Да |
| 11 | data | Данные | jsonb | Нет |
| 12 | sys_period | Период действия | tstzrange | Нет |
Таблица common.register_storage_1900
Данные реестров выплат с 1900 по 2020
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2020
Данные реестров выплат с 2020 по 2021
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2021
Данные реестров выплат с 2021 по 2022
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2022
Данные реестров выплат с 2022 по 2023
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2023
Данные реестров выплат с 2023 по 2024
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2024
Данные реестров выплат с 2024 по 2025
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2025
Данные реестров выплат с 2025 по 2026
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2026
Данные реестров выплат с 2026 по 2027
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2027
Данные реестров выплат с 2027 по 2028
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2028
Данные реестров выплат с 2028 по 2029
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2029
Данные реестров выплат с 2029 по 2030
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.register_storage_2030
Данные реестров выплат с 2030 по 2031
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_outpayment | ИД реестра выплат | integer | Нет |
| 2 | id_register | ИД строки реестра выплат | integer | Нет |
| 3 | value_date | Дата операции | date | Нет |
| 4 | id | ИД | integer | Нет |
| 5 | id_account | ИД счёта | integer | Нет |
| 6 | id_natural | ИД физического лица | integer | Да |
| 7 | id_juridical | ИД юридического лица | integer | Да |
| 8 | value | Сумма дохода | numeric | Нет |
| 9 | tax | Налог (включает налог за предыдущий период) | numeric | Нет |
| 10 | tax_previous | Налог за предыдущий период | numeric | Да |
| 11 | tax_loss | Налогооблагаемая сумма | numeric | Нет |
| 12 | outpayment_value | Сумма на руки | numeric | Да |
| 13 | transfer_pay | Комиссия за перевод | numeric | Да |
| 14 | transfer_pay_tax | НДС с комиссии за перевод | numeric | Да |
| 15 | delivery_pay | Сумма за доставку почтового перевода | numeric | Да |
| 16 | delivery_pay_tax | НДС от платы за доставку | numeric | Да |
| 17 | personal_value | Сумма личных взносов | numeric | Да |
| 18 | benefits | Стандартный налоговый вычет | numeric | Да |
| 19 | court_value | Удержания по исполнительному делу | numeric | Да |
| 20 | value_repayment | Сумма погашения излишней выплаты | numeric | Да |
| 21 | value_repayment_ndfl | Сумма погашения переплаты от НДФЛ | numeric | Да |
| 22 | order_number | Номер платежного поручения | integer | Да |
| 23 | order_date | Дата платежного поручения | date | Да |
| 24 | tax_order_number | Номер п/п (НДФЛ) | integer | Да |
| 25 | tax_order_date | Дата п/п (НДФЛ) | date | Да |
| 26 | approved | Дата подтверждения | date | Да |
| 27 | rejected | Отклонено | boolean | Нет |
| 28 | id_transaction_outpayment | ИД транзакции выплаты | integer | Да |
| 29 | value_date_transaction_outpayment | Дата операции транзакции выплаты | date | Да |
| 30 | exported | Выгружено | boolean | Нет |
| 31 | exported_date | Дата выгрузки | date | Да |
| 32 | resident | Резидент | boolean | Нет |
| 33 | changed | Время изменения | timestamp | Нет |
| 34 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"pay_purpose": {
"description": "Назначение платежа",
"type": [
"string",
"null"
]
},
"register_number": {
"description": "Номер реестра",
"type": [
"integer",
"null"
]
},
"rejection_reason": {
"description": "Причина отклонения",
"type": [
"string",
"null"
]
},
"ignore_charge": {
"description": "Игнорировать приостановку",
"type": [
"boolean",
"null"
]
},
"requisite": {
"description": "Реквизиты выплат",
"type": "object",
"properties": {
"outpayment_type": {
"description": "Тип реквизита",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер реквизита",
"type": [
"integer",
"null"
]
},
"id_person_nominal": {
"description": "ИД владельница номинального счёта",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"payer": {
"description": "Плательщик",
"type": "object",
"properties": {
"inn_oud": {
"description": "ИНН при выплате ОУД",
"type": [
"string",
"null"
]
},
"account_oud": {
"description": "Счёт при выплате ОУД",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"recipient": {
"description": "Получатель",
"type": "object",
"properties": {
"recipient": {
"description": "Получатель",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счёт",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"post": {
"description": "Почта",
"type": "object",
"properties": {
"list": {
"description": "Список",
"type": [
"string",
"null"
]
},
"id_fund_recipient": {
"description": "ИД юридического лица получателя",
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Таблица common.tax_exemption_history
Справки/заявления об освобождении от уплаты налога (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_natural | ИД ФЛ | integer | Нет |
| 2 | year | Год | integer | Нет |
| 3 | ifns_code | Код ИФНС | text | Да |
| 4 | exemption | Право предоставлено Фондом | boolean | Нет |
| 5 | period | Период применения | daterange | Да |
| 6 | letter_number | Номер справки/Номер регистрации заявления | text | Да |
| 7 | letter_date | Дата справки/Дата регистрации заявления | date | Да |
| 8 | id_fund | ИД фонда/филиала | integer | Да |
| 9 | provided_by_fund | Право предоставлено Фондом | boolean | Да |
| 10 | application_date | Дата заявления клиента | date | Да |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb | Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Таблица common.outpayment_court_order
Способ выплат по исполнительному листу
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_order | ИД исполнительного листа | integer | Нет |
| 2 | id_natural | ИД ФЛ получателя | integer | Да |
| 3 | id_juridical | ИД ЮЛ получателя | integer | Да |
| 4 | outpayment_type | Тип способа выплат | text | Нет |
| 5 | number | Порядковый номер реквизитов выплат | integer | Да |
| 6 | operation | Операция | uuid | Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Таблица common.suspend_charge_history
Приостановки пенсии (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | period | Период | daterange | Нет |
| 4 | suspend | Код приостановки | text | Нет |
| 5 | resume | Код возобновления | text | Да |
| 6 | id_pension_suspend_decision | ИД решения приостановки | integer | Да |
| 7 | id_pension_resume_decision | ИД решения возобновления | integer | Да |
| 8 | operation | Операция | uuid | Нет |
| 9 | data | Данные | jsonb | Нет |
| 10 | sys_period | Период действия | tstzrange | Нет |
Таблица common.application_ndfl_history
Заявления на возврат НДФЛ (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_natural | ИД ФЛ | integer | Нет |
| 3 | value | Сумма | numeric | Да |
| 4 | period | Год возврата | integer | Нет |
| 5 | number | Номер заявления | text | Нет |
| 6 | date | Дата заявления | date | Нет |
| 7 | report_date | Дата отчета | date | Да |
| 8 | id_decision | ИД рещения | integer | Да |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb | Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Таблица common.balance_sharer_operation
Баланс счёта по дате операции
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_account | ИД счёта | integer | Нет |
| 2 | debet_total | Общая сумма дебет | numeric | Нет |
| 3 | credit_total | Общая сумма кредит | numeric | Нет |
| 4 | period | Период | daterange | Нет |
Таблица common.legatee_decision_history
Решения по наследникам (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_legatee | ИД наследника | integer | Нет |
| 3 | value | Сумма | numeric | Нет |
| 4 | desnum | Номер решения | text | Да |
| 5 | desdate | Дата решения | date | Да |
| 6 | id_transaction | ИД транзакции | integer | Да |
| 7 | value_date_transaction | Дата транзакции | date | Да |
| 8 | period | Период | daterange | Нет |
| 9 | operation | Операция | uuid | Нет |
| 10 | data | Данные | jsonb | Нет |
| 11 | sys_period | Период действия | tstzrange | Нет |
Таблица common.inpayment_deduction_history
Социальные налоговые вычеты (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_natural | ИД ФЛ | integer | Нет |
| 3 | id_contract | ИД договора | integer | Нет |
| 4 | year | Год | integer | Нет |
| 5 | value | Сумма | numeric | Да |
| 6 | letter_number | Номер справки | text | Да |
| 7 | letter_date | Дата справки | date | Да |
| 8 | ifns_code | Код ИФНС | text | Да |
| 9 | worker_id | ИД работодателя | integer | Да |
| 10 | received | Полученный | boolean | Нет |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb | Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Таблица common.ndfl_decision_detail_history
Детализация решений о возврате НДФЛ (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id_decision | ИД решения | integer | Нет |
| 3 | id_sharer | ИД участника | integer | Нет |
| 4 | value_pension | Сумма от пенсии | numeric | Да |
| 5 | value_redemption | Сумма от ВС | numeric | Да |
| 6 | value_assignee | Сумма от благоприобретателей | numeric | Да |
| 7 | operation | Операция | uuid | Нет |
| 8 | data | Данные | jsonb | Нет |
| 9 | sys_period | Период действия | tstzrange | Нет |
Таблица common.npo_pension_decision_history
Решения о пенсии (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_sharer | ИД участника | integer | Нет |
| 3 | id_last_sharer | ИД последнего участника | integer | Да |
| 4 | number | Номер | text | Нет |
| 5 | date | Дата | date | Нет |
| 6 | decision_type | Тип | text | Нет |
| 7 | deleted | Удалено | boolean | Нет |
| 8 | approved | Подтверждено | boolean | Нет |
| 9 | id_transaction_max | ИД максимальной транзакции | integer | Да |
| 10 | value_date_max | Дата максимальной транзакции | date | Да |
| 11 | id_transaction_approved | ИД транзакции подтверждения | integer | Да |
| 12 | value_date_approved | Дата транзакции подтверждения | date | Да |
| 13 | actuary_type | Тип актуарного расчёта | integer | Да |
| 14 | value_reserve | Сумма резерва | numeric | Да |
| 15 | min_pension | Минимальная пенсия | numeric | Да |
| 16 | id_fund | ИД фонда | integer | Да |
| 17 | start_date_pay_step | Дата начала выплат второго этапа | date | Да |
| 18 | cancelling_number | Номер решения об отмене | text | Да |
| 19 | cancelling_date | Дата решения об отмене | date | Да |
| 20 | priority | Приоритет | integer | Да |
| 21 | post_stamp_date | Дата почтового штемпеля | date | Да |
| 22 | operation | Операция | uuid | Нет |
| 23 | operation_deleted | Операция удаления | uuid | Да |
| 24 | data | Данные | jsonb | Нет |
| 25 | sys_period | Период действия | tstzrange | Нет |
Таблица common.outpayment_court_order_history
Способ выплат по исполнительному листу (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_order | ИД исполнительного листа | integer | Нет |
| 2 | id_natural | ИД ФЛ получателя | integer | Да |
| 3 | id_juridical | ИД ЮЛ получателя | integer | Да |
| 4 | outpayment_type | Тип способа выплат | text | Нет |
| 5 | number | Порядковый номер реквизитов выплат | integer | Да |
| 6 | operation | Операция | uuid | Нет |
| 7 | sys_period | Период действия | tstzrange | Нет |
Схема directory
Справочники
Таблица directory.countries_ndfl
Страны, с которыми заключены международные договоры РФ по вопросам налогообложения
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | country | Страна | text | Да |
| 3 | period | Период применения | daterange | Да |
| 4 | changed | Время изменения | timestamp | Нет |
Схема terrorist
115 ФЗ
Таблица terrorist.fms_date
Дата обновления справочника ФМС
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | fms_date | Дата обновления БД | date | Нет |
| 2 | data | Данные | jsonb | Нет |
Таблица terrorist.terrorist
Перечень террористов и экстремистов Росфинмониторинга
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | info_source | Источник | text | Да |
| 3 | directory_type | Тип справочника | integer | Да |
| 4 | person_type | Тип лица | integer | Да |
| 5 | name | ФИО/Наименование организации | text | Да |
| 6 | lastname | Фамилия | text | Да |
| 7 | firstname | Имя | text | Да |
| 8 | middlename | Отчество | text | Да |
| 9 | birth_date | Дата рождения | date | Да |
| 10 | insurance_number | СНИЛС | text | Да |
| 11 | address | Адрес регистрации | text | Да |
| 12 | laddress | Адрес проживания | text | Да |
| 13 | baddress | Адрес рождения | text | Да |
| 14 | address_composite | Адрес регистрации (составной) | text | Да |
| 15 | laddress_composite | Адрес проживания (составной) | text | Да |
| 16 | inn | ИНН | text | Да |
| 17 | reg_number | Регистрационный номер ЮЛ | text | Да |
| 18 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"address": {
"description": "Адреса",
"type": "object",
"additionalProperties": false,
"properties": {
"registration": {
"description": "Адрес регистрации",
"": "#//address"
},
"live": {
"description": "Адрес проживания",
"": "#//address"
},
"birth": {
"description": "Адрес рождения",
"": "#//address"
}
}
},
"certificate": {
"description": "Документ удостоверяющий личность",
"type": "object",
"properties": {
"certificate": {
"description": "Тип документа",
"type": "string"
},
"series": {
"description": "Серия",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер",
"type": [
"string",
"null"
]
},
"date": {
"description": "Дата выдачи",
"type": [
"string",
"null"
]
},
"issuer": {
"description": "Кем выдан",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"": {
"address": {
"type": "object",
"properties": {
"country": {
"description": "Страна",
"pattern": "^[0-9]{1,4}$",
"": "#//definitions/stringNullable"
},
"region_code": {
"description": "Код региона",
"": "#//definitions/stringNullable"
},
"region": {
"description": "Регион",
"": "#//definitions/stringNullable"
},
"region_prefix": {
"description": "Префикс региона",
"": "#//definitions/stringNullable"
},
"area": {
"description": "Район",
"": "#//definitions/stringNullable"
},
"area_prefix": {
"description": "Префикс района",
"": "#//definitions/stringNullable"
},
"city": {
"description": "Город",
"": "#//definitions/stringNullable"
},
"city_prefix": {
"description": "Префикс города",
"": "#//definitions/stringNullable"
},
"settlement": {
"description": "Населённый пункт",
"": "#//definitions/stringNullable"
},
"settlement_prefix": {
"description": "Префикс населённого пункта",
"": "#//definitions/stringNullable"
},
"street": {
"description": "Улица",
"": "#//definitions/stringNullable"
},
"street_prefix": {
"description": "Префикс улицы",
"": "#//definitions/stringNullable"
},
"planning_structure": {
"description": "Планировочная структура",
"": "#//definitions/stringNullable"
},
"planning_structure_prefix": {
"description": "Префикс планировочной структуры",
"": "#//definitions/stringNullable"
},
"index": {
"description": "Индекс",
"": "#//definitions/stringNullable"
},
"house": {
"description": "Дом",
"": "#//definitions/stringNullable"
},
"building": {
"description": "Корпус/строение",
"": "#//definitions/stringNullable"
},
"flat": {
"description": "Квартира/офис",
"": "#//definitions/stringNullable"
},
"oneaddress": {
"description": "Адрес одной строкой",
"": "#//definitions/stringNullable"
}
},
"additionalProperties": false
},
"definitions": {
"stringNullable": {
"type": [
"string",
"null"
]
}
}
}
}
Таблица terrorist.terrorist_fund
Справочник лиц, причастных к террористической деятельности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | lastname | Фамилия | text | Да |
| 3 | firstname | Имя | text | Да |
| 4 | middlename | Отчество | text | Да |
| 5 | birth_date | Дата рождения | date | Да |
| 6 | birth_address | Место рождения | text | Да |
| 7 | address | Адрес | text | Да |
| 8 | certificate | Паспортные данные | text | Да |
| 9 | status | Причастность к террорист. деят-ти | boolean | Да |
| 10 | status_date | Дата изменения статуса | date | Да |
| 11 | data | Данные | jsonb | Нет |
Модуль directory
Ядро справочной подсистемы
Схема kladr
КЛАДР
Таблица kladr.area
Район
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | index | Индекс | text | Да |
| 4 | name | Наименование | text | Да |
| 5 | socr | Краткое наименование | text | Да |
| 6 | status | Статус | integer | Нет |
Таблица kladr.city
Город
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | id_area | ИД района | integer | Нет |
| 4 | index | Индекс | text | Да |
| 5 | name | Наименование | text | Да |
| 6 | socr | Краткое наименование | text | Да |
| 7 | status | Статус | integer | Нет |
Таблица kladr.house
Дом
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | id_area | ИД района | integer | Нет |
| 4 | id_city | ИД города | integer | Нет |
| 5 | id_settlement | ИД населённого пункта | integer | Нет |
| 6 | id_street | ИД улицы | integer | Нет |
| 7 | index | Индекс | text | Да |
| 8 | name | Наименование | text | Да |
| 9 | socr | Краткое наименование | text | Да |
| 10 | building | Строение | text | Да |
Таблица kladr.prefix
Префикс
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | scname | Краткое наименование | text | Да |
| 3 | socrname | Наименование | text | Да |
| 4 | type | Тип | text | Нет |
Таблица kladr.region
Регион
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | index | Индекс | text | Да |
| 3 | name | Наименование | text | Да |
| 4 | socr | Краткое наименование | text | Да |
| 5 | status | Статус | integer | Нет |
Таблица kladr.status
Статус
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | fullname | Полное наименование | text | Да |
| 3 | name | Наименование | text | Да |
Таблица kladr.street
Улица
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | id_area | ИД района | integer | Нет |
| 4 | id_city | ИД города | integer | Нет |
| 5 | id_settlement | ИД населённого пункта | integer | Нет |
| 6 | index | Индекс | text | Да |
| 7 | name | Наименование | text | Да |
| 8 | socr | Краткое наименование | text | Да |
Таблица kladr.address
Адрес
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | region_name | Наименование региона | text | Да |
| 4 | region_socr | Краткое наименование региона | text | Да |
| 5 | id_area | ИД района | integer | Нет |
| 6 | area_name | Наименование района | text | Да |
| 7 | area_socr | Краткое наименование района | text | Да |
| 8 | id_city | ИД города | integer | Нет |
| 9 | city_name | Наименование города | text | Да |
| 10 | city_socr | Краткое наименование города | text | Да |
| 11 | id_settlement | ИД населённого пункта | integer | Нет |
| 12 | settlement_name | Наименование населённого пункта | text | Да |
| 13 | settlement_socr | Краткое наименование населённого пункта | text | Да |
| 14 | id_street | ИД улицы | integer | Нет |
| 15 | street_name | Наименование улицы | text | Да |
| 16 | street_socr | Краткое наименование улицы | text | Да |
| 17 | id_house | ИД дома | integer | Нет |
| 18 | house_name | Наименование дома | text | Да |
| 19 | house_socr | Краткое наименование дома | text | Да |
Таблица kladr.settlement
Населённый пункт
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | id_region | ИД региона | integer | Нет |
| 3 | id_area | ИД района | integer | Нет |
| 4 | id_city | ИД города | integer | Нет |
| 5 | index | Индекс | text | Да |
| 6 | name | Наименование | text | Да |
| 7 | socr | Краткое наименование | text | Да |
| 8 | status | Статус | integer | Нет |
Схема directory
Справочники
Таблица directory.bic
БИК
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"real": {
"description": "Признак ограничения участия в межбанковских расчетах",
"type": [
"string",
"null"
]
},
"ksnp": {
"description": "Корсчет в системе расчетов с использованием БИК",
"type": [
"string",
"null"
]
},
"nnp": {
"description": "Наименование населенного пункта",
"type": [
"string",
"null"
]
},
"namep": {
"description": "Платежное наименование участника расчетов",
"type": [
"string",
"null"
]
},
"uer": {
"description": "Участник, пользователь системы электронных расчетов (ЭР)",
"type": [
"string",
"null"
]
},
"pzn": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"rgn": {
"description": "Код территории (СОАТО)",
"type": [
"string",
"null"
]
},
"ind": {
"description": "Индекс",
"type": [
"string",
"null"
]
},
"tnp": {
"description": "Тип населенного пункта",
"type": [
"string",
"null"
]
},
"adr": {
"description": "Адрес в населенном пункте",
"type": [
"string",
"null"
]
},
"rkc": {
"description": "Номер РКЦ",
"type": [
"string",
"null"
]
},
"namen": {
"description": "Краткое наименование участника расчетов",
"type": [
"string",
"null"
]
},
"newks": {
"description": "Корсчет в системе расчетов с использованием БИК",
"type": [
"string",
"null"
]
},
"permfo": {
"description": "6-значный номер МФО",
"type": [
"string",
"null"
]
},
"srok": {
"description": "Срок прохождения расчетно-денежных документов",
"type": [
"string",
"null"
]
},
"at1": {
"description": "Абонентский телеграф 1",
"type": [
"string",
"null"
]
},
"at2": {
"description": "Абонентский телеграф 2",
"type": [
"string",
"null"
]
},
"telef": {
"description": "Телефон",
"type": [
"string",
"null"
]
},
"regn": {
"description": "Регистрационный номер участника расчетов",
"type": [
"string",
"null"
]
},
"okpo": {
"description": "Код ОКПО",
"type": [
"string",
"null"
]
},
"dt_izm": {
"description": "Дата последнего изменения или внесения записи в справочник банков РФ",
"type": [
"string",
"null"
]
},
"date_in": {
"description": "Дата внесения записи в справочнике банков РФ",
"type": [
"string",
"null"
]
},
"cks": {
"description": "Номер установки ЦКС",
"type": [
"string",
"null"
]
},
"vkey": {
"description": "Ключ",
"type": [
"string",
"null"
]
},
"vkeydel": {
"description": "Удалённый ключ",
"type": [
"string",
"null"
]
},
"date_ch": {
"description": "Дата прекращения действия БИК",
"type": [
"string",
"null"
]
},
"prntbic": {
"description": "Часть БИК",
"type": [
"string",
"null"
]
},
"datein": {
"description": "Входящая дата",
"type": [
"string",
"null"
]
},
"srvcs": {
"description": "Сервис",
"type": [
"string",
"null"
]
},
"xchtype": {
"description": "Тип схемы",
"type": [
"string",
"null"
]
},
"uid": {
"description": "УИД",
"type": [
"string",
"null"
]
},
"participantstatus": {
"description": "Статус участника",
"type": [
"string",
"null"
]
},
"npsparticipant": {
"description": "Наименованиепункта участника",
"type": [
"string",
"null"
]
},
"cntrcd": {
"description": "Количество СД",
"type": [
"string",
"null"
]
},
"englname": {
"description": "Английское название",
"type": [
"string",
"null"
]
},
"dateout": {
"description": "Исходящая дата",
"type": [
"string",
"null"
]
},
"partno": {
"description": "Часть",
"type": [
"string",
"null"
]
},
"partquantity": {
"description": "Количесво частей",
"type": [
"string",
"null"
]
},
"partaggregateid": {
"description": "ИД",
"type": [
"string",
"null"
]
},
"edno": {
"description": "Номер изменения",
"type": [
"string",
"null"
]
},
"eddate": {
"description": "Дата изменения",
"type": [
"string",
"null"
]
},
"edauthor": {
"description": "Автор изменения",
"type": [
"string",
"null"
]
},
"changetype": {
"description": "Тип изменения",
"type": [
"string",
"null"
]
},
"rstr": {
"description": "Строка",
"type": [
"string",
"null"
]
},
"rstrdate": {
"description": "Дата строки",
"type": [
"string",
"null"
]
},
"tonpsdate": {
"description": "Дата населенного пункта",
"type": [
"string",
"null"
]
},
"businessday": {
"description": "Бизнес день",
"type": [
"string",
"null"
]
},
"datein_acc": {
"description": "Входящая дата счёта",
"type": [
"string",
"null"
]
},
"dateout_acc": {
"description": "Исходящая дата счёта",
"type": [
"string",
"null"
]
},
"accountstatus": {
"description": "Статус счёта",
"type": [
"string",
"null"
]
},
"accountcbrbic": {
"description": "БИК сбербанк",
"type": [
"string",
"null"
]
},
"ck": {
"description": "Номер установки ЦК",
"type": [
"string",
"null"
]
},
"regulationaccounttype": {
"description": "Регулирования типа счёта",
"type": [
"string",
"null"
]
},
"accrstrdate": {
"description": "Дата счёта (тексовый)",
"type": [
"string",
"null"
]
},
"accrstr": {
"description": "Счёт (тексовый)",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.oud
ОУД
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"value": {
"description": "Суммы",
"type": "array",
"items": {
"type": "object",
"properties": {
"value_from": {
"description": "Сумма от",
"type": "number"
},
"value_to": {
"description": "Сумма до",
"type": "number"
},
"oud": {
"description": "ОУД %",
"type": "number"
}
},
"required": [
"value_from",
"value_to",
"oud"
]
}
}
},
"required": [
"value"
],
"additionalProperties": false
}
Таблица directory.area
Район
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"prefix": {
"description": "Префикс",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"prefix"
],
"additionalProperties": false
}
Таблица directory.city
Город
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"prefix": {
"description": "Префикс",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"prefix"
],
"additionalProperties": false
}
Таблица directory.soun
Налоговые органы СОУН
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"data": {
"description": "Данные",
"type": "array",
"items": {
"type": "object",
"properties": {
"vid": {
"description": "ИД",
"type": [
"string",
"null"
]
},
"kodp": {
"description": "Код правоприемника",
"type": [
"string",
"null"
]
},
"kodv": {
"description": "Код вышестоящего НО",
"type": [
"string",
"null"
]
},
"naimk": {
"description": "Краткое наименование НО",
"type": [
"string",
"null"
]
},
"naim": {
"description": "Наименование НО",
"type": [
"string",
"null"
]
},
"psono": {
"description": "Признак включения кода НО в классификатор СОНО",
"type": [
"string",
"null"
]
},
"puch": {
"description": "Признак осуществления НО функций по учету налогоплатильщиков",
"type": [
"string",
"null"
]
},
"potchdok": {
"description": "Признак осуществления НО функций по приему налоговой отчетности",
"type": [
"string",
"null"
]
},
"potch": {
"description": "Признак осуществления НО функций по формированию отчетности МНС",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
},
"adres": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"tel": {
"description": "Телефон",
"type": [
"string",
"null"
]
},
"email": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"cite": {
"description": "Адрес сайта в сети интернет",
"type": [
"string",
"null"
]
},
"dokum": {
"description": "Документ об изменении показателя",
"type": [
"string",
"null"
]
},
"nomdok": {
"description": "Номер документа об изменении",
"type": [
"string",
"null"
]
},
"datadok": {
"description": "Дата утверждения документа об изменении",
"type": [
"string",
"null"
]
},
"period": {
"description": "Период действия",
"type": "string"
},
"coment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"required": [
"period"
]
}
}
},
"required": [
"data"
],
"additionalProperties": false
}
Таблица directory.award
Награды
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.prefix
Префикс
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": "string"
},
"type": {
"description": "Тип",
"type": "array",
"items": {
"type": "string",
"enum": [
"area",
"city",
"planning_structure",
"settlement",
"region",
"street"
]
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
}
Таблица directory.region
Регион
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": "string"
},
"prefix": {
"description": "Префикс",
"type": "string"
},
"okato": {
"description": "Код ОКАТО",
"type": [
"string",
"null"
]
},
"okato_name": {
"description": "Наименование по ОКАТО",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"prefix"
],
"additionalProperties": false
}
Таблица directory.signer
Подписанты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"position": {
"description": "Номер подписи",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер",
"type": [
"integer",
"null"
]
},
"signer_lastname": {
"description": "Фамилия",
"type": [
"string",
"null"
]
},
"signer_name": {
"description": "Имя",
"type": [
"string",
"null"
]
},
"signer_middlename": {
"description": "Отчество",
"type": [
"string",
"null"
]
},
"email_address": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"phnumber": {
"description": "Телефон",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.street
Улица
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"prefix": {
"description": "Префикс",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"prefix"
],
"additionalProperties": false
}
Таблица directory.annuity
Аннуитет
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.country
Страны
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"fullname_rus": {
"description": "Полное наименование",
"type": [
"string"
]
},
"name_eng": {
"description": "Английское наименование",
"type": [
"string"
]
},
"alpha2": {
"description": "Альфа 2",
"type": [
"string"
]
},
"alpha3": {
"description": "Альфа 3",
"type": [
"string"
]
},
"name_rus": {
"description": "Краткое наименование",
"type": [
"string"
]
}
},
"required": [
"fullname_rus",
"name_eng",
"alpha2",
"alpha3",
"name_rus"
],
"additionalProperties": false
}
Таблица directory.suspend
Причины приостановок взносов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.bad_bics
БИК проблемных банков
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.currency
Валюты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"code": {
"description": "Код",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string"
]
},
"name_rus": {
"description": "Русское наименование",
"type": [
"string"
]
},
"gender": {
"description": "Род",
"type": [
"string"
]
},
"round_dig": {
"description": "Округление",
"default": 2,
"type": [
"integer"
]
}
},
"required": [
"name",
"name_rus",
"gender",
"round_dig"
],
"additionalProperties": false
}
Таблица directory.document
Документы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | document_type | Тип документа | text | Нет |
| 3 | incoming_date | Дата | date | Нет |
| 4 | incoming_number | Номер | text | Нет |
| 5 | created | Дата и время создания | timestamp | Нет |
| 6 | covering_letter | Номер сопроводительного письма | text | Да |
| 7 | editor | Пользователь, создавший документ | text | Нет |
| 8 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"file": {
"description": "Файлы",
"type": "array",
"items": {
"type": "object",
"properties": {
"filename": {
"description": "Наименование",
"type": "string"
},
"storage_path": {
"description": "Путь",
"type": "string"
}
},
"required": [
"filename",
"storage_path"
]
}
},
"confirm_date": {
"description": "Дата подтверждения",
"type": [
"string",
"null"
]
},
"using_in_udf": {
"description": "Используется в УДФ",
"type": [
"boolean",
"null"
]
},
"barcode": {
"description": "Штрихкод",
"type": [
"string",
"null"
],
"pattern": "^[0-9]{1,13}$"
}
},
"additionalProperties": false
}
Таблица directory.sberbank
Отделения СБ РФ
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"upplevel": {
"description": "Преемник",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"bicrkc": {
"description": "БИК расчетного центра",
"type": [
"string",
"null"
]
},
"email": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"bankcode": {
"description": "Код банка",
"type": [
"string",
"null"
]
},
"unoperate": {
"description": "Не действует с",
"type": [
"string",
"null"
]
},
"natural": {
"description": "Возможность ведения счетов физических лиц",
"default": true,
"type": [
"boolean"
]
},
"bicacc": {
"description": "Код для определения принадлежности счета физического лица к подразделению",
"type": [
"string",
"null"
]
},
"created": {
"description": "Дата создания",
"type": [
"string",
"null"
]
},
"real": {
"description": "Признак ограничения участия в межбанковских расчетах",
"type": [
"string",
"null"
]
},
"rgn": {
"description": "Код территории (СОАТО)",
"type": [
"integer",
"null"
]
},
"ind": {
"description": "Код участника расчетов в системе СБ РФ",
"type": [
"string",
"null"
]
},
"namen": {
"description": "Краткое наименование участника расчетов",
"type": [
"string",
"null"
]
},
"srok": {
"description": "Срок прохождения расчетно-денежных документов",
"type": [
"integer",
"null"
]
},
"telef": {
"description": "Телефон",
"type": [
"string",
"null"
]
},
"regn": {
"description": "Регистрационный номер участника расчетов",
"type": [
"string",
"null"
]
},
"okpo": {
"description": "ОКПО",
"type": [
"string",
"null"
]
},
"dt_izm": {
"description": "Дата последнего изменения или внесения записи в справочник банков РФ",
"type": [
"string",
"null"
]
},
"date_in": {
"description": "Дата внесения записи в справочнике банков РФ",
"type": [
"string",
"null"
]
},
"date_ch": {
"description": "Дата прекращения действия БИК",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
},
"ident": {
"description": "Идентификатор действующего участника СМФР",
"type": [
"string",
"null"
]
},
"priz": {
"description": "Признак наличия участника расчетов в системе расчетов СБ РФ в "Справочнике БИК России"",
"type": [
"string",
"null"
]
},
"pr_loro": {
"description": "Признак ведения счета банка-респондента филиалом Сбербанка России",
"type": [
"string",
"null"
]
},
"data_on": {
"description": "Дата начала работы участника СМФР",
"type": [
"string",
"null"
]
},
"mmt": {
"description": "Часовая разница с Московским временем",
"type": [
"integer",
"null"
]
},
"ltime": {
"description": "Признак перехода на летнее время участником СМФР",
"type": [
"string",
"null"
]
},
"swbic": {
"description": "SWIFT-код банка",
"type": [
"string",
"null"
]
},
"swbranch": {
"description": "Филиал в SWIFT",
"type": [
"string",
"null"
]
},
"osnov": {
"description": "Основание изменения записи об участнике СМФР",
"type": [
"string",
"null"
]
},
"bic_gk": {
"description": "БИК участника СМФР, где открыт счет МФР",
"type": [
"string",
"null"
]
},
"bic_tb": {
"description": "БИК территориального банка",
"type": [
"string",
"null"
]
},
"h_office": {
"description": "Признак маршрутизации на головной офис респондента",
"type": [
"string",
"null"
]
},
"koduh_gk": {
"description": "Код участника вышестоящего участника СМФР",
"type": [
"string",
"null"
]
},
"ident_gk": {
"description": "Идентификатор вышестоящего участника СМФР",
"type": [
"string",
"null"
]
},
"chief": {
"description": "ФИО руководителя",
"type": [
"string",
"null"
]
},
"cl_name": {
"description": "Платежное наименование для ЭС "Эскорд"",
"type": [
"string",
"null"
]
},
"name_ing": {
"description": "Наименование участника СМФР (англ.)",
"type": [
"string",
"null"
]
},
"name_f1": {
"description": "Полное наименование банка",
"type": [
"string",
"null"
]
},
"nnp_ing": {
"description": "Наименование населенного пункта",
"type": [
"string",
"null"
]
},
"type_code": {
"description": "Признак, определяющий тип участника расчетов в системе расчетов Сбербанка России",
"type": [
"string",
"null"
]
},
"besp": {
"description": "Категория участников расчетов в системе БЭСП",
"type": [
"string",
"null"
]
}
},
"required": [
"natural"
],
"additionalProperties": false
}
Таблица directory.tax_data
Значения ставок налогообложения
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"value": {
"description": "Значение",
"type": [
"number"
]
},
"period": {
"description": "Период действия",
"type": [
"string",
"null"
]
},
"value_from": {
"description": "Сумма от",
"type": [
"number",
"null"
]
},
"value_to": {
"description": "Сумма до",
"type": [
"number",
"null"
]
},
"kbk": {
"description": "Код бюджетной классификации",
"type": [
"string",
"null"
]
}
},
"required": [
"value"
],
"additionalProperties": false
}
Таблица directory.age_reach
Таблица дожития
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"kmale": {
"description": "Количество доживающих женщин до указанного возраста",
"type": [
"number"
]
},
"kfemale": {
"description": "Количество доживающих мужчин до указанного возраста",
"type": [
"number"
]
}
},
"required": [
"kmale",
"kfemale"
],
"additionalProperties": false
}
Таблица directory.juridical
Юридические лица
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | fullname | Полное наименование | text | Нет |
| 3 | shortname | Краткое наименование | text | Да |
| 4 | formalname | Формализованное наименование | text | Да |
| 5 | mdm_key | Ключ МДМ | uuid | Да |
| 6 | code | Код | text | Да |
| 7 | inn | ИНН | text | Да |
| 8 | type | Тип | text | Да |
| 9 | role | Роль | text | Да |
| 10 | id_fund | ИД Фонда | integer | Да |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb схема |
Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"person_type": {
"description": "Тип персоны",
"type": "string",
"enum": [
"F",
"J",
"M"
]
},
"additional": {
"description": "Дополнительные параметры",
"type": "object",
"properties": {
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
},
"okpo": {
"description": "ОКПО",
"type": [
"string",
"null"
]
},
"contacts": {
"description": "Контактные лица",
"type": [
"string",
"null"
]
},
"is_fund_founder": {
"description": "Является учередителем фонда",
"default": false,
"type": [
"boolean"
]
},
"ogrn": {
"description": "ОГРН",
"type": [
"string",
"null"
]
},
"activity": {
"description": "Отраслевой классификатор",
"type": [
"string",
"null"
]
},
"pfr_number": {
"description": "Номер ПФР",
"type": [
"string",
"null"
]
},
"code_rjd": {
"description": "Идентификатор ЮЛ (РЖД)",
"type": [
"string",
"null"
]
},
"unitcode": {
"description": "Код подразделения",
"type": [
"string",
"null"
]
},
"becode": {
"description": "Код балансовой единицы",
"type": [
"string",
"null"
]
},
"id_person_foundation": {
"description": "ИД фонда, учередителем которого является данное ЮЛ",
"type": [
"integer",
"null"
]
},
"begin_date": {
"description": "Дата начала периода",
"type": [
"string",
"null"
]
},
"department_selfnumber": {
"description": "Внешний номер",
"type": [
"string",
"null"
]
},
"oksm": {
"description": "ОКСМ",
"type": [
"string",
"null"
]
},
"oktmo": {
"description": "ОКТМО",
"type": [
"string",
"null"
]
},
"okato": {
"description": "ОКАТО",
"type": [
"string",
"null"
]
},
"shortname_genitive": {
"description": "Краткое наименование в родительном падеже",
"type": [
"string",
"null"
]
},
"liquidation_date": {
"description": "Дата ликвидации учреждения",
"type": [
"string",
"null"
]
}
},
"required": [
"is_fund_founder"
]
},
"okved": {
"description": "ОКВЭД",
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
},
"sign": {
"description": "Признаки",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": "string"
},
"period": {
"description": "Период",
"type": "string"
}
},
"required": [
"name",
"period"
]
}
},
"contact": {
"description": "Контакты",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"phnumber": {
"description": "Номер телефона",
"type": [
"string",
"null"
]
},
"faxnumber": {
"description": "Дополнительный номер",
"type": [
"string",
"null"
]
},
"mobile_phnumber": {
"description": "Мобильный номер телефона",
"type": [
"string",
"null"
]
},
"email_address": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"web_address": {
"description": "Веб-адрес",
"type": [
"string",
"null"
]
}
},
"required": [
"operation"
]
},
"address": {
"description": "Адреса",
"type": "object",
"additionalProperties": false,
"properties": {
"juridical": {
"description": "Юридический адрес",
"": "#//address"
},
"fact": {
"description": "Фактический адрес",
"": "#//address"
}
}
},
"requisite": {
"description": "Реквизиты",
"type": "object",
"properties": {
"inpayment": {
"description": "Реквизиты платежей",
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"order": {
"description": "Номер",
"type": "integer"
},
"bank": {
"description": "Банк",
"type": [
"string",
"null"
]
},
"branch": {
"description": "Филиал",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"corr_account": {
"description": "Корр. счет",
"type": [
"string",
"null"
]
},
"account": {
"description": "Счет",
"type": [
"string",
"null"
]
},
"currency": {
"description": "Валюта",
"type": [
"string",
"null"
]
},
"type": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"personal_account": {
"description": "Лицевой счет",
"type": [
"string",
"null"
]
},
"kgrko": {
"description": "КГРКО",
"type": [
"string",
"null"
]
},
"account_tag": {
"description": "Признак расчетного счета",
"type": [
"string",
"null"
]
}
},
"required": [
"operation",
"order",
"currency"
]
}
}
}
},
"fund": {
"description": "Основные параметры фонда",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"code": {
"description": "Внутренний код регионального подразделения",
"type": [
"string",
"null"
]
},
"pfr_code": {
"description": "Регистрационный номер Фонда/филиала в ПФР",
"type": [
"string",
"null"
]
},
"pfr_name": {
"description": "Наименование Фонда/филиала зарегистрированного в ПФР",
"type": [
"string",
"null"
]
},
"license_date": {
"description": "Дата выдачи лицензии",
"type": [
"string",
"null"
]
},
"license_number": {
"description": "Номер лицензии",
"type": [
"string",
"null"
]
},
"imns": {
"description": "ИМНС",
"type": [
"string",
"null"
]
},
"okato": {
"description": "ОКАТО",
"type": [
"string",
"null"
]
},
"staff": {
"description": "Персонал",
"type": "object",
"additionalProperties": false,
"properties": {
"director": {
"description": "Директор",
"": "#//staff"
},
"accountant": {
"description": "Бухгалтер",
"": "#//staff"
}
}
},
"fund_group": {
"description": "Группа фонда",
"type": [
"string",
"null"
]
},
"payed_max_count": {
"description": "Максимальное количество начислений",
"type": [
"integer",
"null"
]
},
"payed_max_value": {
"description": "Максимальная сумма к начислению",
"type": [
"number",
"null"
]
},
"outpayment_max_value": {
"description": "Максимальная сумма к выплате",
"type": [
"number",
"null"
]
}
},
"required": [
"operation"
]
},
"transferagent": {
"description": "Трансферагент",
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"agreement_date": {
"description": "Дата соглашения о взаимном удостоверении подписей",
"type": "string"
},
"agreement_number": {
"description": "Номер соглашения о взаимном удостоверении подписей",
"type": "string"
},
"pfr_name": {
"description": "Наименование отделения ПФР",
"type": "string"
},
"pfr_code": {
"description": "Код отделения ПФР",
"type": "string"
},
"fund_code": {
"description": "Код филиала Фонда",
"type": "string"
}
},
"required": [
"operation",
"agreement_date",
"agreement_number",
"pfr_name",
"pfr_code",
"fund_code"
]
}
},
"required": [
"person_type",
"additional"
],
"additionalProperties": false,
"": {
"address": {
"type": "object",
"properties": {
"operation": {
"description": "Операция",
"type": "string"
},
"country": {
"description": "Страна",
"": "#//definitions/stringNullable"
},
"region": {
"description": "Регион",
"": "#//definitions/stringNullable"
},
"region_prefix": {
"description": "Префикс региона",
"": "#//definitions/stringNullable"
},
"area": {
"description": "Район",
"": "#//definitions/stringNullable"
},
"area_prefix": {
"description": "Префикс района",
"": "#//definitions/stringNullable"
},
"city": {
"description": "Город",
"": "#//definitions/stringNullable"
},
"city_prefix": {
"description": "Префикс города",
"": "#//definitions/stringNullable"
},
"settlement": {
"description": "Населённый пункт",
"": "#//definitions/stringNullable"
},
"settlement_prefix": {
"description": "Префикс населённого пункта",
"": "#//definitions/stringNullable"
},
"street": {
"description": "Улица",
"": "#//definitions/stringNullable"
},
"street_prefix": {
"description": "Префикс улицы",
"": "#//definitions/stringNullable"
},
"planning_structure": {
"description": "Планировочная структура",
"": "#//definitions/stringNullable"
},
"planning_structure_prefix": {
"description": "Префикс планировочной структуры",
"": "#//definitions/stringNullable"
},
"index": {
"description": "Индекс",
"": "#//definitions/stringNullable"
},
"house": {
"description": "Дом",
"": "#//definitions/stringNullable"
},
"building": {
"description": "Корпус/строение",
"": "#//definitions/stringNullable"
},
"flat": {
"description": "Квартира/офис",
"": "#//definitions/stringNullable"
},
"fias_guid": {
"description": "УИД ФИАС",
"": "#//definitions/stringNullable"
},
"oneaddress": {
"description": "Адрес одной строкой",
"": "#//definitions/stringNullable"
},
"id_address": {
"description": "ИД адреса КЛАДР",
"type": [
"integer",
"null"
]
},
"comment": {
"description": "Комментарий",
"": "#//definitions/stringNullable"
},
"okato": {
"description": "ОКАТО",
"": "#//definitions/stringNullable"
},
"oktmo": {
"description": "ОКТМО",
"": "#//definitions/stringNullable"
}
},
"required": [
"operation"
],
"dependentRequired": {
"region": [
"region_prefix"
],
"region_prefix": [
"region"
],
"area": [
"area_prefix"
],
"city": [
"city_prefix"
],
"city_prefix": [
"city"
],
"settlement": [
"settlement_prefix"
],
"settlement_prefix": [
"settlement"
],
"street": [
"street_prefix"
],
"street_prefix": [
"street"
],
"planning_structure": [
"planning_structure_prefix"
],
"planning_structure_prefix": [
"planning_structure"
]
},
"additionalProperties": false
},
"staff": {
"type": "object",
"properties": {
"name": {
"description": "ФИО/наименование/инициалы",
"type": "string"
},
"position": {
"description": "Должность",
"": "#//definitions/stringNullable"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"definitions": {
"stringNullable": {
"type": [
"string",
"null"
]
}
}
}
}
Таблица directory.operation
Операции
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | uuid | Нет |
| 2 | id | ИД | integer | Нет |
| 3 | name | Наименование | text | Нет |
| 4 | oper_date | Дата операции | date | Нет |
| 5 | value_date | Дата валютирования | date | Нет |
| 6 | editor | Пользователь, создавший операцию | text | Нет |
| 7 | type | Тип | text | Нет |
| 8 | created | Дата и время создания | timestamp | Нет |
| 9 | deleted | Удалена | boolean | Нет |
| 10 | id_list | ИД списка загруженных данных | integer | Да |
| 11 | data | Данные | jsonb схема |
Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"batch": {
"description": "Планировщик",
"type": "object",
"properties": {
"id_task": {
"description": "ИД задачи",
"type": "integer"
},
"run": {
"description": "Номер запуска",
"type": "integer"
}
},
"required": [
"id_task",
"run"
]
},
"document": {
"description": "Документы",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"additionalProperties": false
}
Таблица directory.agent_area
Область деятельности агента
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.bic_backup
Резервная копия БИК
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"real": {
"description": "Признак ограничения участия в межбанковских расчетах",
"type": [
"string",
"null"
]
},
"ksnp": {
"description": "Корсчет в системе расчетов с использованием БИК",
"type": [
"string",
"null"
]
},
"nnp": {
"description": "Наименование населенного пункта",
"type": [
"string",
"null"
]
},
"namep": {
"description": "Платёжное наименование участника расчетов",
"type": [
"string",
"null"
]
},
"uer": {
"description": "Участник, пользователь системы электронных расчетов (ЭР)",
"type": [
"string",
"null"
]
},
"pzn": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"rgn": {
"description": "Код территории (СОАТО)",
"type": [
"string",
"null"
]
},
"ind": {
"description": "Индекс",
"type": [
"string",
"null"
]
},
"tnp": {
"description": "Тип населенного пункта",
"type": [
"string",
"null"
]
},
"adr": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"rkc": {
"description": "Номер РКЦ",
"type": [
"string",
"null"
]
},
"namen": {
"description": "Краткое наименование участника расчетов",
"type": [
"string",
"null"
]
},
"newks": {
"description": "Корсчет в системе расчетов с использованием БИК",
"type": [
"string",
"null"
]
},
"permfo": {
"description": "6-значный номер МФО",
"type": [
"string",
"null"
]
},
"srok": {
"description": "Срок прохождения расчетно-денежных документов",
"type": [
"string",
"null"
]
},
"at1": {
"description": "Абонентский телеграф 1",
"type": [
"string",
"null"
]
},
"at2": {
"description": "Абонентский телеграф 2",
"type": [
"string",
"null"
]
},
"telef": {
"description": "Телефон",
"type": [
"string",
"null"
]
},
"regn": {
"description": "Регистрационный номер участника расчетов",
"type": [
"string",
"null"
]
},
"okpo": {
"description": "Код ОКПО",
"type": [
"string",
"null"
]
},
"dt_izm": {
"description": "Дата последнего изменения или внесения записи в справочник банков РФ",
"type": [
"string",
"null"
]
},
"date_in": {
"description": "Входящая дата",
"type": [
"string",
"null"
]
},
"cks": {
"description": "Номер установки ЦКС",
"type": [
"string",
"null"
]
},
"vkey": {
"description": "Ключ",
"type": [
"string",
"null"
]
},
"vkeydel": {
"description": "Удалённый ключ",
"type": [
"string",
"null"
]
},
"date_ch": {
"description": "Дата прекращения действия БИК",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.department
Подразделения предприятия
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"id_person_plant": {
"description": "ИД принадлежности персоны",
"type": [
"integer"
]
},
"code": {
"description": "Код",
"type": [
"string",
"null"
]
},
"shortname": {
"description": "Краткое наименование",
"type": [
"string",
"null"
]
}
},
"required": [
"id_person_plant"
],
"additionalProperties": false
}
Таблица directory.fund_group
Группы фондов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.settlement
Населённый пункт
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"prefix": {
"description": "Префикс",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"prefix"
],
"additionalProperties": false
}
Таблица directory.bic_account
Счета БИК
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"datein": {
"description": "Входящая дата",
"type": [
"string",
"null"
]
},
"dateout": {
"description": "ИСходящая дата",
"type": [
"string",
"null"
]
},
"accountstatus": {
"description": "Статус",
"type": [
"string",
"null"
]
},
"accountcbrbic": {
"description": "Счёт БИК",
"type": [
"string",
"null"
]
},
"ck": {
"description": "Номер установки ЦК",
"type": [
"string",
"null"
]
},
"regulationaccounttype": {
"description": "Тип регулирования",
"type": [
"string",
"null"
]
},
"accrstrdate": {
"description": "Дата",
"type": [
"string",
"null"
]
},
"accrstr": {
"description": "Строка",
"type": [
"string",
"null"
]
},
"bic": {
"description": "БИК",
"type": [
"string"
]
}
},
"required": [
"bic"
],
"additionalProperties": false
}
Таблица directory.certificate
ДУЛ
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string"
]
},
"series_regexp": {
"description": "Регулярное выражение для серии",
"default": ".*",
"type": [
"string"
]
},
"number_regexp": {
"description": "Регулярное выражение для номера",
"default": ".*",
"type": [
"string"
]
}
},
"required": [
"name",
"series_regexp",
"number_regexp"
],
"additionalProperties": false
}
Таблица directory.demand_type
Типы заявлений
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"code": {
"description": "Код",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.pension_age
Пенсионные основания
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string"
]
},
"male_age": {
"description": "Возраст для мужчин",
"type": [
"integer",
"null"
]
},
"female_age": {
"description": "Возраст для женщин",
"type": [
"integer",
"null"
]
}
},
"required": [
"name"
],
"additionalProperties": false
}
Таблица directory.rate_profit
Актуарные ставки доходности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"value": {
"description": "Суммы",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Сумма",
"type": "number"
},
"income_group": {
"description": "Группы доходности",
"type": "string"
},
"period": {
"description": "Период",
"type": "string"
}
},
"required": [
"value",
"period"
]
}
}
},
"required": [
"value"
],
"additionalProperties": false
}
Таблица directory.sberbank_ag
Отделения СБ РФ (Атомгарант)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"bic": {
"description": "БИК",
"type": [
"string",
"null"
]
},
"upplevel": {
"description": "Преемник",
"type": [
"string",
"null"
]
},
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"number": {
"description": "Номер",
"type": [
"string",
"null"
]
},
"address": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"corracc": {
"description": "Корр. счёт",
"type": [
"string",
"null"
]
},
"bicrkc": {
"description": "БИК расчетного центра",
"type": [
"string",
"null"
]
},
"email": {
"description": "Адрес электронной почты",
"type": [
"string",
"null"
]
},
"bankcode": {
"description": "Код банка",
"type": [
"string",
"null"
]
},
"unoperate": {
"description": "Не действует с",
"type": [
"string",
"null"
]
},
"natural": {
"description": "Возможность ведения счетов физических лиц",
"default": true,
"type": [
"boolean"
]
},
"bicacc": {
"description": "БИК счёт",
"type": [
"string",
"null"
]
},
"created": {
"description": "Дата создания",
"type": [
"string",
"null"
]
},
"real": {
"description": "Признак ограничения участия в межбанковских расчетах",
"type": [
"string",
"null"
]
},
"rgn": {
"description": "Код региона",
"type": [
"integer",
"null"
]
},
"ind": {
"description": "Индекс",
"type": [
"string",
"null"
]
},
"namen": {
"description": "Краткое наименование участника расчетов",
"type": [
"string",
"null"
]
},
"srok": {
"description": "Срок прохождения расчетных документов в сети Банка России",
"type": [
"integer",
"null"
]
},
"telef": {
"description": "Телефон",
"type": [
"string",
"null"
]
},
"regn": {
"description": "Регистрационный номер кредитной организации",
"type": [
"string",
"null"
]
},
"okpo": {
"description": "ОКПО",
"type": [
"string",
"null"
]
},
"dt_izm": {
"description": "Дата последнего изменения или внесения записи",
"type": [
"string",
"null"
]
},
"date_in": {
"description": "Дата включения информации об участнике расчетов",
"type": [
"string",
"null"
]
},
"date_ch": {
"description": "Дата контроля",
"type": [
"string",
"null"
]
},
"inn": {
"description": "ИНН",
"type": [
"string",
"null"
]
},
"kpp": {
"description": "КПП",
"type": [
"string",
"null"
]
},
"ident": {
"description": "Идентификатор действующего участника СМФР",
"type": [
"string",
"null"
]
},
"priz": {
"description": "Признак наличия участника расчетов в системе расчетов СБ РФ в "Справочнике БИК России"",
"type": [
"string",
"null"
]
},
"pr_loro": {
"description": "Признак ведения счета банка-респондента филиалом Сбербанка России",
"type": [
"string",
"null"
]
},
"data_on": {
"description": "Дата начала работы участника СМФР",
"type": [
"string",
"null"
]
},
"mmt": {
"description": "Часовая разница с Московским временем",
"type": [
"integer",
"null"
]
},
"ltime": {
"description": "Признак перехода на летнее время участником СМФР",
"type": [
"string",
"null"
]
},
"swbic": {
"description": "SWIFT-код банка",
"type": [
"string",
"null"
]
},
"swbranch": {
"description": "Филиал в SWIFT",
"type": [
"string",
"null"
]
},
"osnov": {
"description": "Основание изменения записи об участнике СМФР",
"type": [
"string",
"null"
]
},
"bic_gk": {
"description": "БИК участника СМФР, где открыт счет МФР",
"type": [
"string",
"null"
]
},
"bic_tb": {
"description": "БИК территориального банка",
"type": [
"string",
"null"
]
},
"h_office": {
"description": "Признак маршрутизации на головной офис респондента",
"type": [
"string",
"null"
]
},
"koduh_gk": {
"description": "Код участника вышестоящего участника СМФР",
"type": [
"string",
"null"
]
},
"ident_gk": {
"description": "Идентификатор вышестоящего участника СМФР",
"type": [
"string",
"null"
]
},
"chief": {
"description": "ФИО руководителя",
"type": [
"string",
"null"
]
},
"cl_name": {
"description": "Платежное наименование для ЭС "Эскорд"",
"type": [
"string",
"null"
]
},
"name_ing": {
"description": "Наименование участника СМФР (англ.)",
"type": [
"string",
"null"
]
},
"name_f1": {
"description": "Полное наименование банка",
"type": [
"string",
"null"
]
},
"nnp_ing": {
"description": "Наименование населенного пункта",
"type": [
"string",
"null"
]
},
"type_code": {
"description": "Признак, определяющий тип участника расчетов в системе расчетов Сбербанка России",
"type": [
"string",
"null"
]
},
"besp": {
"description": "Категория участников расчетов в системе БЭСП",
"type": [
"string",
"null"
]
}
},
"required": [
"natural"
],
"additionalProperties": false
}
Таблица directory.schema_type
Типы схем
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"type": {
"description": "Тип",
"default": "C",
"type": [
"string"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
Таблица directory.account_type
Типы счетов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"description": {
"description": "Описание",
"type": [
"string"
]
},
"type": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"shortname": {
"description": "Краткое наименование",
"type": [
"string",
"null"
]
},
"include_outpayment": {
"description": "Включать в реестр",
"type": "boolean"
},
"payment_account_type": {
"description": "Выплатной счёт",
"type": [
"string",
"null"
]
},
"payment_purpose": {
"description": "Назначение платежа при выплате",
"type": [
"string",
"null"
]
},
"return_account_type": {
"description": "Возвратный счёт",
"type": [
"string",
"null"
]
}
},
"required": [
"description"
],
"additionalProperties": false
}
Таблица directory.benefit_code
Стандартные налоговые вычеты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | integer | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"code": {
"description": "Код",
"type": "string"
},
"description": {
"description": "Описание",
"type": [
"string",
"null"
]
},
"cumulative": {
"description": "Накопительный",
"default": false,
"type": "boolean"
},
"value": {
"description": "Суммы",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Сумма",
"type": "number"
},
"max_value": {
"description": "Максимальная сумма",
"type": [
"number",
"null"
]
},
"period": {
"description": "Период",
"type": "string"
}
},
"required": [
"value",
"period"
]
}
}
},
"required": [
"code",
"cumulative",
"value"
],
"additionalProperties": false
}
Таблица directory.block_reason
Причины блокировки
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.close_reason
Причины закрытия
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
},
"manual": {
"description": "Ручной",
"default": true,
"type": [
"boolean"
]
},
"schema_type": {
"description": "Тип схемы",
"type": [
"string",
"null"
]
},
"auto": {
"description": "Автоматически",
"default": true,
"type": [
"boolean"
]
}
},
"required": [
"manual",
"auto"
],
"additionalProperties": false
}
Таблица directory.income_group
Группы доходности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.invalid_rank
Категории инвалидности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.payment_type
Типы платежей
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"type": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"deftype": {
"description": "Тип по умолчанию",
"type": [
"boolean",
"null"
]
},
"code": {
"description": "Код",
"type": [
"integer",
"null"
]
},
"account_type": {
"description": "Тип счёта",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.decision_type
Типы решений
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"code": {
"description": "Код типа",
"type": [
"string",
"null"
]
},
"description": {
"description": "Описание",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.document_type
Типы документов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.global_params
Глобальные параметры
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb | Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Таблица directory.vesting_event
События вестинга
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"is_release": {
"description": "Финальный",
"default": true,
"type": "boolean"
}
},
"required": [
"is_release"
],
"additionalProperties": false
}
Таблица directory.vesting_value
Типы значений вестинга
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.exclude_reason
Причины исключения
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
},
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.informing_code
Список кодов информирования с временем актуальности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string"
]
},
"ttl": {
"description": "Время актуальности в днях",
"default": 30,
"type": [
"integer"
]
}
},
"required": [
"name",
"ttl"
],
"additionalProperties": false
}
Таблица directory.informing_type
Типы информирования
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"name": {
"description": "Наименование",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.invalid_reason
Причины инвалидности
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"description": {
"description": "Описание",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.juridical_role
Роли юридических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.juridical_type
Типы юридических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"fullname": {
"description": "Полное наименование",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.operation_type
Типы операций
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.retention_type
Типы удержаний по исполнительным делам
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.schema_variant
Варианты пенсионных схем
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"comment": {
"description": "Комментарий",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.bic_participant
БИК учасник
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"namep": {
"description": "Платёжное наименование участника расчетов",
"type": [
"string",
"null"
]
},
"rgn": {
"description": "Код территории (СОАТО);",
"type": [
"string",
"null"
]
},
"ind": {
"description": "Индекс",
"type": [
"string",
"null"
]
},
"tnp": {
"description": "Тип населенного пункта",
"type": [
"string",
"null"
]
},
"nnp": {
"description": "Наименование населенного пункта",
"type": [
"string",
"null"
]
},
"adr": {
"description": "Адрес",
"type": [
"string",
"null"
]
},
"prntbic": {
"description": "Часть БИК",
"type": [
"string",
"null"
]
},
"datein": {
"description": "Входящая дата",
"type": [
"string",
"null"
]
},
"pttype": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"srvcs": {
"description": "Сервис",
"type": [
"string",
"null"
]
},
"xchtype": {
"description": "Тип схемы",
"type": [
"string",
"null"
]
},
"uid": {
"description": "УИД",
"type": [
"string",
"null"
]
},
"participantstatus": {
"description": "Статус участника",
"type": [
"string",
"null"
]
},
"npsparticipant": {
"description": "Наименованиепункта участника",
"type": [
"string",
"null"
]
},
"regn": {
"description": "Регистрационный номер участника расчетов",
"type": [
"string",
"null"
]
},
"cntrcd": {
"description": "Количество СД",
"type": [
"string",
"null"
]
},
"englname": {
"description": "Английское название",
"type": [
"string",
"null"
]
},
"dateout": {
"description": "Исходящая дата",
"type": [
"string",
"null"
]
},
"partno": {
"description": "Часть",
"type": [
"string",
"null"
]
},
"partquantity": {
"description": "Количесво частей",
"type": [
"string",
"null"
]
},
"partaggregateid": {
"description": "ИД",
"type": [
"string",
"null"
]
},
"edno": {
"description": "Номер изменения",
"type": [
"string",
"null"
]
},
"eddate": {
"description": "Дата изменения",
"type": [
"string",
"null"
]
},
"edauthor": {
"description": "Автор изменения",
"type": [
"string",
"null"
]
},
"changetype": {
"description": "Тип изменения",
"type": [
"string",
"null"
]
},
"rstr": {
"description": "Строка",
"type": [
"string",
"null"
]
},
"rstrdate": {
"description": "Дата строки",
"type": [
"string",
"null"
]
},
"tonpsdate": {
"description": "Дата населенного пункта",
"type": [
"string",
"null"
]
},
"businessday": {
"description": "Бизнес день",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.outpayment_type
Типы выплат
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.pension_product
Пенсионные продукты
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.ident_additional
Дополнительная идентификация
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"clirnum": {
"description": "Номер",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.post_destination
Типы почтовых получений
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"destination": {
"description": "Описание",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.actuary_admission
Актуарные допущения
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"value": {
"description": "Значение",
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.juridical_history
Юридические лица (история)
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | fullname | Полное наименование | text | Нет |
| 3 | shortname | Краткое наименование | text | Да |
| 4 | formalname | Формализованное наименование | text | Да |
| 5 | mdm_key | Ключ МДМ | uuid | Да |
| 6 | code | Код | text | Да |
| 7 | inn | ИНН | text | Да |
| 8 | type | Тип | text | Да |
| 9 | role | Роль | text | Да |
| 10 | id_fund | ИД Фонда | integer | Да |
| 11 | operation | Операция | uuid | Нет |
| 12 | data | Данные | jsonb | Нет |
| 13 | sys_period | Период действия | tstzrange | Нет |
Таблица directory.bank_accounts_type
Счета банков
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"type": {
"description": "Тип",
"type": [
"string",
"null"
]
},
"description": {
"description": "Описание",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Таблица directory.juridical_relation
Зависимости юридических лиц
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.planning_structure
Планировочная структура
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"prefix": {
"description": "Префикс",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"prefix"
],
"additionalProperties": false
}
Таблица directory.informing_templates
Шаблоны информирования
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"type": {
"description": "Тип уведомления",
"default": "EMAIL2SMS",
"type": [
"string"
]
},
"part": {
"description": "Часть шаблона уведомления",
"type": [
"string"
]
},
"xsl": {
"description": "Шаблон",
"type": [
"object"
]
}
},
"required": [
"type",
"part",
"xsl"
],
"additionalProperties": false
}
Таблица directory.pension_program_type
Тип пенсионной программы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.transaction_link_type
Типы связей транзакций
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"additionalProperties": false
}
Таблица directory.contract_params_values
Значения параметров договора
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ | text | Нет |
| 2 | data | Данные | jsonb схема |
Нет |
| 3 | changed | Время изменения | timestamp | Нет |
Схема jsonb колонки data
{
"type": "object",
"properties": {
"id_contract_params": {
"description": "Значение",
"type": "integer",
"enum": [
1,
2,
3,
4
]
}
},
"additionalProperties": false
}
Модуль admin
Административный модуль
Схема stat
Статистика и журналы
Таблица stat.track
Журнал доступа оператора к объектам
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | at | Отметка времени | timestamp | Нет |
| 2 | login | Логин оператора | text | Нет |
| 3 | topic | Топик объекта | text | Нет |
| 4 | title | Название | text | Нет |
| 5 | data | Дополнительные данные | jsonb | Нет |
Схема admin
Администрирование
Таблица admin.user
Информация о пользователе
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД пользователя | integer | Нет |
| 2 | login | Логин | text | Нет |
| 3 | name | Описание | text | Да |
| 4 | position | Должность | text | Да |
| 5 | phnumber | Контактный телефон | text | Да |
| 6 | Адрес эл. почты | text | Да | |
| 7 | start_date | Начало действия | timestamp | Нет |
| 8 | editor | Кто редактировал | text | Нет |
| 9 | password_hash | Хеш пароля | text | Да |
| 10 | user_info | Дополнительная информация | jsonb | Да |
Таблица admin.group
Группы пользователей
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД Группы | integer | Нет |
| 2 | name | Наименование группы | text | Нет |
| 3 | start_date | Начало действия | timestamp | Нет |
| 4 | editor | Кто редактировал | text | Нет |
| 5 | group_info | Дополнительные аттрибуты | jsonb | Нет |
Таблица admin.group_roles
Роли группы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | key | Ключ роли | text | Нет |
| 2 | name | Название роли | text | Нет |
Таблица admin.permissions
Права группы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_group | ИД | integer | Нет |
| 2 | permission | Ключ права доступа | text | Нет |
| 3 | start_date | Начало действия | timestamp | Нет |
| 4 | editor | Кто редактировал | text | Нет |
Таблица admin.storage_user
Пользователи хранилища
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_user | ИД Оператора | integer | Нет |
| 2 | home | Домашний каталог | text | Нет |
| 3 | id_main_group | ИД Основной группы | integer | Нет |
| 4 | datasource | Источник данных | text | Нет |
Таблица admin.link_user_group
Связь пользователя и группы
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_user | ИД пользователя | integer | Нет |
| 2 | id_group | ИД группы | integer | Нет |
| 3 | start_date | Начало действия | timestamp | Нет |
| 4 | editor | Кто редактировал | text | Нет |
Модуль tools
Инструменты и утилиты
Схема data
Временные зоны загрузчика
Таблица data.list
Список временных зон
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД временой зоны | integer | Нет |
| 2 | path | Путь Загрузчика и источника данных | text | Нет |
| 3 | created | Время загрузки | timestamp | Нет |
| 4 | editor | Редактор | text | Нет |
| 5 | properties | Дополнительная информация о загрузке | jsonb | Нет |
| 6 | data | Загруженные данные или информация о их местоположении | jsonb | Да |
Схема queue
Планировщик
Таблица queue.run
История запусков задачи
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_task | ИД Задачи | integer | Нет |
| 2 | run | Номер запуска задачи | integer | Нет |
| 3 | state | Состояние | text | Нет |
| 4 | hostvars | Хост-переменные запуска задачи | jsonb | Нет |
| 5 | moment | Время запуска задачи | timestamp | Нет |
Таблица queue.task
Задачи планировщика
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id | ИД | integer | Нет |
| 2 | slot | Слот выполнения | text | Нет |
| 3 | priority | Порядок выполнения при прочих равных. Приоритетнее с меньшим номеров | integer | Нет |
| 4 | path | Путь к объекту BATCH | text | Нет |
| 5 | name | Наименование задачи | text | Нет |
| 6 | start_time | Запланированное время запуска | timestamp | Да |
| 7 | allowed_delay | Допустимое время задержки задачи. | interval | Да |
| 8 | repeat_interval | Интервал повторения | interval | Да |
| 9 | active | Признак активности задачи | boolean | Нет |
| 10 | hostvars | Хост-переменные для задачи | jsonb | Нет |
Таблица queue.result
Результат выполнения элемента задачи
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_task | ИД задачи | integer | Нет |
| 2 | run | Номер запуска | integer | Нет |
| 3 | path | Путь объекта | text | Нет |
| 4 | data | Результат выполнения | jsonb | Нет |
Таблица queue.journal
Журнал выполнения задачи
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_task | ИД задачи | integer | Нет |
| 2 | run | Номер запуска | integer | Нет |
| 3 | path | Путь к объекту, пославшему сообщение | text | Нет |
| 4 | moment | Время создания записи | timestamp | Нет |
| 5 | subject | Тип сообщения | text | Нет |
| 6 | message | Сообщение | text | Да |
Таблица queue.result_data
Двоичные данные по выполнению элемента задачи
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | id_task | ИД задачи | integer | Нет |
| 2 | run | Номер запуска | integer | Нет |
| 3 | path | Путь объекта | text | Нет |
| 4 | key | Ключ содержимого | uuid | Нет |
| 5 | data | Содержимое | jsonb | Нет |
| 6 | content | Содержимое (двоичное) | bytea | Да |
Схема storage
Хранилище
Таблица storage.object
Хранилище файлов
| № | Поле | Описание | Тип и длина | Может быть "NULL" |
|---|---|---|---|---|
| 1 | fullname | Полный путь | text | Нет |
| 2 | path | Папка файла | text | Нет |
| 3 | name | Имя файла | text | Нет |
| 4 | type | Тип объекта | text | Нет |
| 5 | content | Содержимое | bytea | Да |
| 6 | created | Время создания | timestamp | Нет |
| 7 | modified | Время изменения | timestamp | Нет |
| 8 | size | Размер | bigint | Нет |
| 9 | properties | Свойства | jsonb | Да |
| 10 | engine | Драйвер хранилища | text | Нет |