Schema LibroCVS_v10.xsd


schema location:  D:\LCVLibTri\LibroCVS_v10.xsd
targetNamespace:  http://www.sii.cl/SiiDte
 
Elements  Simple types 
LibroCompraVenta  DoctoType 
ImptoType 
MntImpType 
MontoType 
PctType 
RUTType 
ValorType 


element LibroCompraVenta
diagram
children EnvioLibro
attributes
Name  Type  Use  Default  Fixed  Annotation
version  xs:decimal  required    1.0  
annotation
documentation 
Informacion Electronica de Libros de Compra y Venta

element LibroCompraVenta/EnvioLibro
diagram
children Caratula ResumenSegmento ResumenPeriodo Detalle TmstFirma
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xs:ID  required      
annotation
documentation 
Identificacion, Resumen y Detalles del Libro Electronico

element LibroCompraVenta/EnvioLibro/Caratula
diagram
children RutEmisorLibro RutEnvia PeriodoTributario FchResol NroResol TipoOperacion TipoLibro TipoEnvio NroSegmento FolioNotificacion
annotation
documentation 
Identificacion del Envio del Libro Electronico

element LibroCompraVenta/EnvioLibro/Caratula/RutEmisorLibro
diagram
type SiiDte:RUTType
facets
minLength 3
maxLength 10
pattern [0-9]+-([0-9]|K)
annotation
documentation 
RUT del Emisor del Libro Electronico

element LibroCompraVenta/EnvioLibro/Caratula/RutEnvia
diagram
type SiiDte:RUTType
facets
minLength 3
maxLength 10
pattern [0-9]+-([0-9]|K)
annotation
documentation 
RUT que Realiza el Envio del Libro Electronico

element LibroCompraVenta/EnvioLibro/Caratula/PeriodoTributario
diagram
type xs:gYearMonth
annotation
documentation 
Periodo Tributario del Libro Electronico (AAAA-MM)

element LibroCompraVenta/EnvioLibro/Caratula/FchResol
diagram
type xs:date
annotation
documentation 
Fecha de Resolucion que Autoriza el Envio de Libros (AAAA-MM-DD)

element LibroCompraVenta/EnvioLibro/Caratula/NroResol
diagram
type restriction of xs:nonNegativeInteger
facets
totalDigits 6
annotation
documentation 
Numero de Resolucion que Autoriza el Envio de Libros

element LibroCompraVenta/EnvioLibro/Caratula/TipoOperacion
diagram
type restriction of xs:string
facets
enumeration COMPRA
enumeration VENTA
annotation
documentation 
Tipo de Operacion Declarada en el Libro

element LibroCompraVenta/EnvioLibro/Caratula/TipoLibro
diagram
type restriction of xs:string
facets
enumeration ESPECIAL
annotation
documentation 
Tipo de Libro de Compra o Venta Enviado

element LibroCompraVenta/EnvioLibro/Caratula/TipoEnvio
diagram
type restriction of xs:string
facets
enumeration PARCIAL
enumeration FINAL
enumeration TOTAL
enumeration AJUSTE
annotation
documentation 
Tipo de Envio del Libro Electronico

element LibroCompraVenta/EnvioLibro/Caratula/NroSegmento
diagram
type restriction of xs:positiveInteger
facets
totalDigits 6
annotation
documentation 
Correlativo del Segmento de Libro

element LibroCompraVenta/EnvioLibro/Caratula/FolioNotificacion
diagram
type restriction of xs:positiveInteger
facets
totalDigits 18
annotation
documentation 
Folio de la Notificacion con que se Solicita el Libro Especial

element LibroCompraVenta/EnvioLibro/ResumenSegmento
diagram
children TotalesSegmento
annotation
documentation 
Resumen del Segmento de Informacion Enviado

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento
diagram
children TpoDoc TotDoc TotMntExe TotMntNeto TotMntIVA TotOtrosImp TotMntTotal TotIVANoRetenido
annotation
documentation 
Totales de Control, por Tipo de  Documento, Para el Segmento

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TpoDoc
diagram
type SiiDte:DoctoType
facets
enumeration 30
enumeration 32
enumeration 33
enumeration 34
enumeration 35
enumeration 38
enumeration 39
enumeration 40
enumeration 45
enumeration 46
enumeration 55
enumeration 56
enumeration 60
enumeration 61
enumeration 101
enumeration 102
enumeration 103
enumeration 104
enumeration 105
enumeration 106
enumeration 108
enumeration 109
enumeration 900
enumeration 901
enumeration 902
enumeration 903
enumeration 904
enumeration 905
enumeration 906
enumeration 907
enumeration 909
enumeration 910
enumeration 911
enumeration 914
enumeration 918
enumeration 919
enumeration 921
enumeration 923
annotation
documentation 
Tipo de Documento Resumido

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotDoc
diagram
type restriction of xs:integer
facets
totalDigits 10
annotation
documentation 
Numero de Documentos del Tipo Incluidos en el Libro Electronico

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntExe
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Exentos

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntNeto
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Netos

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntIVA
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Total de los Montos de IVA (LV) o IVA Recuperable (LC)

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotOtrosImp
diagram
children CodImp TotMntImp
annotation
documentation 
Solo en LC

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotOtrosImp/CodImp
diagram
type SiiDte:ImptoType
facets
enumeration 15
annotation
documentation 
Codigo 15 (Retención Total)

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotOtrosImp/TotMntImp
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Monto 

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntTotal
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Totales

element LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotIVANoRetenido
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Total IVA No Retenido

element LibroCompraVenta/EnvioLibro/ResumenPeriodo
diagram
children TotalesPeriodo
annotation
documentation 
Resumen Para el Periodo Tributario

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo
diagram
children TpoDoc TotDoc TotMntExe TotMntNeto TotMntIVA TotOtrosImp TotMntTotal TotIVANoRetenido
annotation
documentation 
Totales de Control, por Tipo de  Documento, Para el Periodo Tributario

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TpoDoc
diagram
type SiiDte:DoctoType
facets
enumeration 30
enumeration 32
enumeration 33
enumeration 34
enumeration 35
enumeration 38
enumeration 39
enumeration 40
enumeration 45
enumeration 46
enumeration 55
enumeration 56
enumeration 60
enumeration 61
enumeration 101
enumeration 102
enumeration 103
enumeration 104
enumeration 105
enumeration 106
enumeration 108
enumeration 109
enumeration 900
enumeration 901
enumeration 902
enumeration 903
enumeration 904
enumeration 905
enumeration 906
enumeration 907
enumeration 909
enumeration 910
enumeration 911
enumeration 914
enumeration 918
enumeration 919
enumeration 921
enumeration 923
annotation
documentation 
Tipo de Documento Resumido

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotDoc
diagram
type restriction of xs:positiveInteger
facets
totalDigits 10
annotation
documentation 
Numero de Documentos del Tipo Incluidos en el Libro Electronico

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntExe
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Exentos

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntNeto
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Netos

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntIVA
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Total de los Montos de IVA

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotOtrosImp
diagram
children CodImp TotMntImp
annotation
documentation 
Solo en LC

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotOtrosImp/CodImp
diagram
type SiiDte:ImptoType
facets
enumeration 15
annotation
documentation 
Codigo 15 (Retención Total)

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotOtrosImp/TotMntImp
diagram
type SiiDte:ValorType
facets
totalDigits 18
annotation
documentation 
Monto 

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntTotal
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Total de los Montos Totales

element LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotIVANoRetenido
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Total IVA No Retenido

element LibroCompraVenta/EnvioLibro/Detalle
diagram
children TpoDoc Emisor NroDoc Operacion TasaImp IndSinCosto FchDoc RUTDoc RznSoc MntExe MntNeto MntIVA OtrosImp MntTotal IVANoRetenido
annotation
documentation 
Detalle de Documentos que Componen el Libro Electronico

element LibroCompraVenta/EnvioLibro/Detalle/TpoDoc
diagram
type SiiDte:DoctoType
facets
enumeration 30
enumeration 32
enumeration 33
enumeration 34
enumeration 35
enumeration 38
enumeration 39
enumeration 40
enumeration 45
enumeration 46
enumeration 55
enumeration 56
enumeration 60
enumeration 61
enumeration 101
enumeration 102
enumeration 103
enumeration 104
enumeration 105
enumeration 106
enumeration 108
enumeration 109
enumeration 900
enumeration 901
enumeration 902
enumeration 903
enumeration 904
enumeration 905
enumeration 906
enumeration 907
enumeration 909
enumeration 910
enumeration 911
enumeration 914
enumeration 918
enumeration 919
enumeration 921
enumeration 923
annotation
documentation 
Tipo de Documento

element LibroCompraVenta/EnvioLibro/Detalle/Emisor
diagram
type restriction of xs:positiveInteger
facets
totalDigits 1
enumeration 1
annotation
documentation 
Indica que el Documento fue Emitido por el Emisor del Libro de Compra (LC)

element LibroCompraVenta/EnvioLibro/Detalle/NroDoc
diagram
type restriction of xs:positiveInteger
facets
totalDigits 10
annotation
documentation 
Identificador o Folio del Documento.

element LibroCompraVenta/EnvioLibro/Detalle/Operacion
diagram
type restriction of xs:positiveInteger
facets
enumeration 1
enumeration 2
annotation
documentation 
Indica si Agrega o Elimina Informacion

element LibroCompraVenta/EnvioLibro/Detalle/TasaImp
diagram
type SiiDte:PctType
facets
minInclusive 0
maxInclusive 100
totalDigits 5
fractionDigits 2
annotation
documentation 
Tasa de Impuesto Usada en la Operacion (IVA o 18.211)

element LibroCompraVenta/EnvioLibro/Detalle/IndSinCosto
diagram
type restriction of xs:positiveInteger
facets
enumeration 1
annotation
documentation 
Indicador de Venta sin Costo (LV)

element LibroCompraVenta/EnvioLibro/Detalle/FchDoc
diagram
type xs:date
annotation
documentation 
Fecha del Documento (AAAA-MM-DD)

