Ver Mensaje Individual
  #10 (permalink)  
Antiguo 14/06/2010, 20:30
thebman
 
Fecha de Ingreso: mayo-2010
Mensajes: 16
Antigüedad: 13 años, 10 meses
Puntos: 5
Respuesta: Factura electroncia sat mexico

Que tal Oscar gracias por tu aporte, ya no habia escrito nada porque estoy en la generacion del XML en vb.net, no se si ya iniciaste la generacion del xml si no lo has hecho aqui te dejo unas lineas de codigo para que te hagas una idea saludos..

Dim W As New XmlTextWriter("c:\CFD.xml", Encoding.UTF8)

W.WriteStartDocument()
W.WriteStartElement("Comprobante")
W.WriteStartAttribute("xmlns")
W.WriteValue("http://www.sat.gob.mx/cfd/2")
W.WriteEndAttribute()

W.WriteStartAttribute("xmlns:xsi")
W.WriteValue("http://www.w3.org/2001/XMLSchema-instance")
W.WriteEndAttribute()


W.WriteStartAttribute("xsi:schemaLocation")
W.WriteValue("http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd")
W.WriteEndAttribute()

W.WriteEndElement()
W.WriteEndDocument()
W.Flush()
W.Close()