Beispiel #1
0
        public override void ConsultarNfse(string file)
        {
            SDT_ConsultaProtocoloIn  oConsultaProtocolo = ReadXML <SDT_ConsultaProtocoloIn>(file);
            SDT_ConsultaProtocoloOut result             = service.CONSULTAPROTOCOLO(oConsultaProtocolo);

            string strResult = base.CreateXML(result);

            GerarRetorno(file, strResult, Propriedade.ExtEnvio.PedSitNfse, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitNFSe).RetornoXML);
        }
Beispiel #2
0
        public override void ConsultarLoteRps(string file)
        {
            SDT_ConsultaProtocoloIn       oConsultaLoteRps = ReadXML <SDT_ConsultaProtocoloIn>(file);
            SDT_ConsultaNotasProtocoloOut result           = service.CONSULTANOTASPROTOCOLO(oConsultaLoteRps);

            string strResult = base.CreateXML(result);

            GerarRetorno(file, strResult, Propriedade.ExtEnvio.PedLoteRps, Propriedade.ExtRetorno.RetLoteRps);
        }