public class Comprobante extends Object implements Serializable
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>
Modifier and Type | Class and Description |
---|---|
static class |
Comprobante.Addenda
Java class for anonymous complex type.
|
static class |
Comprobante.Complemento
Java class for anonymous complex type.
|
static class |
Comprobante.Conceptos
Java class for anonymous complex type.
|
static class |
Comprobante.Emisor
Java class for anonymous complex type.
|
static class |
Comprobante.Impuestos
Java class for anonymous complex type.
|
static class |
Comprobante.Receptor
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected Comprobante.Addenda |
addenda |
protected String |
certificado |
protected Comprobante.Complemento |
complemento |
protected Comprobante.Conceptos |
conceptos |
protected String |
condicionesDePago |
protected BigDecimal |
descuento |
protected Comprobante.Emisor |
emisor |
protected Date |
fecha |
protected String |
folio |
protected String |
formaDePago |
protected Comprobante.Impuestos |
impuestos |
protected String |
metodoDePago |
protected String |
moneda |
protected String |
motivoDescuento |
protected String |
noCertificado |
protected Comprobante.Receptor |
receptor |
protected String |
sello |
protected String |
serie |
protected BigDecimal |
subTotal |
protected String |
tipoCambio |
protected String |
tipoDeComprobante |
protected BigDecimal |
total |
protected String |
version |
Constructor and Description |
---|
Comprobante() |
Modifier and Type | Method and Description |
---|---|
Comprobante.Addenda |
getAddenda()
Gets the value of the addenda property.
|
String |
getCertificado()
Gets the value of the certificado property.
|
Comprobante.Complemento |
getComplemento()
Gets the value of the complemento property.
|
Comprobante.Conceptos |
getConceptos()
Gets the value of the conceptos property.
|
String |
getCondicionesDePago()
Gets the value of the condicionesDePago property.
|
BigDecimal |
getDescuento()
Gets the value of the descuento property.
|
Comprobante.Emisor |
getEmisor()
Gets the value of the emisor property.
|
Date |
getFecha()
Gets the value of the fecha property.
|
String |
getFolio()
Gets the value of the folio property.
|
String |
getFormaDePago()
Gets the value of the formaDePago property.
|
Comprobante.Impuestos |
getImpuestos()
Gets the value of the impuestos property.
|
String |
getMetodoDePago()
Gets the value of the metodoDePago property.
|
String |
getMoneda()
Gets the value of the moneda property.
|
String |
getMotivoDescuento()
Gets the value of the motivoDescuento property.
|
String |
getNoCertificado()
Gets the value of the noCertificado property.
|
Comprobante.Receptor |
getReceptor()
Gets the value of the receptor property.
|
String |
getSello()
Gets the value of the sello property.
|
String |
getSerie()
Gets the value of the serie property.
|
BigDecimal |
getSubTotal()
Gets the value of the subTotal property.
|
String |
getTipoCambio()
Gets the value of the tipoCambio property.
|
String |
getTipoDeComprobante()
Gets the value of the tipoDeComprobante property.
|
BigDecimal |
getTotal()
Gets the value of the total property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setAddenda(Comprobante.Addenda value)
Sets the value of the addenda property.
|
void |
setCertificado(String value)
Sets the value of the certificado property.
|
void |
setComplemento(Comprobante.Complemento value)
Sets the value of the complemento property.
|
void |
setConceptos(Comprobante.Conceptos value)
Sets the value of the conceptos property.
|
void |
setCondicionesDePago(String value)
Sets the value of the condicionesDePago property.
|
void |
setDescuento(BigDecimal value)
Sets the value of the descuento property.
|
void |
setEmisor(Comprobante.Emisor value)
Sets the value of the emisor property.
|
void |
setFecha(Date value)
Sets the value of the fecha property.
|
void |
setFolio(String value)
Sets the value of the folio property.
|
void |
setFormaDePago(String value)
Sets the value of the formaDePago property.
|
void |
setImpuestos(Comprobante.Impuestos value)
Sets the value of the impuestos property.
|
void |
setMetodoDePago(String value)
Sets the value of the metodoDePago property.
|
void |
setMoneda(String value)
Sets the value of the moneda property.
|
void |
setMotivoDescuento(String value)
Sets the value of the motivoDescuento property.
|
void |
setNoCertificado(String value)
Sets the value of the noCertificado property.
|
void |
setReceptor(Comprobante.Receptor value)
Sets the value of the receptor property.
|
void |
setSello(String value)
Sets the value of the sello property.
|
void |
setSerie(String value)
Sets the value of the serie property.
|
void |
setSubTotal(BigDecimal value)
Sets the value of the subTotal property.
|
void |
setTipoCambio(String value)
Sets the value of the tipoCambio property.
|
void |
setTipoDeComprobante(String value)
Sets the value of the tipoDeComprobante property.
|
void |
setTotal(BigDecimal value)
Sets the value of the total property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected Comprobante.Emisor emisor
protected Comprobante.Receptor receptor
protected Comprobante.Conceptos conceptos
protected Comprobante.Impuestos impuestos
protected Comprobante.Complemento complemento
protected Comprobante.Addenda addenda
protected String version
protected String serie
protected String folio
protected Date fecha
protected String sello
protected String formaDePago
protected String noCertificado
protected String certificado
protected String condicionesDePago
protected BigDecimal subTotal
protected BigDecimal descuento
protected String motivoDescuento
protected String tipoCambio
protected String moneda
protected BigDecimal total
protected String metodoDePago
protected String tipoDeComprobante
public Comprobante.Emisor getEmisor()
Comprobante.Emisor
public void setEmisor(Comprobante.Emisor value)
value
- allowed object is
Comprobante.Emisor
public Comprobante.Receptor getReceptor()
Comprobante.Receptor
public void setReceptor(Comprobante.Receptor value)
value
- allowed object is
Comprobante.Receptor
public Comprobante.Conceptos getConceptos()
Comprobante.Conceptos
public void setConceptos(Comprobante.Conceptos value)
value
- allowed object is
Comprobante.Conceptos
public Comprobante.Impuestos getImpuestos()
Comprobante.Impuestos
public void setImpuestos(Comprobante.Impuestos value)
value
- allowed object is
Comprobante.Impuestos
public Comprobante.Complemento getComplemento()
Comprobante.Complemento
public void setComplemento(Comprobante.Complemento value)
value
- allowed object is
Comprobante.Complemento
public Comprobante.Addenda getAddenda()
Comprobante.Addenda
public void setAddenda(Comprobante.Addenda value)
value
- allowed object is
Comprobante.Addenda
public String getVersion()
String
public void setVersion(String value)
value
- allowed object is
String
public String getSerie()
String
public void setSerie(String value)
value
- allowed object is
String
public String getFolio()
String
public void setFolio(String value)
value
- allowed object is
String
public Date getFecha()
String
public void setFecha(Date value)
value
- allowed object is
String
public String getSello()
String
public void setSello(String value)
value
- allowed object is
String
public String getFormaDePago()
String
public void setFormaDePago(String value)
value
- allowed object is
String
public String getNoCertificado()
String
public void setNoCertificado(String value)
value
- allowed object is
String
public String getCertificado()
String
public void setCertificado(String value)
value
- allowed object is
String
public String getCondicionesDePago()
String
public void setCondicionesDePago(String value)
value
- allowed object is
String
public BigDecimal getSubTotal()
BigDecimal
public void setSubTotal(BigDecimal value)
value
- allowed object is
BigDecimal
public BigDecimal getDescuento()
BigDecimal
public void setDescuento(BigDecimal value)
value
- allowed object is
BigDecimal
public String getMotivoDescuento()
String
public void setMotivoDescuento(String value)
value
- allowed object is
String
public String getTipoCambio()
String
public void setTipoCambio(String value)
value
- allowed object is
String
public String getMoneda()
String
public void setMoneda(String value)
value
- allowed object is
String
public BigDecimal getTotal()
BigDecimal
public void setTotal(BigDecimal value)
value
- allowed object is
BigDecimal
public String getMetodoDePago()
String
public void setMetodoDePago(String value)
value
- allowed object is
String
public String getTipoDeComprobante()
String
Copyright © 2010–2018. All rights reserved.