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


Olá,

Recentemente a nota 3225801 foi liberada, tornando possível o suporte a múltiplos CT-es na ficha de CIAP. Neste blog post, vamos explicar as atualizações que foram realizadas na solução em virtude dessas alterações.

O blog post anterior continua atualizado. Para inserir mais de um CT-e em uma ficha de CIAP basta referenciar a nota fiscal que você criou a ficha na aba de CT-e (conforme ilustrado na imagem abaixo):


Fig. 1. Vínculo do CT-e com a nota fiscal que criou a ficha de CIAP.


Após a entrada dos documentos de CT-e, uma parcela do tipo F (Frete) será criada para cada frete:


Fig. 2. Ficha de CIAP com 2 fretes.


A aba de documentos relacionados foi atualizada para mostrar todos os CT-es que estão vinculados a esta ficha, juntamente com o valor dos impostos relacionados a CIAP de cada nota fiscal que compõe a ficha.


Fig. 3. Alterações feita na aba de Documentos Relacionados.


Estes valores estão sendo salvos na tabela CIAP_D_NF. Como novos campos de tabela foram criados e o processo de CT-e foi alterado, a ficha previamente criada vai ter uma nova versão(7.0.0).Os clientes que aplicarem a nota 3225801 terão que executar o processo de migração para alterar as fichas correntes. Esse processo de migração irá atualizar todas as fichas de CIAP criadas antes dessa nota para a nova versão. Caso esse processo não seja executado, as fichas com a versão antiga não poderão ser acessadas após a aplicação da nota. Adicionalmente, a solução SAP TDF EFD também precisou ser alterada para suportar múltiplos CT-es. As alterações pertinentes ao SPED EFD serão descritas na sessão abaixo.

Alterações no SPED EFD ICMS IPI


Além da nota descrita acima, para solução do SAP TDF EFD funcionar com essa alteração, a nota 3165820 também deve ser aplicada.

A nota 3165820 altera o comportamento das tabelas complementares relacionadas ao registro G130 e G140. Os clientes que utilizam estas tabelas vão precisar ajustar suas implementações para suportar as alterações da nota 3165820. Para os clientes que não utilizam as tabelas complementares para reportar o CIAP, nenhuma ação será necessária após aplicar a nota.

A tabela complementar /TMF/D_CIAP_MOV teve os seguintes campos obsoletados: QUANTIDADE e UNIDADE. Uma nova tabela (/TMF/D_CIAP_NF_I) foi criada para representar as notas fiscais que devem ser reportadas nos blocos G130 e G140.


Fig. 4. Nova tabela complementar criada.


O preenchimento da tabela /TMF/D_CIAP_MOV pode continuar o mesmo, apenas removendo o preenchimento dos campos obsoletos. Para cada nota fiscal que deverá ser reportada no bloco G, uma entrada nova será necessária na tabela complementar /TMF/D_CIAP_NF_I. No caso da imagem abaixo, três entradas podem ser criadas:

  • Uma referente a nota fiscal que criou a ficha;

  • Uma entrada referente a cada CT-e.


Fig. 5. Exemplo de arquivo do EFD com mais de um CT-e para uma ficha de CIAP.


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).

Até a próxima!

Rodolfo Felipe Celante

Time de desenvolvimento do TDF

 

________________________________________________________________________________

 

Hello,

Recently, the note 3225801 has been released, making it possible to support multiple CT-es in the CIAP record. In this blog post, we will explain the updates that have been made to the solution due to these changes.

The previous blog post remains updated. To enter more than one CT-e in a CIAP tab, simply reference the nota fiscal that you created in the tab on the CT-e tab (as illustrated in the figure below):


Fig. 1. Link of the CT-e with the nota fiscal that created the CIAP record.


After entering of the CT-e documents, a parcel of type F (Freight) will be created for each freight:


Fig. 2. CIAP record with 2 freights.


The related documents tab has been updated to show all CT-es that are linked to this tab, along with the CIAP related tax amount of each nota fiscal that makes up the record.


Fig. 3. Changes made on the Related Documents tab.


These values are being saved in table CIAP_D_NF. As new table fields have been created and the CT-e process has changed, the previously created tab will have a new version(7.0.0). Customers applying note 3225801 will have to run the migration process to change the current records. This migration process will update all CIAP records created before this note to the new version. In case this process is not executed, the tabs with the old version cannot be accessed after applying the note.  Additionally, the SAP TDF EFD solution also had to be changed to support multiple CT-es. Relevant changes to the SPED EFD will be described in the session below.

Changes in SPED EFD ICMS IPI


In addition to the note described above, for the SAP TDF EFD solution to work with this change, note 3165820 must also be applied.

Note 3165820 alters the behavior of the complementary tables related to register G130 and G140. Customers using these tables will need to adjust their implementations to support the changes in note 3165820. For customers who do not use the complementary tables to report to CIAP, no action is required after applying the note.

The complementary table /TMF/D_CIAP_MOV had the following obsolete fields: QUANTITY and UNIT. A new table (/TMF/D_CIAP_NF_I) has been created to represent the notas fiscais that should be reported in the G130 and G140 tiles.


Fig. 4. New complementary table created.


Filling of table /TMF/D_CIAP_MOV can continue the same, only removing the filling of the obsolete fields. For each nota fiscal that is to be reported in block G, a new entry will be required in the complementary table /TMF/D_CIAP_NF_I. In the case of the image below, three entries can be created:

  • One referring to the invoice that was created in the tab;

  • One entry referring to each CT-e.



Fig. 5. Example EFD file with more than one CT-e for a CIAP record.


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

See you next time!

Rodolfo Felipe Celante

TDF Development Team