57 lines
1.9 KiB
C#
57 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ADSNetLibrary.PacsTimbrado.SAT
|
|
{
|
|
[Serializable]
|
|
public class CFDIComplementoPagos
|
|
{
|
|
public DateTime FechaPago { get; set; }
|
|
public string FormaDePagoP { get; set; } = "";
|
|
public string MonedaP { get; set; } = "";
|
|
public string NumOperacion { get; set; } = "";
|
|
public decimal TipoCambioP { get; set; } = 0;
|
|
public decimal Monto { get; set; }
|
|
public string RfcEmisorCtaOrd { get; set; } = "";
|
|
public string NomBancoOrdExt { get; set; } = "";
|
|
public string CtaOrdenante { get; set; } = "";
|
|
public string RfcEmisorCtaBen { get; set; } = "";
|
|
public string CtaBeneficiario { get; set; } = "";
|
|
public string TipoCadPago { get; set; } = "";
|
|
public string CertPago { get; set; } = "";
|
|
public string CadPago { get; set; } = "";
|
|
public string SelloPago { get; set; } = "";
|
|
public List<CFDIComplementoPagosDocsRelacionados> DocumentosRelacionados { get; set; }
|
|
public List<CFDIConceptosImpuestos> Impuestos { get; set; }
|
|
|
|
public decimal TotalImpuestosRetenidos
|
|
{
|
|
get
|
|
{
|
|
return (from c in Impuestos
|
|
where c.TrasladooRetencion == "R"
|
|
select c.Importe).Sum();
|
|
}
|
|
}
|
|
|
|
public decimal TotalImpuestosTrasladados
|
|
{
|
|
get
|
|
{
|
|
return (from c in Impuestos
|
|
where c.TrasladooRetencion == "T"
|
|
select c.Importe).Sum();
|
|
}
|
|
}
|
|
|
|
public CFDIComplementoPagos()
|
|
{
|
|
DocumentosRelacionados = new List<CFDIComplementoPagosDocsRelacionados>();
|
|
Impuestos = new List<CFDIConceptosImpuestos>();
|
|
}
|
|
}
|
|
}
|