diff --git a/pytrustnfe/nfe/templates/NfeAutorizacao.xml b/pytrustnfe/nfe/templates/NfeAutorizacao.xml
index 0eb2e3c..84dc8f5 100644
--- a/pytrustnfe/nfe/templates/NfeAutorizacao.xml
+++ b/pytrustnfe/nfe/templates/NfeAutorizacao.xml
@@ -28,6 +28,10 @@
{{ ide.indPres }}
{{ ide.procEmi }}
Odoo Brasil 10
+ {% if ide.tpEmis != 1 %}
+ {{ ide.dhCont }}
+ {{ ide.xJust }}
+ {% endif %}
{% if ide.NFref is defined -%}
{% for ref in ide.NFref %}
diff --git a/setup.py b/setup.py
index 84578c5..9bb22a2 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
from setuptools import setup, find_packages
-VERSION = "1.0.40"
+VERSION = "1.0.41"
setup(