Financial Management Blogs by SAP
Get financial management insights from blog posts by SAP experts. Find and share tips on how to increase efficiency, reduce risk, and optimize working capital.
cancel
Showing results for 
Search instead for 
Did you mean: 
rodolfo_celante
Employee
Employee


(Scroll down for the English version, which is proudly presented by the SAP Translation Portal) 

Olá pessoal,

Neste blog post você encontrará mais detalhes sobre como você pode gerar os eventos periódicos do relatório EFD-Reinf (transação /TMF/REINF) no TDF pelo CNPJ da filial principal através de parametrização.

Essa funcionalidade não obrigatória é válida para empresas que possuem mais de um código de filial configurado no ERP com um mesmo CNPJ.



Determinar ou não uma filial principal, qual a diferença?


Para explicar este processo, vamos exemplificar. Imagine que temos configurado no ERP a empresa BR01 e as filiais 0001, 0002 e 0003, e as três filiais cadastradas estão vinculadas ao mesmo CNPJ de local de negócios (Você pode acessar essa configuração no ERP através de IMG > Componentes válidos para várias aplicações > Funções gerais de aplicação > Nota Fiscal > Locais de negócio CNPJ > Definir local de negócio).


Configuração Definir locais de negócio


Além disso, você precisa reportar o evento R-2010 do relatório EFD-Reinf no TDF.

  • Sem a definição de um CNPJ associado a um código de filial principal:


Considerando o exemplo acima, três eventos serão gerados no relatório EFD-Reinf do TDF, um para cada filial, conforme a tabela abaixo:







































Empresa Filial Período Tipo de Evento Status Id do Evento CNPJ da Filial
BR01 0001 05.2020 R-2010 Enviando ID1 12345678000109
BR01 0002 05.2020 R-2010 Enviando ID2 12345678000109
BR01 0003 05.2020 R-2010 Enviando ID3 12345678000109

Exemplo de envio de eventos sem a configuração de filial principal definida




  • Com a definição de um CNPJ associado a um código de filial principal:


A partir do mesmo exemplo acima, ao definir a filial 0001 como sendo a filial principal para o CNPJ 12345678000109, apenas um evento será gerado para a filial informada na configuração. Este evento processará todos os documentos associados a todos os códigos das filiais 0001, 0002 e 0003, já que os mesmos estão todos associados ao CNPJ 12345678000109, como é exibido na tabela abaixo:





















Empresa Filial Período Tipo de Evento Status Id do Evento CNPJ da Filial
BR01 0001 05.2020 R-2010 Enviando ID1 12345678000109

Exemplo do envio de eventos com a configuração de filial principal definida 



Como definir qual será o código da filial principal para um CNPJ específico?


Para definir um código de filial como filial principal, você precisará acessar a transação SPRO e preencher a configuração "Definir código de filial principal para as filiais com o mesmo CNPJ", conforme os passos e o gif abaixo:

Abra a transação SPRO > Selecione IMG referência SAP > Accounting > Tax Declaration Framework for Brazil > Relatório > EFD-Reinf > Definir código de filial principal para as filiais com o mesmo CNPJ.



Você deve preencher as seguintes informações:


Exemplo de preenchimento da configuração Definir código de filial principal para as filiais com o mesmo CNPJ




  • Código de inscrição da filial: Informe o CNPJ completo da filial;

  • Válido de: Informe o início da validade desta entrada; (Note que com os eventos gerados são periódicos, é importante que nesse campo seja informado o primeiro dia do mês que está sendo configurado);

  • Válido até: Informe o fim da validade desta entrada (Note que esse campo é opcional, ele só precisa ser preenchido, se uma nova entrada na parametrização para aquele CNPJ for feita);

  • Empresa: Informe o código da empresa;

  • Filial: Informe o código da filial principal que será informado na tela de seleção na geração dos eventos no relatório EFD-Reinf.


O que preciso fazer para habilitar a filial principal no meu sistema?



  • Você precisa implementar a SAP Note 2917209, atentando-se aos seus pré-requisitos.

  • Você também deve configurar a parametrização adequada, de acordo com as informações das suas filiais e os CNPJs correspondentes, como demonstrado acima.


Para quais eventos do relatório EFD-Reinf posso ter uma filial principal?


São suportados todos os eventos periódicos: R-2010, R-2020, R-2030, R-2040, R-2050 e R-2060 no relatório do EFD-Reinf no TDF.

Para mais informações sobre o relatório EFD-Reinf e o Messaging Framework, veja os seguintes blog posts e a página do TDF no SAP Help Portal:

Gostaríamos muito de saber o seu feedback. Deixe seu comentário abaixo caso tenha alguma dúvida ou sugestão para um próximo post. E não esqueça de seguir a tag SAP Tax Declaration Framework for Brazil aqui na SAP Community para ficar ligado nas últimas notícias sobre o Tax Declaration Framework (TDF).

