diff --git a/pytrustnfe/Servidores.py b/pytrustnfe/Servidores.py
index 7482c6f..543ca03 100644
--- a/pytrustnfe/Servidores.py
+++ b/pytrustnfe/Servidores.py
@@ -142,7 +142,7 @@ SVRS = {
WS_NFE_RECEPCAO_EVENTO: 'ws/recepcaoevento/recepcaoevento4.asmx?wsdl', # noqa
WS_NFE_AUTORIZACAO: 'ws/NfeAutorizacao/NFeAutorizacao4.asmx?wsdl',
WS_NFE_RET_AUTORIZACAO: 'ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx?wsdl', # noqa
- WS_NFE_CADASTRO: 'ws/cadconsultacadastro/cadconsultacadastro2.asmx?wsdl', # noqa
+ WS_NFE_CADASTRO: 'ws/cadconsultacadastro/cadconsultacadastro4.asmx?wsdl', # noqa
}
},
NFCE_MODELO: {
diff --git a/pytrustnfe/nfe/templates/NfeAutorizacao.xml b/pytrustnfe/nfe/templates/NfeAutorizacao.xml
index 0eb2e3c..0efd5cd 100644
--- a/pytrustnfe/nfe/templates/NfeAutorizacao.xml
+++ b/pytrustnfe/nfe/templates/NfeAutorizacao.xml
@@ -27,7 +27,7 @@
{{ ide.indFinal }}
{{ ide.indPres }}
{{ ide.procEmi }}
- Odoo Brasil 10
+ {{ ide.verProc }}
{% if ide.NFref is defined -%}
{% for ref in ide.NFref %}
@@ -259,9 +259,7 @@
{% endfor %}
{% endif %}
- {% if NFe.infNFe.compra is defined %}
- {{ NFe.infNFe.compra.xPed }}
- {% endif %}
+ {{ prod.xPed }}
{{ prod.nItemPed }}
{{ prod.nFCI }}
{% for rastro in prod.rastro %}