Schema EnvioBOLETA_v11.xsd

schema location: | D:\BOLETAS\Esquemas\PUBLICACION\EnvioBOLETA_v11.xsd
targetNamespace: | http://www.sii.cl/SiiDte

Elements | Complex types | Simple types
EnvioBOLETA | BOLETADefType | Dec1Type
|  | Dec5Type
|  | DTEType
|  | FolioType
|  | MntImpType
|  | MontoType
|  | PctType
|  | RUTType
|  | ValorType

schema location: | D:\BOLETAS\Esquemas\PUBLICACION\xmldsignature_v10.xsd
targetNamespace: | http://www.w3.org/2000/09/xmldsig#

Elements | Complex types
Signature | SignatureType

element EnvioBOLETA

diagram |
namespace | http://www.sii.cl/SiiDte
children | SetDTE ds:Signature
attributes |
Name | Type | Use | Default | Fixed | Annotation
version | xs:decimal | required |  | 1.0 |
annotation |
documentation |
    Envio de Boletas Electronicas

element EnvioBOLETA/SetDTE

diagram |
namespace | http://www.sii.cl/SiiDte
children | Caratula DTE
attributes |
Name | Type | Use | Default | Fixed | Annotation
ID | xs:ID | required |  |  |
annotation |
documentation |
    Conjunto de Boletas enviadas

element EnvioBOLETA/SetDTE/Caratula

diagram |
namespace | http://www.sii.cl/SiiDte
children | RutEmisor RutEnvia RutReceptor FchResol NroResol TmstFirmaEnv SubTotDTE
attributes |
Name | Type | Use | Default | Fixed | Annotation
version | xs:decimal | required |  | 1.0 |
annotation |
documentation |
    Resumen de Informacion Enviada

element EnvioBOLETA/SetDTE/Caratula/RutEmisor

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT Emisor de las Boletas

element EnvioBOLETA/SetDTE/Caratula/RutEnvia

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT que envia las Boletas

element EnvioBOLETA/SetDTE/Caratula/RutReceptor

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT al que se le envian las Boletas

element EnvioBOLETA/SetDTE/Caratula/FchResol

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Fecha de Resolucion que Autoriza la Emision de Boletas (AAAA-MM-DD)

element EnvioBOLETA/SetDTE/Caratula/NroResol

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:nonNegativeInteger
facets |
totalDigits | 6
annotation |
documentation |
    Numero de Resolucion que Autoriza la Emision de Boletas

element EnvioBOLETA/SetDTE/Caratula/TmstFirmaEnv

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:dateTime
annotation |
documentation |
    Fecha y Hora de la Firma del Archivo de Envio

element EnvioBOLETA/SetDTE/Caratula/SubTotDTE

diagram |
namespace | http://www.sii.cl/SiiDte
children | TpoDTE NroDTE
annotation |
documentation |
    Subtotales de Boletas Enviadas

element EnvioBOLETA/SetDTE/Caratula/SubTotDTE/TpoDTE

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:DTEType
facets |
enumeration | 39
enumeration | 41
annotation |
documentation |
    Tipo de Boleta Enviada

element EnvioBOLETA/SetDTE/Caratula/SubTotDTE/NroDTE

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:positiveInteger
annotation |
documentation |
    Numero de Boletas Enviadas

element EnvioBOLETA/SetDTE/DTE

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:BOLETADefType
children | Documento ds:Signature
attributes |
Name | Type | Use | Default | Fixed | Annotation
version | xs:decimal | required |  | 1.0 |
annotation |
documentation |
    Boletas Electronicas Enviadas

complexType BOLETADefType

diagram |
namespace | http://www.sii.cl/SiiDte
children | Documento ds:Signature
used by |
element | EnvioBOLETA/SetDTE/DTE
attributes |
Name | Type | Use | Default | Fixed | Annotation
version | xs:decimal | required |  | 1.0 |
annotation |
documentation |
    Boleta Electronica

element BOLETADefType/Documento

diagram |
namespace | http://www.sii.cl/SiiDte
children | Encabezado Detalle SubTotInfo DscRcgGlobal Referencia TED TmstFirma
attributes |
Name | Type | Use | Default | Fixed | Annotation
ID | xs:ID | required |  |  |
annotation |
documentation |
    Informacion Tributaria de la Boleta

element BOLETADefType/Documento/Encabezado

