diff --git a/pytrustnfe/Servidores.py b/pytrustnfe/Servidores.py
index 9e1ec27..e9c4d1b 100644
--- a/pytrustnfe/Servidores.py
+++ b/pytrustnfe/Servidores.py
@@ -140,7 +140,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 17b3316..bcc49cf 100644
--- a/pytrustnfe/nfe/templates/NfeAutorizacao.xml
+++ b/pytrustnfe/nfe/templates/NfeAutorizacao.xml
@@ -28,7 +28,7 @@
{{ ide.indPres }}
{{ ide.indIntermed }}
{{ ide.procEmi }}
- Odoo Brasil 10
+ {{ ide.verProc }}
{% if ide.NFref is defined -%}
{% for ref in ide.NFref %}
@@ -260,9 +260,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 %}