# Receita Federal



# receita-consulta-irpf

### **<span class="align-center" style="color: rgb(0, 0, 0);">1 Introdução</span>**

#### <span class="align-center" style="color: rgb(0, 0, 0);">**1.1 Objetivo** </span>

Consulta à Restituição de Imposto de Renda Pesso Física.

#### <span class="align-center" style="color: rgb(0, 0, 0);">**1.2 Portal**</span>

<table border="1" id="bkmrk-sistema-url" style="border-collapse: collapse; width: 100%; height: 59.5938px;"><colgroup><col style="width: 49.0705%;"></col><col style="width: 50.9295%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">SISTEMA</td><td style="height: 29.7969px;">URL</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">Gov</td><td style="height: 29.7969px;">https://www.restituicao.receita.fazenda.gov.br/#/  
</td></tr></tbody></table>

#### <span class="align-center" style="color: rgb(0, 0, 0);">**1.2 Visão Geral**</span>

- ID do robô: receita-consulta-irpf
- Pacote existente no projeto bots: Gov
- Robô espelho:
- Cliente: Neves

#### <span class="align-center" style="color: rgb(0, 0, 0);">**1.3 **Escopo****</span>

**Escopo da Documentação:**

- Esta documentação abrange todas as funcionalidades e configurações do **elaw-sky-baixar-pagamento**, incluindo: 
    - Pesquisa o processo pelo **Nº do Processo**;
    - Acesso ao Processo;
    - Ir ate aba Valores;
    - Validar os dados do filtro;
    - Filtrar o pagamento desejável;
    - Acessa o pagamento;
    - Filtrar o anexo desejável;
    - Upload de arquivos.

### <span style="color: rgb(0, 0, 0);">**2 Fluxo de Trabalho**</span>

#### <span class="align-center" style="color: rgb(0, 0, 0);">**2.1 Consulta**</span>

[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-12/scaled-1680-/V2Jimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-12/V2Jimage.png)

#### **Preencher os campos usuário e senha e clicar em CONSULTAR;**

**Após, vai aparecer a seguinte tela:**

[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-12/scaled-1680-/NOCimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-12/NOCimage.png)

Tirar o print e trazer em PDF.

#### <span class="align-center" style="color: rgb(0, 0, 0);">**2.3 Bot** </span>

#### <span class="align-center" style="color: rgb(0, 0, 0);">**2.4 Referências**</span>

<span class="align-center" style="color: rgb(0, 0, 0);">  
</span>

### **3 Restrições e Premissas** 

&lt;!-- Descreva quaisquer limitações ou condições assumidas durante a definição dos requisitos. --&gt;

### **4 Critérios de Aceitação**

<span style="color: rgb(0, 0, 0);">&lt;!-- Definição dos critérios que devem ser atendidos para que cada funcionalidade seja considerada completa e aceita. --&gt;</span>


### **5 Descrição Funcional**

#### <span class="align-center" style="color: rgb(0, 0, 0);">**5.1 **Funcionalidades****</span>

&lt;!-- Liste e descreva as principais funcionalidades que o sistema deve oferecer. --&gt;

#### <span class="align-center" style="color: rgb(0, 0, 0);">**5.2 **Requisitos Funcionais****</span>

&lt;!-- Detalhe os requisitos funcionais de cada funcionalidade. --&gt;

- Funcionalidade 1:
- Requisito 1.1
- Requisito 1.2

- Funcionalidade 2:
- Requisito 2.1
- Requisito 2.2


### **6 Requisitos Não Funcionais**

#### <span class="align-center" style="color: rgb(0, 0, 0);">**6.1 ****Desempenho******</span>

&lt;!-- Requisitos relacionados à performance do sistema. --&gt;

#### <span class="align-center" style="color: rgb(0, 0, 0);">**6.2 **Segurança****</span>

&lt;!-- Requisitos relacionados à segurança da aplicação. --&gt;

#### <span class="align-center" style="color: rgb(0, 0, 0);">**6.3 **Compatibilidade****</span>

&lt;!-- Requisitos de compatibilidade com outros sistemas e plataformas. --&gt;

# receita-federal-consulta-cnpj

