Example #1
0
        public override void ConsultarNfse(string file)
        {
            tcDadosConsultaNota oTcDadosPrestador = ReadXML <tcDadosConsultaNota>(file);

            tcEstruturaDescricaoErros[] tcErros = null;
            string strResult = service.ConsultarNotaValida(oTcDadosPrestador, out tcErros).ToString();

            GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitNFSe).EnvioXML,
                         Propriedade.Extensao(Propriedade.TipoEnvio.PedSitNFSe).RetornoXML);
        }
Example #2
0
        public override void ConsultarLoteRps(string file)
        {
            tcDadosConsultaNota oTcDadosPrestador = ReadXML <tcDadosConsultaNota>(file);

            tcEstruturaDescricaoErros[] tcErros = null;
            tcRetornoNota result    = service.ConsultarNotaValida(oTcDadosPrestador, out tcErros);
            string        strResult = base.CreateXML(result, tcErros);

            GerarRetorno(file, strResult, Propriedade.ExtEnvio.PedSitNfse, Propriedade.ExtRetorno.SitNfse);
        }
Example #3
0
        public override void ConsultarLoteRps(string file)
        {
            tcDadosConsultaNota oTcDadosConsultaNota = ReadXML <tcDadosConsultaNota>(file);

            tcEstruturaDescricaoErros[] tcErros = null;
            tcRetornoNota result    = service.ConsultarNotaValida(oTcDadosConsultaNota, out tcErros);
            string        strResult = base.CreateXML(result, tcErros);

            GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedLoteRps).EnvioXML,
                         Propriedade.Extensao(Propriedade.TipoEnvio.PedLoteRps).RetornoXML);
        }