diagram |
namespace | http://www.sii.cl/SiiDte
children | IdDoc Emisor Receptor Totales
annotation |
documentation |
    Identificacion y Totales del Documento

element BOLETADefType/Documento/Encabezado/IdDoc

diagram |
namespace | http://www.sii.cl/SiiDte
children | TipoDTE Folio FchEmis IndServicio IndMntNeto PeriodoDesde PeriodoHasta FchVenc
annotation |
documentation |
    Identificacion del DTE

element BOLETADefType/Documento/Encabezado/IdDoc/TipoDTE

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:DTEType
facets |
enumeration | 39
enumeration | 41
annotation |
documentation |
    Tipo de Boleta

element BOLETADefType/Documento/Encabezado/IdDoc/Folio

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:FolioType
facets |
totalDigits | 10
annotation |
documentation |
    Folio del Documento Electronico

element BOLETADefType/Documento/Encabezado/IdDoc/FchEmis

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Fecha Emision Contable del DTE (AAAA-MM-DD)

element BOLETADefType/Documento/Encabezado/IdDoc/IndServicio

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
enumeration | 1
enumeration | 2
enumeration | 3
enumeration | 4
annotation |
documentation |
    Indica el Tipo de Transaccion

element BOLETADefType/Documento/Encabezado/IdDoc/IndMntNeto

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:integer
facets |
enumeration | 2
annotation |
documentation |
    Indica el Uso de Montos Netos en Detalle

element BOLETADefType/Documento/Encabezado/IdDoc/PeriodoDesde

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Periodo de Facturacion - Desde (AAAA-MM-DD)

element BOLETADefType/Documento/Encabezado/IdDoc/PeriodoHasta

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Periodo Facturacion - Hasta (AAAA-MM-DD)

element BOLETADefType/Documento/Encabezado/IdDoc/FchVenc

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Fecha de Vencimiento del Pago (AAAA-MM-DD)

element BOLETADefType/Documento/Encabezado/Emisor

diagram |
namespace | http://www.sii.cl/SiiDte
children | RUTEmisor RznSocEmisor GiroEmisor CdgSIISucur DirOrigen CmnaOrigen CiudadOrigen
annotation |
documentation |
    Datos del Emisor

element BOLETADefType/Documento/Encabezado/Emisor/RUTEmisor

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT del Emisor del DTE

element BOLETADefType/Documento/Encabezado/Emisor/RznSocEmisor

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 100
annotation |
documentation |
    Nombre o Razon Social del Emisor

element BOLETADefType/Documento/Encabezado/Emisor/GiroEmisor

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Giro del Emisor que Corresponde a la Transaccion

element BOLETADefType/Documento/Encabezado/Emisor/CdgSIISucur

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
totalDigits | 9
annotation |
documentation |
    Codigo de Sucursal Entregado por el SII

element BOLETADefType/Documento/Encabezado/Emisor/DirOrigen

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 70
annotation |
documentation |
    Direccion de Origen o Emision

element BOLETADefType/Documento/Encabezado/Emisor/CmnaOrigen

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Comuna de Origen

element BOLETADefType/Documento/Encabezado/Emisor/CiudadOrigen

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Ciudad de Origen

element BOLETADefType/Documento/Encabezado/Receptor

diagram |
namespace | http://www.sii.cl/SiiDte
children | RUTRecep CdgIntRecep RznSocRecep Contacto DirRecep CmnaRecep CiudadRecep DirPostal CmnaPostal CiudadPostal
annotation |
documentation |
    Datos del Receptor

element BOLETADefType/Documento/Encabezado/Receptor/RUTRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT del Receptor del DTE

element BOLETADefType/Documento/Encabezado/Receptor/CdgIntRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Codigo Interno del Receptor

element BOLETADefType/Documento/Encabezado/Receptor/RznSocRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 100
annotation |
documentation |
    Nombre o Razon Social del Receptor

element BOLETADefType/Documento/Encabezado/Receptor/Contacto

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Telefono o E-mail de Contacto del Receptor

element BOLETADefType/Documento/Encabezado/Receptor/DirRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 70
annotation |
documentation |
    Direccion en la Cual se Envian los Productos o se Prestan los Servicios

element BOLETADefType/Documento/Encabezado/Receptor/CmnaRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Comuna de Recepcion

element BOLETADefType/Documento/Encabezado/Receptor/CiudadRecep

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Ciudad de Recepcion

element BOLETADefType/Documento/Encabezado/Receptor/DirPostal

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 70
annotation |
documentation |
    Direccion Postal

