Serviço Web wsdl e esquemas estão aqui localizados:
http://wsdfn.infoproff.com/v3/
Funções do serviço web:
A API fornece vários serviços:
A pesquisa da empresa consiste em 2 opções:
A pesquisa para outros países é efetuada apenas na base de dados de relatórios arquivados. Se não encontrar a empresa pretendida, introduza os dados da empresa manualmente.
search_result_id pode ser obtido aqui para encomendas com delivery_term = "o" ou delivery_term = "a".
A resposta a um pedido de pesquisa pode demorar até 20 segundos nos seguintes países: Reino Unido, Irlanda, França, Espanha, Portugal, Alemanha, Itália, Áustria, Suíça, Turquia.
O registo da Noruega não permite pesquisar empresas apagadas por nomes. Por conseguinte, não podemos fornecer um SimpleSearch por nomes dentro de empresas eliminadas na Noruega.
O registo da Turquia suporta a pesquisa « SimpleSearch » apenas pelo nome da empresa — a pesquisa por código de registo não está disponível. A consulta de pesquisa deve conter, pelo menos, 5 caracteres. Apenas o início do nome da empresa é comparado.
Abaixo pode encontrar o exemplo:
<!-- 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Abaixo pode ver um exemplo de como encomendar e descarregar relatórios:
Para encomendar um relatório Online/Offline with identification, precisa de receber "<search_result_id>".
Para o fazer, siga a ligação: Como procurar uma empresa?
<!-- 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Os seguintes estados são utilizados para relatórios:
Se o estado de execução for Finished ou Updated, então poderá obter uma encomenda.
<!-- 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Os seguintes estados são utilizados para relatórios:
Se o estado de execução for Finished ou Updated, então poderá obter uma encomenda.
<!-- 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Abaixo pode ver um exemplo de como encomendar e descarregar relatórios arquivados:
<!-- 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>
Para encomendar um relatório arquivado, precisa de receber "<search_result_id>" que tenha uma secção "<archived_reports>" com o produto de que necessita.
Para o fazer, siga a ligação: Como procurar uma empresa?
Empresas de exemplo com relatórios arquivados:
<!-- 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Tal como nos relatórios online/offline.
Tal como nos relatórios online/offline.
Tal como nos relatórios online/offline.
Tal como nos relatórios online/offline.
Para encomendar demonstrações financeiras online, precisa de receber "<search_result_id>".
Para o fazer, siga a ligação: Como procurar uma empresa?
Esta função só é necessária quando se encomenda um produto: finances (Financial statements) com 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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
Os seguintes estados são utilizados para relatórios:
Se o estado de execução for Finished ou Updated, pode obter a encomenda.
O pedido é composto por 3 partes:
<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
O pedido é composto por 3 partes:
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
</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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
</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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
<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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
</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>
<authentication_block>
<username>XX</username>
<password>XX</password>
</authentication_block>
</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>
Estes erros podem ocorrer ao fazer o pedido ao nosso serviço web.
Allows you to search for available financial statements.
Currently available only in EST (Estonia), SWE (Sweden)
- Changes in list of available countries: Albânia (ALB), Alemanha (DEU), Angola (AGO), Argentina (ARG), Argélia (DZA), Austrália (AUS), Azerbaijão (AZE), Benim (BEN), Bielorrússia (BLR), Bolívia (BOL), Botsuana (BWA), Brasil (BRA), Bulgária (BGR), Bélgica (BEL), Bósnia e Herzegovina (BIH), Canadá (CAN), Cazaquistão (KAZ), Chile (CHL), China (CHN), Chipre (CYP), Chéquia (CZE), Congo (COG), Costa do Marfim (CIV), Croácia (HRV), Dinamarca (DNK), Equador (ECU), Eslováquia (SVK), Eslovénia (SVN), Espanha (ESP), Estónia (EST), Etiópia (ETH), Filipinas (PHL), Finlândia (FIN), França (FRA), Geórgia (GEO), Gronelândia (GRL), Grécia (GRC), Guadalupe (GLP), Guiana (GUY), Guiana Francesa (GUF), Guiné (GIN), Gâmbia (GMB), Hong Kong (HKG), Hungria (HUN), Irlanda (IRL), Islândia (ISL), Israel (ISR), Itália (ITA), Japão (JPN), Jersey (JEY), Kosovo (XXK), Letónia (LVA), Listenstaine (LIE), Lituânia (LTU), Luxemburgo (LUX), Madagáscar (MDG), Maldivas (MDV), Malta (MLT), Man (IMN), Marrocos (MAR), Martinica (MTQ), Maurícia (MUS), Mayotte (MYT), Moldávia (MDA), Mongólia (MNG), Mónaco (MCO), Namíbia (NAM), Nigéria (NGA), Noruega (NOR), Nova Zelândia (NZL), Paraguai (PRY), Países Baixos (NLD), Peru (PER), Polónia (POL), Portugal (PRT), Quirguistão (KGZ), Quénia (KEN), Reino Unido (GBR), Reunião (REU), Roménia (ROU), Ruanda (RWA), Rússia (RUS), Samoa (WSM), Seychelles (SYC), Singapura (SGP), Sri Lanka (LKA), Suécia (SWE), Suíça (CHE), São Marino (SMR), São Martinho (MAF), Sérvia (SRB), Tailândia (THA), Taiwan (TWN), Tajiquistão (TJK), Tanzânia (TZA), Togo (TGO), Turquia (TUR), Ucrânia (UKR), Uruguai (URY), Uzbequistão (UZB), Venezuela (VEN), Zimbabué (ZWE), Zâmbia (ZMB), África do Sul (ZAF), Áustria (AUT)
- Each time you place an request we asaign a new 'search_result_id' for each company. You need to use this 'search_result_id' to place online orders.
Also you can place offline (delivery_term = 'n', 'f' or 's') orders with 'search_result_id', if you desire.
To place an online order, you need to recieve 'search_result_id' from function 'SimpleSearch', and only after that you can place an online (delivery_term = 'o') order.
- Changes in list of available countries for online credit reports: Alemanha (DEU), Azerbaijão (AZE), Bulgária (BGR), Bélgica (BEL), Cazaquistão (KAZ), China (CHN), Chéquia (CZE), Croácia (HRV), Dinamarca (DNK), Eslováquia (SVK), Eslovénia (SVN), Espanha (ESP), Estónia (EST), Finlândia (FIN), França (FRA), Grécia (GRC), Hungria (HUN), Irlanda (IRL), Itália (ITA), Letónia (LVA), Luxemburgo (LUX), Malta (MLT), Moldávia (MDA), Mongólia (MNG), Noruega (NOR), Países Baixos (NLD), Polónia (POL), Portugal (PRT), Quirguistão (KGZ), Reino Unido (GBR), Rússia (RUS), Suécia (SWE), Suíça (CHE), Ucrânia (UKR), Áustria (AUT)
- Available to download financial statements (using product: finances) in online mode: Estonia (EST), Sweden (SWE)
- Changes in of available languages: ar (Arabic), az (Azerbaijani), bg (búlgaro), cs (Checo), da (Dinamarquesa), de (alemão), el (grego), en (Inglês), es (Espanhol), et (Estónio), fi (finlandês), fr (francês), he (Hebrew), hi (Hindi), hu (húngaro), hy (Armenian), id (indonésio), it (italiano), ja (Japonês), ka (Georgian), kk (Kazakh), ko (coreano), lt (lituano), lv (letão), mn (Mongolian), ms (Malay), nb (Norueguês Bokmål), nl (holandês), pl (Polaco), pt (Português), ro (romeno), ru (Russo), sk (Eslovaco), sl (esloveno), sr (Српски), sv (Sueco), th (Thai), tr (Turco), uk (ucraniano), uz (Uzbek), vi (Vietnamese), zh (Chinês)
New elements:
- report/negative_information/debts/item/remainder_range
- report/negative_information/debts/item/remainder_non_standard_range
New function:
- ChkFinance
Function that allows you to search for available financial statements.
1) OrderReportRequest has a choice:
- order_details:
Using general information: business_name, reg_code, vat_code, address, phone, email, additional_info
- order_details_by_id:
Using 'search_result_id'
2) order_details
New element:
- preferable_finances
3) SimpleSearchRequest
Removed element:
search_block.reg_code
New element:
search_block->company_code
4) SimpleSearchResponse
Removed elements
- code
Novos elementos:
Um webhook é uma forma de uma aplicação fornecer a outras aplicações informações em tempo real. A nossa funcionalidade de webhook implementa chamadas de retorno HTTP configuradas com um URL. Um payload HTTP POST é enviado para este URL em formato JSON sempre que ocorre um evento especificado. No contexto do nosso projeto, concebemos a função webhook para desencadear eventos específicos.
Para configurar um webhook para a sua aplicação, navegue até à página de definições da aplicação e procure a secção "Definições de webhooks". E forneça as seguintes informações:
Depois de fornecer estes dados, clique em "Guardar".
Quando ocorre um evento, enviamos um pedido HTTP POST para o URL de carga com um corpo JSON que contém informações sobre o evento.
{
"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
}
É importante verificar se os pedidos POST enviados para o URL de carga útil são da nossa aplicação. Para ajudar com isso, cada pedido de webhook inclui um cabeçalho X-Signature.
Para a assinatura, utilizamos o HMAC com o algoritmo SHA512.
O segredo é uma concatenação da ID da aplicação e da chave secreta das definições dos webhooks.
#!/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
É possível adicionar os seus próprios parâmetros get ao ponto final para identificar o remetente, se necessário.
https://example.com/api/endpoint?custom_token=c3606e43c40d4556b64a4ad8c72f554e
Um servidor tem de responder no prazo de 10 segundos e devolver um código HTTP 2XX; caso contrário, a entrega do webhook é considerada falhada. Em caso de falha, a funcionalidade tentará reenviar o pedido de acordo com a política de entrega.