Ir para conteúdo
  • Cadastre-se

cgcesar

Membros Pro
  • Total de ítens

    395
  • Registro em

  • Última visita

Posts postados por cgcesar

  1. bom dia!

    Estou testando a rotina de cancelamento com substituição e percebi que a mesmo esta retornando erra o status. Tenho o seguinte fonte :

                   if ((ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.tpEvento = teCancSubst) OR
                      (ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.tpEvento = teCancelamento) OR
                      (ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.TipoEvento = '110112') OR
                      (ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.TipoEvento = '110111')) then
                  begin

    onde o tipo de evento retorno "110112'" que esta correto já a property .tpEvento esta retornando teEncerramento.

  2. Não estou conseguindo pegar o protocolo de cancelamento desse jeito

                for Contador := 0 to ACBrNFe1.WebServices.Consulta.procEventoNFe.Count -1 do
                begin
                  if ((ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.tpEvento = teCancSubst) OR
                      (ACBrNFe1.WebServices.Consulta.procEventoNFe.Items[Contador].RetEventoNFe.InfEvento.tpEvento = teCancelamento)) then
                  begin
                    if ACBrNFe1.WebServices.Consulta.procEventoNFe[Contador].RetEventoNFe.retEvento.Count > 0 then
                    begin
                       edtComandos.Lines.Add('ok');
                      nProtCanc   := ACBrNFe1.WebServices.Consulta.procEventoNFe[Contador].RetEventoNFe.retEvento.Items[0].RetInfEvento.nProt;
                      dhRectoCanc := ACBrNFe1.WebServices.Consulta.procEventoNFe[Contador].RetEventoNFe.retEvento.Items[0].RetInfEvento.dhRegEvento;
                      xMotivo     := ACBrNFe1.WebServices.Consulta.procEventoNFe[Contador].RetEventoNFe.retEvento.Items[0].RetInfEvento.xMotivo;
                    end;
                  end;
                end;
     

    alguem pode me ajudar

  3. Bom dia Italo,

    Ao desativa essa linha no aquivo ACBrNFeServicos.ini o sistema funciona corretamente.

     

    [NFe_SVC-RS_H]
    NfeAutorizacao_3.10=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao.asmx
    NFeRetAutorizacao_3.10=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao.asmx
    NfeInutilizacao_3.10=https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao2.asmx
    NfeConsultaProtocolo_3.10=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta2.asmx
    NfeStatusServico_3.10=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx
    RecepcaoEvento_1.00=https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento.asmx
    NfeConsultaProtocolo_4.00=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx
    NfeStatusServico_4.00=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx
    ;RecepcaoEvento_4.00=https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx
    NFeAutorizacao_4.00=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx
    NFeRetAutorizacao_4.00=https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx

  4. Bom dia!

    Alguém no grupo já conseguiu enviar o cancelamento da NFC-e com campo chNFeRef  ou só esta dando esse erra na Bahia. Entrei em contato com a SEFAZ e me informarão que não tem nenhum problema na SEFAZ.

     

    Rejeicao: UF nao atendida pela SVC-RS

    ACBrNFe1.Configuracoes.Geral.FormaEmissao := teNormal;

×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...