element BOLETADefType/Documento/Encabezado/Receptor/CmnaPostal

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Comuna Postal

element BOLETADefType/Documento/Encabezado/Receptor/CiudadPostal

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Ciudad Postal

element BOLETADefType/Documento/Encabezado/Totales

diagram |
namespace | http://www.sii.cl/SiiDte
children | MntNeto MntExe IVA MntTotal MontoNF TotalPeriodo SaldoAnterior VlrPagar
annotation |
documentation |
    Montos Totales del DTE

element BOLETADefType/Documento/Encabezado/Totales/MntNeto

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MontoType
facets |
totalDigits | 18
annotation |
documentation |
    Monto Neto

element BOLETADefType/Documento/Encabezado/Totales/MntExe

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MontoType
facets |
totalDigits | 18
annotation |
documentation |
    Monto Exento

element BOLETADefType/Documento/Encabezado/Totales/IVA

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MntImpType
facets |
totalDigits | 18
annotation |
documentation |
    Monto de IVA

element BOLETADefType/Documento/Encabezado/Totales/MntTotal

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MontoType
facets |
totalDigits | 18
annotation |
documentation |
    Monto Total

element BOLETADefType/Documento/Encabezado/Totales/MontoNF

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:ValorType
facets |
totalDigits | 18
annotation |
documentation |
    Monto No Facturable - Corresponde a Bienes o Servicios Facturados Previamente

element BOLETADefType/Documento/Encabezado/Totales/TotalPeriodo

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MontoType
facets |
totalDigits | 18
annotation |
documentation |
    Total de Ventas o Servicios del Periodo

element BOLETADefType/Documento/Encabezado/Totales/SaldoAnterior

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:ValorType
facets |
totalDigits | 18
annotation |
documentation |
    Saldo Anterior - Puede ser Negativo o Positivo

element BOLETADefType/Documento/Encabezado/Totales/VlrPagar

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:ValorType
facets |
totalDigits | 18
annotation |
documentation |
    Valor a Pagar Total del Documento

element BOLETADefType/Documento/Detalle

diagram |
namespace | http://www.sii.cl/SiiDte
children | NroLinDet CdgItem IndExe ItemEspectaculo RUTMandante NmbItem InfoTicket DscItem QtyItem UnmdItem PrcItem DescuentoPct DescuentoMonto RecargoPct RecargoMonto MontoItem
annotation |
documentation |
    Detalle de Itemes del Documento

element BOLETADefType/Documento/Detalle/NroLinDet

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:positiveInteger
annotation |
documentation |
    Numero Secuencial de Linea

element BOLETADefType/Documento/Detalle/CdgItem

diagram |
namespace | http://www.sii.cl/SiiDte
children | TpoCodigo VlrCodigo
annotation |
documentation |
    Codificacion del Item

element BOLETADefType/Documento/Detalle/CdgItem/TpoCodigo

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 10
annotation |
documentation |
    Tipo de Codificacion

element BOLETADefType/Documento/Detalle/CdgItem/VlrCodigo

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 35
annotation |
documentation |
    Valor del Codigo de Item, para la Codificacion Particular

element BOLETADefType/Documento/Detalle/IndExe

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
enumeration | 1
enumeration | 2
enumeration | 6
annotation |
documentation |
    Indicador de Exencion/Facturacion

element BOLETADefType/Documento/Detalle/ItemEspectaculo

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
maxInclusive | 2
totalDigits | 2
enumeration | 01
enumeration | 02
annotation |
documentation |
    Indica si el ítem es :
    01: TICKET
    02: VALOR SERVICIO

element BOLETADefType/Documento/Detalle/RUTMandante

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    Rut de la Empresa Mandante de la Boleta

element BOLETADefType/Documento/Detalle/NmbItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Nombre del Item

element BOLETADefType/Documento/Detalle/InfoTicket

diagram |
namespace | http://www.sii.cl/SiiDte
children | FolioTicket FchGenera NmbEvento TpoTicket CdgEvento FchEvento LugarEvento UbicEvento FilaUbicEvento AsntoUbicEvento
annotation |
documentation |
    Informacion de la entrada

element BOLETADefType/Documento/Detalle/InfoTicket/FolioTicket

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
totalDigits | 6
annotation |
documentation |
    Corresponde a la numeración única para el evento.

