Skip to content

Commit 10741bf

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pynfe/processamento/comunicacao.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ def _cabecalho_soap(self, metodo):
362362
etree.SubElement(raiz, 'versaoDados').text = '1.01'
363363
elif metodo == 'NfeDownloadNF':
364364
etree.SubElement(raiz, 'versaoDados').text = '1.00'
365+
elif metodo == 'CadConsultaCadastro2':
366+
etree.SubElement(raiz, 'versaoDados').text = '2.00'
365367
else:
366368
etree.SubElement(raiz, 'versaoDados').text = VERSAO_PADRAO
367369
etree.SubElement(raiz, 'cUF').text = CODIGOS_ESTADOS[self.uf.upper()]

0 commit comments

Comments
 (0)