Пример #1
0
 private void button1_Click_3(object sender, EventArgs e)
 {
     WSmt ConsNfe = new WSmt();
     ConsNfe.AssinandoXMLCanc(ConsNfe.MontarXmlCacNFe());
     ConsNfe.WsEnvCancNfe();
     XmlEnv.Text = ConsNfe.XmlEnv();
     RetSefaz.Text = ConsNfe.XmlRet();
 }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     WSmt StatusServ = new WSmt();
     StatusServ.MontarXmlStatServ();
     XmlEnv.Text = StatusServ.XmlEnv();
     StatusServ.WsStatServ();
     RetSefaz.Text = StatusServ.XmlRet();
 }
Пример #3
0
 private void ButMontNfe_Click(object sender, EventArgs e)
 {
     WSmt ConsNfe = new WSmt();
     ConsNfe.MontarXmlReciNFe(TxtChave.Text);
     ConsNfe.WsRecNfe();
     XmlEnv.Text = ConsNfe.XmlEnv();
     RetSefaz.Text = ConsNfe.XmlRet();
 }
Пример #4
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     MontarXmlNfe xml = new MontarXmlNfe();
     WSmt ConsNfe = new WSmt();
     ConsNfe.AssinandoXML(xml.MontarXmlEnvNfe());
     ConsNfe.WsEnvNfe();
     XmlEnv.Text = ConsNfe.XmlEnv();
     RetSefaz.Text = ConsNfe.XmlRet();
 }
Пример #5
0
        private void ButMontNfe_Click(object sender, EventArgs e)
        {
            WSmt ConsNfe = new WSmt();

            ConsNfe.MontarXmlReciNFe(TxtChave.Text);
            ConsNfe.WsRecNfe();
            XmlEnv.Text   = ConsNfe.XmlEnv();
            RetSefaz.Text = ConsNfe.XmlRet();
        }
Пример #6
0
 private void ButConsNfc_Click(object sender, EventArgs e)
 {
     WSmt ConsNfe = new WSmt();
     string chave = "5115107371514600019765065000003346199999999" + Convert.ToString(Funcoes.DigitoModulo11("5115107371514600019765065000003346199999999"));
        // MessageBox.Show(chave);
     ConsNfe.MontarXmlConsSit(chave);
     ConsNfe.WsConsNfe();
     XmlEnv.Text = ConsNfe.XmlEnv();
     RetSefaz.Text = ConsNfe.XmlRet();
 }
Пример #7
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            MontarXmlNfe xml     = new MontarXmlNfe();
            WSmt         ConsNfe = new WSmt();

            ConsNfe.AssinandoXML(xml.MontarXmlEnvNfe());
            ConsNfe.WsEnvNfe();
            XmlEnv.Text   = ConsNfe.XmlEnv();
            RetSefaz.Text = ConsNfe.XmlRet();
        }
Пример #8
0
        private void button1_Click(object sender, EventArgs e)

        {
            WSmt StatusServ = new WSmt();

            StatusServ.MontarXmlStatServ();
            XmlEnv.Text = StatusServ.XmlEnv();
            StatusServ.WsStatServ();
            RetSefaz.Text = StatusServ.XmlRet();
        }
Пример #9
0
        private void button1_Click_3(object sender, EventArgs e)

        {
            WSmt ConsNfe = new WSmt();

            ConsNfe.AssinandoXMLCanc(ConsNfe.MontarXmlCacNFe());
            ConsNfe.WsEnvCancNfe();
            XmlEnv.Text   = ConsNfe.XmlEnv();
            RetSefaz.Text = ConsNfe.XmlRet();
        }
Пример #10
0
        private void ButConsNfc_Click(object sender, EventArgs e)
        {
            WSmt   ConsNfe = new WSmt();
            string chave   = "5115107371514600019765065000003346199999999" + Convert.ToString(Funcoes.DigitoModulo11("5115107371514600019765065000003346199999999"));

            // MessageBox.Show(chave);
            ConsNfe.MontarXmlConsSit(chave);
            ConsNfe.WsConsNfe();
            XmlEnv.Text   = ConsNfe.XmlEnv();
            RetSefaz.Text = ConsNfe.XmlRet();
        }