element BOLETADefType/Documento/Detalle/InfoTicket/FchGenera

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:dateTime
facets |
minInclusive | 2010-03-10T00:00:00
maxInclusive | 2050-12-31T23:59:59
annotation |
documentation |
    Corresponde a la fecha y hora de generación del ticket
    (AAAA-MM-DDThh:mm:ss)

element BOLETADefType/Documento/Detalle/InfoTicket/NmbEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Nombre del Espectáculo

element BOLETADefType/Documento/Detalle/InfoTicket/TpoTicket

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 10
annotation |
documentation |
    Tipo de ticket, Por ejemplo: Adulto, Niño, etc

element BOLETADefType/Documento/Detalle/InfoTicket/CdgEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 5
annotation |
documentation |
    Código asociado al Evento

element BOLETADefType/Documento/Detalle/InfoTicket/FchEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:dateTime
facets |
minInclusive | 2010-03-10T00:00:00
maxInclusive | 2050-12-31T23:59:59
annotation |
documentation |
    Fecha y hora de realización del evento AAAA-MM-DDThh:mm:ss)

element BOLETADefType/Documento/Detalle/InfoTicket/LugarEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Dirección o identificación del recinto donde se realizará el  Espectáculo

element BOLETADefType/Documento/Detalle/InfoTicket/UbicEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 20
annotation |
documentation |
    Sector/Sección de la ubicación en el evento

element BOLETADefType/Documento/Detalle/InfoTicket/FilaUbicEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 3
annotation |
documentation |
    Fila correspondiente a la Ubicación en el evento

element BOLETADefType/Documento/Detalle/InfoTicket/AsntoUbicEvento

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 3
annotation |
documentation |
    N° de Asiento correspondiente a la Ubicación en el evento

element BOLETADefType/Documento/Detalle/DscItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 1000
annotation |
documentation |
    Descripcion del Item

element BOLETADefType/Documento/Detalle/QtyItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:Dec5Type
facets |
minInclusive | 0.000001
maxInclusive | 999999999999.999999
totalDigits | 18
fractionDigits | 6
annotation |
documentation |
    Cantidad del Item

element BOLETADefType/Documento/Detalle/UnmdItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 4
annotation |
documentation |
    Unidad de Medida

element BOLETADefType/Documento/Detalle/PrcItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:Dec5Type
facets |
minInclusive | 0.000001
maxInclusive | 999999999999.999999
totalDigits | 18
fractionDigits | 6
annotation |
documentation |
    Precio Unitario del Item en Pesos

element BOLETADefType/Documento/Detalle/DescuentoPct

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:PctType
facets |
minInclusive | 0.00
maxInclusive | 100.00
totalDigits | 5
fractionDigits | 2
annotation |
documentation |
    Porcentaje de Descuento

element BOLETADefType/Documento/Detalle/DescuentoMonto

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:nonNegativeInteger
facets |
totalDigits | 18
annotation |
documentation |
    Monto de Descuento

element BOLETADefType/Documento/Detalle/RecargoPct

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:PctType
facets |
minInclusive | 0.00
maxInclusive | 100.00
totalDigits | 5
fractionDigits | 2
annotation |
documentation |
    Porcentaje de Recargo

element BOLETADefType/Documento/Detalle/RecargoMonto

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:nonNegativeInteger
facets |
totalDigits | 18
annotation |
documentation |
    Monto de Recargo

element BOLETADefType/Documento/Detalle/MontoItem

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:MontoType
facets |
totalDigits | 18
annotation |
documentation |
    Monto por Linea de Detalle. Corresponde al Monto Bruto, a menos que IndMntNeto Indique lo Contrario

element BOLETADefType/Documento/SubTotInfo

diagram |
namespace | http://www.sii.cl/SiiDte
children | NroSTI GlosaSTI OrdenSTI SubTotNetoSTI SubTotIVASTI SubTotAdicSTI SubTotExeSTI ValSubtotSTI LineasDeta
annotation |
documentation |
    Subtotales Informativos

element BOLETADefType/Documento/SubTotInfo/NroSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
maxInclusive | 99
annotation |
documentation |
    Número de Subtotal

element BOLETADefType/Documento/SubTotInfo/GlosaSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 80
annotation |
documentation |
    Glosa

element BOLETADefType/Documento/SubTotInfo/OrdenSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
maxInclusive | 99
annotation |
documentation |
    Ubicación para Impresión

element BOLETADefType/Documento/SubTotInfo/SubTotNetoSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor Neto del Subtotal

