Como identificar se o xml incompleto já foi manifestado Ciência ou não? #347
Closed
EduardoFerreira22
started this conversation in
General
Replies: 1 comment
-
@EduardoFerreira22 não tem como saber se um XML já foi manifestado ou não. Uma opção é você fazer uma nova manifestação e visualizar qual o tipo de retorno. Lembrando que você pode fazer mais de uma manifestação para uma mesma nota, por exemplo, você pode fazer uma ciência da operação e algum tempo depois para fazer uma manifestação de confirmação ou desconhecimento. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Como identificar se o xml incompleto já foi manifestado Ciência ou não?
Como identificar se o xml que veio incompleto, já está manifestado ou não?
Utilizei o código:
`
while True:
xml = con.consulta_distribuicao(cnpj=CPFCNPJ, chave=CHAVE, nsu=NSU)
print(f'Nova consulta a partir do NSU: {str(NSU).zfill(15)}')
buscar_sefaz()
`
Beta Was this translation helpful? Give feedback.
All reactions