POST
/v2/docs/upload
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
file | File |
Response
JSON{ status: "OK", filename: filename }
POST
/v2/docs/findOrg
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
query | ИНН |
Response
JSON{ "value": "ИП Артиков Тимур Дилшодович", "unrestricted_value": "ИП Артиков Тимур Дилшодович", "data": { "citizenship": null, "fio": { "surname": "Артиков", "name": "Тимур", "patronymic": "Дилшодович", "gender": null, "source": null, "qc": null }, "source": null, "qc": null, "hid": "dafa4df3a70b828eeaf3daa0ae1c94961b80a6536777dd4824dd83e1e628e655", "type": "INDIVIDUAL", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1754784000000, "registration_date": 1732752000000, "liquidation_date": null }, "opf": { "type": "2014", "code": "50102", "full": "Индивидуальный предприниматель", "short": "ИП" }, "name": { "full_with_opf": "Индивидуальный предприниматель Артиков Тимур Дилшодович", "short_with_opf": "ИП Артиков Тимур Дилшодович", "latin": null, "full": "Артиков Тимур Дилшодович", "short": null }, "inn": "501817999160", "ogrn": "324508100678148", "okpo": "2037817878", "okato": "46488000000", "oktmo": "46788000001", "okogu": "4210015", "okfs": "16", "okved": "62.01", "okveds": null, "authorities": null, "documents": null, "licenses": null, "finance": null, "address": { "value": "Московская обл, г Щёлково", "unrestricted_value": "141100, Московская обл, г Щёлково", "invalidity": null, "data": { "postal_code": "141100", "country": "Россия", "country_iso_code": "RU", "federal_district": "Центральный", "region_fias_id": "29251dcf-00a1-4e34-98d4-5c47484a36d4", "region_kladr_id": "5000000000000", "region_iso_code": "RU-MOS", "region_with_type": "Московская обл", "region_type": "обл", "region_type_full": "область", "region": "Московская", "area_fias_id": null, "area_kladr_id": null, "area_with_type": null, "area_type": null, "area_type_full": null, "area": null, "city_fias_id": "c38a33c1-8f16-4454-bbf4-656d6b8b1739", "city_kladr_id": "5000006200000", "city_with_type": "г Щёлково", "city_type": "г", "city_type_full": "город", "city": "Щёлково", "city_area": null, "city_district_fias_id": null, "city_district_kladr_id": null, "city_district_with_type": null, "city_district_type": null, "city_district_type_full": null, "city_district": null, "settlement_fias_id": null, "settlement_kladr_id": null, "settlement_with_type": null, "settlement_type": null, "settlement_type_full": null, "settlement": null, "street_fias_id": null, "street_kladr_id": null, "street_with_type": null, "street_type": null, "street_type_full": null, "street": null, "stead_fias_id": null, "stead_cadnum": null, "stead_type": null, "stead_type_full": null, "stead": null, "house_fias_id": null, "house_kladr_id": null, "house_cadnum": null, "house_flat_count": null, "house_type": null, "house_type_full": null, "house": null, "block_type": null, "block_type_full": null, "block": null, "entrance": null, "floor": null, "flat_fias_id": null, "flat_cadnum": null, "flat_type": null, "flat_type_full": null, "flat": null, "flat_area": null, "square_meter_price": null, "flat_price": null, "room_fias_id": null, "room_cadnum": null, "room_type": null, "room_type_full": null, "room": null, "postal_box": null, "fias_id": "c38a33c1-8f16-4454-bbf4-656d6b8b1739", "fias_code": "50000062000000000000000", "fias_level": "4", "fias_actuality_state": "0", "kladr_id": "5000006200000", "geoname_id": "495344", "capital_marker": "0", "okato": "46488000000", "oktmo": "46788000001", "tax_office": "5050", "tax_office_legal": "5050", "timezone": "UTC+3", "geo_lat": "55.9233436", "geo_lon": "37.9783923", "beltway_hit": "OUT_MKAD", "beltway_distance": "14", "metro": null, "divisions": null, "qc_geo": "4", "qc_complete": null, "qc_house": null, "history_values": null, "unparsed_parts": null, "source": "Московская область, г. Щелково", "qc": "0" } }, "phones": null, "emails": null, "ogrn_date": 1732752000000, "okved_type": "2014", "employee_count": null } }
GET
/v2/docs/findBank
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
query | БИК банка |
Response
JSON{ "value": "ООО «Банк Точка»", "unrestricted_value": "ООО «Банк Точка»", "data": { "opf": { "type": "BANK", "full": null, "short": null }, "name": { "payment": "ООО \"Банк Точка\"", "full": null, "short": "ООО «Банк Точка»" }, "bic": "044525104", "swift": null, "inn": "9721194461", "kpp": "772101001", "okpo": null, "correspondent_account": "30101810745374525104", "treasury_accounts": null, "registration_number": "3545", "payment_city": "г Москва", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1759017600000, "registration_date": 1673308800000, "liquidation_date": null }, "rkc": null, "cbr": { "opf": { "type": "CBR", "full": null, "short": null }, "name": { "payment": "ГУ БАНКА РОССИИ ПО ЦФО", "full": null, "short": null }, "bic": "044525000", "swift": null, "inn": null, "kpp": null, "okpo": null, "correspondent_account": null, "treasury_accounts": null, "registration_number": null, "payment_city": "г Москва 35", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1759017600000, "registration_date": null, "liquidation_date": null }, "rkc": null, "cbr": null, "address": { "value": "115035, г Москва 35, ул Балчуг, 2", "unrestricted_value": "115035, г Москва 35, ул Балчуг, 2", "data": null }, "phones": null }, "address": { "value": "г Москва, 3-й Крутицкий пер, д 11, помещ 7Н", "unrestricted_value": "109044, г Москва, Южнопортовый р-н, 3-й Крутицкий пер, д 11, помещ 7Н", "data": { "postal_code": "109044", "country": "Россия", "country_iso_code": "RU", "federal_district": "Центральный", "region_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5", "region_kladr_id": "7700000000000", "region_iso_code": "RU-MOW", "region_with_type": "г Москва", "region_type": "г", "region_type_full": "город", "region": "Москва", "area_fias_id": null, "area_kladr_id": null, "area_with_type": null, "area_type": null, "area_type_full": null, "area": null, "city_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5", "city_kladr_id": "7700000000000", "city_with_type": "г Москва", "city_type": "г", "city_type_full": "город", "city": "Москва", "city_area": "Юго-восточный", "city_district_fias_id": null, "city_district_kladr_id": null, "city_district_with_type": "Южнопортовый р-н", "city_district_type": "р-н", "city_district_type_full": "район", "city_district": "Южнопортовый", "settlement_fias_id": null, "settlement_kladr_id": null, "settlement_with_type": null, "settlement_type": null, "settlement_type_full": null, "settlement": null, "street_fias_id": "6a7c9c9c-5e96-4025-89a3-356695db831e", "street_kladr_id": "77000000000162600", "street_with_type": "3-й Крутицкий пер", "street_type": "пер", "street_type_full": "переулок", "street": "3-й Крутицкий", "stead_fias_id": null, "stead_cadnum": null, "stead_type": null, "stead_type_full": null, "stead": null, "house_fias_id": "e7ba3f7a-de45-4da6-b2a3-3011e4825422", "house_kladr_id": "7700000000016260006", "house_cadnum": "77:04:0001019:1128", "house_flat_count": "313", "house_type": "д", "house_type_full": "дом", "house": "11", "block_type": null, "block_type_full": null, "block": null, "entrance": null, "floor": null, "flat_fias_id": "7e0f8e94-91e6-4095-8c58-4b4d6c79c27c", "flat_cadnum": "77:01:0006023:5778", "flat_type": "помещ", "flat_type_full": "помещение", "flat": "7Н", "flat_area": null, "square_meter_price": "414746", "flat_price": null, "room_fias_id": null, "room_cadnum": null, "room_type": null, "room_type_full": null, "room": null, "postal_box": null, "fias_id": "7e0f8e94-91e6-4095-8c58-4b4d6c79c27c", "fias_code": "77000000000000016260006", "fias_level": "9", "fias_actuality_state": "0", "kladr_id": "7700000000016260006", "geoname_id": "524901", "capital_marker": "0", "okato": "45290594000", "oktmo": "45396000", "tax_office": "7723", "tax_office_legal": "7723", "timezone": "UTC+3", "geo_lat": "55.7313507", "geo_lon": "37.6659474", "beltway_hit": "IN_MKAD", "beltway_distance": null, "metro": [ { "name": "Пролетарская", "line": "Таганско-Краснопресненская", "distance": 0.1 }, { "name": "Крестьянская застава", "line": "Люблинско-Дмитровская", "distance": 0.1 }, { "name": "Таганская", "line": "Таганско-Краснопресненская", "distance": 1.2 } ], "divisions": null, "qc_geo": "0", "qc_complete": "0", "qc_house": "2", "history_values": null, "unparsed_parts": null, "source": "109044, г Москва, вн.тер.г. муниципальный округ Южнопортовый, пер. 3-й Крутицкий, д.11, помещ. 7Н.", "qc": "0" } }, "phones": null } }
GET
/v2/contractors
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "1ec8-453d-8e26-17df794965a2", "type": 1, "mainInfo": { "name": "ИП Артиков Тимур Дилшодович", "inn": "501817999160", "address": "Московская обл, г Щёлково" }, "bankInfo": [ { "id": "8de43f01-7334-49d9-8e21-90b45100452e", "bik": "044525104", "number": "40802810220000499329", "name": "Расчетный счёт", "fullInfo": { "value": "ООО «Банк Точка»", "unrestricted_value": "ООО «Банк Точка»", "data": { "opf": { "type": "BANK", "full": null, "short": null }, "name": { "payment": "ООО Банк Точка", "full": null, "short": "ООО «Банк Точка»" }, "bic": "044525104", "swift": null, "inn": "9721194461", "kpp": "772101001", "okpo": null, "correspondent_account": "30101810745374525104", "treasury_accounts": null, "registration_number": "3545", "payment_city": "г Москва", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1758412800000, "registration_date": 1673308800000, "liquidation_date": null }, "rkc": null, "cbr": { "opf": { "type": "CBR", "full": null, "short": null }, "name": { "payment": "ГУ БАНКА РОССИИ ПО ЦФО", "full": null, "short": null }, "bic": "044525000", "swift": null, "inn": null, "kpp": null, "okpo": null, "correspondent_account": null, "treasury_accounts": null, "registration_number": null, "payment_city": "г Москва 35", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1758412800000, "registration_date": null, "liquidation_date": null }, "rkc": null, "cbr": null, "address": { "value": "115035, г Москва 35, ул Балчуг, 2", "unrestricted_value": "115035, г Москва 35, ул Балчуг, 2", "data": null }, "phones": null }, "address": { "value": "г Москва, 3-й Крутицкий пер, д 11, помещ 7Н", "unrestricted_value": "109044, г Москва, Южнопортовый р-н, 3-й Крутицкий пер, д 11, помещ 7Н", "data": { "postal_code": "109044", "country": "Россия", "country_iso_code": "RU", "federal_district": "Центральный", "region_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5", "region_kladr_id": "7700000000000", "region_iso_code": "RU-MOW", "region_with_type": "г Москва", "region_type": "г", "region_type_full": "город", "region": "Москва", "area_fias_id": null, "area_kladr_id": null, "area_with_type": null, "area_type": null, "area_type_full": null, "area": null, "city_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5", "city_kladr_id": "7700000000000", "city_with_type": "г Москва", "city_type": "г", "city_type_full": "город", "city": "Москва", "city_area": "Юго-восточный", "city_district_fias_id": null, "city_district_kladr_id": null, "city_district_with_type": "Южнопортовый р-н", "city_district_type": "р-н", "city_district_type_full": "район", "city_district": "Южнопортовый", "settlement_fias_id": null, "settlement_kladr_id": null, "settlement_with_type": null, "settlement_type": null, "settlement_type_full": null, "settlement": null, "street_fias_id": "6a7c9c9c-5e96-4025-89a3-356695db831e", "street_kladr_id": "77000000000162600", "street_with_type": "3-й Крутицкий пер", "street_type": "пер", "street_type_full": "переулок", "street": "3-й Крутицкий", "stead_fias_id": null, "stead_cadnum": null, "stead_type": null, "stead_type_full": null, "stead": null, "house_fias_id": "e7ba3f7a-de45-4da6-b2a3-3011e4825422", "house_kladr_id": "7700000000016260006", "house_cadnum": "77:04:0001019:1128", "house_flat_count": "313", "house_type": "д", "house_type_full": "дом", "house": "11", "block_type": null, "block_type_full": null, "block": null, "entrance": null, "floor": null, "flat_fias_id": "7e0f8e94-91e6-4095-8c58-4b4d6c79c27c", "flat_cadnum": "77:01:0006023:5778", "flat_type": "помещ", "flat_type_full": "помещение", "flat": "7Н", "flat_area": null, "square_meter_price": "414746", "flat_price": null, "room_fias_id": null, "room_cadnum": null, "room_type": null, "room_type_full": null, "room": null, "postal_box": null, "fias_id": "7e0f8e94-91e6-4095-8c58-4b4d6c79c27c", "fias_code": "77000000000000016260006", "fias_level": "9", "fias_actuality_state": "0", "kladr_id": "7700000000016260006", "geoname_id": "524901", "capital_marker": "0", "okato": "45290594000", "oktmo": "45396000", "tax_office": "7723", "tax_office_legal": "7723", "timezone": "UTC+3", "geo_lat": "55.7313507", "geo_lon": "37.6659474", "beltway_hit": "IN_MKAD", "beltway_distance": null, "metro": [ { "name": "Пролетарская", "line": "Таганско-Краснопресненская", "distance": 0.1 }, { "name": "Крестьянская застава", "line": "Люблинско-Дмитровская", "distance": 0.1 }, { "name": "Таганская", "line": "Таганско-Краснопресненская", "distance": 1.2 } ], "divisions": null, "qc_geo": "0", "qc_complete": "0", "qc_house": "2", "history_values": null, "unparsed_parts": null, "source": "109044, г Москва, вн.тер.г. муниципальный округ Южнопортовый, пер. 3-й Крутицкий, д.11, помещ. 7Н.", "qc": "0" } }, "phones": null } } } ], "contactInfo": [ { "id": "4df872dc-ad9d-4063-a2b2-34b6f70db718", "fio": "Тимур", "email": "t.artikov@leecyber.com", "post": "Директор" } ], "fullInfo": { "value": "ИП Артиков Тимур Дилшодович", "unrestricted_value": "ИП Артиков Тимур Дилшодович", "data": { "citizenship": null, "fio": { "surname": "Артиков", "name": "Тимур", "patronymic": "Дилшодович", "gender": null, "source": null, "qc": null }, "source": null, "qc": null, "hid": "dafa4df3a70b828eeaf3daa0ae1c94961b80a6536777dd4824dd83e1e628e655", "type": "INDIVIDUAL", "state": { "status": "ACTIVE", "code": null, "actuality_date": 1732752000000, "registration_date": 1732752000000, "liquidation_date": null }, "opf": { "type": "2014", "code": "50102", "full": "Индивидуальный предприниматель", "short": "ИП" }, "name": { "full_with_opf": "Индивидуальный предприниматель Артиков Тимур Дилшодович", "short_with_opf": "ИП Артиков Тимур Дилшодович", "latin": null, "full": "Артиков Тимур Дилшодович", "short": null }, "inn": "501817999160", "ogrn": "324508100678148", "okpo": "2037817878", "okato": "46488000000", "oktmo": "46788000001", "okogu": "4210015", "okfs": "16", "okved": "62.01", "okveds": null, "authorities": null, "documents": null, "licenses": null, "finance": null, "address": { "value": "Московская обл, г Щёлково", "unrestricted_value": "141100, Московская обл, г Щёлково", "invalidity": null, "data": { "postal_code": "141100", "country": "Россия", "country_iso_code": "RU", "federal_district": "Центральный", "region_fias_id": "29251dcf-00a1-4e34-98d4-5c47484a36d4", "region_kladr_id": "5000000000000", "region_iso_code": "RU-MOS", "region_with_type": "Московская обл", "region_type": "обл", "region_type_full": "область", "region": "Московская", "area_fias_id": null, "area_kladr_id": null, "area_with_type": null, "area_type": null, "area_type_full": null, "area": null, "city_fias_id": "c38a33c1-8f16-4454-bbf4-656d6b8b1739", "city_kladr_id": "5000006200000", "city_with_type": "г Щёлково", "city_type": "г", "city_type_full": "город", "city": "Щёлково", "city_area": null, "city_district_fias_id": null, "city_district_kladr_id": null, "city_district_with_type": null, "city_district_type": null, "city_district_type_full": null, "city_district": null, "settlement_fias_id": null, "settlement_kladr_id": null, "settlement_with_type": null, "settlement_type": null, "settlement_type_full": null, "settlement": null, "street_fias_id": null, "street_kladr_id": null, "street_with_type": null, "street_type": null, "street_type_full": null, "street": null, "stead_fias_id": null, "stead_cadnum": null, "stead_type": null, "stead_type_full": null, "stead": null, "house_fias_id": null, "house_kladr_id": null, "house_cadnum": null, "house_flat_count": null, "house_type": null, "house_type_full": null, "house": null, "block_type": null, "block_type_full": null, "block": null, "entrance": null, "floor": null, "flat_fias_id": null, "flat_cadnum": null, "flat_type": null, "flat_type_full": null, "flat": null, "flat_area": null, "square_meter_price": null, "flat_price": null, "room_fias_id": null, "room_cadnum": null, "room_type": null, "room_type_full": null, "room": null, "postal_box": null, "fias_id": "c38a33c1-8f16-4454-bbf4-656d6b8b1739", "fias_code": "50000062000000000000000", "fias_level": "4", "fias_actuality_state": "0", "kladr_id": "5000006200000", "geoname_id": "495344", "capital_marker": "1", "okato": "46488000000", "oktmo": "46788000001", "tax_office": "5050", "tax_office_legal": "5050", "timezone": "UTC+3", "geo_lat": "55.9233436", "geo_lon": "37.9783923", "beltway_hit": "OUT_MKAD", "beltway_distance": "14", "metro": null, "divisions": null, "qc_geo": "4", "qc_complete": null, "qc_house": null, "history_values": null, "unparsed_parts": null, "source": "Московская область, г. Щелково", "qc": "0" } }, "phones": null, "emails": null, "ogrn_date": 1732752000000, "okved_type": "2014", "employee_count": null } } } ]
GET
/v2/docs/contractors/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSONИнформация о контрагенте (см. пример выше).
POST
/v2/docs/contractors/:id/bank
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
bik | БИК |
number | Расчетный счёт |
name | Название счёта |
Response
JSON{ status: "OK" }
POST
/v2/docs/contractors/:id/contact
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
fio | ФИО |
phone | Номер телефона |
post | Должность |
Электронная почта |
Response
JSON{ status: "OK" }
DELETE
/v2/docs/contractors/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
DELETE
/v2/docs/contractors/:id/bank
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
DELETE
/v2/docs/contractors/:id/contact
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
GET
/v2/docs/contractors/:id/documents
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "09577f5f-fae9-426e-9249-cf6606f664be", "name": "Письмо", "status": 1, "filename": "50fc45c8.pdf", "masks": {}, "sum": 0, "createdAt": "2025-07-04T18:52:30.000Z" } ]
GET
/v2/docs/contractors/:id/interactions
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "5fedb923-9cc3-4327ce91c17b", "name": "Разработка сайта", "description": "Описание тут", "documents": [ { "id": "09577f5f-fae9-426e-9249-cf6606f664be", "information": { "name": "Письмо", "filename": "50945c8.pdf", "masks": "{}", "status": 2, "sum": 0, "createdAt": "2025-07-04T18:52:30.000Z" } } ], "files": [], "payments": [], "sum": 50000, "status": 4, "createdAt": "2025-09-22T15:09:28.000Z" } ]
POST
/v2/docs/contractors
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
type | Тип контрагента |
inn | ИНН контрагента |
name | Название контрагента |
address | Адрес контрагента |
Response
JSON{ status: "OK" }
GET
/v2/docs/ready
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "id": 1, "type": "Налоги", "title": "Шаблон для построения финансовой модели", "description": "Постройте финансовую модель для своего бизнеса по шаблону", "file": "shablon-finmodeli.xlsx", "createdAt": "2025-09-25T10:46:41.000Z" } ]
POST
/v2/docs/constructor
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
type | Тип документа |
filename | Наименование загруженного файла через /docs/upload |
name | Название документа |
contractor | ID контрагента |
sum | Сумма документа |
masks | Массив заполненных полей для шаблона |
Response
JSON{ status: "OK", uuid: uuid }
POST
/v2/docs/templates
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название шаблона |
filename | Наименование загруженного файла через /docs/upload |
masks | Поля для заполнения шаблона |
font | Шрифт документа |
Response
JSON{ status: "OK" }
GET
/v2/docs/templates
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "f6cd-4506-8d55-52a61041d9c0", "name": "Тестовый документ", "filename": "4327f9a4e3.docx", "masks": [ { "id": "docNumber", "name": "Номер документа", "type": "number" }, { "id": "day", "name": "Дата заключения", "type": "number" } ], "font": "Arial", "createdAt": "2025-05-25T20:09:17.000Z" } ]
DELETE
/v2/docs/templates/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
GET
/v2/docs/documents
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "426e-9249-cf6606f664be", "name": "Письмо", "status": 1, "filename": "50945c8.pdf", "contractor": { "name": "ИП Артиков Тимур Дилшодович", "inn": "501817999160", "address": "Московская обл, г Щёлково" }, "masks": {}, "sum": 0, "createdAt": "2025-07-04T18:52:30.000Z" } ]
DELETE
/v2/docs/documents/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
GET
/v2/docs/documents/:id/download
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
STREAMING FILEFILE
POST
/v2/docs/documents/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
status | Статус документа |
Response
JSON{ status: "OK" }
GET
/v2/docs/interactions
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "uuid": "5fedb923-9f94-4a46-9cc3-4327ce91c17b", "contractor": { "name": "ИП Артиков Тимур Дилшодович", "inn": "501817999160", "address": "Московская обл, г Щёлково" }, "name": "Разработка сайта", "description": "Описание", "documents": [ { "id": "426e-9249-cf6606f664be", "information": { "name": "Письмо", "filename": "50945c8.pdf", "masks": "{}", "status": 2, "sum": 0, "createdAt": "2025-07-04T18:52:30.000Z" } } ], "files": [], "payments": [], "sum": 50000, "status": 4, "createdAt": "2025-09-22T15:09:28.000Z" } ]
DELETE
/v2/docs/document/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
contractor | ID контрагента |
name | Название взаимодействия |
sum | Сумма взаимодействия |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/desc
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
description | Описание (поддерживает HTML) |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/status
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
status | Текущий статус взаимодействия |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/payments
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
type | Тип платежа |
name | Назначение платежа |
sum | Сумма |
date | Дата платежа |
contractorBank | Счёт контрагента |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/documents
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
documentId | ID документа |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/files
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
filename | Наименование загруженного файла через /docs/upload |
name | Название файла |
Response
JSON{ status: "OK" }
POST
/v2/docs/interactions/:id/download
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
documentId | ID документа |
Response
JSON{ status: "OK" }
DELETE
/v2/docs/interactions/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ status: "OK" }