element BOLETADefType/Documento/SubTotInfo/SubTotIVASTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor del IVA del Subtotal

element BOLETADefType/Documento/SubTotInfo/SubTotAdicSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor de los Impuestos adicionales o específicos del Subtotal

element BOLETADefType/Documento/SubTotInfo/SubTotExeSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor no Afecto o Exento del Subtotal

element BOLETADefType/Documento/SubTotInfo/ValSubtotSTI

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor de la línea de subtotal

element BOLETADefType/Documento/SubTotInfo/LineasDeta

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
maxInclusive | 1000
annotation |
documentation |
    TABLA de  Líneas de Detalle que se agrupan en el Subtotal

element BOLETADefType/Documento/DscRcgGlobal

diagram |
namespace | http://www.sii.cl/SiiDte
children | NroLinDR TpoMov GlosaDR TpoValor ValorDR IndExeDR
annotation |
documentation |
    Descuentos y/o Recargos que afectan al total del Documento

element BOLETADefType/Documento/DscRcgGlobal/NroLinDR

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
minInclusive | 1
maxInclusive | 99
annotation |
documentation |
    Numero Secuencial de Linea

element BOLETADefType/Documento/DscRcgGlobal/TpoMov

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
enumeration | D
enumeration | R
annotation |
documentation |
    Tipo de Movimiento

element BOLETADefType/Documento/DscRcgGlobal/GlosaDR

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 45
annotation |
documentation |
    Descripcion del Descuento o Recargo

element BOLETADefType/Documento/DscRcgGlobal/TpoValor

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
enumeration | %
enumeration | $
annotation |
documentation |
    Unidad en que se Expresa el Valor

element BOLETADefType/Documento/DscRcgGlobal/ValorDR

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:Dec1Type
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Valor del Descuento o Recargo

element BOLETADefType/Documento/DscRcgGlobal/IndExeDR

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
enumeration | 1
enumeration | 2
annotation |
documentation |
    Indica si el Descuento o Recargo Afecta a Itemes Exentos o No Facturables

element BOLETADefType/Documento/Referencia

diagram |
namespace | http://www.sii.cl/SiiDte
children | NroLinRef TpoDocRef FolioRef CodRef RazonRef CodVndor CodCaja
annotation |
documentation |
    Identificacion de otros documentos Referenciados por Documento

element BOLETADefType/Documento/Referencia/NroLinRef

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
facets |
maxInclusive | 40
annotation |
documentation |
    Numero Secuencial de Linea de Referencia

element BOLETADefType/Documento/Referencia/TpoDocRef

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 3
annotation |
documentation |
    Tipo Documento de referencia

element BOLETADefType/Documento/Referencia/FolioRef

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 18
annotation |
documentation |
    Folio de Referencia

element BOLETADefType/Documento/Referencia/CodRef

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 18
annotation |
documentation |
    Codigo Interno del Tipo de Referencia

element BOLETADefType/Documento/Referencia/RazonRef

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 90
annotation |
documentation |
    Razon Explicita por la que se Referencia el Documento

element BOLETADefType/Documento/Referencia/CodVndor

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 8
annotation |
documentation |
    Código del Vendedor establecido por la Empresa. Puede estar asociado a INTERNET

element BOLETADefType/Documento/Referencia/CodCaja

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 8
annotation |
documentation |
    Código de la caja establecido por la Empresa

element BOLETADefType/Documento/TED

diagram |
namespace | http://www.sii.cl/SiiDte
children | DD FRMT
attributes |
Name | Type | Use | Default | Fixed | Annotation
version |  | required |  | 1.0 |
annotation |
documentation |
    Timbre Electronico de la Boleta

element BOLETADefType/Documento/TED/DD

diagram |
namespace | http://www.sii.cl/SiiDte
children | RE TD F FE RR RSR MNT IT1 CAF TSTED
annotation |
documentation |
    Datos Basicos de Documento

element BOLETADefType/Documento/TED/DD/RE

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT Emisor

element BOLETADefType/Documento/TED/DD/TD

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:DTEType
facets |
enumeration | 39
enumeration | 41
annotation |
documentation |
    Tipo DTE

element BOLETADefType/Documento/TED/DD/F

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:FolioType
facets |
totalDigits | 10
annotation |
documentation |
    Folio DTE

element BOLETADefType/Documento/TED/DD/FE

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Fecha Emision DTE en Formato AAAA-MM-DD

