meta data de esta página
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
enviarnotacredito [2025/12/26 02:53] 57.141.16.11 se ha restaurado la vieja versión (2025/06/28 21:52) |
enviarnotacredito [2026/01/31 05:06] (actual) 57.141.16.90 se ha restaurado la vieja versión (2025/09/09 04:40) |
||
|---|---|---|---|
| Línea 211: | Línea 211: | ||
| { | { | ||
| ServiceClient servicio = new ServiceClient(); | ServiceClient servicio = new ServiceClient(); | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | NotaCredito not = new NotaCredito(); |
| - | | + | |
| + | |||
| + | // | ||
| + | not.InfoTributaria = new InfoTributaria(); | ||
| + | not.InfoTributaria = InformacionTrib(); | ||
| + | not.CorreoNotificar = textBox76.Text; | ||
| + | not.DirCliente | ||
| + | |||
| + | |||
| + | |||
| + | // | ||
| + | not.InfoNotaCredito = new InfoNotaCredito(); | ||
| + | InfoNotaCredito infonot = new InfoNotaCredito | ||
| + | { | ||
| + | CodDocModificado = textBox47.Text, | ||
| + | ContribuyenteEspecial = textBox48.Text, | ||
| + | DirEstablecimiento = textBox49.Text, | ||
| + | FechaEmision = textBox50.Text, | ||
| + | IdentificacionComprador = textBox51.Text, | ||
| + | ObligadoContabilidad = textBox52.Text, | ||
| + | Rise = textBox53.Text, | ||
| + | FechaEmisionDocSustento = textBox54.Text, | ||
| + | NumDocModificado = textBox55.Text, | ||
| + | RazonSocialComprador = textBox56.Text, | ||
| + | TotalSinImpuestos = textBox57.Text, | ||
| + | TipoIdentificacionComprador = textBox58.Text, | ||
| + | Motivo = textBox59.Text, | ||
| + | ValorModificacion = textBox61.Text, | ||
| + | |||
| + | }; | ||
| + | infonot.Moneda = " | ||
| + | |||
| + | ImpuestoTotalNotaCredito totalConImpuesto = new ImpuestoTotalNotaCredito | ||
| + | { | ||
| + | BaseImponible = textBox35.Text, | ||
| + | Codigo = textBox36.Text, | ||
| + | CodigoPorcentaje = textBox37.Text, | ||
| + | Valor = textBox40.Text, | ||
| + | |||
| + | }; | ||
| + | |||
| + | |||
| + | totalConImpuesto.ValorDevolucionIva = " | ||
| + | infonot.TotalConImpuestos = new List< | ||
| + | infonot.TotalConImpuestos.Add(totalConImpuesto); | ||
| + | not.InfoNotaCredito = infonot; | ||
| + | |||
| + | |||
| + | // | ||
| + | not.Detalles = new List< | ||
| + | |||
| + | DetalleNotaCredito det = new DetalleNotaCredito | ||
| + | { | ||
| + | CodigoAdicional = textBox67.Text, | ||
| + | CodigoInterno = textBox68.Text, | ||
| + | Descripcion = textBox69.Text, | ||
| + | Cantidad = textBox70.Text, | ||
| + | PrecioUnitario = textBox71.Text, | ||
| + | Descuento = textBox73.Text, | ||
| + | PrecioTotalSinImpuesto = textBox75.Text, | ||
| + | |||
| + | |||
| + | |||
| + | }; | ||
| + | |||
| + | det.DetAdicional = new List< | ||
| + | DetAdicional detAd = new DetAdicional(); | ||
| + | detAd.Nombre = " | ||
| + | detAd.Valor = " | ||
| + | det.DetAdicional.Add(detAd); | ||
| + | det.Impuestos = new List< | ||
| + | det.Impuestos.Add(ImpuestDet()); | ||
| + | not.Detalles.Add(det); | ||
| + | not.Notificar = " | ||
| + | not.Version = " | ||
| + | pet.Documento = not; | ||
| + | |||
| + | | ||
| + | | ||
| + | servicio.Close(); | ||
| + | |||
| + | richTextBox1.Text = resp.Mensaje + "--" + resp.Codigo + "--" + "\r\n" + resp.Archivo; | ||
| } | } | ||
| catch (Exception ex) | catch (Exception ex) | ||