示例#1
0
        protected virtual XmlNode ideEvento()
        {
            XmlElement e = XmlDoc.CreateElement("ideEvento");

            e.AppendChild(CreateElement("perApur", FormatadorReinf.FormatarMesAno(this.perApur)));
            return(e);
        }
示例#2
0
        private XmlNode novaValidade()
        {
            XmlElement e = XmlDoc.CreateElement("novaValidade");

            e.AppendChild(CreateElement("iniValid", FormatadorReinf.FormatarMesAno(this.NovoMesAnoInicioValidade)));
            if (this.NovoMesAnoFimValidade > DateTime.MinValue)
            {
                e.AppendChild(CreateElement("fimValid", FormatadorReinf.FormatarMesAno(this.NovoMesAnoFimValidade)));
            }
            return(e);
        }
示例#3
0
        private XmlNode tipoAjuste()
        {
            XmlElement e = XmlDoc.CreateElement("tipoAjuste");

            e.AppendChild(CreateElement("tpAjuste", this.tpAjuste));
            e.AppendChild(CreateElement("codAjuste", this.codAjuste));
            e.AppendChild(CreateElement("vlrAjuste", FormatadorReinf.FormatarMoeda(this.vlrAjuste)));
            e.AppendChild(CreateElement("descAjuste", this.descAjuste));
            e.AppendChild(CreateElement("dtAjuste", FormatadorReinf.FormatarMesAno(this._dtAjuste)));

            return(e);
        }
示例#4
0
        protected override XmlNode infoFech()
        {
            XmlElement e = XmlDoc.CreateElement("infoFech");

            e.AppendChild(CreateElement("evtServTm", this.evtServTm));
            e.AppendChild(CreateElement("evtServPr", this.evtServPr));
            e.AppendChild(CreateElement("evtAssDespRec", this.evtAssDespRec));
            e.AppendChild(CreateElement("evtAssDespRep", this.evtAssDespRep));
            e.AppendChild(CreateElement("evtComProd", this.evtComProd));
            e.AppendChild(CreateElement("evtCPRB", this.evtCPRB));
            e.AppendChild(CreateElement("evtPgtos", this.evtPgtos));
            e.AppendChild(CreateElement("compSemMovto", FormatadorReinf.FormatarMesAno(this.compSemMovto)));

            return(e);
        }
示例#5
0
        protected virtual XmlNode ideEvento()
        {
            XmlElement e = XmlDoc.CreateElement("ideEvento");

            e.AppendChild(CreateElement("indRetif", this.indRetif));

            //Preencher com o número do recibo do arquivo a ser retificado.
            //Validação: O preenchimento é obrigatório se { indRetif } = [2]
            //e.AppendChild(CreateElement("nrRecibo", this.nrRecibo));

            e.AppendChild(CreateElement("perApur", FormatadorReinf.FormatarMesAno(this.perApur)));
            e.AppendChild(CreateElement("tpAmb", ((int)this.Ambiente).ToString()));
            e.AppendChild(CreateElement("procEmi", APLICATIVO_DO_CONTRIBUINTE));
            e.AppendChild(CreateElement("verProc", this.VersaoProcesso));

            return(e);
        }
示例#6
0
        private XmlNode ideProcesso()
        {
            XmlElement e = XmlDoc.CreateElement("ideProcesso");

            e.AppendChild(CreateElement("tpProc", this.TipoDeProcesso));
            e.AppendChild(CreateElement("nrProc", this.NumeroProcesso));
            e.AppendChild(CreateElement("iniValid", FormatadorReinf.FormatarMesAno(this.MesAnoInicioValidade)));
            if (this.MesAnoFimValidade > DateTime.MinValue)
            {
                e.AppendChild(CreateElement("fimValid", FormatadorReinf.FormatarMesAno(this.MesAnoFimValidade)));
            }
            e.AppendChild(CreateElement("indAutoria", this.IndicativoAuditoria));

            e.AppendChild(infoSusp());

            return(e);
        }