element BOLETADefType/Documento/TED/DD/RR

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT Receptor

element BOLETADefType/Documento/TED/DD/RSR

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 40
annotation |
documentation |
    Razon Sociall Receptor

element BOLETADefType/Documento/TED/DD/MNT

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:unsignedLong
annotation |
documentation |
    Monto Total DTE

element BOLETADefType/Documento/TED/DD/IT1

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 40
annotation |
documentation |
    Descripcion Primer Item de Detalle

element BOLETADefType/Documento/TED/DD/CAF

diagram |
namespace | http://www.sii.cl/SiiDte
children | DA FRMA
attributes |
Name | Type | Use | Default | Fixed | Annotation
version |  | required |  | 1.0 |
annotation |
documentation |
    Codigo Autorizacion Folios

element BOLETADefType/Documento/TED/DD/CAF/DA

diagram |
namespace | http://www.sii.cl/SiiDte
children | RE RS TD RNG FA RSAPK DSAPK IDK
annotation |
documentation |
    Datos de Autorizacion de Folios

element BOLETADefType/Documento/TED/DD/CAF/DA/RE

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:RUTType
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    RUT Emisor

element BOLETADefType/Documento/TED/DD/CAF/DA/RS

diagram |
namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
facets |
maxLength | 40
annotation |
documentation |
    Razon Social Emisor

element BOLETADefType/Documento/TED/DD/CAF/DA/TD

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:DTEType
facets |
enumeration | 39
enumeration | 41
annotation |
documentation |
    Tipo DTE

element BOLETADefType/Documento/TED/DD/CAF/DA/RNG

diagram |
namespace | http://www.sii.cl/SiiDte
children | D H
annotation |
documentation |
    Rango Autorizado de Folios

element BOLETADefType/Documento/TED/DD/CAF/DA/RNG/D

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:FolioType
facets |
totalDigits | 10
annotation |
documentation |
    Folio Inicial (Desde)

element BOLETADefType/Documento/TED/DD/CAF/DA/RNG/H

diagram |
namespace | http://www.sii.cl/SiiDte
type | SiiDte:FolioType
facets |
totalDigits | 10
annotation |
documentation |
    Folio Final (Hasta)

element BOLETADefType/Documento/TED/DD/CAF/DA/FA

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:date
annotation |
documentation |
    Fecha Autorizacion en Formato AAAA-MM-DD

element BOLETADefType/Documento/TED/DD/CAF/DA/RSAPK

diagram |
namespace | http://www.sii.cl/SiiDte
children | M E
annotation |
documentation |
    Clave Publica RSA del Solicitante

element BOLETADefType/Documento/TED/DD/CAF/DA/RSAPK/M

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    Modulo RSA

element BOLETADefType/Documento/TED/DD/CAF/DA/RSAPK/E

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    Exponente RSA

element BOLETADefType/Documento/TED/DD/CAF/DA/DSAPK

diagram |
namespace | http://www.sii.cl/SiiDte
children | P Q G Y
annotation |
documentation |
    Clave Publica DSA del Solicitante

element BOLETADefType/Documento/TED/DD/CAF/DA/DSAPK/P

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    Modulo Primo

element BOLETADefType/Documento/TED/DD/CAF/DA/DSAPK/Q

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    Entero Divisor de P - 1

element BOLETADefType/Documento/TED/DD/CAF/DA/DSAPK/G

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    Entero f(P, Q)

element BOLETADefType/Documento/TED/DD/CAF/DA/DSAPK/Y

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:base64Binary
annotation |
documentation |
    G**X mod P

element BOLETADefType/Documento/TED/DD/CAF/DA/IDK

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:long
annotation |
documentation |
    Identificador de Llave

element BOLETADefType/Documento/TED/DD/CAF/FRMA

diagram |
namespace | http://www.sii.cl/SiiDte
type | extension of xs:base64Binary
attributes |
Name | Type | Use | Default | Fixed | Annotation
algoritmo | xs:string | required |  | SHA1withRSA |
annotation |
documentation |
    Firma Digital (RSA) del SII Sobre DA

element BOLETADefType/Documento/TED/DD/TSTED

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:dateTime
annotation |
documentation |
    TimeStamp de Generacion del Timbre

element BOLETADefType/Documento/TED/FRMT

