|  | 
|  | 1 | +<?xml version="1.0" encoding="ISO-8859-1"?> | 
|  | 2 | +<!--Ultima Modificacion:  11 Diciembre 2008 --> | 
|  | 3 | +<xs:schema targetNamespace="http://www.sii.cl/SiiDte" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SiiDte="http://www.sii.cl/SiiDte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | 
|  | 4 | +	<xs:include schemaLocation="SiiTypes_v10.xsd"/> | 
|  | 5 | +	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsignature_v10.xsd"/> | 
|  | 6 | +	<!--  | 
|  | 7 | +      Fecha ultima actualización : 10-03-05 16:00 | 
|  | 8 | +       --> | 
|  | 9 | +	<xs:element name="Cesion" type="SiiDte:CesionDefType"> | 
|  | 10 | +		<xs:annotation> | 
|  | 11 | +			<xs:documentation>Envio de Informacion de Transferencias  Electronicas</xs:documentation> | 
|  | 12 | +		</xs:annotation> | 
|  | 13 | +	</xs:element> | 
|  | 14 | +	<xs:complexType name="CesionDefType"> | 
|  | 15 | +		<xs:annotation> | 
|  | 16 | +			<xs:documentation>Documento Tributario Electronico</xs:documentation> | 
|  | 17 | +		</xs:annotation> | 
|  | 18 | +		<xs:sequence> | 
|  | 19 | +			<xs:element name="DocumentoCesion"> | 
|  | 20 | +				<xs:complexType> | 
|  | 21 | +					<xs:sequence> | 
|  | 22 | +						<xs:element name="SeqCesion"> | 
|  | 23 | +							<xs:annotation> | 
|  | 24 | +								<xs:documentation>Secuencia de Cesiones (1, 2, 3, ... )</xs:documentation> | 
|  | 25 | +							</xs:annotation> | 
|  | 26 | +							<xs:simpleType> | 
|  | 27 | +								<xs:restriction base="xs:positiveInteger"> | 
|  | 28 | +									<xs:totalDigits value="3"/> | 
|  | 29 | +								</xs:restriction> | 
|  | 30 | +							</xs:simpleType> | 
|  | 31 | +						</xs:element> | 
|  | 32 | +						<xs:element name="IdDTE"> | 
|  | 33 | +							<xs:annotation> | 
|  | 34 | +								<xs:documentation>Identificacion del DTE Cedido</xs:documentation> | 
|  | 35 | +							</xs:annotation> | 
|  | 36 | +							<xs:complexType> | 
|  | 37 | +								<xs:sequence> | 
|  | 38 | +									<xs:element name="TipoDTE" type="SiiDte:DTEFacturasType"> | 
|  | 39 | +										<xs:annotation> | 
|  | 40 | +											<xs:documentation>Tipo de DTE</xs:documentation> | 
|  | 41 | +										</xs:annotation> | 
|  | 42 | +									</xs:element> | 
|  | 43 | +									<xs:element name="RUTEmisor" type="SiiDte:RUTType"> | 
|  | 44 | +										<xs:annotation> | 
|  | 45 | +											<xs:documentation>RUT Emisor del DTE</xs:documentation> | 
|  | 46 | +										</xs:annotation> | 
|  | 47 | +									</xs:element> | 
|  | 48 | +									<xs:element name="RUTReceptor" type="SiiDte:RUTType"> | 
|  | 49 | +										<xs:annotation> | 
|  | 50 | +											<xs:documentation>RUT Receptor del DTE</xs:documentation> | 
|  | 51 | +										</xs:annotation> | 
|  | 52 | +									</xs:element> | 
|  | 53 | +									<xs:element name="Folio" type="SiiDte:FolioType"> | 
|  | 54 | +										<xs:annotation> | 
|  | 55 | +											<xs:documentation>Folio del DTE</xs:documentation> | 
|  | 56 | +										</xs:annotation> | 
|  | 57 | +									</xs:element> | 
|  | 58 | +									<xs:element name="FchEmis" type="xs:date"> | 
|  | 59 | +										<xs:annotation> | 
|  | 60 | +											<xs:documentation>Fecha Emision Contable del DTE (AAAA-MM-DD)</xs:documentation> | 
|  | 61 | +										</xs:annotation> | 
|  | 62 | +									</xs:element> | 
|  | 63 | +									<xs:element name="MntTotal" type="SiiDte:MontoType"> | 
|  | 64 | +										<xs:annotation> | 
|  | 65 | +											<xs:documentation>Monto Total del DTE</xs:documentation> | 
|  | 66 | +										</xs:annotation> | 
|  | 67 | +									</xs:element> | 
|  | 68 | +								</xs:sequence> | 
|  | 69 | +							</xs:complexType> | 
|  | 70 | +						</xs:element> | 
|  | 71 | +						<xs:element name="Cedente"> | 
|  | 72 | +							<xs:annotation> | 
|  | 73 | +								<xs:documentation>Identificacion del Cedente</xs:documentation> | 
|  | 74 | +							</xs:annotation> | 
|  | 75 | +							<xs:complexType> | 
|  | 76 | +								<xs:sequence> | 
|  | 77 | +									<xs:element name="RUT" type="SiiDte:RUTType"> | 
|  | 78 | +										<xs:annotation> | 
|  | 79 | +											<xs:documentation>RUT del Cedente del DTE</xs:documentation> | 
|  | 80 | +										</xs:annotation> | 
|  | 81 | +									</xs:element> | 
|  | 82 | +									<xs:element name="RazonSocial"> | 
|  | 83 | +										<xs:annotation> | 
|  | 84 | +											<xs:documentation>Razon Social o Nombre del Cedente</xs:documentation> | 
|  | 85 | +										</xs:annotation> | 
|  | 86 | +										<xs:simpleType> | 
|  | 87 | +											<xs:restriction base="SiiDte:RznSocLargaType"> | 
|  | 88 | +												<xs:minLength value="1"/> | 
|  | 89 | +											</xs:restriction> | 
|  | 90 | +										</xs:simpleType> | 
|  | 91 | +									</xs:element> | 
|  | 92 | +									<xs:element name="Direccion"> | 
|  | 93 | +										<xs:annotation> | 
|  | 94 | +											<xs:documentation>Direccion del Cedente</xs:documentation> | 
|  | 95 | +										</xs:annotation> | 
|  | 96 | +										<xs:simpleType> | 
|  | 97 | +											<xs:restriction base="SiiDte:DireccType"> | 
|  | 98 | +												<xs:minLength value="5"/> | 
|  | 99 | +											</xs:restriction> | 
|  | 100 | +										</xs:simpleType> | 
|  | 101 | +									</xs:element> | 
|  | 102 | +									<xs:element name="eMail"> | 
|  | 103 | +										<xs:annotation> | 
|  | 104 | +											<xs:documentation>Correo Electronico del Cedente</xs:documentation> | 
|  | 105 | +										</xs:annotation> | 
|  | 106 | +										<xs:simpleType> | 
|  | 107 | +											<xs:restriction base="SiiDte:MailType"> | 
|  | 108 | +												<xs:minLength value="6"/> | 
|  | 109 | +											</xs:restriction> | 
|  | 110 | +										</xs:simpleType> | 
|  | 111 | +									</xs:element> | 
|  | 112 | +									<xs:element name="RUTAutorizado" maxOccurs="3"> | 
|  | 113 | +										<xs:annotation> | 
|  | 114 | +											<xs:documentation>Lista de Personas Autorizadas por el Cedente a Firmar la Transferencia</xs:documentation> | 
|  | 115 | +										</xs:annotation> | 
|  | 116 | +										<xs:complexType> | 
|  | 117 | +											<xs:sequence> | 
|  | 118 | +												<xs:element name="RUT" type="SiiDte:RUTType"> | 
|  | 119 | +													<xs:annotation> | 
|  | 120 | +														<xs:documentation>RUT de Persona Autorizada</xs:documentation> | 
|  | 121 | +													</xs:annotation> | 
|  | 122 | +												</xs:element> | 
|  | 123 | +												<xs:element name="Nombre" type="SiiDte:NombreType"> | 
|  | 124 | +													<xs:annotation> | 
|  | 125 | +														<xs:documentation>Nombre de Persona Autorizada</xs:documentation> | 
|  | 126 | +													</xs:annotation> | 
|  | 127 | +												</xs:element> | 
|  | 128 | +											</xs:sequence> | 
|  | 129 | +										</xs:complexType> | 
|  | 130 | +									</xs:element> | 
|  | 131 | +									<xs:element name="DeclaracionJurada" minOccurs="0"> | 
|  | 132 | +										<xs:annotation> | 
|  | 133 | +											<xs:documentation>Declaracion Jurada de Disponibilidad de Documentacion No Electronica</xs:documentation> | 
|  | 134 | +										</xs:annotation> | 
|  | 135 | +										<xs:simpleType> | 
|  | 136 | +											<xs:restriction base="xs:string"> | 
|  | 137 | +												<xs:maxLength value="512"/> | 
|  | 138 | +											</xs:restriction> | 
|  | 139 | +										</xs:simpleType> | 
|  | 140 | +									</xs:element> | 
|  | 141 | +								</xs:sequence> | 
|  | 142 | +							</xs:complexType> | 
|  | 143 | +						</xs:element> | 
|  | 144 | +						<xs:element name="Cesionario"> | 
|  | 145 | +							<xs:annotation> | 
|  | 146 | +								<xs:documentation>Identificacion del Cesionario</xs:documentation> | 
|  | 147 | +							</xs:annotation> | 
|  | 148 | +							<xs:complexType> | 
|  | 149 | +								<xs:sequence> | 
|  | 150 | +									<xs:element name="RUT"> | 
|  | 151 | +										<xs:annotation> | 
|  | 152 | +											<xs:documentation>RUT del Cesionario</xs:documentation> | 
|  | 153 | +										</xs:annotation> | 
|  | 154 | +									</xs:element> | 
|  | 155 | +									<xs:element name="RazonSocial"> | 
|  | 156 | +										<xs:annotation> | 
|  | 157 | +											<xs:documentation>Razon Social o Nombre del Cesionario</xs:documentation> | 
|  | 158 | +										</xs:annotation> | 
|  | 159 | +										<xs:simpleType> | 
|  | 160 | +											<xs:restriction base="SiiDte:RznSocLargaType"> | 
|  | 161 | +												<xs:minLength value="1"/> | 
|  | 162 | +											</xs:restriction> | 
|  | 163 | +										</xs:simpleType> | 
|  | 164 | +									</xs:element> | 
|  | 165 | +									<xs:element name="Direccion"> | 
|  | 166 | +										<xs:annotation> | 
|  | 167 | +											<xs:documentation>Direccion del Cesionario</xs:documentation> | 
|  | 168 | +										</xs:annotation> | 
|  | 169 | +										<xs:simpleType> | 
|  | 170 | +											<xs:restriction base="SiiDte:DireccType"> | 
|  | 171 | +												<xs:minLength value="5"/> | 
|  | 172 | +											</xs:restriction> | 
|  | 173 | +										</xs:simpleType> | 
|  | 174 | +									</xs:element> | 
|  | 175 | +									<xs:element name="eMail"> | 
|  | 176 | +										<xs:annotation> | 
|  | 177 | +											<xs:documentation>Correo Electronico del Cesionario</xs:documentation> | 
|  | 178 | +										</xs:annotation> | 
|  | 179 | +										<xs:simpleType> | 
|  | 180 | +											<xs:restriction base="SiiDte:MailType"> | 
|  | 181 | +												<xs:minLength value="6"/> | 
|  | 182 | +											</xs:restriction> | 
|  | 183 | +										</xs:simpleType> | 
|  | 184 | +									</xs:element> | 
|  | 185 | +								</xs:sequence> | 
|  | 186 | +							</xs:complexType> | 
|  | 187 | +						</xs:element> | 
|  | 188 | +						<xs:element name="MontoCesion" type="SiiDte:MontoType"> | 
|  | 189 | +							<xs:annotation> | 
|  | 190 | +								<xs:documentation>Monto del Credito Cedido</xs:documentation> | 
|  | 191 | +							</xs:annotation> | 
|  | 192 | +						</xs:element> | 
|  | 193 | +						<xs:element name="UltimoVencimiento" type="xs:date"> | 
|  | 194 | +							<xs:annotation> | 
|  | 195 | +								<xs:documentation>Fecha de Ultimo Vencimiento</xs:documentation> | 
|  | 196 | +							</xs:annotation> | 
|  | 197 | +						</xs:element> | 
|  | 198 | +						<xs:element name="OtrasCondiciones" minOccurs="0"> | 
|  | 199 | +							<xs:annotation> | 
|  | 200 | +								<xs:documentation>Otras Condiciones de la Cesion</xs:documentation> | 
|  | 201 | +							</xs:annotation> | 
|  | 202 | +							<xs:simpleType> | 
|  | 203 | +								<xs:restriction base="xs:string"> | 
|  | 204 | +									<xs:maxLength value="512"/> | 
|  | 205 | +								</xs:restriction> | 
|  | 206 | +							</xs:simpleType> | 
|  | 207 | +						</xs:element> | 
|  | 208 | +						<xs:element name="eMailDeudor" type="SiiDte:MailType" minOccurs="0"> | 
|  | 209 | +							<xs:annotation> | 
|  | 210 | +								<xs:documentation>Correo Electronico del Deudor del DTE</xs:documentation> | 
|  | 211 | +							</xs:annotation> | 
|  | 212 | +						</xs:element> | 
|  | 213 | +						<xs:element name="TmstCesion" type="xs:dateTime"> | 
|  | 214 | +							<xs:annotation> | 
|  | 215 | +								<xs:documentation>TimeStamp de la Cesion del DTE</xs:documentation> | 
|  | 216 | +							</xs:annotation> | 
|  | 217 | +						</xs:element> | 
|  | 218 | +					</xs:sequence> | 
|  | 219 | +					<xs:attribute name="ID" type="xs:ID" use="required"/> | 
|  | 220 | +				</xs:complexType> | 
|  | 221 | +			</xs:element> | 
|  | 222 | +			<xs:element ref="ds:Signature" maxOccurs="3"> | 
|  | 223 | +				<xs:annotation> | 
|  | 224 | +					<xs:documentation>Firmas Digitales sobre Cesion</xs:documentation> | 
|  | 225 | +				</xs:annotation> | 
|  | 226 | +			</xs:element> | 
|  | 227 | +		</xs:sequence> | 
|  | 228 | +		<xs:attribute name="version" type="xs:decimal" use="required" fixed="1.0"/> | 
|  | 229 | +	</xs:complexType> | 
|  | 230 | +</xs:schema> | 
0 commit comments