Consulta de NF-e em lote #277
Closed
CalebePrates
started this conversation in
General
Replies: 2 comments 4 replies
-
Se sim, teria um exemplo? O arquivo com todas as chaves de notas que desejo consultar deve ser feito em qual extensão? Qual o tipo do retorno? Se puder clarear essas dúvidas |
Beta Was this translation helpful? Give feedback.
0 replies
-
@CalebePrates é só você colocar as consultas em um laço de repetição: chaves_nfe = ['chave_1', 'chave_2', 'etc']
con = ComunicacaoSefaz(uf, certificado, senha, homologacao)
for chave in chaves_nfe:
envio = con.consulta_nota('nfe', chave)
print (envio.text.encode('utf-8')) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Queria saber se existe a possibilidade de consultar NF-e em lote atualmente com essa bibliote. Procurei sobre o tópico na wiki e não achei sobre.
Beta Was this translation helpful? Give feedback.
All reactions