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); }
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]. //Deve ser um recibo de entrega válido, correspondente ao arquivo objeto da //retificação. //e.AppendChild(CreateElement("nrRecibo", this.nrRecibo)); e.AppendChild(CreateElement("dtApuracao", FormatadorReinf.FormatarData(this.dtApuracao))); e.AppendChild(CreateElement("tpAmb", ((int)this.Ambiente).ToString())); e.AppendChild(CreateElement("procEmi", APLICATIVO_DO_CONTRIBUINTE)); e.AppendChild(CreateElement("verProc", this.VersaoProcesso)); return(e); }
private XmlNode infoSusp() { XmlElement e = XmlDoc.CreateElement("infoSusp"); //Verificar qdo adicionar esse nó //e.AppendChild(CreateElement("codSusp", this.CodigoIndicativoSuspensao)); e.AppendChild(CreateElement("indSusp", this.IndicativoDeSuspencao)); e.AppendChild(CreateElement("dtDecisao", FormatadorReinf.FormatarData(this.DataDecisao))); e.AppendChild(CreateElement("indDeposito", this.IndicativodeDeposito)); //VERIFICAR A NECESSIDADE DE INCLUIR ESSE NÓ! //e.AppendChild(dadosProcJud()); //if (this.SoftwareHouse != null) //e.AppendChild(softHouse()); return(e); }