Além dos comentários, você pode entrar em contato conosco através da plataforma Customer Influence. Lá você pode propor ideias para melhorar o nosso produto, votar em outras ideias já lançadas e acompanhar ideias em implementação.

Até a próxima!

Rodolfo Felipe Celante

Time de desenvolvimento do TDF

#SAPGoGlobal #SAPLocalization


 

***

 

TDF: How to generate and send events by determining a single main branch CNPJ in EFD-Reinf report 

Hi guys, 

In this post blog, you will find more details about how you can generate the periodic events of the EFD-Reinf report (transaction /TMF/REINF) in TDF by the CNPJ of the main branch via parameterization. 

This non-mandatory feature is valid for companies that have more than one branch code configured in ERP with the same CNPJ. 

  • Determine or not a main branch, what’s the difference? 


To explain this process, let’s illustrate it. Imagine that we have configured in ERP the company BR01 and branches 0001, 0002, and 0003, and the three registered branches are linked to the same CNPJ Business Place (You can access this configuration on ERP through IMG > Cross-Application Components > General Application Functions  > Nota fiscal  > CNPJ Business Places > Define Business Places).


Define Business Places configuration 


In addition, you need to report the R-2010 event of the EFD-Reinf report in TDF. 

  • Without definition of a CNPJ associated with a main branch code: 


Considering the example above, three events will be generated in the EFD-Reinf report of TDFone for each branch, according to the table below: 







































Company Branch Period Event Type Status Event ID Branch CNPJ
BR01 0001 05.2020 R-2010 Sending ID1 12345678000109
BR01 0002 05.2020 R-2010 Sending ID2 12345678000109
BR01 0003 05.2020 R-2010 Sending ID3 12345678000109

Example of events sending without the main branch configuration defined 




  • With the definition of a CNPJ associated with a main branch code: 


As of the same example above, when defining branch 0001 as the main branch for the CNPJ 12345678000109, only one event is generated for the branch entered in the configuration. This event will process all documents associated with all the codes of the branch 0001, 0002, and 0003, since they are all associated with the CNPJ 12345678000109, as shown in the table below: 





















Comany Branch Period Event Type Status Event ID Branch CNPJ
BR01 0001 05.2020 R-2010 Sending ID1 12345678000109

Example of events sending with the main branch configuration defined 




  • How to define what is the main branch code for a specific CNPJ? 


To define a branch code as the main branch, you need to access the SPRO transaction and fill in the "Define Main Branch Code for Branches with Same CNPJ" setting, according to the following steps and gif: 

Access the SPRO transaction > Select SAP Reference IMG > Accounting > Tax Declaration Framework for Brazil > Reporting > EFD-Reinf > Define Main Branch Code for Branches with the Same CNPJ


There, you can fill in the following information:


Example of values in the Define Main Branch Code for Branches with the Same CNPJ




  • Branch Registration Code: Enter the complete CNPJ of the branch; 

  • Valid From: Inform the start of validity of this entry (Note that as the generated events are periodic, it is important that in this field you inform the first day of the month that is being set up); 

  • Valid To: Inform the end of validity of this entry (Note that this field is optional - it only needs to be filled in if a new entry in the parameterization for that CNPJ is done); 

  • Company Code: Inform the company code; 

  • Branch: Inform the main branch code that will be informed on the selection screen when generating events in the EFD-Reinf report. 


What do I need to do to enable the main branch in my system?

You need to implement SAP Note 2917209, paying attention to its prerequisites. You also need to configure the appropriate parameterization, according to the information of your corresponding branches and CNPJs, as shown above. 

  • For which EFD-Reinf report events can I have a main branch? 


All periodic events are supported: R-2010, R-2020, R-2030, R-2040, R-2050, and R-2060 in the EFD-Reinf report in TDF. 

For more information about the EFD-Reinf report and Messaging Framework, see the following blog posts and the TDF page on the SAP Help Portal: 

We would like to know about your feedback. Leave your comment below if you have any questions or suggestions for a next post. And do not forget to follow the SAP Tax Declaration Framework for Brazil tag here on SAP Community to be linked to the latest news on the Tax Declaration Framework (TDF). 

In addition to comments, you can contact us through the Customer Influence platform. There you can propose ideas to improve our product, vote on other ideas that have already been posted and track ideas in implementation. 

 

See you next time! 

Rodolfo Felipe Celante 

TDF Development Team 

#SAPGoGlobal #SAPLocalization 



 

 
2 Comments
carina_cousseau2
Explorer
Excelente Rodolfo, super bem explicado!
rodolfo_celante
Employee
Employee
0 Kudos
Obrigado carina.cousseau2, qualquer dúvida sobre, estou à disposição.