using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; namespace MisIngredientesVue.Core.Models { [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class PagosPagoImpuestosTraslado { [XmlAttribute] public string Impuesto { get; set; } [XmlAttribute] public string TipoFactor { get; set; } [XmlAttribute] public string TasaOCuota { get; set; } [XmlAttribute] public decimal Importe { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class PagosPagoImpuestosRetencion { [XmlAttribute] public string Impuesto { get; set; } [XmlAttribute] public decimal Importe { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class PagosPagoImpuestos { [XmlArrayItem("Retencion", IsNullable = false)] public PagosPagoImpuestosRetencion[] Retenciones { get; set; } [XmlArrayItem("Traslado", IsNullable = false)] public PagosPagoImpuestosTraslado[] Traslados { get; set; } [XmlAttribute] public decimal TotalImpuestosRetenidos { get; set; } [XmlIgnore] public bool TotalImpuestosRetenidosSpecified { get; set; } [XmlAttribute] public decimal TotalImpuestosTrasladados { get; set; } [XmlIgnore] public bool TotalImpuestosTrasladadosSpecified { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class PagosPago { [XmlAttribute(DataType = "base64Binary")] public byte[] CertPago { get; set; } [XmlIgnore] public bool TipoCadPagoSpecified { get; set; } [XmlAttribute] public string TipoCadPago { get; set; } [XmlAttribute] public string CtaBeneficiario { get; set; } [XmlAttribute] public string RfcEmisorCtaBen { get; set; } [XmlAttribute] public string CtaOrdenante { get; set; } [XmlAttribute] public string NomBancoOrdExt { get; set; } [XmlAttribute] public string RfcEmisorCtaOrd { get; set; } [XmlAttribute] public string NumOperacion { get; set; } [XmlAttribute] public decimal Monto { get; set; } [XmlIgnore] public bool TipoCambioPSpecified { get; set; } [XmlAttribute] public decimal TipoCambioP { get; set; } [XmlAttribute] public string MonedaP { get; set; } [XmlAttribute] public string FormaDePagoP { get; set; } [XmlAttribute] public DateTime FechaPago { get; set; } [XmlElement("Impuestos")] public PagosPagoImpuestos[] Impuestos { get; set; } [XmlElement("DoctoRelacionado")] public PagosPagoDoctoRelacionado[] DoctoRelacionado { get; set; } [XmlAttribute] public string CadPago { get; set; } [XmlAttribute(DataType = "base64Binary")] public byte[] SelloPago { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlRoot(Namespace = "http://www.sat.gob.mx/Pagos", IsNullable = false)] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class Pagos { [XmlElement("Pago")] public PagosPago[] Pago { get; set; } [XmlAttribute] public string Version { get; set; } public XmlSerializerNamespaces Namespaces { get; } public string XsiSchemaLocation { get; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteComplemento { [XmlAnyElement] public XmlElement[] Any { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.1055.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/Pagos")] public class PagosPagoDoctoRelacionado { [XmlAttribute] public string IdDocumento { get; set; } [XmlAttribute] public string Serie { get; set; } [XmlAttribute] public string Folio { get; set; } [XmlAttribute] public string MonedaDR { get; set; } [XmlAttribute] public decimal TipoCambioDR { get; set; } [XmlIgnore] public bool TipoCambioDRSpecified { get; set; } [XmlAttribute] public string MetodoDePagoDR { get; set; } [XmlAttribute(DataType = "integer")] public string NumParcialidad { get; set; } [XmlAttribute] public decimal ImpSaldoAnt { get; set; } [XmlIgnore] public bool ImpSaldoAntSpecified { get; set; } [XmlAttribute] public decimal ImpPagado { get; set; } [XmlIgnore] public bool ImpPagadoSpecified { get; set; } [XmlAttribute] public decimal ImpSaldoInsoluto { get; set; } [XmlIgnore] public bool ImpSaldoInsolutoSpecified { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlRoot(Namespace = "http://www.sat.gob.mx/cfd/3", IsNullable = false)] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class Comprobante { [XmlAttribute("schemaLocation", Namespace = "http://www.w3.org/2001/XMLSchema-instance")] public string xsiSchemaLocation { get; set; } [XmlIgnore] public bool ECC11Specified { get; set; } [XmlIgnore] public bool DonativoSpecified { get; set; } [XmlIgnore] public bool DivisasSpecified { get; set; } [XmlIgnore] public bool ImpLocalSpecified { get; set; } [XmlIgnore] public bool LeyendasFiscalesSpecified { get; set; } [XmlIgnore] public bool PFICSpecified { get; set; } [XmlIgnore] public bool TuristaPasajeroExtranjeroSpecified { get; set; } [XmlIgnore] public bool Nomina12Specified { get; set; } [XmlIgnore] public bool CFDIRegistroFiscalSpecified { get; set; } [XmlIgnore] public bool PagoEnEspecieSpecified { get; set; } [XmlIgnore] public bool AerolineasSpecified { get; set; } [XmlIgnore] public bool ValesDeDespensaSpecified { get; set; } [XmlIgnore] public bool ConsumoDeCombustiblesSpecified { get; set; } [XmlIgnore] public bool NotariosSpecified { get; set; } [XmlIgnore] public bool VehiculoUsadoSpecified { get; set; } [XmlIgnore] public bool ServicioParcialConstruccionSpecified { get; set; } [XmlIgnore] public bool RenovacionYSustitucionDeVehiculosSpecified { get; set; } [XmlIgnore] public bool CertificadoDeDestruccionSpecified { get; set; } [XmlIgnore] public bool ObrasArteSpecified { get; set; } [XmlIgnore] public bool ComercioExterior11Specified { get; set; } [XmlIgnore] public bool INE11Specified { get; set; } [XmlIgnore] public bool IeudSpecified { get; set; } [XmlIgnore] public bool VentaVehiculosSpecified { get; set; } [XmlIgnore] public bool TercerosSpecified { get; set; } [XmlIgnore] public bool PagosSpecified { get; set; } [XmlAttribute] public string Version { get; set; } [XmlAttribute] public decimal Total { get; set; } [XmlAttribute] public string TipoDeComprobante { get; set; } [XmlIgnore] public bool TipoCambioSpecified { get; set; } public ComprobanteCfdiRelacionados CfdiRelacionados { get; set; } public ComprobanteEmisor Emisor { get; set; } public ComprobanteReceptor Receptor { get; set; } [XmlArrayItem("Concepto", IsNullable = false)] public ComprobanteConcepto[] Conceptos { get; set; } public ComprobanteImpuestos Impuestos { get; set; } public ComprobanteComplemento Complemento { get; set; } public ComprobanteAddenda Addenda { get; set; } [XmlAttribute] public string Certificado { get; set; } [XmlAttribute] public string CondicionesDePago { get; set; } [XmlAttribute] public string Confirmacion { get; set; } [XmlAttribute] public decimal Descuento { get; set; } [XmlIgnore] public bool DescuentoSpecified { get; set; } [XmlIgnore] public string AddendaEsquema { get; set; } [XmlIgnore] public DateTime Fecha { get; set; } [XmlAttribute] public string Folio { get; set; } [XmlAttribute] public string FormaPago { get; set; } [XmlIgnore] public bool FormaPagoSpecified { get; set; } [XmlAttribute] public string LugarExpedicion { get; set; } [XmlAttribute] public string MetodoPago { get; set; } [XmlIgnore] public bool MetodoPagoSpecified { get; set; } [XmlAttribute] public string Moneda { get; set; } [XmlAttribute] public string NoCertificado { get; set; } [XmlAttribute] public string Sello { get; set; } [XmlAttribute] public string Serie { get; set; } [XmlAttribute] public decimal SubTotal { get; set; } [XmlAttribute] public decimal TipoCambio { get; set; } [XmlAttribute("Fecha")] public string XmlDateTime { get; set; } [XmlIgnore] public string ComplementoEsquema { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteAddenda { [XmlAnyElement] public XmlElement[] Any { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteImpuestos { [XmlArrayItem("Retencion", IsNullable = false)] public ComprobanteImpuestosRetencion[] Retenciones { get; set; } [XmlAttribute] public decimal TotalImpuestosRetenidos { get; set; } [XmlIgnore] public bool TotalImpuestosRetenidosSpecified { get; set; } [XmlAttribute] public decimal TotalImpuestosTrasladados { get; set; } [XmlIgnore] public bool TotalImpuestosTrasladadosSpecified { get; set; } [XmlArrayItem("Traslado", IsNullable = false)] public ComprobanteImpuestosTraslado[] Traslados { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteImpuestosTraslado { [XmlAttribute] public decimal Importe { get; set; } [XmlAttribute] public string Impuesto { get; set; } [XmlAttribute] public string TasaOCuota { get; set; } [XmlAttribute] public string TipoFactor { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteImpuestosRetencion { [XmlAttribute] public decimal Importe { get; set; } [XmlAttribute] public string Impuesto { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteCfdiRelacionados { [XmlElement("CfdiRelacionado")] public ComprobanteCfdiRelacionadosCfdiRelacionado[] CfdiRelacionado { get; set; } [XmlAttribute] public string TipoRelacion { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteCfdiRelacionadosCfdiRelacionado { [XmlAttribute] public string UUID { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteEmisor { [XmlAttribute] public string Nombre { get; set; } [XmlAttribute] public string RegimenFiscal { get; set; } [XmlAttribute] public string Rfc { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteReceptor { [XmlAttribute] public string Nombre { get; set; } [XmlAttribute] public string NumRegIdTrib { get; set; } [XmlAttribute] public string ResidenciaFiscal { get; set; } [XmlIgnore] public bool ResidenciaFiscalSpecified { get; set; } [XmlAttribute] public string Rfc { get; set; } [XmlAttribute] public string UsoCFDI { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConcepto { public ComprobanteConceptoImpuestos Impuestos { get; set; } [XmlElement("InformacionAduanera")] public ComprobanteConceptoInformacionAduanera[] InformacionAduanera { get; set; } public ComprobanteConceptoCuentaPredial CuentaPredial { get; set; } public ComprobanteConceptoComplementoConcepto ComplementoConcepto { get; set; } [XmlElement("Parte")] public ComprobanteConceptoParte[] Parte { get; set; } [XmlAttribute] public decimal Cantidad { get; set; } [XmlAttribute] public string ClaveProdServ { get; set; } [XmlAttribute] public string ClaveUnidad { get; set; } [XmlAttribute] public string Descripcion { get; set; } [XmlAttribute] public decimal Descuento { get; set; } [XmlIgnore] public bool DescuentoSpecified { get; set; } [XmlAttribute] public decimal Importe { get; set; } [XmlAttribute] public string NoIdentificacion { get; set; } [XmlAttribute] public string Unidad { get; set; } [XmlAttribute] public decimal ValorUnitario { get; set; } [XmlIgnore] public Order Order { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoParte { [XmlAttribute] public decimal Cantidad { get; set; } [XmlAttribute] public string ClaveProdServ { get; set; } [XmlAttribute] public string Descripcion { get; set; } [XmlAttribute] public decimal Importe { get; set; } [XmlIgnore] public bool ImporteSpecified { get; set; } [XmlElement("InformacionAduanera")] public ComprobanteConceptoParteInformacionAduanera[] InformacionAduanera { get; set; } [XmlAttribute] public string NoIdentificacion { get; set; } [XmlAttribute] public string Unidad { get; set; } [XmlAttribute] public decimal ValorUnitario { get; set; } [XmlIgnore] public bool ValorUnitarioSpecified { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoParteInformacionAduanera { [XmlAttribute] public string NumeroPedimento { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoInformacionAduanera { [XmlAttribute] public string NumeroPedimento { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoCuentaPredial { [XmlAttribute] public string Numero { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoImpuestos { [XmlArrayItem("Retencion", IsNullable = false)] public ComprobanteConceptoImpuestosRetencion[] Retenciones { get; set; } [XmlArrayItem("Traslado", IsNullable = false)] public ComprobanteConceptoImpuestosTraslado[] Traslados { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoComplementoConcepto { [XmlAnyElement] public XmlElement[] Any { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoImpuestosRetencion { [XmlAttribute] public decimal Base { get; set; } [XmlAttribute] public decimal Importe { get; set; } [XmlAttribute] public string Impuesto { get; set; } [XmlAttribute] public decimal TasaOCuota { get; set; } [XmlAttribute] public string TipoFactor { get; set; } } [DebuggerStepThrough] [DesignerCategory("code")] [GeneratedCode("xsd", "4.6.81.0")] [XmlType(AnonymousType = true, Namespace = "http://www.sat.gob.mx/cfd/3")] public class ComprobanteConceptoImpuestosTraslado { [XmlAttribute] public decimal Base { get; set; } [XmlAttribute] public decimal Importe { get; set; } [XmlIgnore] public bool ImporteSpecified { get; set; } [XmlAttribute] public string Impuesto { get; set; } [XmlAttribute] public string TasaOCuota { get; set; } [XmlIgnore] public bool TasaOCuotaSpecified { get; set; } [XmlAttribute] public string TipoFactor { get; set; } } }