diff --git a/.gitignore b/.gitignore
index 373d12df..074d9f52 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 b6e4150b..7d9ac6c9 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 07ad4164..7d567d99 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(