예제 #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();
        }