cancel
Showing results for 
Search instead for 
Did you mean: 

Nova Distribuição Serviço Web (NFeDistribuicaoDFe)

kkoetter
Participant

Dear all,

please excuse the bad portugese, it was translated bei google, the original english version is below.

Implementamos o novo webservice de distribuição com a SAP Nota Fiscal Eletrônica (versão 10.0, SP 21).

Citação de 2131912 - KBA [3.10] Best practices for new distribution webservice of NF-e:

If this event is authorized, then this preprocessing will be set to completed. Then, on the next time program /XNFE/COLLECT_DOCUMENTS runs, SEFAZ should return the complete XML file for those NF-es in which the operation acknowledgement event is authorized, and the process will be then redetermined, and the same happens when receiving this via B2B. If the XML file is received via B2B in the meantime, the first one will be processed and the other one will be ignored.


Infelizmente, o download automático não funciona.

O OpertationAcknowledgment está autorizada, mas, em seguida, o processo não está em movimento, o download automático não é acionado.


A fim de obter as completos NF-es temos que usar o "Enter DANFE" funcionalidade. Em seguida, pegue o documento completo acabar com a nova determinação do processo é desencadeado.


O que eu estou ausente?


Desde já, obrigado!


---------------------------------------------------------------------------------


We implemented the new distribution webservice with SAP Nota Fiscal Electronica (Version 10.0, SP 21).

Quotation from SAP Note 2131912 - KBA [3.10] Best practices for new distribution webservice of NF-e:

If this event is authorized, then this preprocessing will be set to completed. Then, on the next time program /XNFE/COLLECT_DOCUMENTS runs, SEFAZ should return the complete XML file for those NF-es in which the operation acknowledgement event is authorized, and the process will be then redetermined, and the same happens when receiving this via B2B. If the XML file is received via B2B in the meantime, the first one will be processed and the other one will be ignored.

Unfortunately the automatic download doesn't work.

The OpertationAcknowledgment is authorized, but then the process is not moving, the automatic download is not triggered.

In order to get the complete NF-es we have to use the "Enter DANFE" functionality. Then we get the complete document end the the process redetermination is triggered.

What am I missing?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

kkoetter
Participant
0 Kudos

Isso parece estranho



Renan_Correa
Active Contributor
0 Kudos

Oir Karsten,

Esse código está desatualizado. Se o problema está ocorrendo nesse ponto implemente a nota 2182892 - Name of schema changed in distribution web service.

att,

Renan Correa

kkoetter
Participant
0 Kudos

Olá Renan,

que resolveu o problema!


att,

Karsten

dmarques_der
Discoverer
0 Kudos

Boa tarde!

Estou com esse mesmo problema, de forma intermitente, algumas NFs ficam pressas no processo preprsum e não avançam com o download do XML após a segunda rodada do collect. Sem erros no monitor de eventos ou no XI monitor.

Pode compartilhar o que solucionou seu problema? Aqui estamos no 10.0 SP 32.

Abs!

Answers (1)

Answers (1)

leandropia
Contributor
0 Kudos

Karsten;

Quando o Job COLLECT_DOCUMENTS é executado, o que aparece no log na transacao SXMB_MONI no client do PI e no Client NFe?

Talvez seja possivel verificar o erro analizando o log na SXMB_MONI.

Passa mais algumas informações para que possamos verificar.

Para fazer o Download do XML, certifique-se é claro que alguem emitiu um XML para o CNPJ da sua empresa.. e verifique a configuracao dos 3 cenários abaixo:


NFEDI_WebAS_Outbound_NFeList

NFEDL_WebAS_Outbound_NfeDownloadRequest

EVENT_OPPRG_WebAS_Outbound_EventOperationProgressRequest


Veja se os webservices estão corretos, endereços de Homologacao:

Ambiente Nacional - (AN)

Serviço

Versão

URL

RecepcaoEvento

  1. 1.00

https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx

NFeDistribuicaoDFe

  1. 1.00

https://hom.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx

NfeDownloadNF

  1. 2.00 / 3.10

https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx

Ats

Leandro da Pia Nascimento

kkoetter
Participant
0 Kudos

Leandro,

os cenários a seguir são configuradas no PO (Java ony):

EVENT_AEX_WebAS_Outbound_EventReceipt

NFEDI_AEX_WebAS_Outbound_NFeDist

NFEDL_AEX_WebAS_Outbound_NFeDownloadRequest_SYNC


Aqui está uma imagem do Fiscal Monitor:


O processo está preso, nenhum download XML e processo redetermination automática. Embora o evento está autorizado.


O programa / XNFE / COLLECT_DOCUMENTS está em execução:


Não temos erros no SXMB_MONI.


Qualquer idéia?


ats,

Karsten