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(); }
private void button1_Click(object sender, EventArgs e) { WSmt StatusServ = new WSmt(); StatusServ.MontarXmlStatServ(); XmlEnv.Text = StatusServ.XmlEnv(); StatusServ.WsStatServ(); RetSefaz.Text = StatusServ.XmlRet(); }
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(); }
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(); }
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(); }