Skip to content

Commit 596b3de

Browse files
author
Douglas Ausech
committed
ajuste na versao dados para consulta cadastro
1 parent 10741bf commit 596b3de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynfe/processamento/comunicacao.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def consultar_cadastro(self, modelo, ie, cnpj):
186186
else:
187187
url = self._get_url(modelo=modelo, consulta='CADASTRO')
188188

189-
raiz = etree.Element('ConsCad', versao=VERSAO_PADRAO, xmlns=NAMESPACE_NFE)
189+
raiz = etree.Element('ConsCad', versao='2.00', xmlns=NAMESPACE_NFE)
190190
info = etree.SubElement(raiz, 'infCons')
191191
etree.SubElement(info, 'xServ').text = 'CONS-CAD'
192192
etree.SubElement(info, 'UF').text = self.uf.upper()

0 commit comments

Comments
 (0)