mx.bigdata.sat.cfdi.schema.Comprobante Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.03.13 at 09:36:11 AM MST
//
package mx.bigdata.sat.cfdi.schema;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Emisor">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DomicilioFiscal" type="{http://www.sat.gob.mx/cfd/3}t_UbicacionFiscal"/>
* <element name="ExpedidoEn" type="{http://www.sat.gob.mx/cfd/3}t_Ubicacion" minOccurs="0"/>
* </sequence>
* <attribute name="rfc" use="required" type="{http://www.sat.gob.mx/cfd/3}t_RFC" />
* <attribute name="nombre" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Receptor">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Domicilio" type="{http://www.sat.gob.mx/cfd/3}t_Ubicacion" minOccurs="0"/>
* </sequence>
* <attribute name="rfc" use="required" type="{http://www.sat.gob.mx/cfd/3}t_RFC" />
* <attribute name="nombre">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Conceptos">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Concepto" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice minOccurs="0">
* <element name="InformacionAduanera" type="{http://www.sat.gob.mx/cfd/3}t_InformacionAduanera" maxOccurs="unbounded" minOccurs="0"/>
* <element name="CuentaPredial" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="numero" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ComplementoConcepto" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Parte" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="InformacionAduanera" type="{http://www.sat.gob.mx/cfd/3}t_InformacionAduanera" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="cantidad" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="unidad">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="noIdentificacion">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="descripcion" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="valorUnitario" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="importe" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <attribute name="cantidad" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="unidad">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="noIdentificacion">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="descripcion" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="valorUnitario" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="importe" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Impuestos">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Retenciones" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Retencion" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="impuesto" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <enumeration value="ISR"/>
* <enumeration value="IVA"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="importe" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Traslados" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Traslado" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="impuesto" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <enumeration value="IVA"/>
* <enumeration value="IEPS"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="tasa" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="importe" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="totalImpuestosRetenidos" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="totalImpuestosTrasladados" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Complemento" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Addenda" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="version" use="required" fixed="3.0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="serie">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="25"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="folio">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="20"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="fecha" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}dateTime">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="sello" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="formaDePago" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="noCertificado" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="20"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="certificado" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="condicionesDePago">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="collapse"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="subTotal" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="descuento" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="motivoDescuento">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="TipoCambio" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Moneda" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="total" use="required" type="{http://www.sat.gob.mx/cfd/3}t_Importe" />
* <attribute name="metodoDePago">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <whiteSpace value="collapse"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="tipoDeComprobante" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ingreso"/>
* <enumeration value="egreso"/>
* <enumeration value="traslado"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"emisor",
"receptor",
"conceptos",
"impuestos",
"complemento",
"addenda"
})
@XmlRootElement(name = "Comprobante")
public class Comprobante
implements Serializable
{
private final static long serialVersionUID = -6026937020915831338L;
@XmlElement(name = "Emisor", required = true)
protected Comprobante.Emisor emisor;
@XmlElement(name = "Receptor", required = true)
protected Comprobante.Receptor receptor;
@XmlElement(name = "Conceptos", required = true)
protected Comprobante.Conceptos conceptos;
@XmlElement(name = "Impuestos", required = true)
protected Comprobante.Impuestos impuestos;
@XmlElement(name = "Complemento")
protected Comprobante.Complemento complemento;
@XmlElement(name = "Addenda")
protected Comprobante.Addenda addenda;
@XmlAttribute(required = true)
protected String version;
@XmlAttribute
protected String serie;
@XmlAttribute
protected String folio;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(Adapter1 .class)
protected Date fecha;
@XmlAttribute(required = true)
protected String sello;
@XmlAttribute(required = true)
protected String formaDePago;
@XmlAttribute(required = true)
protected String noCertificado;
@XmlAttribute(required = true)
protected String certificado;
@XmlAttribute
protected String condicionesDePago;
@XmlAttribute(required = true)
protected BigDecimal subTotal;
@XmlAttribute
protected BigDecimal descuento;
@XmlAttribute
protected String motivoDescuento;
@XmlAttribute(name = "TipoCambio")
protected String tipoCambio;
@XmlAttribute(name = "Moneda")
protected String moneda;
@XmlAttribute(required = true)
protected BigDecimal total;
@XmlAttribute
protected String metodoDePago;
@XmlAttribute(required = true)
protected String tipoDeComprobante;
/**
* Gets the value of the emisor property.
*
* @return
* possible object is
* {@link Comprobante.Emisor }
*
*/
public Comprobante.Emisor getEmisor() {
return emisor;
}
/**
* Sets the value of the emisor property.
*
* @param value
* allowed object is
* {@link Comprobante.Emisor }
*
*/
public void setEmisor(Comprobante.Emisor value) {
this.emisor = value;
}
/**
* Gets the value of the receptor property.
*
* @return
* possible object is
* {@link Comprobante.Receptor }
*
*/
public Comprobante.Receptor getReceptor() {
return receptor;
}
/**
* Sets the value of the receptor property.
*
* @param value
* allowed object is
* {@link Comprobante.Receptor }
*
*/
public void setReceptor(Comprobante.Receptor value) {
this.receptor = value;
}
/**
* Gets the value of the conceptos property.
*
* @return
* possible object is
* {@link Comprobante.Conceptos }
*
*/
public Comprobante.Conceptos getConceptos() {
return conceptos;
}
/**
* Sets the value of the conceptos property.
*
* @param value
* allowed object is
* {@link Comprobante.Conceptos }
*
*/
public void setConceptos(Comprobante.Conceptos value) {
this.conceptos = value;
}
/**
* Gets the value of the impuestos property.
*
* @return
* possible object is
* {@link Comprobante.Impuestos }
*
*/
public Comprobante.Impuestos getImpuestos() {
return impuestos;
}
/**
* Sets the value of the impuestos property.
*
* @param value
* allowed object is
* {@link Comprobante.Impuestos }
*
*/
public void setImpuestos(Comprobante.Impuestos value) {
this.impuestos = value;
}
/**
* Gets the value of the complemento property.
*
* @return
* possible object is
* {@link Comprobante.Complemento }
*
*/
public Comprobante.Complemento getComplemento() {
return complemento;
}
/**
* Sets the value of the complemento property.
*
* @param value
* allowed object is
* {@link Comprobante.Complemento }
*
*/
public void setComplemento(Comprobante.Complemento value) {
this.complemento = value;
}
/**
* Gets the value of the addenda property.
*
* @return
* possible object is
* {@link Comprobante.Addenda }
*
*/
public Comprobante.Addenda getAddenda() {
return addenda;
}
/**
* Sets the value of the addenda property.
*
* @param value
* allowed object is
* {@link Comprobante.Addenda }
*
*/
public void setAddenda(Comprobante.Addenda value) {
this.addenda = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
if (version == null) {
return "3.0";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the serie property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerie() {
return serie;
}
/**
* Sets the value of the serie property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerie(String value) {
this.serie = value;
}
/**
* Gets the value of the folio property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolio() {
return folio;
}
/**
* Sets the value of the folio property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolio(String value) {
this.folio = value;
}
/**
* Gets the value of the fecha property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getFecha() {
return fecha;
}
/**
* Sets the value of the fecha property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFecha(Date value) {
this.fecha = value;
}
/**
* Gets the value of the sello property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSello() {
return sello;
}
/**
* Sets the value of the sello property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSello(String value) {
this.sello = value;
}
/**
* Gets the value of the formaDePago property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormaDePago() {
return formaDePago;
}
/**
* Sets the value of the formaDePago property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormaDePago(String value) {
this.formaDePago = value;
}
/**
* Gets the value of the noCertificado property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNoCertificado() {
return noCertificado;
}
/**
* Sets the value of the noCertificado property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNoCertificado(String value) {
this.noCertificado = value;
}
/**
* Gets the value of the certificado property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCertificado() {
return certificado;
}
/**
* Sets the value of the certificado property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCertificado(String value) {
this.certificado = value;
}
/**
* Gets the value of the condicionesDePago property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCondicionesDePago() {
return condicionesDePago;
}
/**
* Sets the value of the condicionesDePago property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCondicionesDePago(String value) {
this.condicionesDePago = value;
}
/**
* Gets the value of the subTotal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSubTotal() {
return subTotal;
}
/**
* Sets the value of the subTotal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSubTotal(BigDecimal value) {
this.subTotal = value;
}
/**
* Gets the value of the descuento property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDescuento() {
return descuento;
}
/**
* Sets the value of the descuento property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDescuento(BigDecimal value) {
this.descuento = value;
}
/**
* Gets the value of the motivoDescuento property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMotivoDescuento() {
return motivoDescuento;
}
/**
* Sets the value of the motivoDescuento property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMotivoDescuento(String value) {
this.motivoDescuento = value;
}
/**
* Gets the value of the tipoCambio property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTipoCambio() {
return tipoCambio;
}
/**
* Sets the value of the tipoCambio property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTipoCambio(String value) {
this.tipoCambio = value;
}
/**
* Gets the value of the moneda property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMoneda() {
return moneda;
}
/**
* Sets the value of the moneda property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMoneda(String value) {
this.moneda = value;
}
/**
* Gets the value of the total property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTotal() {
return total;
}
/**
* Sets the value of the total property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTotal(BigDecimal value) {
this.total = value;
}
/**
* Gets the value of the metodoDePago property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMetodoDePago() {
return metodoDePago;
}
/**
* Sets the value of the metodoDePago property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMetodoDePago(String value) {
this.metodoDePago = value;
}
/**
* Gets the value of the tipoDeComprobante property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTipoDeComprobante() {
return tipoDeComprobante;
}
/**
* Sets the value of the tipoDeComprobante property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTipoDeComprobante(String value) {
this.tipoDeComprobante = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class Addenda
implements Serializable
{
private final static long serialVersionUID = -6026937020915831338L;
@XmlAnyElement(lax = true)
protected List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy