Веб-қызметтің WSDL және схемалары мына жерде орналасқан:
https://wsdfn.infoproff.com/v4/
Postman жинағы (API v4) — пайдалануға дайын:
https://www.postman.com/infoproff/infoproff-webservices/documentation/9kweer5/soap-api-v4
Postman код жазбай-ақ API-ымызды тексерудің ыңғайлы тәсілін ұсынады. Сондай-ақ кең таралған бағдарламалау тілдерінің көпшілігі үшін үлгі HTTP сұрауларын автоматты түрде жасай алады.
Postman жасаған сұраулар — SOAP API-ымызбен үйлесімді негізгі HTTP шақырулары. Алайда өндірістік деңгейдегі интеграция үшін көптеген бағдарламалау тілдерінде қолжетімді толық мүмкіндікті SOAP клиенттерін пайдалануды ұсынамыз. Бұл клиенттер WSDL және XSD-мен тікелей жұмыс істеп, схемаларды, деректер түрлерін және хабарлама құрылымдарын автоматты түрде өңдей алады.
Арнайы SOAP клиентін пайдалану сенімдірек әрі тұрақты интеграцияны қамтамасыз етеді және SOAP хабарламаларын құру мен талдау кезінде қате ықтималдығын төмендетеді.
Аутентификация мәліметтері
Негізгі аутентификация әдісі — HTTP Basic Auth. Кодталған тіркелгі деректері бар Authorization тақырыбын пайдалану — ұсынылатын және қалаулы тәсіл.
username App ID-ге сәйкес келеді, ал password — байланысты Secret Key. Бұл мәндер пайдаланушы бақылау тақтасының API Tokens бөлімінде жасалады және порталға кіру үшін пайдаланылатын тіркелгі деректеріне қатысты емес.
Алдыңғы API нұсқаларында қолданылған authentication_block механизмі кері үйлесімділік үшін әлі қолдау көрсетіледі, бірақ ескірген деп саналады және жаңа интеграцияларда пайдаланылмауы керек.
Веб-қызмет функциялары:
API бірнеше қызметтерді ұсынады:
Компанияны іздеу 2 нұсқадан тұрады:
Басқа елдер бойынша іздеу тек мұрағатталған есептер дерекқорында орындалады. Қажетті компанияны таппасаңыз, компания деректерін қолмен енгізіңіз.
search_result_id мәнін мұнда delivery_term = "o" немесе delivery_term = "a" тапсырыстары үшін алуға болады.
Келесі елдерде іздеу сұрауына жауап беру 20 секундқа дейін созылуы мүмкін: Ұлыбритания, Ирландия, Франция, Испания, Португалия, Германия, Италия, Австрия, Швейцария, Түркия.
Норвегия тіркеуі жойылған компанияларды атаулары бойынша іздеуге мүмкіндік бермейді. Сондықтан біз Норвегиядағы жойылған компаниялар бойынша атаулар бойынша қарапайым іздеу ұсына алмаймыз.
Түркия тіркеуі SimpleSearch -ты тек компания атауы бойынша қолдайды — тіркеу коды бойынша іздеу мүмкін емес. Іздеу сұранысы кемінде 5 таңбадан тұруы тиіс. Тек компания атауының басы сәйкестендіріледі.
Төменде мысалды таба аласыз.:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<company_name>biz group</company_name>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<search_result>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
<archived_reports>
<item>
<product>kyc_report</product>
<revision_date>2023-04-20</revision_date>
<archived_report_cost>10</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
</item>
<item>
<product>basic_report</product>
<revision_date>2023-06-29</revision_date>
<archived_report_cost>15.2</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2022</fin_report_year>
<period_start>2022-01-01</period_start>
<period_end>2022-12-31</period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
<item>
<product>full_report</product>
<revision_date>2022-04-13</revision_date>
<archived_report_cost>25.75</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2021</fin_report_year>
<fin_period_start>2021-01-01</fin_period_start>
<fin_period_end>2021-12-31</fin_period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
</archived_reports>
</item>
<item>
<search_result_id>fc8cec2a-5b59-4b30-b65c-ba2900669cd7</search_result_id>
<name>АДД Caprīccīo Groūp AB</name>
<name_transliteration>ADD Capriccio Group AB</name_transliteration>
<historical_names/>
<reg_code>5567769961</reg_code>
<vat_code/>
<static_code/>
<legal_status/>
<legal_form>Landsting</legal_form>
<unified_legal_form>State institution</unified_legal_form>
<legal_address>STUDENTBACKEN 1 12 TR, 11557, STOCKHOLM,
SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
<item>
<search_result_id>4b9c5da2-3aac-4b9a-a308-f9c1e2ee8f32</search_result_id>
<name>AEE Good Group AB</name>
<name_transliteration>AEE Good Group AB</name_transliteration>
<historical_names/>
<reg_code>5591756685</reg_code>
<vat_code/>
<static_code/>
<legal_status>Active</legal_status>
<legal_form>Ömsesidigt försäkringsbolag</legal_form>
<unified_legal_form>Enterprise</unified_legal_form>
<legal_address>BOX 1, 18173, LIDINGÖ, SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
...
</search_result>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<company_code>5592027779</company_code>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
</item>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<search_query>group</search_query>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
</item>
<item>
<search_result_id>4b9c5da2-3aac-4b9a-a308-f9c1e2ee8f32</search_result_id>
<name>AEE Good Group AB</name>
<name_transliteration>AEE Good Group AB</name_transliteration>
<historical_names/>
<reg_code>5591756685</reg_code>
<vat_code/>
<static_code/>
<legal_status>Active</legal_status>
<legal_form>Ömsesidigt försäkringsbolag</legal_form>
<unified_legal_form>Enterprise</unified_legal_form>
<legal_address>BOX 1, 18173, LIDINGÖ, SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Төменде есептерге қалай тапсырыс беру және жүктеп алу керектігі туралы мысалды көре аласыз:
Online/Offline with identification есебін тапсырыс беру үшін "<search_result_id>" алу керек.
Ол үшін сілтемеге өтіңіз: Компанияны қалай іздеуге болады?
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>60751300-4b72-451f-bf96-2a1a7cbe71c6</search_result_id>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>90000054</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-09-09 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:02:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>08481566</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>90000053</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-08-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-02 16:34:12</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>s</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderCancellation>
<OrderCancellationRequest>
<order_id>90000055</order_id>
</OrderCancellationRequest>
</ns0:OrderCancellation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderCancellationResponse>
<OrderCancellationResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Canceled</order_status>
</order_data>
</OrderCancellationResponse>
</ns1:OrderCancellationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderConfirmation>
<OrderConfirmationRequest>
<order_id>90000055</order_id>
</OrderConfirmationRequest>
</ns0:OrderConfirmation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-EN>
<ns1:OrderConfirmationResponse>
<OrderConfirmationResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>In progress</order_status>
</order_data>
</OrderConfirmationResponse>
</ns1:OrderConfirmationResponse>
</SOAP-EN</div>V:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkStatus>
<ChkStatusRequest>
<order_id>90000055</order_id>
</ChkStatusRequest>
</ns0:ChkStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:ChkStatusResponse>
<ChkStatusResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</ChkStatusResponse>
</ns1:ChkStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Есептер үшін келесі күйлер қолданылады:
Орындау мәртебесі Finished немесе Updated болса, тапсырысты ала аласыз.
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetReport>
<GetReportRequest>
<order_id>90000055</order_id>
<lang>en</lang>
</GetReportRequest>
</ns0:GetReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetReportResponse>
<GetReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
<report>
<language>en</language>
<revision_date>2019-01-28</revision_date>
<identification>
<person_type key="101741" lang="en">company</person_type>
<name>Company LLC</name>
<code>0848156-6</code>
<code_origin>FIN</code_origin>
</identification>
<summary>
<name_in_the_register>Company LLC</name_in_the_register>
<name_in_english>Company name in English</name_in_english>
<registration_code>...</registration_code>
<taxpayer_code>...</taxpayer_code>
<legal_form>...</legal_form>
<unified_legal_form>...</unified_legal_form>
<legal_address>...</legal_address>
<office_address>...</office_address>
<telephone>...</telephone>
<fax>...</fax>
<email>...</email>
<www>...</www>
<legal_status>...</legal_status>
<capital>...</capital>
<capital_currency>...</capital_currency>
<foundation_date>...</foundation_date>
<deletion_date xsi:nil="..."/>
<remarks_on_payments>...</remarks_on_payments>
<export>...</export>
<import>...</import>
<litigations>...</litigations>
<main_activities>...</main_activities>
<latest_turnovers>...</latest_turnovers>
<credit_rating>...</credit_rating>
<credit_rating_description>...</credit_rating_description>
<credit_rating_limit>...</credit_rating_limit>
</summary>
<credit_opinions>...</credit_opinions>
<general_data>
<business_names_data>...</business_names_data>
<registration_data>...</registration_data>
<trade_names_data>...</trade_names_data>
<addresses_data>...</addresses_data>
<contacts_data>...</contacts_data>
<important_notifications_data>...</important_notifications_data>
<statuses_data>...</statuses_data>
<activities_data>...</activities_data>
<legal_form_data>...</legal_form_data>
<capital_data>...</capital_data>
<employees_data>...</employees_data>
</general_data>
<shareholders>...</shareholders>
<managers>...</managers>
<the_normal_regulations_of_the_representation_rights>...</the_normal_regulations_of_the_representation_rights>
<relations_of_persons>...</relations_of_persons>
<branches_data>...</branches_data>
<export_import_data>...</export_import_data>
<publications_data>...</publications_data>
<negative_information>...</negative_information>
<financial_statements_data>...</financial_statements_data>
</report>
</GetReportResponse>
</ns1:GetReportResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details>
<country>RUS</country>
<product>full_report</product>
<delivery_term>n</delivery_term> <!-- available delivery_term: "n", "f" and "s" -->
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<business_name>Company LLC</business_name> <!-- business_name or reg_code is required -->
<reg_code>123456789</reg_code> <!-- business_name or reg_code is required -->
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>1000000035</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-08-01 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-01 13:02:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>f</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>123456789</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>1000000036</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-06-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-06-02 16:34:12</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>123456789</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderCancellation>
<OrderCancellationRequest>
<order_id>1000000040</order_id>
</OrderCancellationRequest>
</ns0:OrderCancellation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderCancellationResponse>
<OrderCancellationResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Canceled</order_status>
</order_data>
</OrderCancellationResponse>
</ns1:OrderCancellationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderConfirmation>
<OrderConfirmationRequest>
<order_id>1000000040</order_id>
</OrderConfirmationRequest>
</ns0:OrderConfirmation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-EN>
<ns1:OrderConfirmationResponse>
<OrderConfirmationResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>In progress</order_status>
</order_data>
</OrderConfirmationResponse>
</ns1:OrderConfirmationResponse>
</SOAP-EN</div>V:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkStatus>
<ChkStatusRequest>
<order_id>1000000040</order_id>
</ChkStatusRequest>
</ns0:ChkStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:ChkStatusResponse>
<ChkStatusResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</ChkStatusResponse>
</ns1:ChkStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Есептер үшін келесі күйлер қолданылады:
Орындау мәртебесі Finished немесе Updated болса, тапсырысты ала аласыз.
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetReport>
<GetReportRequest>
<order_id>1000000040</order_id>
<lang>en</lang>
</GetReportRequest>
</ns0:GetReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetReportResponse>
<GetReportResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
<report>
<language>en</language>
<revision_date>2019-01-28</revision_date>
<identification>
<person_type key="101741" lang="en">company</person_type>
<name>Company LLC</name>
<code>12345678-9</code>
<code_origin>FIN</code_origin>
</identification>
<summary>
<name_in_the_register>Company LLC</name_in_the_register>
<name_in_english>Company name in English</name_in_english>
<registration_code>...</registration_code>
<taxpayer_code>...</taxpayer_code>
<legal_form>...</legal_form>
<unified_legal_form>...</unified_legal_form>
<legal_address>...</legal_address>
<office_address>...</office_address>
<telephone>...</telephone>
<fax>...</fax>
<email>...</email>
<www>...</www>
<legal_status>...</legal_status>
<capital>...</capital>
<capital_currency>...</capital_currency>
<foundation_date>...</foundation_date>
<deletion_date xsi:nil="..."/>
<remarks_on_payments>...</remarks_on_payments>
<export>...</export>
<import>...</import>
<litigations>...</litigations>
<main_activities>...</main_activities>
<latest_turnovers>...</latest_turnovers>
<credit_rating>...</credit_rating>
<credit_rating_description>...</credit_rating_description>
<credit_rating_limit>...</credit_rating_limit>
</summary>
<credit_opinions>...</credit_opinions>
<general_data>
<business_names_data>...</business_names_data>
<registration_data>...</registration_data>
<trade_names_data>...</trade_names_data>
<addresses_data>...</addresses_data>
<contacts_data>...</contacts_data>
<important_notifications_data>...</important_notifications_data>
<statuses_data>...</statuses_data>
<activities_data>...</activities_data>
<legal_form_data>...</legal_form_data>
<capital_data>...</capital_data>
<employees_data>...</employees_data>
</general_data>
<shareholders>...</shareholders>
<managers>...</managers>
<the_normal_regulations_of_the_representation_rights>...</the_normal_regulations_of_the_representation_rights>
<relations_of_persons>...</relations_of_persons>
<branches_data>...</branches_data>
<export_import_data>...</export_import_data>
<publications_data>...</publications_data>
<negative_information>...</negative_information>
<financial_statements_data>...</financial_statements_data>
</report>
</GetReportResponse>
</ns1:GetReportResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Төменде мұрағаттық есептерге қалай тапсырыс беру және жүктеп алу керектігі туралы мысалды көре аласыз:
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<search_result>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>Example Company Name</name>
<reg_code>00000000</reg_code>
...
<archived_reports> <!-- <?= t('docs', 'Section with available archived reports on this company') ?>-->
...
<item>
<product>full_report</product>
<revision_date>2022-04-13</revision_date>
<archived_report_cost>15.75</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2021</fin_report_year>
<fin_period_start>2021-01-01</fin_period_start>
<fin_period_end>2021-12-31</fin_period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
...
</archived_reports>
</item>
...
</search_result>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Мұрағатталған есепті тапсырыс беру үшін қажетті өнімді қамтитын "<archived_reports>" бөлімі бар "<search_result_id>" алу керек.
Ол үшін сілтемеге өтіңіз: Компанияны қалай іздеуге болады?
Мұрағаттық есептері бар үлгі компаниялар:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>FIN</country>
<product>full_report</product><!-- <?= t('docs', "Selected archived product for this company") ?> -->
<delivery_term>a</delivery_term> <!-- <?= t('docs', "Core difference, always 'a' = archive") ?> -->
<notification_of_completion>true</notification_of_completion>
<confirm_order>true</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id> <!-- <?= t('docs', 'Always required') ?> -->
<ref_code>YOUR REF CODE</ref_code> <!-- <?= t('docs', 'If you need it') ?> -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Онлайн/офлайн есептермен бірдей.
Онлайн/офлайн есептермен бірдей.
Онлайн/офлайн есептермен бірдей.
Онлайн/офлайн есептермен бірдей.
Онлайн қаржылық есептілікті тапсырыс беру үшін "<search_result_id>" алу керек.
Ол үшін сілтемеге өтіңіз: Компанияны қалай іздеуге болады?
Бұл функция тек өнімді тапсырыс бергенде ғана қажет: finances (Financial statements) delivery_term = 'o'
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkFinance>
<ChkFinanceRequest>
<finance_check_block>
<search_result_id>0f6b91f8-3d1b-4901-9d1f-6920afca0667</search_result_id>
<country>EST</country>
</finance_check_block>
</ChkFinanceRequest>
</ns0:ChkFinance>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:ChkFinanceResponse>
<ChkFinanceResponse>
<finance_check_result>
<search_result_id>0f6b91f8-3d1b-4901-9d1f-6920afca0667</search_result_id>
<name>00000000 EHITUS</name>
<reg_code>00000000</reg_code>
<vat_code xsi:nil="true"/>
<legal_status>Entered into the register</legal_status>
<legal_form>Aktsiaselts</legal_form>
<legal_address>Järvevana tee 9g, Kesklinna linnaosa, Tallinn, Harju maakond,
11314, Eesti</legal_address>
<financial_statements>
<item>
<available_year>2021</available_year>
</item>
<item>
<available_year>2020</available_year>
</item>
<item>
<available_year>2019</available_year>
</item>
<item>
<available_year>2018</available_year>
</item>
<item>
<available_year>2017</available_year>
</item>
<item>
<available_year>2016</available_year>
</item>
<item>
<available_year>2015</available_year>
</item>
<item>
<available_year>2014</available_year>
</item>
<item>
<available_year>2013</available_year>
</item>
</financial_statements>
</finance_check_result>
</ChkFinanceResponse>
</ns1:ChkFinanceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances> <!-- only neccasery for product: 'finances' -->
<item>2021</item>
<item>2020</item>
</preferable_finances>
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>60751300-4b72-451f-bf96-2a1a7cbe71c6</search_result_id>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2021</item>
<item>2020</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>90000054</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-09-09 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:02:32</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2020</item>
<item>2019</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>90000053</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-08-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-02 16:34:12</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2018</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Есептер үшін келесі күйлер қолданылады:
Орындау мәртебесі Finished немесе Updated болса, тапсырысты ала аласыз.
Өтінім 3 бөлімнен тұрады:
<order_hash>
/report?&lang=en&doc_type=pdf¤cy_position=left&preferred_currency=EUR
https://www.infoproff.com/en/orders/files/<order_hash>/report?&lang=en&doc_type=pdf¤cy_position=left&preferred_currency=EUR
Өтінім 3 бөлімнен тұрады:
<order_hash>
https://www.infoproff.com/en/orders/files/<order_hash>/download
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<ns0:CreditOpinionCalculator>
<CreditOpinionCalculatorRequest>
<order_details>
<country>XXX</country>
<product>credit_opinion_calculator</product>
<delivery_term>o</delivery_term>
<lang>en</lang>
<ref_code>test1</ref_code>
<initial_data>
<general_data>
<status>REG</status>
<foundation>1996-11-13</foundation>
<nace2code>22.21</nace2code>
<employees>
<item>
<number_of_employees>236</number_of_employees>
<year>2018</year>
<period_end_date>2018-12-31</period_end_date>
</item>
<item>
<number_of_employees>216</number_of_employees>
<year>2017</year>
<period_end_date>2017-12-31</period_end_date>
</item>
<item>
<number_of_employees>210</number_of_employees>
<year>2016</year>
<period_end_date>2016-12-31</period_end_date>
</item>
</employees>
</general_data>
<debts>
<unpaid_debts>
<total_amount>100000000</total_amount>
<currency_name>EUR</currency_name>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
</unpaid_debts>
<last_registered_debt>2020-01-15</last_registered_debt>
</debts>
<financial_elements>
<item>
<year>2018</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2018-01-01</period_start_date>
<period_end_date>2018-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>29089411</value>
</position>
<position>
<position_code>1010</position_code>
<value>6556256</value>
</position>
<position>
<position_code>1020</position_code>
<value>20895813</value>
</position>
<position>
<position_code>1100</position_code>
<value>26347731</value>
</position>
<position>
<position_code>1110</position_code>
<value>6422249</value>
</position>
</position>
<position>
<position_code>1130</position_code>
<value>315255</value>
</position>
<position>
<position_code>1200</position_code>
<value>55437150</value>
</position>
<position>
<position_code>1300</position_code>
<value>13563874</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>41542005</value>
</position>
<position>
<position_code>1410</position_code>
<value>10780537</value>
</position>
<position>
<position_code>1420</position_code>
<value>30761468</value>
</position>
<position>
<position_code>1500</position_code>
<value>55437150</value>
</position>
<position>
<position_code>1600</position_code>
<value>32763727</value>
</position>
<position>
<position_code>1700</position_code>
<value>-11583299</value>
</position>
<position>
<position_code>1800</position_code>
<value>1852455</value>
</position>
<position>
<position_code>1900</position_code>
<value>4604983</value>
</position>
<position>
<position_code>2000</position_code>
<value>3876811</value>
</position>
</positions>
</item>
<item>
<year>2017</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2017-01-01</period_start_date>
<period_end_date>2017-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>27956649</value>
</position>
<position>
<position_code>1010</position_code>
<value>6699710</value>
</position>
<position>
<position_code>1020</position_code>
<value>20784951</value>
</position>
<position>
<position_code>1100</position_code>
<value>13530424</value>
</position>
<position>
<position_code>1110</position_code>
<value>5848610</value>
</position>
<position>
<position_code>1120</position_code>
<value>7350656</value>
</position>
<position>
<position_code>1130</position_code>
<value>331158</value>
</position>
<position>
<position_code>1200</position_code>
<value>41487080</value>
</position>
<position>
<position_code>1300</position_code>
<value>13233015</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>28234892</value>
</position>
<position>
<position_code>1410</position_code>
<value>4000000</value>
</position>
<position>
<position_code>1420</position_code>
<value>24234892</value>
</position>
<position>
<position_code>1500</position_code>
<value>41487080</value>
</position>
<position>
<position_code>1600</position_code>
<value>38508619</value>
</position>
<position>
<position_code>1700</position_code>
<value>-13380841</value>
</position>
<position>
<position_code>1800</position_code>
<value>4020449</value>
</position>
<position>
<position_code>1900</position_code>
<value>3071074</value>
</position>
<position>
<position_code>2000</position_code>
<value>2211543</value>
</position>
</positions>
</item>
<item>
<year>2016</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2016-01-01</period_start_date>
<period_end_date>2016-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>23098292</value>
</position>
<position>
<position_code>1010</position_code>
<value>6251447</value>
</position>
<position>
<position_code>1020</position_code>
<value>16338678</value>
</position>
<position>
<position_code>1100</position_code>
<value>11104261</value>
</position>
<position>
<position_code>1110</position_code>
<value>5111604</value>
</position>
<position>
<position_code>1120</position_code>
<value>4657457</value>
</position>
<position>
<position_code>1130</position_code>
<value>1335200</value>
</position>
<position>
<position_code>1200</position_code>
<value>34202560</value>
</position>
<position>
<position_code>1300</position_code>
<value>12554095</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>21617540</value>
</position>
<position>
<position_code>1410</position_code>
<value>2000000</value>
</position>
<position>
<position_code>1420</position_code>
<value>19617540</value>
</position>
<position>
<position_code>1500</position_code>
<value>34202560</value>
</position>
<position>
<position_code>1600</position_code>
<value>34392412</value>
</position>
<position>
<position_code>1700</position_code>
<value>-12182016</value>
</position>
<position>
<position_code>1800</position_code>
<value>2520984</value>
</position>
<position>
<position_code>1900</position_code>
<value>-335799</value>
</position>
<position>
<position_code>2000</position_code>
<value>-764980</value>
</position>
</positions>
</item>
</financial_elements>
</initial_data>
</order_details>
</CreditOpinionCalculatorRequest>
</ns0:CreditOpinionCalculator>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:CreditOpinionCalculatorResponse>
<CreditOpinionCalculatorResponse>
<order_data>
<order_id>1444</order_id>
<order_hash>MpfreVp7EFZ7piIMQykCnfevRjyDOKNuAi5uAvy3XHBVAKpMXsLD99URoYppb7Ry</order_hash>
<order_deadline>2020-01-27</order_deadline>
<price>1.5</price>
<currency>EUR</currency>
<request_time>2020-01-27 14:09:27</request_time>
<order_status>Finished</order_status>
</order_data>
<credit_opinion>
<language>en</language>
<ref_code>test1</ref_code>
<credit_opinion>
<item>
<credit_rating>CCC</credit_rating>
<rating_description>Risk above normal. Short term credit only.</rating_description>
<credit_limit>154000</credit_limit>
<credit_limit_currency>EUR</credit_limit_currency>
<latest_turnover_type>R12</latest_turnover_type>
<latest_turnover_range>20 000 001 - 50 000 000</latest_turnover_range>
<rating_explanation>
<explanation>Long-established company.</explanation>
<explanation>Latest turnover range 20 000 001 - 50 000 000 EUR.</explanation>
<explanation>The company had downfall in turnover during the known financial periods (at least once).</explanation>
<explanation>Within last years company's turnover had a slight decrease (growth rate).</explanation>
<explanation>Equity of the company is at a normal level.</explanation>
<explanation>Current ratio of the company is at a low level.</explanation>
<explanation>Quick ratio of the company is at a very low level.</explanation>
<explanation>Profitability of the company is at a very high level (in relation to equity).</explanation>
</rating_explanation>
</item>
</credit_opinion>
</credit_opinion>
</CreditOpinionCalculatorResponse>
</ns1:CreditOpinionCalculatorResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetClassifiersFinancialStatements>
<GetClassifiersFinancialStatementsRequest/>
</ns0:GetClassifiersFinancialStatements>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetClassifiersFinancialStatementsResponse>
<GetClassifiersFinancialStatementsResponse>
<financial_statements>
<item>
<subtype_id>97</subtype_id>
<subtype_description>Income statement format 2</subtype_description>
<row_number>333100</row_number>
<row_formated_description>basic earnings (loss) per
share</row_formated_description>
<row_lang_key>6886</row_lang_key>
<row_order>340</row_order>
</item>
<item>
<subtype_id>97</subtype_id>
<subtype_description>Income statement format 2</subtype_description>
<row_number>323600</row_number>
<row_formated_description>interest income</row_formated_description>
<row_lang_key>3686</row_lang_key>
<row_order>170</row_order>
</item>
...
<item>
<subtype_id>89</subtype_id>
<subtype_description>Financial key ratios</subtype_description>
<row_number>3080</row_number>
<row_formated_description>Quick ratio</row_formated_description>
<row_lang_key>7644</row_lang_key>
<row_order>80</row_order>
</item>
<item>
<subtype_id>89</subtype_id>
<subtype_description>Financial key ratios</subtype_description>
<row_number>3060</row_number>
<row_formated_description>Leverage</row_formated_description>
<row_lang_key>7541</row_lang_key>
<row_order>60</row_order>
</item>
</financial_statements>
</GetClassifiersFinancialStatementsResponse>
</ns1:GetClassifiersFinancialStatementsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetLegalForms>
<GetLegalFormsRequest/>
</ns0:GetLegalForms>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetLegalFormsResponse>
<GetLegalFormsResponse>
<legal_forms>
<item>
<country>BLR</country>
<language>RUS</language>
<legal_form>Крестьянское (фермерское) хозяйство</legal_form>
<lang_key>268</lang_key>
</item>
<item>
<country>BLR</country>
<language>RUS</language>
<legal_form>Крестьянское хозяйство</legal_form>
<lang_key>268</lang_key>
</item>
<item>
<country>UKR</country>
<language>UKR</language>
<legal_form>Споживчий кооператив</legal_form>
<lang_key>264</lang_key>
</item>
<item>
<country>RUS</country>
<language>RUS</language>
<legal_form>АКЦИОНЕРНОЕ ОБЩЕСТВО</legal_form>
<lang_key>263</lang_key>
</item>
</legal_forms>
</GetLegalFormsResponse>
</ns1:GetLegalFormsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetActivityClassificators>
<GetActivityClassificatorsRequest>
<classificator_type>CLASSIFICATOR_TYPE</classificator_type>
</GetActivityClassificatorsRequest>
</ns0:GetActivityClassificators>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
CLASSIFICATOR_TYPE:
"EMTAK 2008"
"NACE Rev.2"
"КВЕД 2005"
"КВЕД 2010"
"ОКВЭД 2"
"ОКВЭД 2007"
"SBI"
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetActivityClassificatorsResponse>
<GetActivityClassificatorsResponse>
<classificator_type>NACE Rev.2</classificator_type>
<activities>
<item>
<activity_description>ACCOMMODATION AND FOOD SERVICE ACTIVITIES</activity_description>
<activity_code>I</activity_code>
<activity_language>ENG</activity_language>
<activity_lang_key>10673</activity_lang_key>
</item>
...
<item>
<activity_description>HUMAN HEALTH AND SOCIAL WORK
ACTIVITIES</activity_description>
<activity_code>Q</activity_code>
<activity_language>ENG</activity_language>
<activity_lang_key>10858</activity_lang_key>
</item>
</activities>
</GetActivityClassificatorsResponse>
</ns1:GetActivityClassificatorsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetDictionaryStandardPhrases>
<GetDictionaryStandardPhrasesRequest/>
</ns0:GetDictionaryStandardPhrases>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetDictionaryStandardPhrasesResponse>
<GetDictionaryStandardPhrasesResponse>
<dictionary_standard_phrases>
<item>
<dictionary_lang_key>6612</dictionary_lang_key>
<dictionary_category>opinion_comment</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>Company was in a merger process and financial statements
after merger are not available.</dictionary_value>
</item>
<item>
<dictionary_lang_key>101806</dictionary_lang_key>
<dictionary_category>asset_subtype</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>Property intended for varied purposes</dictionary_value>
</item>
...
<item>
<dictionary_lang_key>252</dictionary_lang_key>
<dictionary_category>town_settlement_village_type</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>district</dictionary_value>
</item>
<item>
<dictionary_lang_key>254</dictionary_lang_key>
<dictionary_category>town_settlement_village_type</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>county</dictionary_value>
</item>
</dictionary_standard_phrases>
</GetDictionaryStandardPhrasesResponse>
</ns1:GetDictionaryStandardPhrasesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
delivery_term:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetAvailableProducts>
<GetAvailableProductsRequest/>
</ns0:GetAvailableProducts>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetAvailableProductsResponse>
<GetAvailableProductsResponse>
<available_products>
<item>
<country>RUS</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>7</maximum_delivery_working_days>
<price>28.00</price>
</item>
<item>
<country>SWE</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>0</maximum_delivery_working_days>
<price>25.00</price>
</item>
<item>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>0</maximum_delivery_working_days>
<price>25.00</price>
</item>
</available_products>
</GetAvailableProductsResponse>
</ns1:GetAvailableProductsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Бұл қателер біздің веб-қызметке сұраныс жасаған кезде пайда болуы мүмкін.
country_economic_overview — келесі кіші бөлімдерді қамтиды: data_transparency_index, country_development_indicators, economic_forecast.paid_taxes — төленген салықтар туралы ақпарат.tenders — тендерлер туралы ақпарат.sanctions — negative_information бөліміне қосылды. beneficiaries, shareholders, managers және employees_data бөлімдеріне келесі элемент қосылды:source_type — деректер көзінің түрі (мысалы, official, mass_media, company_admin және т.б.). relations_of_persons бөліміне жаңа элемент қосылды:match_typecapital бөлімі қайта құрылды:capital_amount элементі issued_capital деп қайта аталды. number_of_sharesshare_valueauthorized_capitalemployees_data бөлімінде:group_figure элементі деректерге топтық деңгейде агрегацияланған көрсеткіштердің (true) кіретінін көрсетеді. source_type элементі деректер көзінің түрін анықтайды.is_estimated элементі енді тек оның мәні true болған жағдайда ғана қосылады. assets_data бөлімі — бұрыннан бар бөлімдерді біріктіреді:real_estate_data (бұрын property_data деп аталған), vehicles, machinery_and_equipment (бұрын assets деп аталған). patents және biological_assets. vehicles бөлімінде жаңа өріс қосылды:valuelitigations бөліміне келесі элементтер қосылды:content, instance, process, authorityfinancial_statement/positions және summary/latest_turnovers бөлімдеріне жаңа элемент қосылды:value_origin — мәнінің шығу тегін сипаттайды; мысалы, estimated – бұл мәні қолжетімді деректер негізінде логика немесе жасанды интеллект арқылы бағаланып және есептеледі.branches_data бөлімінде келесі өрістер қосылды:registration_numberdirector_nameЕскерту: тұрақтандыру кезеңінде қосымша кішігірім жақсартулар мен түзетулер енгізілуі мүмкін.
Вебхук – бұл бір қосымшаның басқа қосымшаларға нақты уақыттағы ақпаратты беру тәсілі. Біздің вебхук мүмкіндігі URL арқылы конфигурацияланған HTTP кері шақыруларын жүзеге асырады. Белгіленген оқиға болған сайын HTTP POST жүктемесі JSON форматында осы URL-ге жіберіледі. Жобамыздың контекстінде вебхук функциясын нақты оқиғаларды іске қосу үшін жобаладық.
Қосымшаңызға вебхук орнату үшін қосымшаның баптаулар бетіне өтіп, «Вебхук баптаулары» бөлімін табыңыз. Содан кейін келесі ақпаратты енгізіңіз:
Осы мәліметтерді енгізгеннен кейін «Сақтау» түймесін басыңыз.
Оқиға болған кезде біз оқиға туралы ақпаратты қамтитын JSON денесі бар HTTP POST сұранымын payload URL мекенжайына жібереміз.
{
"event_type": "new_status",
"order_id": 12345,
"client_ref_number": "98765",
"new_status": "Finished"
"reason": "..." # Optional, an example here could be the reason for the "Rejected" status
}
Payload URL-ге жіберілген POST-сұраулардың біздің қосымшамыздан шыққанын тексеру маңызды. Осы мақсатта әрбір вебхук сұранымы X-Signature басылымын қамтиды.
Қол қою үшін біз SHA512 алгоритмімен HMAC қолданамыз.
Құпия – вебхуктар баптауларындағы App ID мен Secret Key-дің біріктірілген жиынтығы.
#!/bin/bash
payload='{"key1": "value1","key2": "value2"}'
secret='$app_id$secret_key'
# Generate HMAC SHA512 signature
signature=$(echo -n "$payload" | openssl dgst -sha512 -hmac "$secret" | awk '{print $2}')
# Send request
curl -X POST \
-H "Content-Type: application/json" \
-H "X-Signature: $signature" \
-d "$payload" \
https://example.com/api/endpoint
Қажет болған жағдайда жіберушіні анықтау үшін endpoint-ке өз get параметрлеріңізді қосуға болады.
https://example.com/api/endpoint?custom_token=c3606e43c40d4556b64a4ad8c72f554e
Сервер 10 секунд ішінде жауап беріп, 2XX HTTP кодын қайтаруы тиіс; әйтпесе вебхук жеткізілуі сәтсіз деп есептеледі. Қателік болған жағдайда функция жеткізу саясатына сәйкес сұранысты қайта жіберуге тырысады.