### **<span class="align-center" style="color: rgb(0, 0, 0);">1 Descrição do processo</span>**

#### <span class="align-center" style="color: rgb(0, 0, 0);">**1.2 Programas e Aplicações**  
</span>

<table border="1" id="bkmrk-nome-do-sistema-url-" style="width: 100%; border-collapse: collapse; height: 64.125px;"><colgroup><col style="width: 50.0508%;" width="60"></col><col style="width: 49.9492%;" width="81"></col></colgroup><tbody><tr style="height: 37.375px; background-color: rgb(41, 127, 213);"><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**Nome do Sistema**</span>

</td><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**URL**</span>

</td></tr><tr style="height: 26.75px;"><td style="height: 26.75px;">**Receita Federal**

</td><td style="height: 26.75px;">https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/cnpjreva\_solicitacao.asp</td></tr></tbody></table>

### <span style="color: rgb(0, 0, 0);">**2 Detalhamento do Processo**</span>

#### <span style="color: rgb(0, 0, 0);">**2.1 Robô**</span>

<table border="1" id="bkmrk-" style="border-collapse: collapse; width: 100%; height: 374.391px;"><colgroup><col style="width: 99.8765%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Sistema**  
</td></tr><tr style="height: 314.797px;"><td style="height: 314.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/Y2Limage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/Y2Limage.png)

</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Ação:** Para efetuar a inicialização do processo iremos acessar o site da **[Receita Federal.](https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/cnpjreva_solicitacao.asp)** </td></tr></tbody></table>

<table border="1" id="bkmrk-consulta-cnpj-a%C3%A7%C3%A3o%3A-" style="border-collapse: collapse; width: 100%; height: 1333.89px;"><colgroup><col style="width: 99.8765%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Consulta CNPJ**  
</td></tr><tr style="height: 105.797px;"><td style="height: 105.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/7Trimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/7Trimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">**Ação:** Após acessar o site, iremos preencher o campo “**CNPJ**”.

</td></tr><tr style="height: 132.391px;"><td style="height: 132.391px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/WPkimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/WPkimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">****Ação:**** Em seguida, é necessário preencher o hCaptcha marcando a checkbox “****Sou Humano****”.

</td></tr><tr style="height: 213.391px;"><td style="height: 213.391px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/U1bimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/U1bimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">******Ação:****** Com o preenchimento das informações necessárias, basta clicar no botão “******CONSULTAR******”.

</td></tr><tr style="height: 230.391px;"><td style="height: 230.391px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/UcNimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/UcNimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">********Ação:******** Após a abertura da tela de consulta do CNPJ, devemos clicar na opção “********IMPRIMIR********”.

</td></tr><tr style="height: 170.391px;"><td style="height: 170.391px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/2Xbimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/2Xbimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">**********Ação:********** Após a abertura da tela de impressão é necessário, novamente, clicar na opção “**********IMPRIMIR**********”.

</td></tr><tr style="height: 239.391px;"><td style="height: 239.391px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/vBdimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/vBdimage.png)

</td></tr><tr style="height: 35.3906px;"><td style="height: 35.3906px;">************Ação:************ Ao abrir as configurações de impressão, ir em “************Destination************” e selecionar a opção “************Save as PDF************”.

</td></tr><tr><td>[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/3IRimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/3IRimage.png)

</td></tr><tr><td>**Ação:** Após isso, clicar no botão “**SAVE**”.

<span style="color: rgb(224, 62, 45);">**Importante**: É necessário que o documento pdf seja salvo na **PASTA DO CLIENTE**.</span>

</td></tr></tbody></table>

<table border="1" id="bkmrk-consulta-qsa-a%C3%A7%C3%A3o%3A-a" style="border-collapse: collapse; width: 100%; height: 1130.95px;"><colgroup><col style="width: 99.8765%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Consulta QSA**</td></tr><tr style="height: 140.797px;"><td style="height: 140.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/X8limage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/X8limage.png)

**<span id="bkmrk--24" style="font-weight: normal;"></span>** </td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">****Ação:**** Após o salvamento do passo anterior voltamos para a página de consulta de CNPJ. Agora, iremos clicar na opção “****CONSULTAR QSA****”.</td></tr><tr style="height: 221.797px;"><td style="height: 221.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/oDlimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/oDlimage.png)