diagram |
namespace | http://www.sii.cl/SiiDte
type | extension of xs:base64Binary
attributes |
Name | Type | Use | Default | Fixed | Annotation
algoritmo | xs:string | required |  |  |
annotation |
documentation |
    Valor de Firma Digital  sobre DD

element BOLETADefType/Documento/TmstFirma

diagram |
namespace | http://www.sii.cl/SiiDte
type | xs:dateTime
annotation |
documentation |
    Fecha y Hora en que se Firmo Digitalmente el Documento AAAA-MM-DDTHH:MI:SS

simpleType Dec1Type

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:decimal
used by |
elements | BOLETADefType/Documento/SubTotInfo/SubTotAdicSTI BOLETADefType/Documento/SubTotInfo/SubTotExeSTI BOLETADefType/Documento/SubTotInfo/SubTotIVASTI BOLETADefType/Documento/SubTotInfo/SubTotNetoSTI BOLETADefType/Documento/DscRcgGlobal/ValorDR BOLETADefType/Documento/SubTotInfo/ValSubtotSTI
facets |
minInclusive | 0.01
maxInclusive | 9999999999999999.99
totalDigits | 18
fractionDigits | 2
annotation |
documentation |
    Monto con 16 Digitos de Cuerpo y 2 Decimales

simpleType Dec5Type

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:decimal
used by |
elements | BOLETADefType/Documento/Detalle/PrcItem BOLETADefType/Documento/Detalle/QtyItem
facets |
minInclusive | 0.000001
maxInclusive | 999999999999.999999
totalDigits | 18
fractionDigits | 6
annotation |
documentation |
    Monto con 12 Digitos de Cuerpo y 6 Decimales

simpleType DTEType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
used by |
elements | BOLETADefType/Documento/TED/DD/TD BOLETADefType/Documento/TED/DD/CAF/DA/TD BOLETADefType/Documento/Encabezado/IdDoc/TipoDTE EnvioBOLETA/SetDTE/Caratula/SubTotDTE/TpoDTE
facets |
enumeration | 39
enumeration | 41
annotation |
documentation |
    Tipos de Documentos Tributarios Electronicos

simpleType FolioType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
used by |
elements | BOLETADefType/Documento/TED/DD/CAF/DA/RNG/D BOLETADefType/Documento/TED/DD/F BOLETADefType/Documento/Encabezado/IdDoc/Folio BOLETADefType/Documento/TED/DD/CAF/DA/RNG/H
facets |
totalDigits | 10
annotation |
documentation |
    Folio de DTE - 10 digitos

simpleType MntImpType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:positiveInteger
used by |
element | BOLETADefType/Documento/Encabezado/Totales/IVA
facets |
totalDigits | 18
annotation |
documentation |
    Monto de Impuesto - 18 digitos

simpleType MontoType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:nonNegativeInteger
used by |
elements | BOLETADefType/Documento/Encabezado/Totales/MntExe BOLETADefType/Documento/Encabezado/Totales/MntNeto BOLETADefType/Documento/Encabezado/Totales/MntTotal BOLETADefType/Documento/Detalle/MontoItem BOLETADefType/Documento/Encabezado/Totales/TotalPeriodo
facets |
totalDigits | 18
annotation |
documentation |
    Monto de 18 digitos - Incluye el cero

simpleType PctType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:decimal
used by |
elements | BOLETADefType/Documento/Detalle/DescuentoPct BOLETADefType/Documento/Detalle/RecargoPct
facets |
minInclusive | 0.01
maxInclusive | 999.99
totalDigits | 5
fractionDigits | 2
annotation |
documentation |
    Monto de Porcentaje ( 3 y 2)

simpleType RUTType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:string
used by |
elements | BOLETADefType/Documento/TED/DD/RE BOLETADefType/Documento/TED/DD/CAF/DA/RE BOLETADefType/Documento/TED/DD/RR EnvioBOLETA/SetDTE/Caratula/RutEmisor BOLETADefType/Documento/Encabezado/Emisor/RUTEmisor EnvioBOLETA/SetDTE/Caratula/RutEnvia BOLETADefType/Documento/Detalle/RUTMandante BOLETADefType/Documento/Encabezado/Receptor/RUTRecep EnvioBOLETA/SetDTE/Caratula/RutReceptor
facets |
minLength | 3
maxLength | 10
pattern | [0-9]+-([0-9]|K)
annotation |
documentation |
    Rol Unico Tributario (99..99-X)

simpleType ValorType

