private XmlNode outrasReceitas() { XmlElement e = XmlDoc.CreateElement("outrasReceitas"); e.AppendChild(CreateElement("tpReceita", this.tpReceita)); e.AppendChild(CreateElement("vlrReceita", FormatadorReinf.FormatarMoeda(this.vlrReceita))); e.AppendChild(CreateElement("descReceita", this.descReceita)); return(e); }
private XmlNode infoRecurso() { XmlElement e = XmlDoc.CreateElement("infoRecurso"); e.AppendChild(CreateElement("tpRepasse", this.tpRepasse)); e.AppendChild(CreateElement("descRecurso", this.descRecurso)); e.AppendChild(CreateElement("vlrBruto", FormatadorReinf.FormatarMoeda(this.vlrBruto))); e.AppendChild(CreateElement("vlrRetApur", FormatadorReinf.FormatarMoeda(this.vlrRetApur))); return(e); }
private XmlNode tipoCom() { XmlElement e = XmlDoc.CreateElement("tipoCom"); e.AppendChild(CreateElement("indCom", this.indCom)); e.AppendChild(CreateElement("vlrRecBruta", FormatadorReinf.FormatarMoeda(this.vlrRecBruta))); e.AppendChild(infoProc()); return(e); }
private XmlNode infoProc() { XmlElement e = XmlDoc.CreateElement("infoProc"); e.AppendChild(CreateElement("tpProc", this.tpProc)); e.AppendChild(CreateElement("nrProc", this.nrProc)); //Este campo deve ser utilizado se, num mesmo processo //e.AppendChild(CreateElement("codSusp", this.codSusp)); e.AppendChild(CreateElement("vlrNRet", FormatadorReinf.FormatarMoeda(this.vlrNRet))); return(e); }
private XmlNode recursosRep() { XmlElement e = XmlDoc.CreateElement("recursosRep"); e.AppendChild(CreateElement("cnpjAssocDesp", this.cnpjAssocDesp)); e.AppendChild(CreateElement("vlrTotalRep", FormatadorReinf.FormatarMoeda(this.vlrTotalRep))); e.AppendChild(CreateElement("vlrTotalRet", FormatadorReinf.FormatarMoeda(this.vlrTotalRet))); e.AppendChild(CreateElement("vlrTotalNRet", FormatadorReinf.FormatarMoeda(this.vlrTotalNRet))); e.AppendChild(infoProc()); return(e); }
private XmlNode infoProc() { XmlElement e = XmlDoc.CreateElement("infoProc"); e.AppendChild(CreateElement("tpProc", this.tpProc)); e.AppendChild(CreateElement("nrProc", this.nrProc)); //e.AppendChild(CreateElement("codSusp", this.codSusp)); e.AppendChild(CreateElement("vlrCPSusp", FormatadorReinf.FormatarMoeda(this.vlrCPSusp))); return(e); }
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); }
private XmlNode receitaTotal() { XmlElement e = XmlDoc.CreateElement("receitaTotal"); e.AppendChild(CreateElement("vlrReceitaTotal", FormatadorReinf.FormatarMoeda(this.vlrReceitaTotal))); e.AppendChild(CreateElement("vlrCP", FormatadorReinf.FormatarMoeda(this.vlrCP))); e.AppendChild(CreateElement("vlrCPSuspTotal", FormatadorReinf.FormatarMoeda(this.vlrCPSuspTotal))); e.AppendChild(CreateElement("vlrCPSuspTotal", FormatadorReinf.FormatarMoeda(this.vlrReceitaClubes))); e.AppendChild(CreateElement("vlrCPSuspTotal", FormatadorReinf.FormatarMoeda(this.vlrRetParc))); e.AppendChild(infoProc()); return(e); }
private XmlNode nfs() { XmlElement e = XmlDoc.CreateElement("nfs"); e.AppendChild(CreateElement("serie", this.serie)); e.AppendChild(CreateElement("numDocto", this.numDocto)); e.AppendChild(CreateElement("dtEmissaoNF", FormatadorReinf.FormatarData(this.dtEmissaoNF))); e.AppendChild(CreateElement("vlrBruto", FormatadorReinf.FormatarMoeda(this.vlrBruto))); e.AppendChild(CreateElement("obs", this.obs)); e.AppendChild(infoTpServ()); return(e); }
//private XmlNode operacao() //{ // XmlElement e = XmlDoc.CreateElement(this.Operacao.ToString().ToLower()); // e.AppendChild(ideEstabObra()); // if (this.Operacao != Enumeracoes.OperacoesREINF.EXCLUSAO) // { // e.AppendChild(idePrestServ()); // if (this.Operacao == Enumeracoes.OperacoesREINF.ALTERACAO) // e.AppendChild(novaValidade()); // } // return e; //} private XmlNode ideEstab() { XmlElement e = XmlDoc.CreateElement("ideEstab"); e.AppendChild(CreateElement("tpInscEstab", this.tpInscEstab)); e.AppendChild(CreateElement("nrInscEstab", this.nrInscEstab)); e.AppendChild(CreateElement("vlrRecBrutaTotal", FormatadorReinf.FormatarMoeda(this.vlrRecBrutaTotal))); e.AppendChild(CreateElement("vlrCPApurTotal", FormatadorReinf.FormatarMoeda(this.vlrCPApurTotal))); e.AppendChild(CreateElement("vlrCPRBSuspTotal", FormatadorReinf.FormatarMoeda(this.vlrCPRBSuspTotal))); e.AppendChild(tipoCod()); return(e); }
private XmlNode receitaIngressos() { XmlElement e = XmlDoc.CreateElement("receitaIngressos"); e.AppendChild(CreateElement("tpIngresso", this.tpIngresso)); e.AppendChild(CreateElement("descIngr", this.descIngr)); e.AppendChild(CreateElement("qtdeIngrVenda", this.qtdeIngrVenda)); e.AppendChild(CreateElement("qtdeIngrVendidos", this.qtdeIngrVendidos)); e.AppendChild(CreateElement("qtdeIngrDev", this.qtdeIngrDev)); e.AppendChild(CreateElement("precoIndiv", FormatadorReinf.FormatarMoeda(this.precoIndiv))); e.AppendChild(CreateElement("vlrTotal", FormatadorReinf.FormatarMoeda(this.vlrTotal))); return(e); }
//private XmlNode operacao() //{ // XmlElement e = XmlDoc.CreateElement(this.Operacao.ToString().ToLower()); // e.AppendChild(ideEstabObra()); // if (this.Operacao != Enumeracoes.OperacoesREINF.EXCLUSAO) // { // e.AppendChild(idePrestServ()); // if (this.Operacao == Enumeracoes.OperacoesREINF.ALTERACAO) // e.AppendChild(novaValidade()); // } // return e; //} //private XmlNode ideEstab() //{ // XmlElement e = XmlDoc.CreateElement("ideEstab"); // e.AppendChild(CreateElement("tpInscEstab", this.tpInscEstab)); // e.AppendChild(CreateElement("nrInscEstab", this.nrInscEstab)); // e.AppendChild(recursosRec()); // return e; //} private XmlNode recursosRec() { XmlElement e = XmlDoc.CreateElement("recursosRec"); e.AppendChild(CreateElement("cnpjOrigRecurso", this.cnpjOrigRecurso)); e.AppendChild(CreateElement("vlrTotalRec", FormatadorReinf.FormatarMoeda(this.vlrTotalRec))); e.AppendChild(CreateElement("vlrTotalRet", FormatadorReinf.FormatarMoeda(this.vlrTotalRet))); e.AppendChild(CreateElement("vlrTotalNRet", FormatadorReinf.FormatarMoeda(this.vlrTotalNRet))); e.AppendChild(infoRecurso()); e.AppendChild(infoProc()); //e.AppendChild(infoProcRetAd()); return(e); }
private XmlNode tipoCod() { XmlElement e = XmlDoc.CreateElement("tipoCod"); e.AppendChild(CreateElement("codAtivEcon", this.codAtivEcon)); e.AppendChild(CreateElement("vlrRecBrutaAtiv", FormatadorReinf.FormatarMoeda(this.vlrRecBrutaAtiv))); e.AppendChild(CreateElement("vlrExcRecBruta", FormatadorReinf.FormatarMoeda(this.vlrExcRecBruta))); e.AppendChild(CreateElement("vlrAdicRecBruta", FormatadorReinf.FormatarMoeda(this.vlrAdicRecBruta))); e.AppendChild(CreateElement("vlrBcCPRB", FormatadorReinf.FormatarMoeda(this.vlrBcCPRB))); e.AppendChild(CreateElement("vlrCPRBapur", FormatadorReinf.FormatarMoeda(this.vlrCPRBapur))); e.AppendChild(tipoAjuste()); e.AppendChild(infoProc()); return(e); }
private XmlNode infoTpServ() { XmlElement e = XmlDoc.CreateElement("infoTpServ"); e.AppendChild(CreateElement("tpServico", this.tpServico)); e.AppendChild(CreateElement("vlrBaseRet", FormatadorReinf.FormatarMoeda(this.vlrBaseRet))); e.AppendChild(CreateElement("vlrRetencao", this.vlrRetencao)); e.AppendChild(CreateElement("vlrRetSub", FormatadorReinf.FormatarMoeda(this.vlrRetSub))); e.AppendChild(CreateElement("vlrNRetPrinc", this.vlrNRetPrinc)); e.AppendChild(CreateElement("vlrServicos15", FormatadorReinf.FormatarMoeda(this.vlrServicos15))); e.AppendChild(CreateElement("vlrServicos20", FormatadorReinf.FormatarMoeda(this.vlrServicos20))); e.AppendChild(CreateElement("vlrServicos25", FormatadorReinf.FormatarMoeda(this.vlrServicos25))); e.AppendChild(CreateElement("vlrAdicional", FormatadorReinf.FormatarMoeda(this.vlrAdicional))); e.AppendChild(CreateElement("vlrNRetAdic", FormatadorReinf.FormatarMoeda(this.vlrNRetAdic))); return(e); }
private XmlNode idePrestServ() { XmlElement e = XmlDoc.CreateElement("idePrestServ"); e.AppendChild(CreateElement("cnpjPrestador", this.cnpjPrestador)); e.AppendChild(CreateElement("vlrTotalBruto", FormatadorReinf.FormatarMoeda(this.vlrTotalBruto))); e.AppendChild(CreateElement("vlrTotalBaseRet", FormatadorReinf.FormatarMoeda(this.vlrTotalBaseRet))); e.AppendChild(CreateElement("vlrTotalRetPrinc", FormatadorReinf.FormatarMoeda(this.vlrTotalRetPrinc))); e.AppendChild(CreateElement("vlrTotalRetAdic", FormatadorReinf.FormatarMoeda(this.vlrTotalRetAdic))); e.AppendChild(CreateElement("vlrTotalNRetPrinc", FormatadorReinf.FormatarMoeda(this.vlrTotalNRetPrinc))); e.AppendChild(CreateElement("vlrTotalNRetAdic", FormatadorReinf.FormatarMoeda(this.vlrTotalNRetAdic))); e.AppendChild(CreateElement("indCPRB", this.indCPRB)); e.AppendChild(nfs()); e.AppendChild(infoProcRetPr()); e.AppendChild(infoProcRetAd()); return(e); }