****<span id="bkmrk--27" style="font-weight: normal;"></span>**** </td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">******Ação:****** Ao clicar em ******“CONSULTAR QSA******”, seremos direcionados para a página de Consulta do Quadro de Sócios e Administradores (QSA).</td></tr><tr style="height: 91.7969px;"><td style="height: 91.7969px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/T3Bimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/T3Bimage.png)

******<span id="bkmrk--31" style="font-weight: normal;"></span>****** </td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">********Ação:******** Nessa página, é necessário clicar no botão “********IMPRIMIR********”.</td></tr><tr style="height: 167.797px;"><td style="height: 167.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/gOFimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/gOFimage.png)

********<span id="bkmrk--36" style="font-weight: normal;"></span>******** </td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**********Ação:********** Após a abertura da tela de impressão é necessário, novamente, clicar na opção “**********IMPRIMIR**********”.</td></tr><tr style="height: 236.797px;"><td style="height: 236.797px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/cAgimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/cAgimage.png)

**********<span id="bkmrk--42" style="font-weight: normal;"></span>********** </td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">************Ação:************ Ao abrir as configurações de impressão, ir em “************Destination************” e selecionar a opção “************Save as PDF************”.</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">[![image.png](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/scaled-1680-/tkAimage.png)](https://wiki.oystr.com.br/uploads/images/gallery/2024-04/tkAimage.png)

************<span id="bkmrk--49" style="font-weight: normal;"></span>************ </td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Ação:** Após isso, clicar no botão “**SAVE**”.

<span style="color: rgb(224, 62, 45);">**Importante**: É necessário que o documento pdf seja salvo na **PASTA DO CLIENTE**.</span>

</td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">**2.1 Alterações**</span>

### <span style="color: rgb(0, 0, 0);">**3 **Regras de Negócio****</span>

#### <span style="color: rgb(0, 0, 0);">****3.1 **Arquivo de entrada do robô******</span>

##### <span style="color: rgb(0, 0, 0);">**3.1.1 XLS**</span>

<table border="1" id="bkmrk-descri%C3%87%C3%83o-propriedad" style="width: 100%; border-collapse: collapse; height: 64.125px;"><colgroup><col style="width: 50.0508%;" width="60"></col><col style="width: 49.9492%;" width="81"></col></colgroup><tbody><tr style="height: 37.375px; background-color: rgb(41, 127, 213);"><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**DESCRIÇÃO**</span>

</td><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**PROPRIEDADE**</span>

</td></tr><tr style="height: 26.75px;"><td style="height: 26.75px;"></td><td style="height: 26.75px;">  
</td></tr></tbody></table>

##### <span style="color: rgb(0, 0, 0);">**3.1.2 XML**</span>

<table border="1" id="bkmrk-descri%C3%87%C3%83o-propriedad-1" style="width: 100%; border-collapse: collapse; height: 64.125px;"><colgroup><col style="width: 50.0508%;" width="60"></col><col style="width: 49.9492%;" width="81"></col></colgroup><tbody><tr style="height: 37.375px; background-color: rgb(41, 127, 213);"><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**DESCRIÇÃO**</span>

</td><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**PROPRIEDADE**</span>

</td></tr><tr style="height: 26.75px;"><td style="height: 26.75px;"></td><td style="height: 26.75px;">  
</td></tr></tbody></table>

##### <span style="color: rgb(0, 0, 0);">**3.1.3 FILTROS**</span>

<table border="1" id="bkmrk-descri%C3%87%C3%83o-propriedad-2" style="width: 100%; border-collapse: collapse; height: 64.125px;"><colgroup><col style="width: 50.0508%;" width="60"></col><col style="width: 49.9492%;" width="81"></col></colgroup><tbody><tr style="height: 37.375px; background-color: rgb(41, 127, 213);"><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**DESCRIÇÃO**</span>

</td><td style="height: 37.375px;"><span style="color: rgb(255, 255, 255);">**PROPRIEDADE**</span>

</td></tr><tr style="height: 26.75px;"><td style="height: 26.75px;"></td><td style="height: 26.75px;">  
</td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">**3.1 **Arquivo de saída****</span>