C:\Users\schweini\Downloads\NotaCreditoElectronica_V4.2.xsd C:\Users\schweini\Downloads\NotaCreditoElectronica_V4.3.xsd
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?> 
<xs:schema xmlns="https://www.hacienda.go.cr/ATV/docs/esquemas/2016/v4.2/notaCreditoElectronica" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="https://www.hacienda.go.cr/ATV/docs/esquemas/2016/v4.2/notaCreditoElectronica" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.2" vc:minVersion="1.1">  <!-- edited with XMLSpy v2017 rel. 3 (x64) (http://www.altova.com) by Gerardo Arroyo (Flecha Roja Technologies S.A.) --> 
  <xs:schema xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/notaCreditoElectronica" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/notaCreditoElectronica" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.3" vc:minVersion="1.1">  
   <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/xmldsig-core-schema.xsd"/>     <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/xmldsig-core-schema.xsd"/> 
   <xs:element name="NotaCreditoElectronica">     <xs:element name="NotaCreditoElectronica"> 
       <xs:annotation>         <xs:annotation> 
           <xs:documentation>Elemento Raiz de la Nota de Crédito Electrónica</xs:documentation>             <xs:documentation>Elemento Raiz de la Nota de Crédito</xs:documentation> 
       </xs:annotation>         </xs:annotation> 
       <xs:complexType>         <xs:complexType> 
           <xs:sequence>             <xs:sequence> 
               <xs:element name="Clave" type="ClaveType">                 <xs:element name="Clave" type="ClaveType"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Corresponde a la clave del comprobante. Es un campo de 50 posiciones y se tiene que utilizar para la consulta del código QR. Ver nota 1 y 4.1</xs:documentation>                         <xs:documentation>Corresponde a la clave del comprobante. Es un campo de 50 posiciones y se tiene que utilizar para la consulta del código QR. Ver nota 1 y 4.1</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
               </xs:element>                 </xs:element> 
                 <xs:element name="CodigoActividad">  
                     <xs:annotation>  
                         <xs:documentation>Se debe indicar el código de la actividad económica a la cual corresponde el comprobante electrónico</xs:documentation>  
                     </xs:annotation>  
                     <xs:simpleType>  
                         <xs:restriction base="xs:string">  
                             <xs:maxLength value="6"/>  
                             <xs:minLength value="6"/>  
                         </xs:restriction>  
                     </xs:simpleType>  
                 </xs:element>  
               <xs:element name="NumeroConsecutivo" type="NumeroConsecutivoType">                 <xs:element name="NumeroConsecutivo" type="NumeroConsecutivoType"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Numeración consecutiva del comprobante</xs:documentation>                         <xs:documentation>Numeración consecutiva del comprobante</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
               </xs:element>                 </xs:element> 
               <xs:element name="FechaEmision" type="xs:dateTime"/>                 <xs:element name="FechaEmision" type="xs:dateTime"/> 
               <xs:element name="Emisor" type="EmisorType">                 <xs:element name="Emisor" type="EmisorType"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Emisor del documento</xs:documentation>                         <xs:documentation>Emisor del documento</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
               </xs:element>                 </xs:element> 
               <xs:element name="Receptor" type="ReceptorType" minOccurs="0">                 <xs:element name="Receptor" type="ReceptorType" minOccurs="0"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Receptor del documento</xs:documentation>                         <xs:documentation>Receptor del documento</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
               </xs:element>                 </xs:element> 
               <xs:element name="CondicionVenta">                 <xs:element name="CondicionVenta"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Condiciones de la venta: 01 Contado, 02 Crédito, 03 Consignación, 04 Apartado, 05 Arrendamiento con opción de compra, 06 Arrendamiento en función financiera, 99 Otros</xs:documentation>                         <xs:documentation>Condiciones de la venta: 01 Contado, 02 Crédito, 03 Consignación, 04 Apartado, 05 Arrendamiento con opción de compra, 06 Arrendamiento en función financiera, 99 Otros</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
                   <xs:simpleType>                     <xs:simpleType> 
                       <xs:restriction base="xs:string">                         <xs:restriction base="xs:string"> 
                           <xs:enumeration value="01">                             <xs:enumeration value="01"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Contado</xs:documentation>                                     <xs:documentation>Contado</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="02">                             <xs:enumeration value="02"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Crédito</xs:documentation>                                     <xs:documentation>Crédito</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="03">                             <xs:enumeration value="03"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Consignación</xs:documentation>                                     <xs:documentation>Consignación</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="04">                             <xs:enumeration value="04"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Apartado</xs:documentation>                                     <xs:documentation>Apartado</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="05">                             <xs:enumeration value="05"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Arrendamiento con opción de compra</xs:documentation>                                     <xs:documentation>Arrendamiento con opción de compra</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="06">                             <xs:enumeration value="06"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Arrendamiento en función financiera</xs:documentation>                                     <xs:documentation>Arrendamiento en función financiera</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                             <xs:enumeration value="07">  
                                 <xs:annotation>  
                                     <xs:documentation>Cobro a favor de un tercero</xs:documentation>  
                                 </xs:annotation>  
                             </xs:enumeration>  
                             <xs:enumeration value="08">  
                                 <xs:annotation>  
                                     <xs:documentation>Servicios prestados al Estado a crédito </xs:documentation>  
                                 </xs:annotation>  
                             </xs:enumeration>  
                             <xs:enumeration value="09">  
                                 <xs:annotation>  
                                     <xs:documentation>Pago del servicios prestado al Estado </xs:documentation>  
                                 </xs:annotation>  
                             </xs:enumeration>  
                           <xs:enumeration value="99">                             <xs:enumeration value="99"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Otros</xs:documentation>                                     <xs:documentation>Otros</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                       </xs:restriction>                         </xs:restriction> 
                   </xs:simpleType>                     </xs:simpleType> 
               </xs:element>                 </xs:element> 
               <xs:element name="PlazoCredito" minOccurs="0">                 <xs:element name="PlazoCredito" minOccurs="0"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Plazo del crédito, es obligatorio cuando la venta del producto o prestación del servicio sea a crédito</xs:documentation>                         <xs:documentation>Plazo del crédito, es obligatorio cuando la venta del producto o prestación del servicio sea a crédito</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
                   <xs:simpleType>                     <xs:simpleType> 
                       <xs:restriction base="xs:string">                         <xs:restriction base="xs:string"> 
                           <xs:maxLength value="10"/>                             <xs:maxLength value="10"/> 
                       </xs:restriction>                         </xs:restriction> 
                   </xs:simpleType>                     </xs:simpleType> 
               </xs:element>                 </xs:element> 
               <xs:element name="MedioPago" minOccurs="0" maxOccurs="4">                 <xs:element name="MedioPago" maxOccurs="4"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Corresponde al medio de pago empleado: 01 Efectivo, 02 Tarjeta, 03 Cheque, 04 Transferencia - depósito bancario, 05 - Recaudado por terceros, 99 Otros</xs:documentation>                         <xs:documentation>Corresponde al medio de pago empleado: 01 Efectivo, 02 Tarjeta, 03 Cheque, 04 Transferencia - depósito bancario, 05 - Recaudado por terceros, 99 Otros</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
                   <xs:simpleType>                     <xs:simpleType> 
                       <xs:restriction base="xs:string">                         <xs:restriction base="xs:string"> 
                           <xs:enumeration value="01">                             <xs:enumeration value="01"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Efectivo</xs:documentation>                                     <xs:documentation>Efectivo</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="02">                             <xs:enumeration value="02"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation> Tarjeta</xs:documentation>                                     <xs:documentation> Tarjeta</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="03">                             <xs:enumeration value="03"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Cheque</xs:documentation>                                     <xs:documentation>Cheque</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="04">                             <xs:enumeration value="04"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Transferencia - depósito bancario</xs:documentation>                                     <xs:documentation>Transferencia - depósito bancario</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="05">                             <xs:enumeration value="05"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Recaudado por terceros</xs:documentation>                                     <xs:documentation>Recaudado por terceros</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                           <xs:enumeration value="99">                             <xs:enumeration value="99"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Otros</xs:documentation>                                     <xs:documentation>Otros</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:enumeration>                             </xs:enumeration> 
                       </xs:restriction>                         </xs:restriction> 
                   </xs:simpleType>                     </xs:simpleType> 
               </xs:element>                 </xs:element> 
               <xs:element name="DetalleServicio">                 <xs:element name="DetalleServicio" minOccurs="0"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Detalle de la mercancia o servicio prestado.</xs:documentation>                         <xs:documentation>Detalle de la mercancia o servicio prestado.</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
                   <xs:complexType>                     <xs:complexType> 
                       <xs:sequence>                         <xs:sequence> 
                           <xs:element name="LineaDetalle" maxOccurs="1000">                             <xs:element name="LineaDetalle" maxOccurs="1000"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Cada línea del detalle de la mercancia o servicio prestado.</xs:documentation>                                     <xs:documentation>Cada línea del detalle de la mercancia o servicio prestado.</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:complexType>                                 <xs:complexType> 
                                   <xs:sequence>                                     <xs:sequence> 
                                       <xs:element name="NumeroLinea" type="xs:positiveInteger">                                         <xs:element name="NumeroLinea" type="xs:positiveInteger"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Número de línea del detalle</xs:documentation>                                                 <xs:documentation>Número de línea del detalle</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="Codigo" type="CodigoType" minOccurs="0" maxOccurs="5"/>                                         <xs:element name="PartidaArancelaria" minOccurs="0"> 
                                             <xs:simpleType>  
                                                 <xs:restriction base="xs:string">  
                                                     <xs:maxLength value="15"/>  
                                                     <xs:minLength value="15"/>  
                                                 </xs:restriction>  
                                             </xs:simpleType>  
                                         </xs:element>  
                                         <xs:element name="Codigo" minOccurs="0">  
                                             <xs:annotation>  
                                                 <xs:documentation>Código de Producto/servicio </xs:documentation>  
                                             </xs:annotation>  
                                             <xs:simpleType>  
                                                 <xs:restriction base="xs:string">  
                                                     <xs:maxLength value="13"/>  
                                                 </xs:restriction>  
                                             </xs:simpleType>  
                                         </xs:element>  
                                         <xs:element name="CodigoComercial" type="CodigoType" minOccurs="0" maxOccurs="5"/>  
                                       <xs:element name="Cantidad">                                         <xs:element name="Cantidad"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Cantidad</xs:documentation>                                                 <xs:documentation>Cantidad</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                           <xs:simpleType>                                             <xs:simpleType> 
                                               <xs:restriction base="xs:decimal">                                                 <xs:restriction base="xs:decimal"> 
                                                   <xs:totalDigits value="16"/>                                                     <xs:totalDigits value="16"/> 
                                                   <xs:fractionDigits value="3"/>                                                     <xs:fractionDigits value="3"/> 
                                               </xs:restriction>                                                 </xs:restriction> 
                                           </xs:simpleType>                                             </xs:simpleType> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="UnidadMedida" type="UnidadMedidaType">                                         <xs:element name="UnidadMedida" type="UnidadMedidaType"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Unidad de medida </xs:documentation>                                                 <xs:documentation>Unidad de medida </xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="UnidadMedidaComercial" minOccurs="0">                                         <xs:element name="UnidadMedidaComercial" minOccurs="0"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Unidad de medida comercial</xs:documentation>                                                 <xs:documentation>Unidad de medida comercial</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                           <xs:simpleType>                                             <xs:simpleType> 
                                               <xs:restriction base="xs:string">                                                 <xs:restriction base="xs:string"> 
                                                   <xs:maxLength value="20"/>                                                     <xs:maxLength value="20"/> 
                                               </xs:restriction>                                                 </xs:restriction> 
                                           </xs:simpleType>                                             </xs:simpleType> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="Detalle">                                         <xs:element name="Detalle" minOccurs="0"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Detalle de la mercancia transferida o servicio prestado</xs:documentation>                                                 <xs:documentation>Detalle de la mercancia transferida o servicio prestado</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                           <xs:simpleType>                                             <xs:simpleType> 
                                               <xs:restriction base="xs:string">                                                 <xs:restriction base="xs:string"> 
                                                   <xs:maxLength value="160"/>                                                     <xs:maxLength value="200"/> 
                                               </xs:restriction>                                                 </xs:restriction> 
                                           </xs:simpleType>                                             </xs:simpleType> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="PrecioUnitario" type="DecimalDineroType">                                         <xs:element name="PrecioUnitario" type="DecimalDineroType"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Precio Unitario</xs:documentation>                                                 <xs:documentation>Precio Unitario</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="MontoTotal" type="DecimalDineroType">                                         <xs:element name="MontoTotal" type="DecimalDineroType"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Se obtiene de multiplicar el campo cantidad por el campo precio unitario</xs:documentation>                                                 <xs:documentation>Se obtiene de multiplicar el campo cantidad por el campo precio unitario</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="MontoDescuento" type="DecimalDineroType" minOccurs="0">                                         <xs:element name="Descuento" type="DescuentoType" minOccurs="0" maxOccurs="5"/> 
                                         <xs:element name="SubTotal" type="DecimalDineroType">  
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Monto de descuento concedido, el cual es obligatorio si existe descuento</xs:documentation>                                                 <xs:documentation>Se obtiene de la resta del campo monto total menos monto de descuento concedido</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="NaturalezaDescuento" minOccurs="0">                                         <xs:element name="BaseImponible" type="DecimalDineroType" minOccurs="0"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Naturaleza del descuento, que es obligatorio si existe descuento</xs:documentation>                                                 <xs:documentation>Base imponible especial</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                           <xs:simpleType>    
                                               <xs:restriction base="xs:string">    
                                                   <xs:maxLength value="80"/>    
                                               </xs:restriction>    
                                           </xs:simpleType>    
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="SubTotal" type="DecimalDineroType">                                         <xs:element name="Impuesto" type="ImpuestoType" minOccurs="0" maxOccurs="unbounded"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Se obtiene de la resta del campo monto total menos monto de descuento concedido</xs:documentation>                                                 <xs:documentation>Cuando el producto o servicio este gravado con algún impuesto se debe indicar cada uno de ellos.</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="Impuesto" type="ImpuestoType" minOccurs="0" maxOccurs="unbounded">                                         <xs:element name="ImpuestoNeto" type="DecimalDineroType"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Cuando el producto o servicio este gravado con algún impuesto se debe indicar cada uno de ellos.</xs:documentation>                                                 <xs:documentation>Impuesto Neto</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                       <xs:element name="MontoTotalLinea" type="DecimalDineroType">                                         <xs:element name="MontoTotalLinea" type="DecimalDineroType"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Se obtiene de la suma de los campos subtotal más monto de los impuestos</xs:documentation>                                                 <xs:documentation>Existe dos maneras de obtener el resultado del campo: 
  -    Cuando no existe exoneración, se obtiene de la sumatoria de los campos “subtotal”, “monto del impuesto”  
  -    Cuando posee una exoneración, se obtiene de la sumatoria de los campos “Subtotal”, “Impuesto Neto”</xs:documentation>  
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:element>                                         </xs:element> 
                                   </xs:sequence>                                     </xs:sequence> 
                               </xs:complexType>                                 </xs:complexType> 
                           </xs:element>                             </xs:element> 
                       </xs:sequence>                         </xs:sequence> 
                   </xs:complexType>                     </xs:complexType> 
               </xs:element>                 </xs:element> 
                 <xs:element name="OtrosCargos" type="OtrosCargosType" minOccurs="0" maxOccurs="15">  
                     <xs:annotation>  
                         <xs:documentation>Información sobre otros cargos</xs:documentation>  
                     </xs:annotation>  
                 </xs:element>  
               <xs:element name="ResumenFactura">                 <xs:element name="ResumenFactura"> 
                   <xs:complexType>                     <xs:complexType> 
                       <xs:sequence>                         <xs:sequence> 
                           <xs:element name="CodigoMoneda" minOccurs="0">                             <xs:element name="CodigoTipoMoneda" type="CodigoMonedaType" minOccurs="0"/> 
                               <xs:annotation>    
                                   <xs:documentation>Código de la moneda de acuerdo al ISO 4217</xs:documentation>    
                               </xs:annotation>    
                               <xs:simpleType>    
                                   <xs:restriction base="xs:string">    
                                       <xs:enumeration value="AED"/>    
                                       <xs:enumeration value="AFN"/>    
                                       <xs:enumeration value="ALL"/>    
                                       <xs:enumeration value="AMD"/>    
                                       <xs:enumeration value="ANG"/>    
                                       <xs:enumeration value="AOA"/>    
                                       <xs:enumeration value="ARS"/>    
                                       <xs:enumeration value="AUD"/>    
                                       <xs:enumeration value="AWG"/>    
                                       <xs:enumeration value="AZN"/>    
                                       <xs:enumeration value="BAM"/>    
                                       <xs:enumeration value="BBD"/>    
                                       <xs:enumeration value="BDT"/>    
                                       <xs:enumeration value="BGN"/>    
                                       <xs:enumeration value="BHD"/>    
                                       <xs:enumeration value="BIF"/>    
                                       <xs:enumeration value="BMD"/>    
                                       <xs:enumeration value="BND"/>    
                                       <xs:enumeration value="BOB"/>    
                                       <xs:enumeration value="BOV"/>    
                                       <xs:enumeration value="BRL"/>    
                                       <xs:enumeration value="BSD"/>    
                                       <xs:enumeration value="BTN"/>    
                                       <xs:enumeration value="BWP"/>    
                                       <xs:enumeration value="BYR"/>    
                                       <xs:enumeration value="BZD"/>    
                                       <xs:enumeration value="CAD"/>    
                                       <xs:enumeration value="CDF"/>    
                                       <xs:enumeration value="CHE"/>    
                                       <xs:enumeration value="CHF"/>    
                                       <xs:enumeration value="CHW"/>    
                                       <xs:enumeration value="CLF"/>    
                                       <xs:enumeration value="CLP"/>    
                                       <xs:enumeration value="CNY"/>    
                                       <xs:enumeration value="COP"/>    
                                       <xs:enumeration value="COU"/>    
                                       <xs:enumeration value="CRC"/>    
                                       <xs:enumeration value="CUC"/>    
                                       <xs:enumeration value="CUP"/>    
                                       <xs:enumeration value="CVE"/>    
                                       <xs:enumeration value="CZK"/>    
                                       <xs:enumeration value="DJF"/>    
                                       <xs:enumeration value="DKK"/>    
                                       <xs:enumeration value="DOP"/>    
                                       <xs:enumeration value="DZD"/>    
                                       <xs:enumeration value="EGP"/>    
                                       <xs:enumeration value="ERN"/>    
                                       <xs:enumeration value="ETB"/>    
                                       <xs:enumeration value="EUR"/>    
                                       <xs:enumeration value="FJD"/>    
                                       <xs:enumeration value="FKP"/>    
                                       <xs:enumeration value="GBP"/>    
                                       <xs:enumeration value="GEL"/>    
                                       <xs:enumeration value="GHS"/>    
                                       <xs:enumeration value="GIP"/>    
                                       <xs:enumeration value="GMD"/>    
                                       <xs:enumeration value="GNF"/>    
                                       <xs:enumeration value="GTQ"/>    
                                       <xs:enumeration value="GYD"/>    
                                       <xs:enumeration value="HKD"/>    
                                       <xs:enumeration value="HNL"/>    
                                       <xs:enumeration value="HRK"/>    
                                       <xs:enumeration value="HTG"/>    
                                       <xs:enumeration value="HUF"/>    
                                       <xs:enumeration value="IDR"/>    
                                       <xs:enumeration value="ILS"/>    
                                       <xs:enumeration value="INR"/>    
                                       <xs:enumeration value="IQD"/>    
                                       <xs:enumeration value="IRR"/>    
                                       <xs:enumeration value="ISK"/>    
                                       <xs:enumeration value="JMD"/>    
                                       <xs:enumeration value="JOD"/>    
                                       <xs:enumeration value="JPY"/>    
                                       <xs:enumeration value="KES"/>    
                                       <xs:enumeration value="KGS"/>    
                                       <xs:enumeration value="KHR"/>    
                                       <xs:enumeration value="KMF"/>    
                                       <xs:enumeration value="KPW"/>    
                                       <xs:enumeration value="KRW"/>    
                                       <xs:enumeration value="KWD"/>    
                                       <xs:enumeration value="KYD"/>    
                                       <xs:enumeration value="KZT"/>    
                                       <xs:enumeration value="LAK"/>    
                                       <xs:enumeration value="LBP"/>    
                                       <xs:enumeration value="LKR"/>    
                                       <xs:enumeration value="LRD"/>    
                                       <xs:enumeration value="LSL"/>    
                                       <xs:enumeration value="LYD"/>    
                                       <xs:enumeration value="MAD"/>    
                                       <xs:enumeration value="MDL"/>    
                                       <xs:enumeration value="MGA"/>    
                                       <xs:enumeration value="MKD"/>    
                                       <xs:enumeration value="MMK"/>    
                                       <xs:enumeration value="MNT"/>    
                                       <xs:enumeration value="MOP"/>    
                                       <xs:enumeration value="MRO"/>    
                                       <xs:enumeration value="MUR"/>    
                                       <xs:enumeration value="MVR"/>    
                                       <xs:enumeration value="MWK"/>    
                                       <xs:enumeration value="MXN"/>    
                                       <xs:enumeration value="MXV"/>    
                                       <xs:enumeration value="MYR"/>    
                                       <xs:enumeration value="MZN"/>    
                                       <xs:enumeration value="NAD"/>    
                                       <xs:enumeration value="NGN"/>    
                                       <xs:enumeration value="NIO"/>    
                                       <xs:enumeration value="NOK"/>    
                                       <xs:enumeration value="NPR"/>    
                                       <xs:enumeration value="NZD"/>    
                                       <xs:enumeration value="OMR"/>    
                                       <xs:enumeration value="PAB"/>    
                                       <xs:enumeration value="PEN"/>    
                                       <xs:enumeration value="PGK"/>    
                                       <xs:enumeration value="PHP"/>    
                                       <xs:enumeration value="PKR"/>    
                                       <xs:enumeration value="PLN"/>    
                                       <xs:enumeration value="PYG"/>    
                                       <xs:enumeration value="QAR"/>    
                                       <xs:enumeration value="RON"/>    
                                       <xs:enumeration value="RSD"/>    
                                       <xs:enumeration value="RUB"/>    
                                       <xs:enumeration value="RWF"/>    
                                       <xs:enumeration value="SAR"/>    
                                       <xs:enumeration value="SBD"/>    
                                       <xs:enumeration value="SCR"/>    
                                       <xs:enumeration value="SDG"/>    
                                       <xs:enumeration value="SEK"/>    
                                       <xs:enumeration value="SGD"/>    
                                       <xs:enumeration value="SHP"/>    
                                       <xs:enumeration value="SLL"/>    
                                       <xs:enumeration value="SOS"/>    
                                       <xs:enumeration value="SRD"/>    
                                       <xs:enumeration value="SSP"/>    
                                       <xs:enumeration value="STD"/>    
                                       <xs:enumeration value="SVC"/>    
                                       <xs:enumeration value="SYP"/>    
                                       <xs:enumeration value="SZL"/>    
                                       <xs:enumeration value="THB"/>    
                                       <xs:enumeration value="TJS"/>    
                                       <xs:enumeration value="TMT"/>    
                                       <xs:enumeration value="TND"/>    
                                       <xs:enumeration value="TOP"/>    
                                       <xs:enumeration value="TRY"/>    
                                       <xs:enumeration value="TTD"/>    
                                       <xs:enumeration value="TWD"/>    
                                       <xs:enumeration value="TZS"/>    
                                       <xs:enumeration value="UAH"/>    
                                       <xs:enumeration value="UGX"/>    
                                       <xs:enumeration value="USD"/>    
                                       <xs:enumeration value="USN"/>    
                                       <xs:enumeration value="UYI"/>    
                                       <xs:enumeration value="UYU"/>    
                                       <xs:enumeration value="UZS"/>    
                                       <xs:enumeration value="VEF"/>    
                                       <xs:enumeration value="VND"/>    
                                       <xs:enumeration value="VUV"/>    
                                       <xs:enumeration value="WST"/>    
                                       <xs:enumeration value="XAF"/>    
                                       <xs:enumeration value="XAG"/>    
                                       <xs:enumeration value="XAU"/>    
                                       <xs:enumeration value="XBA"/>    
                                       <xs:enumeration value="XBB"/>    
                                       <xs:enumeration value="XBC"/>    
                                       <xs:enumeration value="XBD"/>    
                                       <xs:enumeration value="XCD"/>    
                                       <xs:enumeration value="XDR"/>    
                                       <xs:enumeration value="XOF"/>    
                                       <xs:enumeration value="XPD"/>    
                                       <xs:enumeration value="XPF"/>    
                                       <xs:enumeration value="XPT"/>    
                                       <xs:enumeration value="XSU"/>    
                                       <xs:enumeration value="XTS"/>    
                                       <xs:enumeration value="XUA"/>    
                                       <xs:enumeration value="XXX"/>    
                                       <xs:enumeration value="YER"/>    
                                       <xs:enumeration value="ZAR"/>    
                                       <xs:enumeration value="ZMW"/>    
                                       <xs:enumeration value="ZWL"/>    
                                   </xs:restriction>    
                               </xs:simpleType>    
                           </xs:element>    
                           <xs:element name="TipoCambio" type="DecimalDineroType" minOccurs="0">    
                               <xs:annotation>    
                                   <xs:documentation>Tipo de cambio</xs:documentation>    
                               </xs:annotation>    
                           </xs:element>    
                           <xs:element name="TotalServGravados" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalServGravados" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total de los servicios gravados con IV</xs:documentation>                                     <xs:documentation>Total de los servicios gravados con IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalServExentos" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalServExentos" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total de los servicios exentos de IV</xs:documentation>                                     <xs:documentation>Total de los servicios exentos de IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                             <xs:element name="TotalServExonerado" type="DecimalDineroType" minOccurs="0">  
                                 <xs:annotation>  
                                     <xs:documentation>Total servicios exonerados del IVA</xs:documentation>  
                                 </xs:annotation>  
                             </xs:element>  
                           <xs:element name="TotalMercanciasGravadas" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalMercanciasGravadas" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total mercancias gravadas con IV</xs:documentation>                                     <xs:documentation>Total mercancias gravadas con IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalMercanciasExentas" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalMercanciasExentas" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total mercancias exentas de IV</xs:documentation>                                     <xs:documentation>Total mercancias exentas de IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                             <xs:element name="TotalMercExonerada" type="DecimalDineroType" minOccurs="0">  
                                 <xs:annotation>  
                                     <xs:documentation>Total mercancías exoneradas del IVA</xs:documentation>  
                                 </xs:annotation>  
                             </xs:element>  
                           <xs:element name="TotalGravado" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalGravado" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total gravado. se obtiene de la suma del total servicios gravados con IV + total mercancias gravadas con IV</xs:documentation>                                     <xs:documentation>Total gravado. se obtiene de la suma del total servicios gravados con IV + total mercancias gravadas con IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalExento" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalExento" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Total Exento, se obtiene de la suma de los campos total servicios exentos IV mas total mercancias exentas IV</xs:documentation>                                     <xs:documentation>Total Exento, se obtiene de la suma de los campos total servicios exentos IV mas total mercancias exentas IV</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                             <xs:element name="TotalExonerado" type="DecimalDineroType" minOccurs="0">  
                                 <xs:annotation>  
                                     <xs:documentation>Se obtiene de la suma de los campos “total servicios exonerados de IVA” mas “total de mercancías exoneradas del IVA”.</xs:documentation>  
                                 </xs:annotation>  
                             </xs:element>  
                           <xs:element name="TotalVenta" type="DecimalDineroType">                             <xs:element name="TotalVenta" type="DecimalDineroType"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se obtiene de la suma de los campos total gravado más total exento</xs:documentation>                                     <xs:documentation>Se obtiene de la sumatoria de los campos “total gravado”, “total exento” y “Total Exonerado”.</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalDescuentos" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalDescuentos" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se obtiene de la suma de todos los campo de monto de descuento concedido</xs:documentation>                                     <xs:documentation>Se obtiene de la suma de todos los campo de monto de descuento concedido</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalVentaNeta" type="DecimalDineroType">                             <xs:element name="TotalVentaNeta" type="DecimalDineroType"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se obtiene de la resta de los campos total venta menos total descuento</xs:documentation>                                     <xs:documentation>Se obtiene de la resta de los campos total venta menos total descuento</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="TotalImpuesto" type="DecimalDineroType" minOccurs="0">                             <xs:element name="TotalImpuesto" type="DecimalDineroType" minOccurs="0"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se obtiene de la suma de todos campos monto del impuesto</xs:documentation>                                     <xs:documentation>Se obtiene de la suma de todos campos monto del impuesto</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                             <xs:element name="TotalIVADevuelto" type="DecimalDineroType" minOccurs="0">  
                                 <xs:annotation>  
                                     <xs:documentation>IVA Devuelto</xs:documentation>  
                                 </xs:annotation>  
                             </xs:element>  
                             <xs:element name="TotalOtrosCargos" type="DecimalDineroType" minOccurs="0">  
                                 <xs:annotation>  
                                     <xs:documentation>Total Otros Cargos </xs:documentation>  
                                 </xs:annotation>  
                             </xs:element>  
                           <xs:element name="TotalComprobante" type="DecimalDineroType">                             <xs:element name="TotalComprobante" type="DecimalDineroType"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se obtiene de la suma de los campos total venta neta más monto total de los impuestos</xs:documentation>                                     <xs:documentation>Se obtiene de la suma de los campos “total venta neta”, “monto total del impuesto” y “total otros cargos” menos “total IVA devuelto”, en caso de contar con dichos campos.</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                       </xs:sequence>                         </xs:sequence> 
                   </xs:complexType>                     </xs:complexType> 
               </xs:element>                 </xs:element> 
               <xs:element name="InformacionReferencia" maxOccurs="10">                 <xs:element name="InformacionReferencia" minOccurs="0" maxOccurs="10"> 
                   <xs:complexType>                     <xs:complexType> 
                       <xs:sequence>                         <xs:sequence> 
                           <xs:element name="TipoDoc">                             <xs:element name="TipoDoc"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Tipo de documento de referencia. 01 Factura electrónica, 02 Nota de débito electrónica, 03 nota de crédito electrónica, 04 Tiquete electrónico, 05 Nota de despacho, 06 Contrato, 07 Procedimiento, 08 Comprobante emitido en contigencia, 99 Otros</xs:documentation>                                     <xs:documentation>Tipo de documento de referencia. 01 Factura electrónica, 02 Nota de débito electrónica, 03 nota de crédito electrónica, 04 Tiquete electrónico, 05 Nota de despacho, 06 Contrato, 07 Procedimiento, 08 Comprobante emitido en contigencia, 09 Devoluicion mercaderia, 10 Sustituye factura rechazada poir Ministerio de Hacienda, 11 Sustituye factura rechazada por el receptor del comprobante, 12 Sustituye factura de exportacion, 99 otros</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:enumeration value="01">                                         <xs:enumeration value="01"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Factura electrónica</xs:documentation>                                                 <xs:documentation>Factura electrónica</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="02">                                         <xs:enumeration value="02"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Nota de debido electrónica</xs:documentation>                                                 <xs:documentation>Nota de debido electrónica</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="03">                                         <xs:enumeration value="03"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>nota de crédito electrónica</xs:documentation>                                                 <xs:documentation>nota de crédito electrónica</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="04">                                         <xs:enumeration value="04"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Tiquete electrónico</xs:documentation>                                                 <xs:documentation>Tiquete electrónico</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="05">                                         <xs:enumeration value="05"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Nota de despacho</xs:documentation>                                                 <xs:documentation>Nota de despacho</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="06">                                         <xs:enumeration value="06"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Contrato</xs:documentation>                                                 <xs:documentation>Contrato</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="07">                                         <xs:enumeration value="07"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Procedimiento</xs:documentation>                                                 <xs:documentation>Procedimiento</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="08">                                         <xs:enumeration value="08"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Comprobante emitido en contigencia</xs:documentation>                                                 <xs:documentation>Comprobante emitido en contigencia</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                         <xs:enumeration value="09"/>  
                                         <xs:enumeration value="10"/>  
                                         <xs:enumeration value="11"/>  
                                         <xs:enumeration value="12"/>  
                                       <xs:enumeration value="99">                                         <xs:enumeration value="99"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Otros</xs:documentation>                                                 <xs:documentation>Otros</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="Numero">                             <xs:element name="Numero"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Número de documento de referencia</xs:documentation>                                     <xs:documentation>Número de documento de referencia</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:maxLength value="50"/>                                         <xs:maxLength value="50"/> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="FechaEmision" type="xs:dateTime">                             <xs:element name="FechaEmision" type="xs:dateTime"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Fecha y hora de emisión del documento de referencia</xs:documentation>                                     <xs:documentation>Fecha y hora de emisión del documento de referencia</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="Codigo">                             <xs:element name="Codigo"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Código de referencia. 01 Anula documento de referencia, 02 Corrige texto de documento de referencia, 03 Corrige monto, 04 Referencia a otro documento, 05 Sustituye comprobante provisional por contigencia, 99 Otros</xs:documentation>                                     <xs:documentation>Código de referencia. 01 Anula documento de referencia, 02 Corrige texto de documento de referencia, 03 Corrige monto, 04 Referencia a otro documento, 05 Sustituye comprobante provisional por contigencia, 99 Otros</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:enumeration value="01">                                         <xs:enumeration value="01"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Anula documento de referencia</xs:documentation>                                                 <xs:documentation>Anula documento de referencia</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="02">                                         <xs:enumeration value="02"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Corrige texto de ocumento de referencia</xs:documentation>                                                 <xs:documentation>Corrige texto de ocumento de referencia</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="03">                                         <xs:enumeration value="03"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Corrige monto</xs:documentation>                                                 <xs:documentation>Corrige monto</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="04">                                         <xs:enumeration value="04"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Referencia a otro documento</xs:documentation>                                                 <xs:documentation>Referencia a otro documento</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="05">                                         <xs:enumeration value="05"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Sustituye comprobante provisional por contigencia</xs:documentation>                                                 <xs:documentation>Sustituye comprobante provisional por contigencia</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                       <xs:enumeration value="99">                                         <xs:enumeration value="99"> 
                                           <xs:annotation>                                             <xs:annotation> 
                                               <xs:documentation>Otros</xs:documentation>                                                 <xs:documentation>Otros</xs:documentation> 
                                           </xs:annotation>                                             </xs:annotation> 
                                       </xs:enumeration>                                         </xs:enumeration> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="Razon">                             <xs:element name="Razon"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Razón de referencia</xs:documentation>                                     <xs:documentation>Razón de referencia</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:maxLength value="180"/>                                         <xs:maxLength value="180"/> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                       </xs:sequence>                         </xs:sequence> 
                   </xs:complexType>                     </xs:complexType> 
               </xs:element>                 </xs:element> 
               <xs:element name="Normativa">                 <xs:element name="Normativa"> 
                   <xs:annotation>                     <xs:annotation> 
                       <xs:documentation>Normativa vigente</xs:documentation>                         <xs:documentation>Normativa vigente</xs:documentation> 
                   </xs:annotation>                     </xs:annotation> 
                   <xs:complexType>                     <xs:complexType> 
                       <xs:sequence>                         <xs:sequence> 
                           <xs:element name="NumeroResolucion">                             <xs:element name="NumeroResolucion"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Se debe indicar el número de resolución DGT XXXX</xs:documentation>                                     <xs:documentation>Se debe indicar el número de resolución DGT XXXX</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:maxLength value="13"/>                                         <xs:maxLength value="13"/> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="FechaResolucion">                             <xs:element name="FechaResolucion"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>La fecha y hora de resolución. DD-MM-YYYY HH:MM:SS</xs:documentation>                                     <xs:documentation>La fecha y hora de resolución. DD-MM-YYYY HH:MM:SS</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:simpleType>                                 <xs:simpleType> 
                                   <xs:restriction base="xs:string">                                     <xs:restriction base="xs:string"> 
                                       <xs:maxLength value="20"/>                                         <xs:maxLength value="20"/> 
                                   </xs:restriction>                                     </xs:restriction> 
                               </xs:simpleType>                                 </xs:simpleType> 
                           </xs:element>                             </xs:element> 
                       </xs:sequence>                         </xs:sequence> 
                   </xs:complexType>                     </xs:complexType> 
               </xs:element>                 </xs:element> 
               <xs:element name="Otros" minOccurs="0">                 <xs:element name="Otros" minOccurs="0"> 
                   <xs:complexType>                     <xs:complexType> 
                       <xs:sequence>                         <xs:sequence> 
                           <xs:element name="OtroTexto" minOccurs="0" maxOccurs="unbounded">                             <xs:element name="OtroTexto" minOccurs="0" maxOccurs="unbounded"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Elemento opcional que se puede utilizar la almacenar texto.</xs:documentation>                                     <xs:documentation>Elemento opcional que se puede utilizar la almacenar texto.</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:complexType>                                 <xs:complexType> 
                                   <xs:simpleContent>                                     <xs:simpleContent> 
                                       <xs:extension base="xs:string">                                         <xs:extension base="xs:string"> 
                                           <xs:attribute name="codigo" type="xs:string">                                             <xs:attribute name="codigo" type="xs:string"> 
                                               <xs:annotation>                                                 <xs:annotation> 
                                                   <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>                                                     <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation> 
                                               </xs:annotation>                                                 </xs:annotation> 
                                           </xs:attribute>                                             </xs:attribute> 
                                       </xs:extension>                                         </xs:extension> 
                                   </xs:simpleContent>                                     </xs:simpleContent> 
                               </xs:complexType>                                 </xs:complexType> 
                           </xs:element>                             </xs:element> 
                           <xs:element name="OtroContenido" minOccurs="0" maxOccurs="unbounded">                             <xs:element name="OtroContenido" minOccurs="0" maxOccurs="unbounded"> 
                               <xs:annotation>                                 <xs:annotation> 
                                   <xs:documentation>Elemento opcional que se puede utilizar para almacenar contenido estructurado.</xs:documentation>                                     <xs:documentation>Elemento opcional que se puede utilizar para almacenar contenido estructurado.</xs:documentation> 
                               </xs:annotation>                                 </xs:annotation> 
                               <xs:complexType>                                 <xs:complexType> 
                                   <xs:sequence>                                     <xs:sequence> 
                                       <xs:any namespace="##other" processContents="lax"/>                                         <xs:any namespace="##other" processContents="lax"/> 
                                   </xs:sequence>                                     </xs:sequence> 
                                   <xs:attribute name="codigo" type="xs:string">                                     <xs:attribute name="codigo" type="xs:string"> 
                                       <xs:annotation>                                         <xs:annotation> 
                                           <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>                                             <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation> 
                                       </xs:annotation>                                         </xs:annotation> 
                                   </xs:attribute>                                     </xs:attribute> 
                               </xs:complexType>                                 </xs:complexType> 
                           </xs:element>                             </xs:element> 
                       </xs:sequence>                         </xs:sequence> 
                   </xs:complexType>                     </xs:complexType> 
               </xs:element>                 </xs:element> 
               <xs:element ref="ds:Signature" minOccurs="1" maxOccurs="1"/>                 <xs:element ref="ds:Signature" minOccurs="1" maxOccurs="1"/> 
           </xs:sequence>             </xs:sequence> 
       </xs:complexType>         </xs:complexType> 
   </xs:element>     </xs:element> 
   <xs:complexType name="EmisorType">     <xs:complexType name="EmisorType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Nombre" nillable="false">             <xs:element name="Nombre" nillable="false"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Nombre o razon social</xs:documentation>                     <xs:documentation>Nombre o razon social</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="80"/>                         <xs:maxLength value="100"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Identificacion" type="IdentificacionType"/>             <xs:element name="Identificacion" type="IdentificacionType"/> 
           <xs:element name="NombreComercial" minOccurs="0">             <xs:element name="NombreComercial" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>                     <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="80"/>                         <xs:maxLength value="80"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Ubicacion" type="UbicacionType"/>             <xs:element name="Ubicacion" type="UbicacionType"/> 
           <xs:element name="Telefono" type="TelefonoType" nillable="true" minOccurs="0"/>             <xs:element name="Telefono" type="TelefonoType" nillable="true" minOccurs="0"/> 
           <xs:element name="Fax" type="TelefonoType" nillable="true" minOccurs="0"/>             <xs:element name="Fax" type="TelefonoType" nillable="true" minOccurs="0"/> 
           <xs:element name="CorreoElectronico">             <xs:element name="CorreoElectronico"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Direccion de correo electrónico</xs:documentation>                      <xs:documentation>Debe cumplir con la siguiente estructura:  
  \s*\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*  
  </xs:documentation>  
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string"/>                     <xs:restriction base="xs:string"> 
                         <xs:maxLength value="160"/>  
                     </xs:restriction>  
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="ReceptorType">     <xs:complexType name="ReceptorType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Nombre" nillable="false">             <xs:element name="Nombre" nillable="false"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Nombre o razon social</xs:documentation>                     <xs:documentation>Nombre o razon social</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="80"/>                         <xs:maxLength value="100"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Identificacion" type="IdentificacionType" minOccurs="0"/>             <xs:element name="Identificacion" type="IdentificacionType" minOccurs="0"/> 
           <xs:element name="IdentificacionExtranjero" minOccurs="0">             <xs:element name="IdentificacionExtranjero" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Este campo será de condición obligatoria, cuando el cliente lo requiera</xs:documentation>                     <xs:documentation>Este campo será de condición obligatoria, cuando el cliente lo requiera</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="20"/>                         <xs:maxLength value="20"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="NombreComercial" minOccurs="0">             <xs:element name="NombreComercial" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>                     <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="80"/>                         <xs:maxLength value="80"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Ubicacion" type="UbicacionType" minOccurs="0"/>             <xs:element name="Ubicacion" type="UbicacionType" minOccurs="0"/> 
             <xs:element name="OtrasSenasExtranjero" minOccurs="0">  
                 <xs:annotation>  
                     <xs:documentation>Campo para incluir la direccion del extranjero, en caso de requerirse.</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:maxLength value="300"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
           <xs:element name="Telefono" type="TelefonoType" minOccurs="0"/>             <xs:element name="Telefono" type="TelefonoType" minOccurs="0"/> 
           <xs:element name="Fax" type="TelefonoType" minOccurs="0"/>             <xs:element name="Fax" type="TelefonoType" minOccurs="0"/> 
           <xs:element name="CorreoElectronico" minOccurs="0">             <xs:element name="CorreoElectronico" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Direccion de correo electrónico</xs:documentation>                      <xs:documentation>Este campo será de condición obligatoria, cuando el cliente lo requiera. Debe cumplir con la siguiente estructura:  
  \s*\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*  
  </xs:documentation>  
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:pattern value="\s*\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*"/>                         <xs:maxLength value="160"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="IdentificacionType">     <xs:complexType name="IdentificacionType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Tipo" nillable="false">             <xs:element name="Tipo" nillable="false"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Tipo de identificación: 01 Cédula Física, 02 Cédula Jurídica, 03 DIMEX, 04 NITE</xs:documentation>                     <xs:documentation>Tipo de identificación: 01 Cédula Física, 02 Cédula Jurídica, 03 DIMEX, 04 NITE</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:enumeration value="01">                         <xs:enumeration value="01"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Cedula Fisica</xs:documentation>                                 <xs:documentation>Cedula Fisica</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="02">                         <xs:enumeration value="02"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation> Cedula Juridica</xs:documentation>                                 <xs:documentation> Cedula Juridica</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="03">                         <xs:enumeration value="03"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>DIMEX</xs:documentation>                                 <xs:documentation>DIMEX</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="04">                         <xs:enumeration value="04"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>NITE</xs:documentation>                                 <xs:documentation>NITE</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Numero" nillable="false">             <xs:element name="Numero" nillable="false"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Número de identificación, el contribuyente debe estar inscrito ante la Administración Tributaria</xs:documentation>                     <xs:documentation>Número de identificación, el contribuyente debe estar inscrito ante la Administración Tributaria</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                         <xs:maxLength value="12"/>  
                       <xs:pattern value="\d{9,12}"/>                         <xs:pattern value="\d{9,12}"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="UbicacionType">     <xs:complexType name="UbicacionType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Provincia">             <xs:element name="Provincia"> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:positiveInteger"> 
                       <xs:minLength value="1"/>                         <xs:totalDigits value="1"/> 
                       <xs:maxLength value="1"/>    
                       <xs:pattern value="\d"/>                         <xs:pattern value="\d"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Canton">             <xs:element name="Canton"> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:positiveInteger"> 
                       <xs:minLength value="2"/>                         <xs:totalDigits value="2"/> 
                       <xs:maxLength value="2"/>    
                       <xs:pattern value="\d\d"/>                         <xs:pattern value="\d\d"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Distrito">             <xs:element name="Distrito"> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:positiveInteger"> 
                       <xs:minLength value="2"/>                         <xs:totalDigits value="2"/> 
                       <xs:maxLength value="2"/>    
                       <xs:pattern value="\d\d"/>                         <xs:pattern value="\d\d"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Barrio" minOccurs="0">             <xs:element name="Barrio" minOccurs="0"> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:positiveInteger"> 
                       <xs:minLength value="2"/>                         <xs:totalDigits value="2"/> 
                       <xs:maxLength value="2"/>    
                       <xs:pattern value="\d\d"/>                         <xs:pattern value="\d\d"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="OtrasSenas">             <xs:element name="OtrasSenas"> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="160"/>                         <xs:maxLength value="250"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="TelefonoType">     <xs:complexType name="TelefonoType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="CodigoPais">             <xs:element name="CodigoPais"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Código del país</xs:documentation>                     <xs:documentation>Código del país</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:integer">                     <xs:restriction base="xs:integer"> 
                       <xs:totalDigits value="3"/>                         <xs:totalDigits value="3"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="NumTelefono">             <xs:element name="NumTelefono"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Número de teléfono</xs:documentation>                     <xs:documentation>Número de teléfono</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:integer">                     <xs:restriction base="xs:integer"> 
                       <xs:totalDigits value="20"/>                         <xs:totalDigits value="20"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="ExoneracionType">     <xs:complexType name="ExoneracionType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="TipoDocumento">             <xs:element name="TipoDocumento"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Tipo de documento de exoneración o autorización. 01 Compras Autorizadas, 02 Ventas exentas a diplomáticos, 03 Orden de compra (instituciones públicas y otros organismos), 04 Exenciones Dirección General de Hacienda, 05 Zonas Francas, 99 Otros</xs:documentation>                     <xs:documentation>Tipo de documento de exoneración o autorización. 01 Compras Autorizadas, 02 Ventas exentas a diplomáticos, 03 Orden de compra (instituciones públicas y otros organismos), 04 Exenciones Dirección General de Hacienda, 05 Transitorio V, 06 Transitorio IX, 07 Transitorio XVII, 99 Otros</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:enumeration value="01">                         <xs:enumeration value="01"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Compras Autorizadas</xs:documentation>                                 <xs:documentation>Compras Autorizadas</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="02">                         <xs:enumeration value="02"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Ventas exentas a diplomáticos</xs:documentation>                                 <xs:documentation>Ventas exentas a diplomáticos</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="03">                         <xs:enumeration value="03"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Orden de compra (instituciones publicas y otros organismos)</xs:documentation>                                 <xs:documentation>Orden de compra (instituciones publicas y otros organismos)</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="04">                         <xs:enumeration value="04"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Exenciones Direccion General de Hacienda</xs:documentation>                                 <xs:documentation>Exenciones Direccion General de Hacienda</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="05">                         <xs:enumeration value="05"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Zonas Francas</xs:documentation>                                 <xs:documentation>Transitorio V</xs:documentation> 
                             </xs:annotation>  
                         </xs:enumeration>  
                         <xs:enumeration value="06">  
                             <xs:annotation>  
                                 <xs:documentation>Transitorio IX</xs:documentation>  
                             </xs:annotation>  
                         </xs:enumeration>  
                         <xs:enumeration value="07">  
                             <xs:annotation>  
                                 <xs:documentation>Transitorio XVII</xs:documentation>  
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="99">                         <xs:enumeration value="99"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Otros</xs:documentation>                                 <xs:documentation>Otros</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="NumeroDocumento">             <xs:element name="NumeroDocumento"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Número de documento de exoneración o autorización</xs:documentation>                     <xs:documentation>Número de documento de exoneración o autorización</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="17"/>                         <xs:maxLength value="40"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="NombreInstitucion">             <xs:element name="NombreInstitucion"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Nombre de la institución o dependencia que emitió la exoneración</xs:documentation>                     <xs:documentation>Nombre de la institución o dependencia que emitió la exoneración</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="100"/>                         <xs:maxLength value="160"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="FechaEmision" type="xs:dateTime">             <xs:element name="FechaEmision" type="xs:dateTime"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Fecha y hora de la emisión del documento de exoneración o autorización.</xs:documentation>                     <xs:documentation>Fecha y hora de la emisión del documento de exoneración o autorización.</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:element>             </xs:element> 
           <xs:element name="MontoImpuesto" type="DecimalDineroType">             <xs:element name="PorcentajeExoneracion"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Monto del impuesto exonerado o autorizado sin impuestos</xs:documentation>                     <xs:documentation>Porcentaje de la exoneración</xs:documentation> 
               </xs:annotation>    
           </xs:element>    
           <xs:element name="PorcentajeCompra">    
               <xs:annotation>    
                   <xs:documentation>Porcentaje de la compra autorizada o exonerada</xs:documentation>    
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:integer">                     <xs:restriction base="xs:positiveInteger"> 
                       <xs:totalDigits value="3"/>                         <xs:totalDigits value="3"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
             <xs:element name="MontoExoneracion" type="DecimalDineroType">  
                 <xs:annotation>  
                     <xs:documentation>Monto del impuesto exonerado</xs:documentation>  
                 </xs:annotation>  
             </xs:element>  
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="ImpuestoResumenType">     <xs:complexType name="ImpuestoType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Codigo">             <xs:element name="Codigo"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Código del impuesto: 01 Impuesto General sobre las ventas, 02 Impuesto Selectivo de Consumo, 03 Impuesto único a los combustivos, 04 Impuesto específico de bebidas alcohólicas, 05 Impuesto específico sobre las bebidas envasadas sin contenido alcohólico y jabones de tocador, 06 Impuesto a los productos de tabaco, 07 Servicios, 99 Otros, 08 Impuesto General a las Ventas Diplomáticos, 09 Impuesto General sobre Ventas compras autorizadas, 10 Impuesto General sobre las ventas instituciones públicas y otros organismos, 11 Impuesto Selectivo de consumo compras autorizadas</xs:documentation>                     <xs:documentation>Código del impuesto: 01 Impuesto General sobre las ventas, 02 Impuesto Selectivo de Consumo, 03 Impuesto único a los combustivos, 04 Impuesto específico de bebidas alcohólicas, 05 Impuesto específico sobre las bebidas envasadas sin contenido alcohólico y jabones de tocador, 06 Impuesto a los productos de tabaco, 07 Servicios, 99 Otros, 08 Impuesto General a las Ventas Diplomáticos, 09 Impuesto General sobre Ventas compras autorizadas, 10 Impuesto General sobre las ventas instituciones públicas y otros organismos, 11 Impuesto Selectivo de consumo compras autorizadas, 12 Impuesto Especifico al cemento, 98 Otros</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:enumeration value="01">                         <xs:enumeration value="01"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto General sobre las ventas</xs:documentation>                                 <xs:documentation>Impuesto al Valor Agregado</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="02">                         <xs:enumeration value="02"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation> Impuesto Selectivo de Consumo</xs:documentation>                                 <xs:documentation> Impuesto Selectivo de Consumo</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="03">                         <xs:enumeration value="03"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto ünico a los combustivos</xs:documentation>                                 <xs:documentation>Impuesto ünico a los combustivos</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="04">                         <xs:enumeration value="04"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto especifico de bebidas alcohólicas</xs:documentation>                                 <xs:documentation>Impuesto especifico de bebidas alcohólicas</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="05">                         <xs:enumeration value="05"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>impuesto especifico sobre las bebidas envasadas sin contenido alcoholico y jabones de tocador</xs:documentation>                                 <xs:documentation>impuesto especifico sobre las bebidas envasadas sin contenido alcoholico y jabones de tocador</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="06">                         <xs:enumeration value="06"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>impuesto a los productos de tabaco</xs:documentation>                                 <xs:documentation>impuesto a los productos de tabaco</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="07">                         <xs:enumeration value="07"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>servicios</xs:documentation>                                 <xs:documentation>IVA (cálculo especial)</xs:documentation> 
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="99">    
                           <xs:annotation>    
                               <xs:documentation>Otros</xs:documentation>    
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="08">                         <xs:enumeration value="08"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto General a las Ventas Diplomaticos</xs:documentation>                                 <xs:documentation>IVA Régimen de Bienes Usados (Factor)</xs:documentation> 
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="09">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto General sobre Ventas compras autorizadas</xs:documentation>    
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="10">                         <xs:enumeration value="12"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto General sobre las ventas instituciones publicas y otros organismos</xs:documentation>                                 <xs:documentation>Impuesto Especifico al Cemento</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="11">                         <xs:enumeration value="99"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Impuesto Selectivo de consumo compras autorizadas</xs:documentation>                                 <xs:documentation>Otros</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Tarifa">             <xs:element name="CodigoTarifa" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Tarifa del impuesto</xs:documentation>                     <xs:documentation>Código de la tarifa del impuesto. 01 Tarifa 0% (Exento), 02 Tarifa Reducida 1%, 03 Tarifa reducida 2%, 04 Tarifa reducida 4%, 05 Transitorio 0%, 06 Transitorio 4%, 07 Transitorio 8%, 08 Tarifa General 13%</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:decimal">                     <xs:restriction base="xs:string"> 
                       <xs:totalDigits value="4"/>                         <xs:maxLength value="2"/> 
                       <xs:fractionDigits value="2"/>                         <xs:minLength value="2"/> 
                         <xs:enumeration value="01"/>  
                         <xs:enumeration value="02"/>  
                         <xs:enumeration value="03"/>  
                         <xs:enumeration value="04"/>  
                         <xs:enumeration value="05"/>  
                         <xs:enumeration value="06"/>  
                         <xs:enumeration value="07"/>  
                         <xs:enumeration value="08"/>  
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Monto" type="DecimalDineroType">             <xs:element name="Tarifa" minOccurs="0"> 
               <xs:annotation>    
                   <xs:documentation>Se obtiene de la multiplicación del campo subtotal por la tarifa del impuesto</xs:documentation>    
               </xs:annotation>    
           </xs:element>    
       </xs:sequence>    
   </xs:complexType>    
   <xs:complexType name="ImpuestoType">    
       <xs:sequence>    
           <xs:element name="Codigo">    
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Código del impuesto: 01 Impuesto General sobre las ventas, 02 Impuesto Selectivo de Consumo, 03 Impuesto único a los combustivos, 04 Impuesto específico de bebidas alcohólicas, 05 Impuesto específico sobre las bebidas envasadas sin contenido alcohólico y jabones de tocador, 06 Impuesto a los productos de tabaco, 07 Servicios, 99 Otros, 08 Impuesto General a las Ventas Diplomáticos, 09 Impuesto General sobre Ventas compras autorizadas, 10 Impuesto General sobre las ventas instituciones públicas y otros organismos, 11 Impuesto Selectivo de consumo compras autorizadas, 12 Impuesto Especifico al Cemento, 98 Otros</xs:documentation>                     <xs:documentation>Tarifa del impuesto</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:decimal"> 
                       <xs:enumeration value="01">                         <xs:totalDigits value="4"/> 
                           <xs:annotation>                         <xs:fractionDigits value="2"/> 
                               <xs:documentation>Impuesto General sobre las ventas</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="02">    
                           <xs:annotation>    
                               <xs:documentation> Impuesto Selectivo de Consumo</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="03">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto ünico a los combustivos</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="04">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto especifico de bebidas alcohólicas</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="05">    
                           <xs:annotation>    
                               <xs:documentation>impuesto especifico sobre las bebidas envasadas sin contenido alcoholico y jabones de tocador</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="06">    
                           <xs:annotation>    
                               <xs:documentation>impuesto a los productos de tabaco</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="07">    
                           <xs:annotation>    
                               <xs:documentation>servicios</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="99">    
                           <xs:annotation>    
                               <xs:documentation>Otros</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="08">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto General a las Ventas Diplomaticos</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="09">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto General sobre Ventas compras autorizadas</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="10">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto General sobre las ventas instituciones publicas y otros organismos</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="11">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto Selectivo de consumo compras autorizadas</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="12">    
                           <xs:annotation>    
                               <xs:documentation>Impuesto Especifico al Cemento</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                       <xs:enumeration value="98">    
                           <xs:annotation>    
                               <xs:documentation>Otros</xs:documentation>    
                           </xs:annotation>    
                       </xs:enumeration>    
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Tarifa">             <xs:element name="FactorIVA" minOccurs="0"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Tarifa del impuesto</xs:documentation>                     <xs:documentation>Factor del impuesto</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:decimal">                     <xs:restriction base="xs:decimal"> 
                       <xs:totalDigits value="4"/>                         <xs:totalDigits value="5"/> 
                       <xs:fractionDigits value="2"/>                         <xs:fractionDigits value="4"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Monto" type="DecimalDineroType">             <xs:element name="Monto" type="DecimalDineroType"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Se obtiene de la multiplicación del campo subtotal por la tarifa del impuesto</xs:documentation>                     <xs:documentation>Monto del impuesto</xs:documentation> 
                 </xs:annotation>  
             </xs:element>  
             <xs:element name="MontoExportacion" type="DecimalDineroType" minOccurs="0">  
                 <xs:annotation>  
                     <xs:documentation>Monto de impuesto de exportación.</xs:documentation>  
               </xs:annotation>                 </xs:annotation> 
           </xs:element>             </xs:element> 
           <xs:element name="Exoneracion" type="ExoneracionType" minOccurs="0"/>             <xs:element name="Exoneracion" type="ExoneracionType" minOccurs="0"/> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
   <xs:complexType name="CodigoType">     <xs:complexType name="CodigoType"> 
       <xs:sequence>         <xs:sequence> 
           <xs:element name="Tipo">             <xs:element name="Tipo"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Tipo de código de producto o servicio: 01: Código del producto del vendedor, 02 Código del producto del comprador, 03 Código del producto asignado por la industria, 04 Código de uso interno, 99 Otros</xs:documentation>                     <xs:documentation>Tipo de código de producto o servicio: 01: Código del producto del vendedor, 02 Código del producto del comprador, 03 Código del producto asignado por la industria, 04 Código de uso interno, 99 Otros</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:enumeration value="01">                         <xs:enumeration value="01"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Código del producto del vendedor</xs:documentation>                                 <xs:documentation>Código del producto del vendedor</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="02">                         <xs:enumeration value="02"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Código del producto del comprador</xs:documentation>                                 <xs:documentation>Código del producto del comprador</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="03">                         <xs:enumeration value="03"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>código del producto asignado por la industria</xs:documentation>                                 <xs:documentation>código del producto asignado por la industria</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="04">                         <xs:enumeration value="04"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>código de uso interno</xs:documentation>                                 <xs:documentation>código de uso interno</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                       <xs:enumeration value="99">                         <xs:enumeration value="99"> 
                           <xs:annotation>                             <xs:annotation> 
                               <xs:documentation>Otros</xs:documentation>                                 <xs:documentation>Otros</xs:documentation> 
                           </xs:annotation>                             </xs:annotation> 
                       </xs:enumeration>                         </xs:enumeration> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
           <xs:element name="Codigo">             <xs:element name="Codigo"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Código del producto o servicio</xs:documentation>                     <xs:documentation>Código del producto o servicio</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
               <xs:simpleType>                 <xs:simpleType> 
                   <xs:restriction base="xs:string">                     <xs:restriction base="xs:string"> 
                       <xs:maxLength value="20"/>                         <xs:maxLength value="20"/> 
                   </xs:restriction>                     </xs:restriction> 
               </xs:simpleType>                 </xs:simpleType> 
           </xs:element>             </xs:element> 
       </xs:sequence>         </xs:sequence> 
   </xs:complexType>     </xs:complexType> 
     <xs:complexType name="DescuentoType">  
         <xs:sequence>  
             <xs:element name="MontoDescuento" type="DecimalDineroType">  
                 <xs:annotation>  
                     <xs:documentation>Monto de descuento concedido, el cual es obligatorio si existe descuento</xs:documentation>  
                 </xs:annotation>  
             </xs:element>  
             <xs:element name="NaturalezaDescuento">  
                 <xs:annotation>  
                     <xs:documentation>Naturaleza del descuento, que es obligatorio si existe descuento</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:maxLength value="80"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
         </xs:sequence>  
     </xs:complexType>  
     <xs:complexType name="OtrosCargosType">  
         <xs:sequence>  
             <xs:element name="TipoDocumento">  
                 <xs:annotation>  
                     <xs:documentation>01 Contribución parafiscal, 02 Timbre de la Cruz Roja, 03 Timbre de Benemérito Cuerpo de Bomberos de Costa Rica, 04 Cobro de un tercero, 05 Costos de Exportación, 06 Impuesto de Servicio 10%, 07 Timbre de Colegios Profesionales, 99 Otros Cargos</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:enumeration value="01"/>  
                         <xs:enumeration value="02"/>  
                         <xs:enumeration value="03"/>  
                         <xs:enumeration value="04"/>  
                         <xs:enumeration value="05"/>  
                         <xs:enumeration value="06"/>  
                         <xs:enumeration value="07"/>  
                         <xs:enumeration value="99"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="NumeroIdentidadTercero" minOccurs="0">  
                 <xs:annotation>  
                     <xs:documentation>Número de cédula física/ jurídica/NITE/DIMEX del emisor </xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:maxLength value="12"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="NombreTercero" minOccurs="0">  
                 <xs:annotation>  
                     <xs:documentation>Nombre o razón social del receptor</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:maxLength value="100"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="Detalle">  
                 <xs:annotation>  
                     <xs:documentation>Detalle de otros cargos</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:maxLength value="160"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="Porcentaje" minOccurs="0">  
                 <xs:simpleType>  
                     <xs:restriction base="xs:decimal">  
                         <xs:totalDigits value="6"/>  
                         <xs:fractionDigits value="5"/>  
                         <xs:minInclusive value="0"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="MontoCargo" type="DecimalDineroType">  
                 <xs:annotation>  
                     <xs:documentation>Monto del cargo</xs:documentation>  
                 </xs:annotation>  
             </xs:element>  
         </xs:sequence>  
     </xs:complexType>  
     <xs:complexType name="CodigoMonedaType">  
         <xs:sequence>  
             <xs:element name="CodigoMoneda">  
                 <xs:annotation>  
                     <xs:documentation>Código de la moneda de acuerdo al ISO 4217</xs:documentation>  
                 </xs:annotation>  
                 <xs:simpleType>  
                     <xs:restriction base="xs:string">  
                         <xs:enumeration value="AED"/>  
                         <xs:enumeration value="AFN"/>  
                         <xs:enumeration value="ALL"/>  
                         <xs:enumeration value="AMD"/>  
                         <xs:enumeration value="ANG"/>  
                         <xs:enumeration value="AOA"/>  
                         <xs:enumeration value="ARS"/>  
                         <xs:enumeration value="AUD"/>  
                         <xs:enumeration value="AWG"/>  
                         <xs:enumeration value="AZN"/>  
                         <xs:enumeration value="BAM"/>  
                         <xs:enumeration value="BBD"/>  
                         <xs:enumeration value="BDT"/>  
                         <xs:enumeration value="BGN"/>  
                         <xs:enumeration value="BHD"/>  
                         <xs:enumeration value="BIF"/>  
                         <xs:enumeration value="BMD"/>  
                         <xs:enumeration value="BND"/>  
                         <xs:enumeration value="BOB"/>  
                         <xs:enumeration value="BOV"/>  
                         <xs:enumeration value="BRL"/>  
                         <xs:enumeration value="BSD"/>  
                         <xs:enumeration value="BTN"/>  
                         <xs:enumeration value="BWP"/>  
                         <xs:enumeration value="BYR"/>  
                         <xs:enumeration value="BZD"/>  
                         <xs:enumeration value="CAD"/>  
                         <xs:enumeration value="CDF"/>  
                         <xs:enumeration value="CHE"/>  
                         <xs:enumeration value="CHF"/>  
                         <xs:enumeration value="CHW"/>  
                         <xs:enumeration value="CLF"/>  
                         <xs:enumeration value="CLP"/>  
                         <xs:enumeration value="CNY"/>  
                         <xs:enumeration value="COP"/>  
                         <xs:enumeration value="COU"/>  
                         <xs:enumeration value="CRC"/>  
                         <xs:enumeration value="CUC"/>  
                         <xs:enumeration value="CUP"/>  
                         <xs:enumeration value="CVE"/>  
                         <xs:enumeration value="CZK"/>  
                         <xs:enumeration value="DJF"/>  
                         <xs:enumeration value="DKK"/>  
                         <xs:enumeration value="DOP"/>  
                         <xs:enumeration value="DZD"/>  
                         <xs:enumeration value="EGP"/>  
                         <xs:enumeration value="ERN"/>  
                         <xs:enumeration value="ETB"/>  
                         <xs:enumeration value="EUR"/>  
                         <xs:enumeration value="FJD"/>  
                         <xs:enumeration value="FKP"/>  
                         <xs:enumeration value="GBP"/>  
                         <xs:enumeration value="GEL"/>  
                         <xs:enumeration value="GHS"/>  
                         <xs:enumeration value="GIP"/>  
                         <xs:enumeration value="GMD"/>  
                         <xs:enumeration value="GNF"/>  
                         <xs:enumeration value="GTQ"/>  
                         <xs:enumeration value="GYD"/>  
                         <xs:enumeration value="HKD"/>  
                         <xs:enumeration value="HNL"/>  
                         <xs:enumeration value="HRK"/>  
                         <xs:enumeration value="HTG"/>  
                         <xs:enumeration value="HUF"/>  
                         <xs:enumeration value="IDR"/>  
                         <xs:enumeration value="ILS"/>  
                         <xs:enumeration value="INR"/>  
                         <xs:enumeration value="IQD"/>  
                         <xs:enumeration value="IRR"/>  
                         <xs:enumeration value="ISK"/>  
                         <xs:enumeration value="JMD"/>  
                         <xs:enumeration value="JOD"/>  
                         <xs:enumeration value="JPY"/>  
                         <xs:enumeration value="KES"/>  
                         <xs:enumeration value="KGS"/>  
                         <xs:enumeration value="KHR"/>  
                         <xs:enumeration value="KMF"/>  
                         <xs:enumeration value="KPW"/>  
                         <xs:enumeration value="KRW"/>  
                         <xs:enumeration value="KWD"/>  
                         <xs:enumeration value="KYD"/>  
                         <xs:enumeration value="KZT"/>  
                         <xs:enumeration value="LAK"/>  
                         <xs:enumeration value="LBP"/>  
                         <xs:enumeration value="LKR"/>  
                         <xs:enumeration value="LRD"/>  
                         <xs:enumeration value="LSL"/>  
                         <xs:enumeration value="LYD"/>  
                         <xs:enumeration value="MAD"/>  
                         <xs:enumeration value="MDL"/>  
                         <xs:enumeration value="MGA"/>  
                         <xs:enumeration value="MKD"/>  
                         <xs:enumeration value="MMK"/>  
                         <xs:enumeration value="MNT"/>  
                         <xs:enumeration value="MOP"/>  
                         <xs:enumeration value="MRO"/>  
                         <xs:enumeration value="MUR"/>  
                         <xs:enumeration value="MVR"/>  
                         <xs:enumeration value="MWK"/>  
                         <xs:enumeration value="MXN"/>  
                         <xs:enumeration value="MXV"/>  
                         <xs:enumeration value="MYR"/>  
                         <xs:enumeration value="MZN"/>  
                         <xs:enumeration value="NAD"/>  
                         <xs:enumeration value="NGN"/>  
                         <xs:enumeration value="NIO"/>  
                         <xs:enumeration value="NOK"/>  
                         <xs:enumeration value="NPR"/>  
                         <xs:enumeration value="NZD"/>  
                         <xs:enumeration value="OMR"/>  
                         <xs:enumeration value="PAB"/>  
                         <xs:enumeration value="PEN"/>  
                         <xs:enumeration value="PGK"/>  
                         <xs:enumeration value="PHP"/>  
                         <xs:enumeration value="PKR"/>  
                         <xs:enumeration value="PLN"/>  
                         <xs:enumeration value="PYG"/>  
                         <xs:enumeration value="QAR"/>  
                         <xs:enumeration value="RON"/>  
                         <xs:enumeration value="RSD"/>  
                         <xs:enumeration value="RUB"/>  
                         <xs:enumeration value="RWF"/>  
                         <xs:enumeration value="SAR"/>  
                         <xs:enumeration value="SBD"/>  
                         <xs:enumeration value="SCR"/>  
                         <xs:enumeration value="SDG"/>  
                         <xs:enumeration value="SEK"/>  
                         <xs:enumeration value="SGD"/>  
                         <xs:enumeration value="SHP"/>  
                         <xs:enumeration value="SLL"/>  
                         <xs:enumeration value="SOS"/>  
                         <xs:enumeration value="SRD"/>  
                         <xs:enumeration value="SSP"/>  
                         <xs:enumeration value="STD"/>  
                         <xs:enumeration value="SVC"/>  
                         <xs:enumeration value="SYP"/>  
                         <xs:enumeration value="SZL"/>  
                         <xs:enumeration value="THB"/>  
                         <xs:enumeration value="TJS"/>  
                         <xs:enumeration value="TMT"/>  
                         <xs:enumeration value="TND"/>  
                         <xs:enumeration value="TOP"/>  
                         <xs:enumeration value="TRY"/>  
                         <xs:enumeration value="TTD"/>  
                         <xs:enumeration value="TWD"/>  
                         <xs:enumeration value="TZS"/>  
                         <xs:enumeration value="UAH"/>  
                         <xs:enumeration value="UGX"/>  
                         <xs:enumeration value="USD"/>  
                         <xs:enumeration value="USN"/>  
                         <xs:enumeration value="UYI"/>  
                         <xs:enumeration value="UYU"/>  
                         <xs:enumeration value="UZS"/>  
                         <xs:enumeration value="VEF"/>  
                         <xs:enumeration value="VND"/>  
                         <xs:enumeration value="VUV"/>  
                         <xs:enumeration value="WST"/>  
                         <xs:enumeration value="XAF"/>  
                         <xs:enumeration value="XAG"/>  
                         <xs:enumeration value="XAU"/>  
                         <xs:enumeration value="XBA"/>  
                         <xs:enumeration value="XBB"/>  
                         <xs:enumeration value="XBC"/>  
                         <xs:enumeration value="XBD"/>  
                         <xs:enumeration value="XCD"/>  
                         <xs:enumeration value="XDR"/>  
                         <xs:enumeration value="XOF"/>  
                         <xs:enumeration value="XPD"/>  
                         <xs:enumeration value="XPF"/>  
                         <xs:enumeration value="XPT"/>  
                         <xs:enumeration value="XSU"/>  
                         <xs:enumeration value="XTS"/>  
                         <xs:enumeration value="XUA"/>  
                         <xs:enumeration value="XXX"/>  
                         <xs:enumeration value="YER"/>  
                         <xs:enumeration value="ZAR"/>  
                         <xs:enumeration value="ZMW"/>  
                         <xs:enumeration value="ZWL"/>  
                     </xs:restriction>  
                 </xs:simpleType>  
             </xs:element>  
             <xs:element name="TipoCambio" type="DecimalDineroType">  
                 <xs:annotation>  
                     <xs:documentation>Tipo de cambio</xs:documentation>  
                 </xs:annotation>  
             </xs:element>  
         </xs:sequence>  
     </xs:complexType>  
   <xs:simpleType name="DecimalDineroType">     <xs:simpleType name="DecimalDineroType"> 
       <xs:annotation>         <xs:annotation> 
           <xs:documentation>Tipo de dato decimal para representar los valores de dinero.</xs:documentation>             <xs:documentation>Tipo de dato decimal para representar los valores de dinero.</xs:documentation> 
       </xs:annotation>         </xs:annotation> 
       <xs:restriction base="xs:decimal">         <xs:restriction base="xs:decimal"> 
           <xs:totalDigits value="18"/>             <xs:totalDigits value="18"/> 
           <xs:fractionDigits value="5"/>             <xs:fractionDigits value="5"/> 
           <xs:maxInclusive value="9999999999999.99999"/>             <xs:maxInclusive value="9999999999999.99999"/> 
             <xs:minInclusive value="0"/>  
       </xs:restriction>         </xs:restriction> 
   </xs:simpleType>     </xs:simpleType> 
   <xs:simpleType name="ClaveType">     <xs:simpleType name="ClaveType"> 
       <xs:annotation>         <xs:annotation> 
           <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation>             <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation> 
       </xs:annotation>         </xs:annotation> 
       <xs:restriction base="xs:string">         <xs:restriction base="xs:string"> 
           <xs:pattern value="\d{50,50}"/>             <xs:pattern value="\d{50,50}"/> 
       </xs:restriction>         </xs:restriction> 
   </xs:simpleType>     </xs:simpleType> 
   <xs:simpleType name="NumeroConsecutivoType">     <xs:simpleType name="NumeroConsecutivoType"> 
       <xs:annotation>         <xs:annotation> 
           <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation>             <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 20</xs:documentation> 
       </xs:annotation>         </xs:annotation> 
       <xs:restriction base="xs:string">         <xs:restriction base="xs:string"> 
           <xs:pattern value="\d{20,20}"/>             <xs:pattern value="\d{20,20}"/> 
       </xs:restriction>         </xs:restriction> 
   </xs:simpleType>     </xs:simpleType> 
   <xs:simpleType name="UnidadMedidaType">     <xs:simpleType name="UnidadMedidaType"> 
       <xs:annotation>         <xs:annotation> 
           <xs:documentation>Unidades de Medida basadas en el estándar RTC 443:2010</xs:documentation>             <xs:documentation>Unidades de Medida basadas en el estándar RTC 443:2010</xs:documentation> 
       </xs:annotation>         </xs:annotation> 
       <xs:restriction base="xs:string">         <xs:restriction base="xs:string"> 
             <xs:enumeration value="Al">  
                 <xs:annotation>  
                     <xs:documentation>Alquiler de uso habitacional</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="Alc">  
                 <xs:annotation>  
                     <xs:documentation>Alquiler de uso comercial</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="Cm">  
                 <xs:annotation>  
                     <xs:documentation>Comisiones</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="I">  
                 <xs:annotation>  
                     <xs:documentation>Intereses</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="Os">  
                 <xs:annotation>  
                     <xs:documentation>Otro tipo de servicios</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
           <xs:enumeration value="Sp">             <xs:enumeration value="Sp"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Servicios Profesionales</xs:documentation>                     <xs:documentation>Servicios Profesionales</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
             <xs:enumeration value="Spe">  
                 <xs:annotation>  
                     <xs:documentation>Servicios Personales</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="St">  
                 <xs:annotation>  
                     <xs:documentation>Servicios Técnicos</xs:documentation>  
                 </xs:annotation>  
             </xs:enumeration>  
           <xs:enumeration value="m">             <xs:enumeration value="m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Metro</xs:documentation>                     <xs:documentation>Metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="kg">             <xs:enumeration value="kg"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Kilogramo</xs:documentation>                     <xs:documentation>Kilogramo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="s">             <xs:enumeration value="s"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Segundo</xs:documentation>                     <xs:documentation>Segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="A">             <xs:enumeration value="A"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Ampere</xs:documentation>                     <xs:documentation>Ampere</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="K">             <xs:enumeration value="K"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Kelvin</xs:documentation>                     <xs:documentation>Kelvin</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="mol">             <xs:enumeration value="mol"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Mol</xs:documentation>                     <xs:documentation>Mol</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="cd">             <xs:enumeration value="cd"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Candela</xs:documentation>                     <xs:documentation>Candela</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="m²">             <xs:enumeration value="m²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>metro cuadrado</xs:documentation>                     <xs:documentation>metro cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="m³">             <xs:enumeration value="m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>metro cúbico</xs:documentation>                     <xs:documentation>metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="m/s">             <xs:enumeration value="m/s"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>metro por segundo</xs:documentation>                     <xs:documentation>metro por segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="m/s²">             <xs:enumeration value="m/s²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>metro por segundo cuadrado</xs:documentation>                     <xs:documentation>metro por segundo cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="1/m">             <xs:enumeration value="1/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>1 por metro</xs:documentation>                     <xs:documentation>1 por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="kg/m³">             <xs:enumeration value="kg/m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>kilogramo por metro cúbico</xs:documentation>                     <xs:documentation>kilogramo por metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="A/m²">             <xs:enumeration value="A/m²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>ampere por metro cuadrado</xs:documentation>                     <xs:documentation>ampere por metro cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="A/m">             <xs:enumeration value="A/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>ampere por metro</xs:documentation>                     <xs:documentation>ampere por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="mol/m³">             <xs:enumeration value="mol/m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>mol por metro cúbico</xs:documentation>                     <xs:documentation>mol por metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="cd/m²">             <xs:enumeration value="cd/m²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>candela por metro cuadrado</xs:documentation>                     <xs:documentation>candela por metro cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="1">             <xs:enumeration value="1"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>uno (indice de refracción)</xs:documentation>                     <xs:documentation>uno (indice de refracción)</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="rad">             <xs:enumeration value="rad"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>radián</xs:documentation>                     <xs:documentation>radián</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="sr">             <xs:enumeration value="sr"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>estereorradián</xs:documentation>                     <xs:documentation>estereorradián</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Hz">             <xs:enumeration value="Hz"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>hertz</xs:documentation>                     <xs:documentation>hertz</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="N">             <xs:enumeration value="N"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>newton</xs:documentation>                     <xs:documentation>newton</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Pa">             <xs:enumeration value="Pa"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>pascal</xs:documentation>                     <xs:documentation>pascal</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J">             <xs:enumeration value="J"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Joule</xs:documentation>                     <xs:documentation>Joule</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="W">             <xs:enumeration value="W"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Watt</xs:documentation>                     <xs:documentation>Watt</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="C">             <xs:enumeration value="C"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>coulomb</xs:documentation>                     <xs:documentation>coulomb</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="V">             <xs:enumeration value="V"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>volt</xs:documentation>                     <xs:documentation>volt</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="F">             <xs:enumeration value="F"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>farad</xs:documentation>                     <xs:documentation>farad</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Ω">             <xs:enumeration value="Ω"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>ohm</xs:documentation>                     <xs:documentation>ohm</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="S">             <xs:enumeration value="S"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>siemens</xs:documentation>                     <xs:documentation>siemens</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Wb">             <xs:enumeration value="Wb"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>weber</xs:documentation>                     <xs:documentation>weber</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="T">             <xs:enumeration value="T"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>tesla</xs:documentation>                     <xs:documentation>tesla</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="H">             <xs:enumeration value="H"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>henry</xs:documentation>                     <xs:documentation>henry</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="°C">             <xs:enumeration value="°C"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>grado Celsius</xs:documentation>                     <xs:documentation>grado Celsius</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="lm">             <xs:enumeration value="lm"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>lumen</xs:documentation>                     <xs:documentation>lumen</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="lx">             <xs:enumeration value="lx"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>lux</xs:documentation>                     <xs:documentation>lux</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Bq">             <xs:enumeration value="Bq"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>Becquerel</xs:documentation>                     <xs:documentation>Becquerel</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Gy">             <xs:enumeration value="Gy"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>gray</xs:documentation>                     <xs:documentation>gray</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Sv">             <xs:enumeration value="Sv"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>sievert</xs:documentation>                     <xs:documentation>sievert</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="kat">             <xs:enumeration value="kat"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>katal</xs:documentation>                     <xs:documentation>katal</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Pa·s">             <xs:enumeration value="Pa·s"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>pascal segundo</xs:documentation>                     <xs:documentation>pascal segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="N·m">             <xs:enumeration value="N·m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>newton metro</xs:documentation>                     <xs:documentation>newton metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="N/m">             <xs:enumeration value="N/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>newton por metro</xs:documentation>                     <xs:documentation>newton por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="rad/s">             <xs:enumeration value="rad/s"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>radián por segundo</xs:documentation>                     <xs:documentation>radián por segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="rad/s²">             <xs:enumeration value="rad/s²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>radián por segundo cuadrado</xs:documentation>                     <xs:documentation>radián por segundo cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="W/m²">             <xs:enumeration value="W/m²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>watt por metro cuadrado</xs:documentation>                     <xs:documentation>watt por metro cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/K">             <xs:enumeration value="J/K"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por kelvin</xs:documentation>                     <xs:documentation>joule por kelvin</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/(kg·K)">             <xs:enumeration value="J/(kg·K)"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por kilogramo kelvin</xs:documentation>                     <xs:documentation>joule por kilogramo kelvin</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/kg">             <xs:enumeration value="J/kg"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por kilogramo</xs:documentation>                     <xs:documentation>joule por kilogramo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="W/(m·K)">             <xs:enumeration value="W/(m·K)"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>watt por metro kevin</xs:documentation>                     <xs:documentation>watt por metro kevin</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/m³">             <xs:enumeration value="J/m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por metro cúbico</xs:documentation>                     <xs:documentation>joule por metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="V/m">             <xs:enumeration value="V/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>volt por metro</xs:documentation>                     <xs:documentation>volt por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="C/m³">             <xs:enumeration value="C/m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>coulomb por metro cúbico</xs:documentation>                     <xs:documentation>coulomb por metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="C/m²">             <xs:enumeration value="C/m²"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>coulomb por metro cuadrado</xs:documentation>                     <xs:documentation>coulomb por metro cuadrado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="F/m">             <xs:enumeration value="F/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>farad por metro</xs:documentation>                     <xs:documentation>farad por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="H/m">             <xs:enumeration value="H/m"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>henry por metro</xs:documentation>                     <xs:documentation>henry por metro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/mol">             <xs:enumeration value="J/mol"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por mol</xs:documentation>                     <xs:documentation>joule por mol</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="J/(mol·K)">             <xs:enumeration value="J/(mol·K)"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>joule por mol kelvin</xs:documentation>                     <xs:documentation>joule por mol kelvin</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="C/kg">             <xs:enumeration value="C/kg"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>coulomb por kilogramo</xs:documentation>                     <xs:documentation>coulomb por kilogramo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Gy/s">             <xs:enumeration value="Gy/s"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>gray por segundo</xs:documentation>                     <xs:documentation>gray por segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="W/sr">             <xs:enumeration value="W/sr"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>watt por estereorradián</xs:documentation>                     <xs:documentation>watt por estereorradián</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="W/(m²·sr)">             <xs:enumeration value="W/(m²·sr)"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>watt por metro cuadrado estereorradián</xs:documentation>                     <xs:documentation>watt por metro cuadrado estereorradián</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="kat/m³">             <xs:enumeration value="kat/m³"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>katal por metro cúbico</xs:documentation>                     <xs:documentation>katal por metro cúbico</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="min">             <xs:enumeration value="min"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>minuto</xs:documentation>                     <xs:documentation>minuto</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="h">             <xs:enumeration value="h"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>hora</xs:documentation>                     <xs:documentation>hora</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="d">             <xs:enumeration value="d"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>día</xs:documentation>                     <xs:documentation>día</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="º">             <xs:enumeration value="º"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>grado</xs:documentation>                     <xs:documentation>grado</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="´">             <xs:enumeration value="´"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>minuto</xs:documentation>                     <xs:documentation>minuto</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="´´">             <xs:enumeration value="´´"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>segundo</xs:documentation>                     <xs:documentation>segundo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="L">             <xs:enumeration value="L"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>litro</xs:documentation>                     <xs:documentation>litro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="t">             <xs:enumeration value="t"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>tonelada</xs:documentation>                     <xs:documentation>tonelada</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Np">             <xs:enumeration value="Np"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>neper</xs:documentation>                     <xs:documentation>neper</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="B">             <xs:enumeration value="B"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>bel</xs:documentation>                     <xs:documentation>bel</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="eV">             <xs:enumeration value="eV"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>electronvolt</xs:documentation>                     <xs:documentation>electronvolt</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="u">             <xs:enumeration value="u"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>unidad de masa atómica unificada</xs:documentation>                     <xs:documentation>unidad de masa atómica unificada</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="ua">             <xs:enumeration value="ua"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>unidad astronómica</xs:documentation>                     <xs:documentation>unidad astronómica</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Unid">             <xs:enumeration value="Unid"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>unidad</xs:documentation>                     <xs:documentation>unidad</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Gal">             <xs:enumeration value="Gal"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>galón</xs:documentation>                     <xs:documentation>galón</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="g">             <xs:enumeration value="g"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>gramo</xs:documentation>                     <xs:documentation>gramo</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Km">             <xs:enumeration value="Km"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>kilometro</xs:documentation>                     <xs:documentation>kilometro</xs:documentation> 
                 </xs:annotation>  
             </xs:enumeration>  
             <xs:enumeration value="Kw">  
                 <xs:annotation>  
                     <xs:documentation>kilovatios</xs:documentation>  
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="ln">             <xs:enumeration value="ln"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>pulgada</xs:documentation>                     <xs:documentation>pulgada</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="cm">             <xs:enumeration value="cm"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>centimetro</xs:documentation>                     <xs:documentation>centimetro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="mL">             <xs:enumeration value="mL"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>mililitro</xs:documentation>                     <xs:documentation>mililitro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="mm">             <xs:enumeration value="mm"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>milimetro</xs:documentation>                     <xs:documentation>milimetro</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Oz">             <xs:enumeration value="Oz"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation>onzas</xs:documentation>                     <xs:documentation>onzas</xs:documentation> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
           <xs:enumeration value="Otros">             <xs:enumeration value="Otros"> 
               <xs:annotation>                 <xs:annotation> 
                   <xs:documentation/>                     <xs:documentation/> 
               </xs:annotation>                 </xs:annotation> 
           </xs:enumeration>             </xs:enumeration> 
       </xs:restriction>         </xs:restriction> 
   </xs:simpleType>     </xs:simpleType> 
</xs:schema>  </xs:schema>