From 19fcda59e7917afe478fd6e1c352ec72d615a6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Luna?= Date: Thu, 10 Jun 2021 19:57:43 -0300 Subject: [PATCH] [IMP] NT2020-006 Adiciona nova tag para adequar a NT2020-006 https://www.nfe.fazenda.gov.br/portal/exibirArquivo.aspx?conteudo=olkYgvQ3E7o= --- .gitignore | 4 +++- pytrustnfe/nfe/templates/NfeAutorizacao.xml | 6 ++++++ setup.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 373d12d..074d9f5 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ docs/_build *.pfx sent_xml.xml received_xml.xml -nfse-exemplo.py \ No newline at end of file +nfse-exemplo.py +.vim/* +.venv/* diff --git a/pytrustnfe/nfe/templates/NfeAutorizacao.xml b/pytrustnfe/nfe/templates/NfeAutorizacao.xml index b6e4150..7d9ac6c 100644 --- a/pytrustnfe/nfe/templates/NfeAutorizacao.xml +++ b/pytrustnfe/nfe/templates/NfeAutorizacao.xml @@ -878,6 +878,12 @@ {% endfor %} {% endif %} + {% if NFe.infNFe.infIntermed is defined %} + + {{ NFe.infNFe.infIntermed.CNPJ }} + {{ NFe.infNFe.infIntermed.idCadIntTran }} + + {% endif %} {{ NFe.infNFe.infAdic.infAdFisco|normalize|escape }} {{ NFe.infNFe.infAdic.infCpl|normalize|escape }} diff --git a/setup.py b/setup.py index 07ad416..7d567d9 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION = "1.0.58" +VERSION = "1.0.59" setup(