namespace | http://www.sii.cl/SiiDte
type | restriction of xs:integer
used by |
elements | BOLETADefType/Documento/Encabezado/Totales/MontoNF BOLETADefType/Documento/Encabezado/Totales/SaldoAnterior BOLETADefType/Documento/Encabezado/Totales/VlrPagar
facets |
totalDigits | 18
annotation |
documentation |
    Monto de 18 digitos - Positivo o Negativo

element ds:Signature

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | ds:SignatureType
children | SignedInfo SignatureValue KeyInfo
used by |
element | EnvioBOLETA
complexType | BOLETADefType
annotation |
documentation |
    Firma Digital sobre Documento

complexType ds:SignatureType

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | SignedInfo SignatureValue KeyInfo
used by |
element | ds:Signature
annotation |
documentation |
    Firma Digital con Restricciones

element ds:SignatureType/SignedInfo

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | CanonicalizationMethod SignatureMethod Reference
annotation |
documentation |
    Descripcion de la Informacion Firmada y del Metodo de Firma

element ds:SignatureType/SignedInfo/CanonicalizationMethod

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
attributes |
Name | Type | Use | Default | Fixed | Annotation
Algorithm | ds:anyURI | required |  | http://www.w3.org/TR/2001/REC-xml-c14n-20010315 |
annotation |
documentation |
    Algoritmo de Canonicalizacion

element ds:SignatureType/SignedInfo/SignatureMethod

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
attributes |
Name | Type | Use | Default | Fixed | Annotation
Algorithm | ds:anyURI | required |  |  |
annotation |
documentation |
    Algoritmo de Firma

element ds:SignatureType/SignedInfo/Reference

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | Transforms DigestMethod DigestValue
attributes |
Name | Type | Use | Default | Fixed | Annotation
URI | ds:anyURI | required |  |  |
annotation |
documentation |
    Referencia a Elemento Firmado

element ds:SignatureType/SignedInfo/Reference/Transforms

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | Transform
annotation |
documentation |
    Algoritmo de Transformacion

element ds:SignatureType/SignedInfo/Reference/Transforms/Transform

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
attributes |
Name | Type | Use | Default | Fixed | Annotation
Algorithm | ds:anyURI | required |  |  |

element ds:SignatureType/SignedInfo/Reference/DigestMethod

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
attributes |
Name | Type | Use | Default | Fixed | Annotation
Algorithm | ds:anyURI | required |  | http://www.w3.org/2000/09/xmldsig#sha1 |
annotation |
documentation |
    Algoritmo de Digest

element ds:SignatureType/SignedInfo/Reference/DigestValue

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Valor de Digest

element ds:SignatureType/SignatureValue

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Valor de la Firma Digital

element ds:SignatureType/KeyInfo

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | KeyValue X509Data
annotation |
documentation |
    Informacion de Claves Publicas y Certificado

element ds:SignatureType/KeyInfo/KeyValue

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | RSAKeyValue DSAKeyValue

element ds:SignatureType/KeyInfo/KeyValue/RSAKeyValue

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | Modulus Exponent
annotation |
documentation |
    Informacion de Claves Publicas RSA

element ds:SignatureType/KeyInfo/KeyValue/RSAKeyValue/Modulus

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Modulo Clave RSA

element ds:SignatureType/KeyInfo/KeyValue/RSAKeyValue/Exponent

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Exponente Clave RSA

element ds:SignatureType/KeyInfo/KeyValue/DSAKeyValue

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | P Q G Y
annotation |
documentation |
    Informacion de Claves Publicas DSA

element ds:SignatureType/KeyInfo/KeyValue/DSAKeyValue/P

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Modulo Primo

element ds:SignatureType/KeyInfo/KeyValue/DSAKeyValue/Q

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Entero Divisor de P - 1

element ds:SignatureType/KeyInfo/KeyValue/DSAKeyValue/G

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Entero f(P, Q)

element ds:SignatureType/KeyInfo/KeyValue/DSAKeyValue/Y

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    G**X mod P

element ds:SignatureType/KeyInfo/X509Data

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
children | X509Certificate
annotation |
documentation |
    Informacion del Certificado Publico

element ds:SignatureType/KeyInfo/X509Data/X509Certificate

diagram |
namespace | http://www.w3.org/2000/09/xmldsig#
type | xs:base64Binary
annotation |
documentation |
    Certificado Publico

XML Schema documentation generated with XMLSPY Schema Editor http://www.altova.com/xmlspy