on 08-07-2015 12:59 PM
Bom dia.
Estou tentando entender o funcionamento do serviço de distribuição.
De acordo com a nota a abaixo, ao rodar o programa /XNFE/COLLECT_DOCUMENTS vai baixar a lista e consequentemente criar o evento Conhecimento da operação. E na próxima vez que rodar o programa /XNFE/COLLECT_DOCUMENTS vai baixar o XML automaticamente.
Ou seja, o serviço deveria baixar todos os XMLs então?
2131912 - KBA [3.10] Best practices for new distribution webservice of NF-e
For the Preprocess of NF-e Summary, there are three new steps (you can check the documentation for further details):
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.
At.,
Bernardo Braga
Bernardo, bom dia.
Pelo que testei aqui, a geração do Evento de Ciência de Operação ocorre de modo manual, seleiconando a NF-e no Monitor Fiscal e clicando em "Continuar Processo", para aquelas NF-e's incluídas no Processo "Preprocess of NF-e Summary". Isso apenas para as NF-e's cujo XML não conste em sua base do GRC.
Att.,
Baroni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Boa tarde Bernardo,
Seu entendimento está correto, esse é o funcionamento do programa agora.
Vale lembrar que vocês não devem executar o programa em um intervalo menor que 1 hora (por restrição da própria SEFAZ).
Após implementarmos e executarmos pelas primeiras vezes (e fazer com que o GRC/PI retornasse todo o histórico faltante até D-90 dias) tivemos alguns bloqueios para alguns CNPJs por tentar baixar muitos XMLs. Depois de algum tempo, voltou ao normal.
Essa é uma excelente funcionalidade e que atende muito bem aos usuários, principalmente se existem problemas na troca de arquivos B2B.
O que não pode acontecer é abandonar o relacionamento entre empresas e baixar 100% dos XMLs da SEFAZ, o que não é o propósito desse serviço.
Abs!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Bernardo, bom dia !
Sim, na segunda chamada do Web Service o governo vai disponibilizar todos os XMLs que você tiver feito a Ciência da Operação, inclusive aqueles que você já tiver recebido via B2B. Mas claro, que para evitar sobrecarga do banco, o GRC não considerará os XMLs que você já tiver em sua base.
Att.,
Vinícius Ferrari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.