element LibroCompraVenta/EnvioLibro/Detalle/RUTDoc
diagram
type SiiDte:RUTType
facets
minLength 3
maxLength 10
pattern [0-9]+-([0-9]|K)
annotation
documentation 
RUT del Contraparte en la Operación Comercial

element LibroCompraVenta/EnvioLibro/Detalle/RznSoc
diagram
type restriction of xs:string
facets
maxLength 50
annotation
documentation 
Razon Social de la Contraparte del Documento

element LibroCompraVenta/EnvioLibro/Detalle/MntExe
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Monto Exento o no Gravado del Documento

element LibroCompraVenta/EnvioLibro/Detalle/MntNeto
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Monto Neto del Documento

element LibroCompraVenta/EnvioLibro/Detalle/MntIVA
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Monto de IVA del Documento

element LibroCompraVenta/EnvioLibro/Detalle/OtrosImp
diagram
children CodImp TasaImp MntImp
annotation
documentation 
Solo en LC

element LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/CodImp
diagram
type SiiDte:ImptoType
facets
enumeration 15
annotation
documentation 
Codigo 15

element LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/TasaImp
diagram
type SiiDte:PctType
facets
minInclusive 0
maxInclusive 100
totalDigits 5
fractionDigits 2
annotation
documentation 
Tasa de Retencion

element LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/MntImp
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Monto Retenido

element LibroCompraVenta/EnvioLibro/Detalle/MntTotal
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
Monto Total del Documento

element LibroCompraVenta/EnvioLibro/Detalle/IVANoRetenido
diagram
type SiiDte:MontoType
facets
totalDigits 18
annotation
documentation 
IVA No Retenido

element LibroCompraVenta/EnvioLibro/TmstFirma
diagram
type restriction of xs:dateTime
annotation
documentation 
Fecha y Hora del Envio del Archivo en formato AAAA-MM-DDTHH24:MI:SS

simpleType DoctoType
type restriction of xs:positiveInteger
used by
elements LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TpoDoc LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TpoDoc LibroCompraVenta/EnvioLibro/Detalle/TpoDoc
facets
enumeration 30
enumeration 32
enumeration 33
enumeration 34
enumeration 35
enumeration 38
enumeration 39
enumeration 40
enumeration 45
enumeration 46
enumeration 55
enumeration 56
enumeration 60
enumeration 61
enumeration 101
enumeration 102
enumeration 103
enumeration 104
enumeration 105
enumeration 106
enumeration 108
enumeration 109
enumeration 900
enumeration 901
enumeration 902
enumeration 903
enumeration 904
enumeration 905
enumeration 906
enumeration 907
enumeration 909
enumeration 910
enumeration 911
enumeration 914
enumeration 918
enumeration 919
enumeration 921
enumeration 923
annotation
documentation 
Tipos de Documentos

simpleType ImptoType
type restriction of xs:positiveInteger
used by
elements LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotOtrosImp/CodImp LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotOtrosImp/CodImp LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/CodImp
facets
enumeration 15
annotation
documentation 
Impuestos Adicionales

simpleType MntImpType
type restriction of xs:positiveInteger
facets
totalDigits 18
annotation
documentation 
Monto 18 digitos (> cero)

simpleType MontoType
type restriction of xs:nonNegativeInteger
used by
elements LibroCompraVenta/EnvioLibro/Detalle/IVANoRetenido LibroCompraVenta/EnvioLibro/Detalle/MntExe LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/MntImp LibroCompraVenta/EnvioLibro/Detalle/MntIVA LibroCompraVenta/EnvioLibro/Detalle/MntNeto LibroCompraVenta/EnvioLibro/Detalle/MntTotal LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotIVANoRetenido LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntExe LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntIVA LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntNeto LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotMntTotal
facets
totalDigits 18
annotation
documentation 
Monto 18 digitos (mayor o igual a cero)

simpleType PctType
type restriction of xs:decimal
used by
elements LibroCompraVenta/EnvioLibro/Detalle/TasaImp LibroCompraVenta/EnvioLibro/Detalle/OtrosImp/TasaImp
facets
minInclusive 0
maxInclusive 100
totalDigits 5
fractionDigits 2
annotation
documentation 
Porcentaje (3 enteros y 2 decimales)

simpleType RUTType
type restriction of xs:string
used by
elements LibroCompraVenta/EnvioLibro/Detalle/RUTDoc LibroCompraVenta/EnvioLibro/Caratula/RutEmisorLibro LibroCompraVenta/EnvioLibro/Caratula/RutEnvia
facets
minLength 3
maxLength 10
pattern [0-9]+-([0-9]|K)
annotation
documentation 
RUT 99999999-X

simpleType ValorType
type restriction of xs:integer
used by
elements LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotIVANoRetenido LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntExe LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotOtrosImp/TotMntImp LibroCompraVenta/EnvioLibro/ResumenPeriodo/TotalesPeriodo/TotOtrosImp/TotMntImp LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntIVA LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntNeto LibroCompraVenta/EnvioLibro/ResumenSegmento/TotalesSegmento/TotMntTotal
facets
totalDigits 18
annotation
documentation 
Monto 18 digitos (positivo o negativo)


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