{"swagger":"2.0","info":{"title":"API 365","version":"1"},"host":"virtserver.swaggerhub.com","schemes":["https"],"consumes":["application/json"],"produces":["application/json"],"securityDefinitions":{"Bearer":{"type":"apiKey","name":"Authorization","in":"header"}},"security":[{"Bearer":[]}],"paths":{"/api/v1/auth/token/":{"post":{"operationId":"api_v1_auth_token_create","summary":"Аутентификация","description":"Takes a set of user credentials and returns an access and refresh JSON web\ntoken pair to prove the authentication of those credentials.","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/TokenObtainPair"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/TokenObtainPair"}}},"tags":["api"]},"parameters":[]},"/api/v1/auth/token/refresh/":{"post":{"operationId":"api_v1_auth_token_refresh_create","summary":"Обновление токена","description":"Takes a refresh type JSON web token and returns an access type JSON web\ntoken if the refresh token is valid.","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/TokenRefresh"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/TokenRefresh"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/activate/":{"post":{"operationId":"api_v1_integration_activate_create","summary":"Поключение сотрудника","description":"Подключение сотрудника к системе","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/IntegrationActivate"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/IntegrationActivate"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/deactivate/":{"post":{"operationId":"api_v1_integration_deactivate_create","summary":"Отключение сотрудника","description":"Отключение сотрудника от системы","parameters":[],"responses":{"201":{"description":""}},"tags":["api"]},"parameters":[]},"/api/v1/integration/employee-list/":{"get":{"operationId":"api_v1_integration_employee-list_create","summary":"Получение подключенных сотрудников и информации о последних зачислениях","description":"Получение подключенных сотрудников","parameters":[{"name":"pack","description":"номер пакета (кол-во пакетов= кол-во всех подключенных сотрудников  / 100)"},{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/OrganizationInnKpp"}}],"responses":{"200":{"description":"Информация о банковских реквизитах и расчетных дат последних взаиморасчетов","schema":{"type":"object","properties":{"bank_props":{"type":"array","items":{"type":"object","properties":{"bik":{"type":"string"},"bank_name":{"type":"string"},"correspondent_account":{"type":"string"},"checking_account":{"type":"string"},"recipient":{"type":"string"},"client_inn":{"type":"string"},"client_kpp":{"type":"string"},"bank_inn":{"type":"string"},"bank_kpp":{"type":"string"},"individual_guid":{"type":"string","format":"uuid"}}}},"settlements":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"individual_guid":{"type":"string","format":"uuid"}}}}}}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/refresh/":{"parameters":[]},"/api/v1/integration/request/":{"get":{"operationId":"api_v1_integration_request_list","summary":"Получение списка заявок на подключение","description":"Список заявок на подключение физ. лиц от партнёров","parameters":[],"responses":{"200":{"description":"Заявки","schema":{"$ref":"#/definitions/ConnectionRequestCreate"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/request/individual-not-found/":{"post":{"operationId":"api_v1_integration_request_individual-not-found_create","summary":"Смена статуса заявок на \"Сотрудник не найден в базе работодателя\"","description":"Смена статуса заявок на \"Сотрудник не найден в базе работодателя\"","parameters":[{"name":"data","in":"body","required":true,"schema":{"type":"array","items":{"title":"Расчётный счёт","type":"string"}}}],"responses":{"200":{"description":"NO_CONTENT"}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/bank-props/":{"post":{"operationId":"api_v1_integration_update_bank-props_create","summary":"Банковские реквизиты","description":"Обновление данных по банковским реквизитам","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockBankProps"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockBankProps"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/employee/":{"post":{"operationId":"api_v1_integration_update_employee_create","summary":"Кадровые данные","description":"Обновление кадровых данных (по сотруднику)","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockEmployee"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockEmployee"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/individual/":{"post":{"operationId":"api_v1_integration_update_individual_create","summary":"Данные ФЛ","description":"Обновление данных физ.лиц","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockIndividual"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockIndividual"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/payments/":{"post":{"operationId":"api_v1_integration_update_payments_create","summary":"Расчетные листки","description":"Получение/обновление данных по расчетным листам","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockPaySheet"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockPaySheet"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/penalties/":{"parameters":[]},"/api/v1/integration/update/settlements/":{"post":{"operationId":"api_v1_integration_update_settlements_create","summary":"Взаиморасчеты","description":"Обновление данных по взаиморасчетам с сотрудником","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockSettlement"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockSettlement"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/statement_file/{user_guid}/":{"parameters":[{"name":"user_guid","in":"path","required":true,"type":"string"}]},"/api/v1/integration/update/timesheets/":{"parameters":[]},"/api/v1/integration/update/vacation-remainder/":{"post":{"operationId":"api_v1_integration_update_vacation-remainder_create","summary":"Остатки отпусков","description":"Обновление данных по остаткам дней отпуска","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockVacationRemainder"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockVacationRemainder"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/vacation/":{"post":{"operationId":"api_v1_integration_update_vacation_create","summary":"Отпуска","description":"Обновление данных по отпускам сотрудников","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockVacation"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockVacation"}}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/version/":{"post":{"operationId":"api_v1_integration_update_version_create","summary":"Передача версии плагина 1C","description":"Передача версии плагина 1C","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/PluginVersion1C"}}],"responses":{"200":{"description":"OK"}},"tags":["api"]},"parameters":[]},"/api/v1/integration/update/work-schedule/":{"post":{"operationId":"api_v1_integration_update_work-schedule_create","summary":"Графики работы","description":"Обновление данных по графику работы сотрудника","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/BlockWorkSchedule"}}],"responses":{"201":{"description":"","schema":{"$ref":"#/definitions/BlockWorkSchedule"}}},"tags":["api"]},"parameters":[]},"/api/v1/registration/sms-code/":{"post":{"operationId":"api_v1_registration_sms-code_create","summary":"Отправка СМС с кодом на номер телефона","description":"","parameters":[{"name":"data","in":"body","required":true,"schema":{"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string"},"device_id":{"title":"Идентификатор устройства","type":"string"}}}}],"responses":{"200":{"description":"NO_CONTENT"},"400":{"description":"Не удалось отправить sms","schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/registration/token/":{"post":{"operationId":"api_v1_registration_token_create","summary":"(пока под вопросом его использ.)Метод получения токена доступа к API после ввода кода из смс","description":"Возможные варианты ответа на запрос:\n\n1. Если физ.лицо с указанным номером телефона существует\n\n```\n{\n    \"type\": Тип события\n    \"next\": Идентификатор страницы, на которую необходимо совершить переход\n    \"phone\": Номер телефона ()\n    \"fio\": ФИО физ.лица ()\n    \"refresh\": refresh токен\n    \"access\": access токен\n    \"user_id\": Идентификатор физ.лица\n}\n```\n\n2. Если физ.лицо с указанным номером телефона не найдено\n\n```\n{\n    \"type\": Тип события\n    \"phone\": Номер телефона ()\n    \"token\": Токен для доступа к методам заявок (`/api/v1/finance/...`)\n    \"statement_id\": Идентификатор заявки\n}\n```","parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/Token"}}],"responses":{"200":{"description":"Формат в описании метода"}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/companies/":{"get":{"operationId":"api_v1_companies_all_list","summary":"Получение списка компаний","description":"","parameters":[{"name":"search","in":"query","description":"Поиск по строке","required":false,"type":"string"}],"responses":{"200":{"description":"Компании","schema":{"$ref":"#/definitions/Company"}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/registration/validate-snils/":{"post":{"operationId":"api_v1_registration_validate-snils_create","summary":"Валидация СНИЛС","description":"","parameters":[{"name":"data","in":"body","required":true,"schema":{"type":"object","properties":{"snils":{"title":"СНИЛС","type":"string"}}}}],"responses":{"200":{"description":"NO_CONTENT"},"400":{"description":"Обнаружены несоответствия","schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/registration/personal-data/":{"get":{"operationId":"api_v1_registration_personal-data_list","summary":"Получение данных пользователя","description":"","parameters":[],"responses":{"200":{"description":"Данные пользователя","schema":{"type":"object","properties":{"email":{"type":"string"},"fname":{"type":"string"},"iname":{"type":"string"},"oname":{"type":"string"},"birth_date":{"type":"string","format":"date-time"},"birth_place":{"type":"string"},"passport_series":{"type":"string"},"passport_number":{"type":"string"},"passport_issued_by":{"type":"string"},"passport_issued_date":{"type":"string","format":"date-time"},"checking_account":{"type":"string"},"correspondent_account":{"type":"string"},"bank_name":{"type":"string"},"bik":{"type":"string"},"client_inn":{"type":"string"},"client_kpp":{"type":"string"},"recipient":{"type":"string"},"company_name":{"type":"string"},"position":{"type":"string"},"salary":{"type":"number"}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/finance/commission/":{"get":{"operationId":"api_v1_finance_commission_list","summary":"Получение комиссии для переданной суммы","description":"","parameters":[{"name":"amount","in":"query","description":"Сумма","type":"number"}],"responses":{"200":{"description":"Параметры","schema":{"type":"object","properties":{"commission":{"type":"number"}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/finance/balance-detail/":{"get":{"operationId":"api_v1_finance_balance-detail_list","summary":"Баланс, начислено, получено","description":"","parameters":[],"responses":{"200":{"description":"Детализация баланса","schema":{"type":"object","properties":{"from":{"title":"Дата начала периода","type":"string","format":"date"},"till":{"title":"Дата окончания периода","type":"string","format":"date"},"average_day_salary":{"title":"Среднедневной заработок","type":"string"},"worked_days_count":{"title":"Количество отработанных дней","type":"integer"},"amount_total_debet":{"title":"Общая сумма заработка","type":"string"},"amount_total_credit":{"title":"Общая сумма выплаты","type":"string"},"balance":{"title":"Текущий баланс (заработано)","type":"string"},"operations_history":{"title":"Операции, влияющие на сумму выплат","type":"array","items":{"type":"object","properties":{"transaction_id":{"type":"string"},"payment_method":{"type":"string"},"amount":{"type":"string"},"executed":{"type":"string","format":"date"},"created":{"type":"string","format":"date"},"commission":{"type":"string"}}}},"message_boxes":{"title":"Текстовые описания полей","type":"array","items":{"type":"object","properties":{"type":{"type":"integer"},"title":{"type":"string"},"description":{"type":"string"}}}},"num_days_in_debt":{"title":"Количество дней в долгу","type":"integer"},"working_days":{"title":"Количество рабочих дней в месяце","type":"integer"},"limit_coefficient":{"title":"Коэффициент снятия","type":"string"},"max_withdrawal_amount":{"title":"Максимальная сумма снятий","type":"string"},"salary":{"title":"Месячный доход сотрудника","type":"string"},"details":{"title":"Детализация","type":"array","items":{"type":"object","properties":{"title":{"title":"Название","type":"string"},"value":{"title":"Значение","type":"string"}}}}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/finance/withdrawal-params/":{"get":{"operationId":"api_v1_finance_withdrawal-params_list","summary":"Получение параметров для выбора суммы для снятия","description":"Параметры","parameters":[],"responses":{"200":{"description":"Параметры","schema":{"type":"object","properties":{"max_amount":{"type":"number","default":10000},"min_amount":{"type":"number","default":3000},"default_amount":{"type":"number","default":5000},"step":{"type":"number","default":500},"commision_text":{"type":"string"},"commission_error_text":{"type":"string"}}}}},"tags":["api веб-приложения"]},"parameters":[]},"/api/v1/finance/withdrawal/":{"post":{"operationId":"api_v1_finance_withdrawal_create","summary":"Вывод средств","description":"","parameters":[{"name":"data","in":"body","required":true,"schema":{"type":"object","properties":{"amount":{"title":"Сумма","type":"number"}}}}],"responses":{"200":{"description":"NO_CONTENT"}},"tags":["api веб-приложения"]},"parameters":[]}},"definitions":{"TokenObtainPair":{"required":["phone","password"],"type":"object","properties":{"phone":{"title":"Phone","type":"string","minLength":1},"password":{"title":"Password","type":"string","minLength":1}}},"TokenRefresh":{"required":["refresh"],"type":"object","properties":{"refresh":{"title":"Refresh","type":"string","minLength":1}}},"Company":{"required":["name"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Наименование","type":"string","maxLength":512,"minLength":1},"inn":{"title":"ИНН организации","type":"string","maxLength":12},"kpp":{"title":"КПП организации","type":"string","maxLength":16},"registration_address":{"title":"Адрес регистрации","type":"string"}}},"CompanyUpdate":{"type":"object","properties":{"partner_status":{"title":"Статус компании (для партнера)","type":"string","enum":["awaited","waiting","waiting_integration","employee_onboarding","active","inactive"],"x-nullable":true}}},"Alert":{"required":["type"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"type":{"title":"Тип","type":"string","minLength":1},"title":{"title":"Название","type":"string"},"short_description":{"title":"Краткое описание","type":"string"},"detailed_description":{"title":"Полное описание","type":"string"}}},"MessageBox":{"required":["type","title","description"],"type":"object","properties":{"type":{"title":"Тип","type":"integer","enum":[1,2,3,4,5,6,7,8,9,20,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25]},"title":{"title":"Заголовок","type":"string","maxLength":255,"minLength":1},"description":{"title":"Описание","type":"string","minLength":1}}},"PaymentSheetWrapper":{"required":["fname","iname","oname"],"type":"object","properties":{"fname":{"title":"Fname","type":"string","minLength":1},"iname":{"title":"Iname","type":"string","minLength":1},"oname":{"title":"Oname","type":"string"},"withdraws_amount_name":{"title":"Название поля с ранними выводами","type":"string","readOnly":true},"commissions_amount_name":{"title":"Название поля с комиссией","type":"string","readOnly":true},"salary_name":{"title":"Название поля с окладом","type":"string","readOnly":true},"accruals_amount_name":{"title":"Название поля с суммой выплат","type":"string","readOnly":true},"deductions_amount_name":{"title":"Название поля с суммой удержаний","type":"string","readOnly":true},"amount_name":{"title":"Название поля с суммой начислений, за вычетом суммы удержаний","type":"string","readOnly":true},"payments_amount_name":{"title":"Название поля с суммой начислений","type":"string","readOnly":true}}},"Accrual":{"title":"Список выплат","required":["name","amount"],"type":"object","properties":{"name":{"title":"Наименование вида выплаты","type":"string","maxLength":100,"minLength":1},"amount":{"title":"Amount","type":"string","format":"decimal"},"days":{"title":"Количество отработанных дней","type":"string","format":"decimal","x-nullable":true},"hours":{"title":"Количество отработанных часов","type":"string","format":"decimal","x-nullable":true}}},"Deduction":{"title":"Список удержаний","required":["name","amount"],"type":"object","properties":{"name":{"title":"Наименование вида удержания","type":"string","maxLength":100,"minLength":1},"amount":{"title":"Amount","type":"string","format":"decimal"}}},"Payment":{"title":"Список начислений","required":["name","amount"],"type":"object","properties":{"name":{"title":"Наименование вида начисления","type":"string","maxLength":100,"minLength":1},"amount":{"title":"Amount","type":"string","format":"decimal"}}},"PaymentSheetDetail":{"required":["contribution_pfr","contribution_fss","contribution_accident_fss","contribution_ffoms","fname","iname","oname"],"type":"object","properties":{"accruals":{"type":"array","items":{"$ref":"#/definitions/Accrual"},"readOnly":true},"deductions":{"type":"array","items":{"$ref":"#/definitions/Deduction"},"readOnly":true},"payments":{"type":"array","items":{"$ref":"#/definitions/Payment"},"readOnly":true},"contribution_pfr":{"title":"Сумма взносов в ПФР","type":"string","format":"decimal"},"contribution_fss":{"title":"Сумма взносов в ФСС","type":"string","format":"decimal"},"contribution_accident_fss":{"title":"Сумма взносов в ФСС (травматизм)","type":"string","format":"decimal"},"contribution_ffoms":{"title":"Сумма взносов в ФФОМС","type":"string","format":"decimal"},"date":{"title":"Дата","type":"string","readOnly":true},"fname":{"title":"Fname","type":"string","minLength":1},"iname":{"title":"Iname","type":"string","minLength":1},"oname":{"title":"Oname","type":"string"},"salary":{"title":"Оклад","type":"string","readOnly":true},"position":{"title":"Должность","type":"string","readOnly":true},"accruals_amount":{"title":"Общая сумма выплат","type":"string","readOnly":true},"deductions_amount":{"title":"Общая сумма удержаний","type":"string","readOnly":true},"payments_amount":{"title":"Общая сумма начислений","type":"string","readOnly":true},"withdraws_amount":{"title":"Общая сумма ранних выводов","type":"string","readOnly":true},"commissions_amount":{"title":"Общая сумма комиссий","type":"string","readOnly":true}}},"Reminder":{"required":["text"],"type":"object","properties":{"type":{"title":"Тип","type":"string","enum":["SALARY","ADVANCE","VACATION","TARIFF"]},"text":{"title":"Текст","type":"string","minLength":1},"background_image":{"title":"Изображение для заднего фона","type":"string","readOnly":true,"x-nullable":true,"format":"uri"}}},"DVRequisite":{"required":["name","inn","bank_name","bik","nml_corr_account_number","nml_account_number"],"type":"object","properties":{"name":{"title":"Наименование владельца счетов","type":"string","maxLength":512,"minLength":1},"inn":{"title":"ИНН","type":"string","maxLength":12,"minLength":1},"kpp":{"title":"КПП","type":"string","maxLength":9},"bank_name":{"title":"Наименование банка","type":"string","maxLength":512,"minLength":1},"bik":{"title":"БИК","type":"string","maxLength":9,"minLength":1},"nml_corr_account_number":{"title":"Номер к/с","type":"string","maxLength":22,"minLength":1},"nml_account_number":{"title":"Номер р/с","type":"string","maxLength":22,"minLength":1},"payment_purpose":{"title":"Назначение платежа","type":"string","readOnly":true}}},"BlockNorthernHardshipBonus":{"title":"Бонусы за тяжелые условия севера","required":["start_date","expiration_date","rate"],"type":"object","properties":{"start_date":{"title":"Дата и время начала","type":"string","format":"date-time"},"expiration_date":{"title":"Дата и время окончания","type":"string","format":"date-time"},"rate":{"title":"Коэффициент","type":"string","format":"decimal"}}},"BlockIndividual":{"title":"Данные физ.лица","required":["organization","fname","iname","gender","snils","birth_date","doc_series","doc_number","doc_issued_date"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_external_id":{"title":"Внешний идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"phone":{"title":"Телефон","type":"string","maxLength":128},"email":{"title":"Email","type":"string","format":"email"},"fname":{"title":"Фамилия","type":"string","minLength":1},"iname":{"title":"Имя","type":"string","minLength":1},"oname":{"title":"Отчество","type":"string"},"gender":{"title":"Пол","description":"Допустимые значения: 1 (Мужской), 2 (Женский)","type":"string"},"inn":{"title":"ИНН","type":"string","maxLength":12},"snils":{"title":"СНИЛС","type":"string","maxLength":14,"minLength":1},"birth_date":{"title":"Дата рождения","type":"string","format":"date-time"},"birth_place":{"title":"Место рождения","type":"string","maxLength":240},"citizenship":{"title":"Гражданство","type":"string","maxLength":60},"doc_kind":{"title":"Вид документа","type":"string","maxLength":150},"doc_series":{"title":"Серия документа","type":"string","maxLength":14,"minLength":1},"doc_number":{"title":"Номер документа","type":"string","maxLength":14,"minLength":1},"doc_issued_by":{"title":"Место выдачи документа","type":"string","maxLength":200},"doc_issued_date":{"title":"Дата выдачи документа","type":"string","format":"date-time"},"doc_department_code":{"title":"Код подразделения","type":"string","maxLength":150},"doc_expired_at":{"title":"Срок окончания действия документа","type":"string","format":"date-time","x-nullable":true},"reg_address":{"title":"Адрес регистрации","type":"string","maxLength":500},"fact_address":{"title":"Адрес фактического проживания","type":"string","maxLength":500},"education_kind":{"title":"Вид образования","type":"string","maxLength":70},"posthigh_education_kind":{"title":"Вид послевузовского образования","type":"string","maxLength":70},"institution":{"title":"Учебное заведение","type":"string","maxLength":150},"speciality":{"title":"Специальность","type":"string","maxLength":100},"qualification":{"title":"Квалификация","type":"string","maxLength":100},"regional_premium_rate":{"title":"Районный коэффициент","type":"string","format":"decimal","x-nullable":true},"northern_hardship_bonus":{"type":"array","items":{"$ref":"#/definitions/BlockNorthernHardshipBonus"},"default":[]}}},"BlockEmployee":{"title":"Кадровые данные","required":["organization","admission_date","salary"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_external_id":{"title":"Внешний идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"employee_external_id":{"title":"Внешний идентификатор сотрудника","type":"string","minLength":1,"x-nullable":true},"employee_guid":{"title":"Идентификатор сотрудника","type":"string","format":"uuid","x-nullable":true},"tab_num":{"title":"Табельный номер","type":"string","maxLength":64},"department":{"title":"Подразделение","type":"string","maxLength":150},"position":{"title":"Должность","type":"string","maxLength":150},"is_combined":{"title":"Признак совместительства","type":"boolean","default":false},"count":{"title":"Количество ставок","type":"string","format":"decimal","default":"1.00000000000000000000"},"admission_date":{"title":"Дата приема на работу","type":"string","format":"date-time"},"probation_end_date":{"title":"Дата окончания испытательного периода","type":"string","format":"date-time","x-nullable":true},"salary":{"title":"Оклад","type":"string","format":"decimal"},"planned_deduction":{"title":"Сумма планируемых удержаний","type":"string","format":"decimal","x-nullable":true},"deduction_rate":{"title":"Процент удержаний","type":"string","format":"decimal","x-nullable":true},"termination_date":{"title":"Дата увольнения","type":"string","format":"date-time","x-nullable":true},"tax_rate":{"title":"Налоговая ставка","type":"string","format":"decimal","x-nullable":true}}},"BlockBankProps":{"title":"Банковские реквизиты","required":["organization","bik","bank_name","checking_account"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_external_id":{"title":"Внешний идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"is_active":{"title":"Признак актуальности","type":"boolean","default":true},"bik":{"title":"БИК","type":"string","maxLength":9,"minLength":1},"inn":{"title":"ИНН","type":"string","maxLength":12},"kpp":{"title":"КПП","type":"string","maxLength":9},"bank_name":{"title":"Наименование банка","type":"string","maxLength":100,"minLength":1},"correspondent_account":{"title":"Корреспондентский счет","type":"string","maxLength":20},"checking_account":{"title":"Расчетный счет","type":"string","maxLength":20,"minLength":1},"fio":{"title":"ФИО получателя","type":"string","maxLength":512,"x-nullable":true}}},"BlockPayment":{"title":"Список начислений","required":["guid","name","period","days"],"type":"object","properties":{"guid":{"title":"Идентификатор начисления","type":"string","maxLength":255,"minLength":1},"name":{"title":"Наименование вида начисления","type":"string","maxLength":100,"minLength":1},"period":{"title":"Дата регистрации начисления в системе","type":"string","format":"date-time"},"days":{"title":"Количество отработанных дней","type":"string","format":"decimal"},"hours":{"title":"Количество отработанных часов","type":"string","format":"decimal","default":"0.00"},"result":{"title":"Сумма начисления","type":"string","format":"decimal","default":"0.00"}}},"BlockDeduction":{"title":"Список удержаний","required":["guid","name","period","result"],"type":"object","properties":{"guid":{"title":"Идентификатор удержания","type":"string","maxLength":255,"minLength":1},"name":{"title":"Наименование вида удержания","type":"string","maxLength":100,"minLength":1},"period":{"title":"Дата регистрации удержания в системе","type":"string","format":"date-time"},"result":{"title":"Сумма удержания","type":"string","format":"decimal"}}},"BlockAccrued":{"title":"Список выплат","required":["guid","name","period","result"],"type":"object","properties":{"guid":{"title":"Идентификатор выплаты","type":"string","maxLength":255,"minLength":1},"name":{"title":"Представление документа выплаты","type":"string","maxLength":100,"minLength":1},"period":{"title":"Период выплаты","type":"string","format":"date-time"},"result":{"title":"Сумма выплаты","type":"string","format":"decimal"}}},"BlockPaySheet":{"title":"Список расчетных листов сотрудника за последние 12 месяцев","required":["organization","period","payments","deductions","accrueds"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"period":{"title":"Месяц расчета зарплаты","type":"string","format":"date-time"},"contribution_pfr":{"title":"Сумма взносов в ПФР","type":"string","format":"decimal","default":"0.00"},"contribution_fss":{"title":"Сумма взносов в ФСС","type":"string","format":"decimal","default":"0.00"},"contribution_accident_fss":{"title":"Сумма взносов в ФСС (травматизм)","type":"string","format":"decimal","default":"0.00"},"contribution_ffoms":{"title":"Сумма взносов в ФФОМС","type":"string","format":"decimal","default":"0.00"},"average_salary":{"title":"Сумма среднего заработка","type":"string","format":"decimal","default":"0.00"},"payments":{"type":"array","items":{"$ref":"#/definitions/BlockPayment"}},"deductions":{"type":"array","items":{"$ref":"#/definitions/BlockDeduction"}},"accrueds":{"type":"array","items":{"$ref":"#/definitions/BlockAccrued"}}}},"BlockSettlement":{"title":"Взаиморасчеты сотрудника","required":["organization","name","period","rev"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_external_id":{"title":"Внешний идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1,"x-nullable":true},"document_external_id":{"title":"Внешний идентификатор документа","type":"string","minLength":1,"x-nullable":true},"document_guid":{"title":"Идентификатор документа, изменившего состояние взаиморасчетов с физ.лицом","type":"string","maxLength":255,"minLength":1,"x-nullable":true},"name":{"title":"Представление регистратора","type":"string","maxLength":100,"minLength":1},"period":{"title":"Дата получения остатков взаиморасчетов","type":"string","format":"date-time"},"payment_method":{"title":"Вид выплаты из ведомости","type":"string"},"rev":{"title":"Оборот","type":"string","format":"decimal"},"remainder":{"title":"Остаток задолженности перед сотрудником","type":"string","format":"decimal","default":"0.00"},"Income_code":{"title":"Код дохода","type":"string","maxLength":5,"x-nullable":true},"Payment_order_code":{"title":"Номер платежа","type":"string","maxLength":10},"Payment_order_date":{"title":"Дата платежа","type":"string","format":"date-time","x-nullable":true}}},"BlockVacationRemainder":{"title":"Остатки отпусков","required":["organization","employee_guid","count"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"employee_guid":{"title":"Идентификатор сотрудника","type":"string","format":"uuid"},"count":{"title":"Остаток дней отпуска","type":"integer"}}},"BlockWorkScheduleDay":{"title":"Список дней","required":["date","hours"],"type":"object","properties":{"date":{"title":"День","type":"string","format":"date-time"},"hours":{"title":"Количество запланированных часов","type":"string","format":"decimal"},"is_holiday":{"title":"Признак выходного (нерабочего) дня","type":"boolean","default":false}}},"BlockWorkSchedule":{"title":"График работы","required":["organization","year","month","days"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"employee_external_id":{"title":"Внешний идентификатор сотрудника","type":"string","minLength":1,"x-nullable":true},"employee_guid":{"title":"Идентификатор сотрудника","type":"string","format":"uuid","x-nullable":true},"year":{"title":"Год","type":"integer","maximum":9999},"month":{"title":"Месяц","type":"integer","maximum":12},"days":{"type":"array","items":{"$ref":"#/definitions/BlockWorkScheduleDay"}}}},"IntegrationActivate":{"required":["organization","individual","employee","bank_props","settlements"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual":{"$ref":"#/definitions/BlockIndividual"},"employee":{"type":"array","items":{"$ref":"#/definitions/BlockEmployee"}},"bank_props":{"type":"array","items":{"$ref":"#/definitions/BlockBankProps"}},"payment_sheets":{"type":"array","items":{"$ref":"#/definitions/BlockPaySheet"},"default":[]},"settlements":{"type":"array","items":{"$ref":"#/definitions/BlockSettlement"}},"vacation_remainder":{"$ref":"#/definitions/BlockVacationRemainder"},"work_schedule":{"$ref":"#/definitions/BlockWorkSchedule"}}},"OrganizationInnKpp":{"required":["organization"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1}}},"IntegrationRefreshData":{"required":["organization","individual","employee","bank_props"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual":{"$ref":"#/definitions/BlockIndividual"},"employee":{"type":"array","items":{"$ref":"#/definitions/BlockEmployee"}},"bank_props":{"type":"array","items":{"$ref":"#/definitions/BlockBankProps"}},"work_schedule":{"$ref":"#/definitions/BlockWorkSchedule"},"settlements":{"type":"array","items":{"$ref":"#/definitions/BlockSettlement"},"x-nullable":true}}},"ConnectionRequestCreate":{"required":["fname","iname","oname","birth_date","doc_series","doc_number","checking_account","status","phoneNumber"],"type":"object","properties":{"fname":{"title":"Фамилия","type":"string","maxLength":150},"iname":{"title":"Имя","type":"string","maxLength":30},"oname":{"title":"Отчество","type":"string","maxLength":150},"birth_date":{"title":"Дата рождения","type":"string","format":"date"},"inn":{"title":"ИНН работодателя","type":"string","maxLength":12,"x-nullable":true},"doc_series":{"title":"Серия паспорта","type":"string","maxLength":14,"minLength":1},"doc_number":{"title":"Номер паспорта","type":"string","maxLength":14,"minLength":1},"checking_account":{"title":"Расчетный счет физического лица","type":"string","maxLength":64,"minLength":1},"status":{"title":"Статус","type":"string","enum":["1","2","3","4","5","6","7","8","101","102","701","201"]},"phoneNumber":{"title":"Телефон","type":"string","maxLength":128,"minLength":1}}},"PenaltyRow":{"title":"Список взысканий","required":["date","sum"],"type":"object","properties":{"date":{"title":"Дата взыскания","type":"string","format":"date-time"},"sum":{"title":"Сумма взыскания","type":"string","format":"decimal"}}},"BlockPenalty":{"required":["organization","individual_guid","employee_guid","rows"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1},"employee_guid":{"title":"Идентификатор сотрудника","type":"string","minLength":1},"rows":{"type":"array","items":{"$ref":"#/definitions/PenaltyRow"}}}},"TimesheetRow":{"title":"Список дней","required":["date","sum"],"type":"object","properties":{"date":{"title":"Дата взыскания","type":"string","format":"date-time"},"hours":{"title":"Кол-во отработанных часов","type":"string","format":"decimal","x-nullable":true},"sum":{"title":"Сумма взыскания","type":"string","format":"decimal"}}},"BlockTimesheet":{"required":["organization","individual_guid","type","rows"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"individual_guid":{"title":"Идентификатор физ.лица","type":"string","minLength":1},"type":{"title":"Тип табеля","description":"Допустимые значения: HOURLY (Почасовой), DAYLY (Посуточный)","type":"string"},"rows":{"type":"array","items":{"$ref":"#/definitions/TimesheetRow"}}}},"BlockVacation":{"required":["organization","start_date","end_date"],"type":"object","properties":{"organization":{"title":"ИНН/КПП организации","type":"string","maxLength":22,"minLength":1},"vacation_external_id":{"title":"Внешний идентификатор отпуска","type":"string","minLength":1,"x-nullable":true},"guid":{"title":"Идентификатор отпуска","type":"string","maxLength":255,"minLength":1,"x-nullable":true},"employee_external_id":{"title":"Внешний идентификатор сотрудника","type":"string","minLength":1,"x-nullable":true},"employee_guid":{"title":"Идентификатор сотрудника","type":"string","format":"uuid","x-nullable":true},"unpaid":{"title":"Признак неоплачиваемого отпуска","type":"boolean","default":false},"start_date":{"title":"Дата начала отпуска","type":"string","format":"date-time"},"end_date":{"title":"Дата окончания отпуска","type":"string","format":"date-time"}}},"PluginVersion1C":{"required":["organization","plugin_version","platform_version","configuration_version"],"type":"object","properties":{"organization":{"title":"ИНН/КПП","type":"string","maxLength":64,"minLength":1},"plugin_version":{"title":"Версия плагина 1C","type":"string","maxLength":16,"minLength":1},"platform_version":{"title":"Версия платформы 1C","type":"string","maxLength":16,"minLength":1},"configuration_version":{"title":"Версия конфигурации 1C","type":"string","maxLength":128,"minLength":1}}},"LKEmployeeCreateWithdrawRequest":{"required":["id","type","amount"],"type":"object","properties":{"id":{"title":"Идентификатор сотрудника","type":"integer"},"type":{"title":"Тип начисления","description":"Допустимые значения: SALARY (Зарплата), ADVANCE (Аванс), BONUS (Премия), VACATION (Отпускной), HOSPITAL (Больничный), DISMISSAL (Увольнение), OTHER (Прочее)","type":"string"},"amount":{"title":"Сумма начисления","type":"string","format":"decimal"}}},"LKUserCompany":{"required":["name"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Наименование","type":"string","maxLength":512,"minLength":1},"inn":{"title":"ИНН организации","type":"string","maxLength":12},"kpp":{"title":"КПП организации","type":"string","maxLength":16}}},"LKUserPhone":{"title":"Пользователи","required":["phone"],"type":"object","properties":{"phone":{"title":"Номера телефона","type":"string","maxLength":128,"minLength":1}}},"LKCompanyRequest":{"required":["inn","name","users"],"type":"object","properties":{"inn":{"title":"ИНН работодателя","type":"string","maxLength":12,"minLength":1},"kpp":{"title":"КПП организации","type":"string","maxLength":16},"name":{"title":"Наименование работодателя","type":"string","maxLength":512,"minLength":1},"payroll_day":{"title":"День зарплаты","type":"integer","maximum":2147483647,"minimum":-2147483648,"x-nullable":true},"users":{"type":"array","items":{"$ref":"#/definitions/LKUserPhone"}}}},"LKCompany":{"title":"Доступные работодатели","required":["inn","name"],"type":"object","properties":{"inn":{"title":"Inn","type":"string","minLength":1},"name":{"title":"Name","type":"string","minLength":1}}},"LKUserCreateRelatedUser":{"required":["phone","companies"],"type":"object","properties":{"id":{"title":"Идентификатор заявки","type":"integer","x-nullable":true},"fname":{"title":"Фамилия","type":"string","maxLength":150},"iname":{"title":"Имя","type":"string","maxLength":30},"oname":{"title":"Отчество","type":"string","maxLength":150},"position":{"title":"Должность","type":"string","maxLength":150},"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"email":{"title":"Email адрес","type":"string","format":"email","maxLength":150},"companies":{"type":"array","items":{"$ref":"#/definitions/LKCompany"}},"is_accepted":{"title":"Признак акцепта заявки","type":"boolean","x-nullable":true}}},"LKDashboardCompany":{"required":["name"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Наименование","type":"string","maxLength":512,"minLength":1},"inn":{"title":"ИНН организации","type":"string","maxLength":12},"kpp":{"title":"КПП организации","type":"string","maxLength":16},"days_before_payroll":{"title":"Дней до зарплаты","type":"string","readOnly":true},"number_of_employees":{"title":"Сотрудников добавлено","type":"integer","readOnly":true}}},"LKCompanyModel":{"required":["name"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Наименование","type":"string","maxLength":512,"minLength":1},"inn":{"title":"ИНН организации","type":"string","maxLength":12},"kpp":{"title":"КПП организации","type":"string","maxLength":16},"rows":{"title":"Список сотрудников","type":"string","readOnly":true}}},"LKEmployeeDocument":{"title":"Паспорт сотрудника","required":["kind","number","issued_date"],"type":"object","properties":{"kind":{"title":"Вид документа","type":"string","maxLength":150,"minLength":1},"series":{"title":"Серия","type":"string","maxLength":14},"number":{"title":"Номер","type":"string","maxLength":14,"minLength":1},"issued_date":{"title":"Когда выдан","type":"string","format":"date"},"department_code":{"title":"Код подразделения","type":"string","maxLength":15},"issued_by":{"title":"Кем выдан","type":"string","maxLength":200}}},"LKEmployeeData":{"title":"Кадровые данные","type":"object","properties":{"tab_num":{"title":"Табельный номер","type":"string","maxLength":64},"position":{"title":"Должность","type":"string","maxLength":150},"department":{"title":"Подразделение","type":"string","maxLength":150},"salary":{"title":"Оклад (тариф)","type":"string","format":"decimal"},"admission_date":{"title":"Дата начала работы","type":"string","format":"date","x-nullable":true},"work_schedule":{"title":"График работы","description":"Допустимые значения: 1 (5/2)","type":"string","default":{"id":1,"name":"5/2","all":[[1,"5/2"]]}}}},"LKEmployeeBankProps":{"title":"Банковские реквизиты","required":["bank_name","correspondent_account","checking_account"],"type":"object","properties":{"bik":{"title":"БИК","type":"string","maxLength":9},"bank_name":{"title":"Наименование банка","type":"string","maxLength":128,"minLength":1},"correspondent_account":{"title":"Номер корреспондентского счета","type":"string","maxLength":64,"minLength":1},"checking_account":{"title":"Номер расчетного счета","type":"string","maxLength":64,"minLength":1}}},"LKUserCreate":{"required":["phone","document","employee","bank_props"],"type":"object","properties":{"gender":{"title":"Пол","type":"integer","enum":[1,2]},"fname":{"title":"Фамилия","type":"string","maxLength":150},"iname":{"title":"Имя","type":"string","maxLength":30},"oname":{"title":"Отчество","type":"string","maxLength":150},"birth_date":{"title":"Дата рождения","type":"string","format":"date","x-nullable":true},"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"email":{"title":"Email адрес","type":"string","format":"email","maxLength":150},"snils":{"title":"СНИЛС","type":"string","maxLength":14,"x-nullable":true},"reg_address":{"title":"Адрес регистрации","type":"string"},"company_id":{"title":"Идентификатор работодателя","type":"integer","x-nullable":true},"limit_coefficient":{"title":"Коэффициент лимита снятия","type":"string","format":"decimal"},"document":{"$ref":"#/definitions/LKEmployeeDocument"},"employee":{"$ref":"#/definitions/LKEmployeeData"},"bank_props":{"$ref":"#/definitions/LKEmployeeBankProps"}}},"LKUserEntrypoint":{"required":["phone"],"type":"object","properties":{"phone":{"title":"Номера телефона","type":"string","maxLength":128,"minLength":1}}},"LKUserInfo":{"required":["company_inn","company_payroll_date"],"type":"object","properties":{"fname":{"title":"Фамилия","type":"string","maxLength":150},"iname":{"title":"Имя","type":"string","maxLength":30},"oname":{"title":"Отчество","type":"string","maxLength":150},"email":{"title":"Email адрес","type":"string","format":"email","maxLength":150},"company_kpp":{"title":"Company kpp","type":"string","default":"","maxLength":9,"x-nullable":true},"company_inn":{"title":"Company inn","type":"string","maxLength":12,"minLength":1},"company_name":{"title":"Company name","type":"string","default":"","maxLength":512,"x-nullable":true},"contract_number":{"title":"Contract number","type":"string","default":"","maxLength":150,"x-nullable":true},"contract_date":{"title":"Contract date","type":"string","format":"date","x-nullable":true},"company_payroll_date":{"title":"Company payroll date","type":"integer","maximum":15,"minimum":1},"is_subordinate":{"title":"Is subordinate","type":"string","readOnly":true},"is_blocked":{"title":"Is blocked","type":"string","readOnly":true}}},"LKRegistrationConfirm":{"required":["phone","sms_code"],"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"sms_code":{"title":"Код из смс","type":"string","maxLength":4,"minLength":1}}},"LKUserRegistrationSetPassword":{"required":["phone","password","password_repeat"],"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"password":{"title":"Пароль","type":"string","minLength":5},"password_repeat":{"title":"Повтор пароля","type":"string","minLength":5}}},"LKRegistrationRequest":{"required":["phone"],"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1}}},"LKUserResetPasswordConfirm":{"required":["phone","sms_code","password","password_repeat"],"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"sms_code":{"title":"Код из смс","type":"string","maxLength":4,"minLength":1},"password":{"title":"Пароль","type":"string","minLength":5},"password_repeat":{"title":"Повтор пароля","type":"string","minLength":5}}},"LKUserResetPasswordRequest":{"required":["phone"],"type":"object","properties":{"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1}}},"UserAmplitude":{"required":["phone","gender"],"type":"object","properties":{"unique_id":{"title":"Уникальный идентификатор","description":"Используется для создания связки между заявкой и физ.лицом. Должен совпадать у обоих. Также используется для API интеграции с банком.","type":"string","format":"uuid"},"phone":{"title":"Номер телефона","type":"string","maxLength":128,"minLength":1},"email":{"title":"Email адрес","type":"string","format":"email","maxLength":150},"gender":{"title":"Пол","description":"Допустимые значения: 1 (Мужской), 2 (Женский)","type":"string"},"age":{"title":"Возраст","type":"string","readOnly":true},"education_kind":{"title":"Вид образования","type":"string","maxLength":70},"salary":{"title":"Оклад","type":"string","readOnly":true},"company_name":{"title":"Название работодателя","type":"string","readOnly":true},"company_inn":{"title":"ИНН работодателя","type":"string","readOnly":true},"company_kpp":{"title":"КПП работодателя","type":"string","readOnly":true},"industry":{"title":"Отрасль","type":"string","readOnly":true},"position":{"title":"Основная должность","type":"string","readOnly":true},"has_withholdings":{"title":"Есть ли ранние выводы за последние 6 мес.","type":"string","readOnly":true}}},"CurrentUserInfo":{"type":"object","properties":{"fname":{"title":"Фамилия","type":"string","maxLength":150},"iname":{"title":"Имя","type":"string","maxLength":30},"oname":{"title":"Отчество","type":"string","maxLength":150},"photo":{"title":"Фото","type":"string","readOnly":true,"x-nullable":true,"format":"uri"}}},"CurrentUserPhoto":{"type":"object","properties":{"photo":{"title":"Фото","type":"string","readOnly":true,"x-nullable":true,"format":"uri"}}},"Token":{"required":["phone","sms_code"],"type":"object","properties":{"phone":{"title":"Phone","type":"string","minLength":1},"sms_code":{"title":"Sms code","type":"string","minLength":1},"registration_id":{"title":"Registration id","type":"string","minLength":1}}},"StatementBankPropsStage":{"required":["fio"],"type":"object","properties":{"fio":{"title":"Получатель","type":"string","minLength":1},"bank_inn":{"title":"ИНН банка","type":"string","maxLength":12},"bank_kpp":{"title":"КПП банка","type":"string","maxLength":12},"checking_account":{"title":"Номер счета","type":"string","maxLength":64},"correspondent_account":{"title":"Корр. счет","type":"string","maxLength":64},"bank_name":{"title":"Банк","type":"string","maxLength":128},"bik":{"title":"БИК","type":"string","maxLength":9}}},"MobileException":{"required":["type","description"],"type":"object","properties":{"type":{"title":"Тип ошибки","description":"Допустимые значения: VALIDATION (VALIDATION), COMMON (COMMON)","type":"string"},"description":{"title":"Описание ошибки","type":"string","maxLength":65535,"minLength":1}}},"StatementTokenExchange":{"required":["next","user_id","refresh","access"],"type":"object","properties":{"next":{"title":"На какую страницу переходить (BALANCE или SNILS)","type":"string","maxLength":16,"minLength":1},"user_id":{"title":"Идентификатор физ.лица","type":"integer"},"refresh":{"title":"refresh токен","type":"string","maxLength":512,"minLength":1},"access":{"title":"access токен","type":"string","maxLength":512,"minLength":1}}},"StatementEmail":{"required":["email"],"type":"object","properties":{"email":{"title":"Адрес эл. почты","type":"string","format":"email","minLength":1}}},"StatementWorkPlace":{"required":["company_name","position","salary","salary_day"],"type":"object","properties":{"company_name":{"title":"Заявка","type":"string","maxLength":512,"minLength":1},"position":{"title":"Должность","type":"string","maxLength":150,"minLength":1},"salary":{"title":"Оклад","type":"string","format":"decimal"},"salary_day":{"title":"День зарплаты","type":"integer"}}},"StatementWorkStage":{"type":"object","properties":{"company":{"title":"Организация","type":"integer","x-nullable":true},"company_name":{"title":"Название организации","type":"string","maxLength":512}}},"StatementAllWorkStage":{"type":"object","properties":{"company_name":{"title":"Название организации","type":"string","maxLength":512},"inn":{"title":"ИНН организации","type":"string","maxLength":12},"kpp":{"title":"КПП организации","type":"string","maxLength":16},"registration_address":{"title":"Адрес регистрации","type":"string"}}},"Receipt":{"required":["Id","DocumentNumber","SessionNumber","Number","FiscalSign","Inn","Type","Ofd","Url","QrCodeUrl","Amount","DateTime","Receipt","CalculationPlace"],"type":"object","properties":{"Id":{"title":"Уникальный идентификатор чека","type":"string","maxLength":128,"minLength":1},"DocumentNumber":{"title":"Номер чека","type":"integer"},"SessionNumber":{"title":"Номер смены","type":"integer"},"Number":{"title":"Номер чека в смене","type":"integer"},"FiscalSign":{"title":"Фискальный признак документа","type":"string","maxLength":20,"minLength":1},"Inn":{"title":"ИНН","type":"string","maxLength":12,"minLength":1},"Type":{"title":"Признак расчета","type":"string","maxLength":30,"minLength":1},"Ofd":{"title":"Наименование оператора фискальных данных","type":"string","maxLength":255,"minLength":1},"Url":{"title":"URL адрес с копией чека","type":"string","maxLength":255,"minLength":1},"QrCodeUrl":{"title":"URL адрес с QR кодом для проверки чека","type":"string","maxLength":255,"minLength":1},"TransactionId":{"title":"Идентификатор транзакции","type":"integer","x-nullable":true},"Amount":{"title":"Сумма чека","type":"number","format":"decimal"},"DateTime":{"title":"Дата/время выдачи чека во временной зоне UTC","type":"string","format":"date-time"},"InvoiceId":{"title":"Номер заказа","type":"string","maxLength":128,"x-nullable":true},"AccountId":{"title":"Идентификатор пользователя","type":"string","maxLength":128,"x-nullable":true},"Receipt":{"title":"Состав чека","type":"string"},"CalculationPlace":{"title":"Место осуществления расчетов","type":"string","maxLength":255},"CashierName":{"title":"Имя кассира","type":"string","maxLength":128,"x-nullable":true},"SettlePlace":{"title":"Место нахождения (установки) ккм","type":"string","maxLength":255,"x-nullable":true}}},"TransactionHistoryPassport":{"title":"Паспорт","required":["num","open","org","code"],"type":"object","properties":{"num":{"title":"Серия и номер","type":"string","pattern":"^\\d{2} \\d{2} \\d{6}$","maxLength":35,"minLength":1},"open":{"title":"Дата выдачи (гггг-мм-дд)","type":"string","format":"date"},"org":{"title":"Кем выдан","type":"string","maxLength":254,"minLength":1},"code":{"title":"Код подразделения","type":"string","maxLength":7,"minLength":1}}},"TransactionHistoryAccount":{"title":"Банковский счет","required":["account","ksn","bic","nmp"],"type":"object","properties":{"account":{"title":"Номер текущего счета","type":"string","maxLength":20,"minLength":1},"ksn":{"title":"Кор. счет получателя платежа","type":"string","maxLength":20,"minLength":1},"bic":{"title":"БИК банка получателя платежа","type":"string","maxLength":10,"minLength":1},"nmp":{"title":"Название банка получателя платежа","type":"string","maxLength":45,"minLength":1}}},"TransactionHistoryPosition":{"title":"Места работы","required":["orgCrf","orgName"],"type":"object","properties":{"posName":{"title":"Должность","type":"string","maxLength":35},"dateStart":{"title":"Дата начала работы","description":"Дата в формате гггг-мм-дд","type":"string"},"orgCrf":{"title":"ИНН организации","type":"string","maxLength":12,"minLength":1},"orgName":{"title":"Юридическое лицо","type":"string","maxLength":35,"minLength":1},"orgId":{"title":"ID организации","type":"string","format":"uuid","x-nullable":true}}},"TransactionHistorySalary":{"title":"Данные о зарплате","required":["account","amount","kvd","date"],"type":"object","properties":{"account":{"title":"Номер счёта","type":"string","maxLength":20,"minLength":1},"amount":{"title":"Сумма","type":"string","maxLength":15,"minLength":1},"kvd":{"title":"Код вида дохода","type":"string","maxLength":1,"minLength":1},"date":{"title":"Date","type":"string","format":"date"},"orgId":{"title":"ID организации","type":"string","format":"uuid","x-nullable":true}}},"BankUserTransactionHistory":{"required":["userId","dul","bDate","bPlace","nat","regAddress","relalAddress","acc","feeSts","position","salary"],"type":"object","properties":{"userId":{"title":"UID пользователя","type":"string","maxLength":36,"minLength":1},"fnm1":{"title":"Фамилия","type":"string","maxLength":35,"x-nullable":true},"fnm2":{"title":"Имя","type":"string","maxLength":35,"x-nullable":true},"fnm3":{"title":"Отчество","type":"string","maxLength":35,"x-nullable":true},"phone":{"title":"Номер телефона","type":"string","maxLength":18,"x-nullable":true},"mail":{"title":"Email","type":"string","maxLength":256,"x-nullable":true},"dul":{"$ref":"#/definitions/TransactionHistoryPassport"},"bDate":{"title":"Дата рождения","type":"string","format":"date"},"bPlace":{"title":"Место рождения","type":"string","maxLength":254,"minLength":1},"nat":{"title":"Гражданство","type":"string","maxLength":2,"minLength":1},"regAddress":{"title":"Адрес регистрации","type":"string","maxLength":256,"minLength":1},"relalAddress":{"title":"Адрес фактического места проживания","type":"string","maxLength":256,"minLength":1},"acc":{"$ref":"#/definitions/TransactionHistoryAccount"},"crf":{"title":"ИНН","type":"string","maxLength":20},"fior":{"title":"СНИЛС","type":"string","maxLength":35,"x-nullable":true},"feeSts":{"title":"Статус налогоплательщика","type":"string","maxLength":1,"minLength":1},"education":{"title":"Образование","type":"string","maxLength":256},"position":{"type":"array","items":{"$ref":"#/definitions/TransactionHistoryPosition"}},"salary":{"type":"array","items":{"$ref":"#/definitions/TransactionHistorySalary"}}}},"AlfaBankAccountOperationLegacy":{"required":["inn","idpo","sum","dte"],"type":"object","properties":{"inn":{"title":"ИНН","type":"string","maxLength":12,"minLength":1},"idpo":{"title":"ID","type":"string","maxLength":20,"minLength":1},"sum":{"title":"Сумма начисления","type":"string","format":"decimal"},"dte":{"title":"Дата","type":"string","format":"date"}}},"PaymentRequestProcessingResult":{"required":["serialNumber","paymentRequestId","operationId","userId","account","status","executedAmount","debtAmount"],"type":"object","properties":{"serialNumber":{"title":"Порядковый номер сообщения","type":"integer"},"paymentRequestId":{"title":"Идентификатор ПТ","type":"string","maxLength":16,"minLength":1},"operationId":{"title":"Идентификатор операции","type":"string","maxLength":16,"minLength":1},"userId":{"title":"Идентификатор клиента в ДВ","type":"string","maxLength":36,"minLength":1},"inn":{"title":"ИНН организации-работодателя","type":"string","maxLength":12,"x-nullable":true},"account":{"title":"Номер счета","type":"string","maxLength":20,"minLength":1},"status":{"title":"Статус ПТ","type":"string","maxLength":1},"executedAmount":{"title":"Сумма исполненного ПТ","type":"string","format":"decimal"},"debtAmount":{"title":"Сумма остатка по ПТ","type":"string","format":"decimal"}}},"SalaryReceiptInforming":{"required":["userId","amount","incomeBasisCode","incomeCode"],"type":"object","properties":{"userId":{"title":"Идентификатор клиента в ДВ","type":"string","maxLength":36,"minLength":1},"inn":{"title":"ИНН организации-работодателя","type":"string","maxLength":12,"x-nullable":true},"amount":{"title":"Сумма поступившей ЗП","type":"string","format":"decimal"},"incomeBasisCode":{"title":"Код основания начисления","type":"string","maxLength":5,"minLength":1},"incomeCode":{"title":"Код вида дохода","type":"string","maxLength":1,"minLength":1},"orgId":{"title":"ID организации","type":"string","format":"uuid","x-nullable":true}}},"CompanyByInn":{"required":["inn"],"type":"object","properties":{"inn":{"title":"Inn","type":"string","minLength":1},"name":{"title":"Наименование","type":"string","readOnly":true,"minLength":1}}},"CompanyNewRequest":{"required":["inn","name","email","phone","document_type"],"type":"object","properties":{"inn":{"title":"ИНН","type":"string","maxLength":12,"minLength":1},"kpp":{"title":"КПП","type":"string","maxLength":9,"x-nullable":true},"name":{"title":"Имя","type":"string","maxLength":256,"minLength":1},"email":{"title":"E-mail","type":"string","format":"email","maxLength":256,"minLength":1},"phone":{"title":"Телефон","type":"string","maxLength":256,"minLength":1},"document_type":{"title":"Формат заключения договора","description":"Допустимые значения: DIGITAL (Подпись через ЭДО), PAPER (Подписание \"бумажного\" договора), PAYMENT (Подписание через оплату 1 рубля)","type":"string"}}},"CompanyTerminateRequest":{"required":["reason"],"type":"object","properties":{"reason":{"title":"Причина отключения","type":"string","maxLength":4096,"minLength":1}}},"WithdrawalParams":{"required":["max_amount","min_amount"],"type":"object","properties":{"max_amount":{"type":"number"},"min_amount":{"type":"number"},"default_amount":{"type":"number"},"step":{"type":"number"},"commision_text":{"type":"string"},"commission_error_text":{"type":"string"}}}},"basePath":"/smu32/365-2/1"}