|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmx.bigdata.sat.cfd.schema.Comprobante
public class Comprobante
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/2}t_UbicacionFiscal"/>
<element name="ExpedidoEn" type="{http://www.sat.gob.mx/cfd/2}t_Ubicacion" minOccurs="0"/>
</sequence>
<attribute name="rfc" use="required" type="{http://www.sat.gob.mx/cfd/2}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/2}t_Ubicacion"/>
</sequence>
<attribute name="rfc" use="required" type="{http://www.sat.gob.mx/cfd/2}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/2}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/2}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/2}t_Importe" />
<attribute name="importe" type="{http://www.sat.gob.mx/cfd/2}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/2}t_Importe" />
<attribute name="importe" use="required" type="{http://www.sat.gob.mx/cfd/2}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/2}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/2}t_Importe" />
<attribute name="importe" use="required" type="{http://www.sat.gob.mx/cfd/2}t_Importe" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="totalImpuestosRetenidos" type="{http://www.sat.gob.mx/cfd/2}t_Importe" />
<attribute name="totalImpuestosTrasladados" type="{http://www.sat.gob.mx/cfd/2}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 maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="version" use="required" fixed="2.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="10"/>
<whiteSpace value="collapse"/>
</restriction>
</simpleType>
</attribute>
<attribute name="folio" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="20"/>
<whiteSpace value="collapse"/>
<pattern value="[0-9]+"/>
</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="noAprobacion" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<whiteSpace value="collapse"/>
</restriction>
</simpleType>
</attribute>
<attribute name="anoAprobacion" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<whiteSpace value="collapse"/>
<totalDigits value="4"/>
</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">
<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/2}t_Importe" />
<attribute name="descuento" type="{http://www.sat.gob.mx/cfd/2}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="total" use="required" type="{http://www.sat.gob.mx/cfd/2}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>
| Nested Class Summary | |
|---|---|
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. |
| Field Summary | |
|---|---|
protected Comprobante.Addenda |
addenda
|
protected BigInteger |
anoAprobacion
|
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 |
motivoDescuento
|
protected BigInteger |
noAprobacion
|
protected String |
noCertificado
|
protected Comprobante.Receptor |
receptor
|
protected String |
sello
|
protected String |
serie
|
protected BigDecimal |
subTotal
|
protected String |
tipoDeComprobante
|
protected BigDecimal |
total
|
protected String |
version
|
| Constructor Summary | |
|---|---|
Comprobante()
|
|
| Method Summary | |
|---|---|
Comprobante.Addenda |
getAddenda()
Gets the value of the addenda property. |
BigInteger |
getAnoAprobacion()
Gets the value of the anoAprobacion 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 |
getMotivoDescuento()
Gets the value of the motivoDescuento property. |
BigInteger |
getNoAprobacion()
Gets the value of the noAprobacion 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 |
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 |
setAnoAprobacion(BigInteger value)
Sets the value of the anoAprobacion 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 |
setMotivoDescuento(String value)
Sets the value of the motivoDescuento property. |
void |
setNoAprobacion(BigInteger value)
Sets the value of the noAprobacion 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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 BigInteger noAprobacion
protected BigInteger anoAprobacion
protected String formaDePago
protected String noCertificado
protected String certificado
protected String condicionesDePago
protected BigDecimal subTotal
protected BigDecimal descuento
protected String motivoDescuento
protected BigDecimal total
protected String metodoDePago
protected String tipoDeComprobante
| Constructor Detail |
|---|
public Comprobante()
| Method Detail |
|---|
public Comprobante.Emisor getEmisor()
Comprobante.Emisorpublic void setEmisor(Comprobante.Emisor value)
value - allowed object is
Comprobante.Emisorpublic Comprobante.Receptor getReceptor()
Comprobante.Receptorpublic void setReceptor(Comprobante.Receptor value)
value - allowed object is
Comprobante.Receptorpublic Comprobante.Conceptos getConceptos()
Comprobante.Conceptospublic void setConceptos(Comprobante.Conceptos value)
value - allowed object is
Comprobante.Conceptospublic Comprobante.Impuestos getImpuestos()
Comprobante.Impuestospublic void setImpuestos(Comprobante.Impuestos value)
value - allowed object is
Comprobante.Impuestospublic Comprobante.Complemento getComplemento()
Comprobante.Complementopublic void setComplemento(Comprobante.Complemento value)
value - allowed object is
Comprobante.Complementopublic Comprobante.Addenda getAddenda()
Comprobante.Addendapublic void setAddenda(Comprobante.Addenda value)
value - allowed object is
Comprobante.Addendapublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getSerie()
Stringpublic void setSerie(String value)
value - allowed object is
Stringpublic String getFolio()
Stringpublic void setFolio(String value)
value - allowed object is
Stringpublic Date getFecha()
Stringpublic void setFecha(Date value)
value - allowed object is
Stringpublic String getSello()
Stringpublic void setSello(String value)
value - allowed object is
Stringpublic BigInteger getNoAprobacion()
BigIntegerpublic void setNoAprobacion(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getAnoAprobacion()
BigIntegerpublic void setAnoAprobacion(BigInteger value)
value - allowed object is
BigIntegerpublic String getFormaDePago()
Stringpublic void setFormaDePago(String value)
value - allowed object is
Stringpublic String getNoCertificado()
Stringpublic void setNoCertificado(String value)
value - allowed object is
Stringpublic String getCertificado()
Stringpublic void setCertificado(String value)
value - allowed object is
Stringpublic String getCondicionesDePago()
Stringpublic void setCondicionesDePago(String value)
value - allowed object is
Stringpublic BigDecimal getSubTotal()
BigDecimalpublic void setSubTotal(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDescuento()
BigDecimalpublic void setDescuento(BigDecimal value)
value - allowed object is
BigDecimalpublic String getMotivoDescuento()
Stringpublic void setMotivoDescuento(String value)
value - allowed object is
Stringpublic BigDecimal getTotal()
BigDecimalpublic void setTotal(BigDecimal value)
value - allowed object is
BigDecimalpublic String getMetodoDePago()
Stringpublic void setMetodoDePago(String value)
value - allowed object is
Stringpublic String getTipoDeComprobante()
Stringpublic void setTipoDeComprobante(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||