79 lines
2.9 KiB
C#
79 lines
2.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SIGAPI.Models.Ventas.Response
|
|
{
|
|
public class ResponseVenta
|
|
{
|
|
public Venta Venta { get; set; }
|
|
public List<VentaDetalle> VentasDetalle { get; set; }
|
|
}
|
|
|
|
public class Venta
|
|
{
|
|
public long CveVenta { get; set; }
|
|
public string FolioFiscal { get; set; }
|
|
public string TipoDocto { get; set; }
|
|
public string Serie { get; set; }
|
|
public string Folio { get; set; }
|
|
public string SerieFolio { get; set; }
|
|
public long CveCliente { get; set; }
|
|
public string ClienteNombre { get; set; }
|
|
public long CveClienteSucursal { get; set; }
|
|
public string SucursalCliente { get; set; }
|
|
public string ClienteRFC { get; set; }
|
|
public decimal SubTotal { get; set; }
|
|
public decimal Descuento { get; set; }
|
|
public decimal Amortizacion { get; set; }
|
|
public decimal IVA { get; set; }
|
|
public decimal RetIVA { get; set; }
|
|
public decimal RetISR { get; set; }
|
|
public decimal IEPS { get; set; }
|
|
public decimal Total { get; set; }
|
|
public decimal Saldo { get; set; }
|
|
public decimal Pagado { get; set; }
|
|
public long CveMoneda { get; set; }
|
|
public string Moneda { get; set; }
|
|
public decimal TipoCambio { get; set; }
|
|
public decimal TipoCambioValuacion { get; set; }
|
|
public string Observaciones { get; set; }
|
|
public long CveEstatusFactura { get; set; }
|
|
public string EstatusFactura { get; set; }
|
|
public string EnvioMail { get; set; }
|
|
public long CveSubProyecto { get; set; }
|
|
public string SubProyecto { get; set; }
|
|
public DateTime Fecha { get; set; }
|
|
public DateTime FechaVencimiento { get; set; }
|
|
public string SeTimbro { get; set; }
|
|
public byte[] BytesPdfFactura { get; set; }
|
|
|
|
}
|
|
|
|
public class VentaDetalle
|
|
{
|
|
public long Consec { get; set; }
|
|
public long CveVentaDetalle { get; set; }
|
|
public string Codigo { get; set; }
|
|
public string CodigoPS { get; set; }
|
|
public decimal Cantidad { get; set; }
|
|
public long CveUM { get; set; }
|
|
public string UM { get; set; }
|
|
public long CvePS { get; set; }
|
|
public string PS { get; set; }
|
|
public string Obs { get; set; }
|
|
public decimal PU { get; set; }
|
|
public decimal Descuento { get; set; }
|
|
public decimal PorcentajeIVA { get; set; }
|
|
public decimal ImporteIVA { get; set; }
|
|
public decimal PorcentajeIEPS { get; set; }
|
|
public decimal ImporteIEPS { get; set; }
|
|
public decimal PorcentajeRetIVA { get; set; }
|
|
public decimal ImporteRetIVA { get; set; }
|
|
public decimal PorcentajeRetISR { get; set; }
|
|
public decimal ImporteRetISR { get; set; }
|
|
public decimal Total { get; set; }
|
|
}
|
|
}
|