<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.4/facturaElectronicaExportacion" 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.4/facturaElectronicaExportacion" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.4" vc:minVersion="1.1">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../../xmldsig-core-schema.xsd"/>
	<xs:element name="FacturaElectronicaExportacion">
		<xs:annotation>
			<xs:documentation>Elemento Raiz de la Facturacion Electrónica de exportacion</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Clave" type="ClaveType">
					<xs:annotation>
						<xs:documentation>Corresponde a la clave del comprobante. Es un campo fijo de cincuenta posiciones y se tiene que utilizar para
la consulta del código QR</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ProveedorSistemas">
					<xs:annotation>
						<xs:documentation>Se debe indicar el número de cedula de identificación del proveedor
de sistemas que esté utilizando para la emisión de comprobantes
electrónicos</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="20"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="CodigoActividadEmisor">
					<xs:annotation>
						<xs:documentation>Se debe de indicar el código de la actividad económica inscrita a la
cual corresponde el comprobante que se está generando</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:annotation>
						<xs:documentation>Numeración consecutiva del comprobante</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="FechaEmision" type="xs:dateTime"/>
				<xs:element name="Emisor" type="EmisorType">
					<xs:annotation>
						<xs:documentation>Emisor del documento</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Receptor" type="ReceptorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Receptor del documento</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="CondicionVenta">
					<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, 07 Cobro a favor de un tercero, 08 servicxios prestados al estado a credito, 09 pago del servicio prestado al estado,10 venta a credito hasta 90 dias,11 pago de venta a credito en IVA hasta 90 dias, 99 Otros</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:enumeration value="01">
								<xs:annotation>
									<xs:documentation>Contado</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="02">
								<xs:annotation>
									<xs:documentation>Crédito</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="03">
								<xs:annotation>
									<xs:documentation>Consignación</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="04">
								<xs:annotation>
									<xs:documentation>Apartado</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="05">
								<xs:annotation>
									<xs:documentation>Arrendamiento con opción de compra</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="06">
								<xs:annotation>
									<xs:documentation>Arrendamiento en función financiera</xs:documentation>
								</xs:annotation>
							</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="10">
								<xs:annotation>
									<xs:documentation>Venta a crédito en IVA hasta 90 días (Artículo 27, LIVA) </xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="13">
								<xs:annotation>
									<xs:documentation>Venta Bienes Usados No Contribuyente</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="14">
								<xs:annotation>
									<xs:documentation>Arrendamiento Operativo</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="15">
								<xs:annotation>
									<xs:documentation>Arrendamiento Financiero</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
							<xs:enumeration value="99">
								<xs:annotation>
									<xs:documentation>Otros</xs:documentation>
								</xs:annotation>
							</xs:enumeration>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="CondicionVentaOtros" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Será obligatorio en caso de utilizar el código 99 de "Otros" de la nota
5. Se debe describir puntualmente la condición de la venta utilizada.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:minLength value="5"/>
							<xs:maxLength value="100"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="PlazoCredito" minOccurs="0">
					<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:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:integer">
							<xs:totalDigits value="5"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="DetalleServicio">
					<xs:annotation>
						<xs:documentation>Detalle del Servicio, Mercancía u otro</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="LineaDetalle" maxOccurs="1000">
								<xs:annotation>
									<xs:documentation>Cada línea del detalle de la mercancia o servicio prestado.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="NumeroLinea">
											<xs:annotation>
												<xs:documentation>Número de línea del detalle</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:positiveInteger">
													<xs:minInclusive value="1"/>
													<xs:maxInclusive value="1000"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="PartidaArancelaria" minOccurs="0">
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="12"/>
													<xs:minLength value="12"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="CodigoCABYS">
											<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:minLength value="13"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="CodigoComercial" type="CodigoType" minOccurs="0" maxOccurs="5"/>
										<xs:element name="Cantidad">
											<xs:annotation>
												<xs:documentation>Cantidad</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="16"/>
													<xs:fractionDigits value="3"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="UnidadMedida" type="UnidadMedidaType">
											<xs:annotation>
												<xs:documentation>Unidad de medida </xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="TipoTransaccion" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Este campo se utilizará para identificar el tipo de transacción
que se realizará.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TipoTransaccionType">
													<xs:maxLength value="2"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="UnidadMedidaComercial" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Unidad de medida comercial</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="20"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="Detalle">
											<xs:annotation>
												<xs:documentation>Detalle de la mercancia transferida o servicio prestado</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="200"/>
													<xs:minLength value="3"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="NumeroVINoSerie" minOccurs="0" maxOccurs="1000">
											<xs:annotation>
												<xs:documentation>Número de VIN o Serie
del medio de transporte</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="17"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="RegistroMedicamento" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Se refiere al respectivo número de registro del Ministerio de Salud</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="FormaFarmaceutica" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Código de la presentación del medicamento.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="3"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="DetalleSurtido" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Tipo complejo que representa cada línea del detalle de los componentes de un surtido, paquete o combinación de productos. Se debe utilizar exclusivamente cuando en la línea de detalle se está facturando un paquete, surtido o combo, entendido como la combinación de más de dos productos con diferentes códigos de producto/servicio.</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="LineaDetalleSurtido" maxOccurs="20">
														<xs:annotation>
															<xs:documentation>Tipo complejo que representa cada línea del detalle del surtido</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="CodigoCABYSSurtido">
																	<xs:annotation>
																		<xs:documentation>Código de Producto
/Servicio componente de Surtido</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="13"/>
																			<xs:minLength value="13"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="CodigoComercialSurtido" minOccurs="0" maxOccurs="5">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="TipoSurtido">
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:length value="2"/>
																						<xs:enumeration value="01">
																							<xs:annotation>
																								<xs:documentation>Código del producto del vendedor</xs:documentation>
																							</xs:annotation>
																						</xs:enumeration>
																						<xs:enumeration value="02">
																							<xs:annotation>
																								<xs:documentation>Código del producto del comprador</xs:documentation>
																							</xs:annotation>
																						</xs:enumeration>
																						<xs:enumeration value="03">
																							<xs:annotation>
																								<xs:documentation>código del producto asignado por la industria</xs:documentation>
																							</xs:annotation>
																						</xs:enumeration>
																						<xs:enumeration value="04">
																							<xs:annotation>
																								<xs:documentation>código de uso interno</xs:documentation>
																							</xs:annotation>
																						</xs:enumeration>
																						<xs:enumeration value="99">
																							<xs:annotation>
																								<xs:documentation>Otros</xs:documentation>
																							</xs:annotation>
																						</xs:enumeration>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:element name="CodigoSurtido">
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="20"/>
																						<xs:minLength value="1"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="CantidadSurtido">
																	<xs:annotation>
																		<xs:documentation>Es un número decimal compuesto por 13 enteros y 3 decimales.</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="16"/>
																			<xs:fractionDigits value="3"/>
																			<xs:minInclusive value="0"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="UnidadMedidaSurtido">
																	<xs:simpleType>
																		<xs:restriction base="UnidadMedidaType">
																			<xs:maxLength value="15"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="UnidadMedidaComercialSurtido" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Nodo utilizado para indicar una unidad de medida que nace del propio giro comercial del establecimiento, no es una cantidad estandarizada de una determinada magnitud física, definida y adoptada por convención o por ley ejemplo: "1
Tarima"</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="20"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="DetalleSurtido">
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="200"/>
																			<xs:minLength value="3"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="PrecioUnitarioSurtido">
																	<xs:simpleType>
																		<xs:restriction base="DecimalDineroType">
																			<xs:minInclusive value="0"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="MontoTotalSurtido" type="DecimalDineroType">
																	<xs:annotation>
																		<xs:documentation>Se obtiene de la multiplicación del campo "Cantidad componente de surtido" por el campo "Precio unitario componente de surtido".</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="DescuentoSurtido" minOccurs="0" maxOccurs="5">
																	<xs:annotation>
																		<xs:documentation>Se puede incluir un máximo de 5 repeticiones de
descuentos, cada descuento adicional se calcula sobre la base menos el descuento anterior.</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="MontoDescuentoSurtido" type="DecimalDineroType">
																				<xs:annotation>
																					<xs:documentation>Validación: Se deberá incluir un valor igual o menor al del
"Monto total componente surtido"</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="CodigoDescuentoSurtido" type="CodigoDescuentoType">
																				<xs:annotation>
																					<xs:documentation>Este campo será de condición obligatoria, cuando se incluya información en el campo "Monto de descuentos concedidos al componente de surtido</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="DescuentoSurtidoOtros" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Este campo será de condición obligatoria, cuando se utilice el código 99 de la Nota 20
Validación: En caso de utilizarse el código 99, se verificará que este campo se encuentre en el comprobante, caso contrario se rechazará. Además, deberá contener mínimo 3 caracteres y un máximo de 80</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="80"/>
																						<xs:minLength value="3"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="SubTotalSurtido" type="DecimalDineroType">
																	<xs:annotation>
																		<xs:documentation>Se obtiene de la resta del campo "Monto total componente surtido" menos "Monto de descuentos concedidos al componente de surtido"</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="ImpuestoSurtido" maxOccurs="1000">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="CodigoImpuestoSurtido" type="CodigoImpuestoType">
																				<xs:annotation>
																					<xs:documentation>Ver nota 8. Es un campo fijo de dos posiciones.
Al utilizar el código de Naturaleza del Descuento 01 correspondiente a "Regalías" o 03 de "Bonificaciones" y el código de impuesto 01, se debe utilizar para el cálculo del impuesto el campo denominado "Monto total componente de surtido" y la "Tarifa del Impuesto al Valor Agregado para componente de surtido"
Validación: Se verificará el cumplimiento de la nota 8</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="CodigoImpuestoOTROSurtido" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Será obligatorio en caso de utilizar el código 99 de "Otros" de la nota 8. Se debe describir puntualmente el impuesto utilizado.
Validación: Deberá contener mínimo 5 caracteres y un máximo de 100</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="100"/>
																						<xs:minLength value="5"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:element name="CodigoTarifaIVASurtido" type="CodigoTarifaIVAType" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Se convierte en obligatorio cuando se usa el código 01 de impuestos de surtido
Validación: Se verificará el cumplimiento de nota 8.1. cuando se utilice el código 01 de campo código del impuesto.</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="TarifaSurtido" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Este campo es de condición obligatoria, cuando el componente este gravado con alguna tarifa de impuesto, según corresponda. Debe de expresarse el porcentaje como número entero (Ejemplo: la tarifa del 13% se debe de reflejar como 13, la tarifa del 1% como 1, o bien la tarifa del 0.5% como 0.5)</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:decimal">
																						<xs:totalDigits value="4"/>
																						<xs:fractionDigits value="2"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:element name="MontoImpuestoSurtido" type="DecimalDineroType">
																				<xs:annotation>
																					<xs:documentation>Este campo será de condición obligatoria, cuando el componente este gravado con algún impuesto. Es un número decimal compuesto por 13 enteros y 5 decimales</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="PrecioUnitario" type="DecimalDineroType">
											<xs:annotation>
												<xs:documentation>Precio Unitario</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="MontoTotal" type="DecimalDineroType">
											<xs:annotation>
												<xs:documentation>Se obtiene de multiplicar el campo cantidad por el campo precio unitario</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Descuento" type="DescuentoType" minOccurs="0" maxOccurs="5"/>
										<xs:element name="SubTotal" type="DecimalDineroType">
											<xs:annotation>
												<xs:documentation>Se obtiene de la resta del campo monto total menos monto de descuento concedido</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Impuesto" type="ImpuestoType" maxOccurs="1000">
											<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:annotation>
										</xs:element>
										<xs:element name="MontoTotalLinea" type="DecimalDineroType">
											<xs:annotation>
												<xs:documentation>Se calcula de la siguiente manera:
se obtiene de la sumatoria de los campos “Subtotal”, “Impuesto Neto”.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</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:complexType>
						<xs:sequence>
							<xs:element name="CodigoTipoMoneda" type="CodigoMonedaType"/>
							<xs:element name="TotalServGravados" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Total de los servicios gravados con IVA</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalServExentos" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Total de los servicios exentos de IVA</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalMercanciasGravadas" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Total mercancias gravadas con IVA</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalMercanciasExentas" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Total mercancias exentas de IVA</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalGravado" type="DecimalDineroType" minOccurs="0">
								<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:annotation>
							</xs:element>
							<xs:element name="TotalExento" type="DecimalDineroType" minOccurs="0">
								<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:annotation>
							</xs:element>
							<xs:element name="TotalVenta" type="DecimalDineroType">
								<xs:annotation>
									<xs:documentation>Se obtiene de la sumatoria de los campos “total gravado”, “total exento” y “Total Exonerado”.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalDescuentos" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Se obtiene de la suma de todos los campo de monto de descuento concedido</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalVentaNeta" type="DecimalDineroType">
								<xs:annotation>
									<xs:documentation>Se obtiene de la resta de los campos total venta menos total descuento</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalDesgloseImpuesto" minOccurs="0" maxOccurs="1000">
								<xs:annotation>
									<xs:documentation>Tipo complejo que contiene los montos desglosados por impuesto cobrado en el comprobante electrónico.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Codigo" type="CodigoImpuestoType">
											<xs:annotation>
												<xs:documentation>Indicará los códigos de impuesto registrados en las líneas de detalle.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CodigoTarifaIVA" type="CodigoTarifaIVAType" minOccurs="0"/>
										<xs:element name="TotalMontoImpuesto" type="DecimalDineroType">
											<xs:annotation>
												<xs:documentation>Se obtiene de la sumatoria del monto por código de impuesto cobrado en el comprobante electrónico</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="TotalImpuesto" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Se obtiene de la suma de todos campos monto del impuesto</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalImpAsumEmisorFabrica" type="DecimalDineroType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Este campo es de condición obligatoria, cuando existen producto/servicio gravados con algún impuesto en las líneas de detalle que sean asumidos por el emisor</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="MedioPago" minOccurs="0" maxOccurs="4">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="TipoMedioPago" minOccurs="0">
											<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, 06 - SINPE  MOVIL, 07 - Plataforma Digital, 99 -  Otros</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="01">
														<xs:annotation>
															<xs:documentation>Efectivo</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="02">
														<xs:annotation>
															<xs:documentation> Tarjeta</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="03">
														<xs:annotation>
															<xs:documentation>Cheque</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="04">
														<xs:annotation>
															<xs:documentation>Transferencia - depósito bancario</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="05">
														<xs:annotation>
															<xs:documentation>Recaudado por terceros</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="06">
														<xs:annotation>
															<xs:documentation>SINPE MOVIL</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="07">
														<xs:annotation>
															<xs:documentation>Plataforma Digital</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
													<xs:enumeration value="99">
														<xs:annotation>
															<xs:documentation>Otros</xs:documentation>
														</xs:annotation>
													</xs:enumeration>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="MedioPagoOtros" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Será obligatorio en caso de utilizar el código 99 de “Otros” de la nota 6. Se debe describir puntualmente el medio de pago utilizado</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="3"/>
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="TotalMedioPago" type="DecimalDineroType" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Se deberá detallar el monto correspondiente al tipo de pago seleccionado. Se volverá obligatorio cuando se utilice más de un medio de pago.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="TotalComprobante" type="DecimalDineroType">
								<xs:annotation>
									<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:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="InformacionReferencia" minOccurs="0" maxOccurs="10">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="TipoDocIR" type="TipoDocReferenciaType">
								<xs:annotation>
									<xs:documentation>Tipo de documento de referencia </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TipoDocRefOTRO" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Será obligatorio en caso de utilizar el código 99 de “Otros” de la nota 10. Se debe describir puntualmente el tipo de documento utilizado</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="5"/>
										<xs:maxLength value="100"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Numero" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Clave numérica del comprobante electrónico o consecutivo del documento de referencia</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="50"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="FechaEmisionIR" type="xs:dateTime">
								<xs:annotation>
									<xs:documentation>Fecha de emisión del documento de referencia</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Codigo" type="CodigoReferenciaType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Código de referencia. 01 Anula documento de referencia, 02 Corrige texto de documento de referencia, 04 Referencia a otro documento, 05 Sustituye comprobante provisional por contigencia, 99 Otros</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="CodigoReferenciaOTRO" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Será obligatorio en caso de utilizar el código 99 de “Otros” de la nota 9. Se debe describir puntualmente el código de referencia utilizado</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:minLength value="5"/>
										<xs:maxLength value="100"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="Razon" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Razón de referencia</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="180"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Otros" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="OtroTexto" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Elemento opcional que se puede utilizar para almacenar texto.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="restrictedString">
											<xs:attribute name="codigo" type="xs:string">
												<xs:annotation>
													<xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="OtroContenido" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Elemento opcional que se puede utilizar para almacenar texto.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="restrictedString">
											<xs:attribute name="codigo" type="xs:string">
												<xs:annotation>
													<xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element ref="ds:Signature" minOccurs="1" maxOccurs="1"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="EmisorType">
		<xs:sequence>
			<xs:element name="Nombre" nillable="false">
				<xs:annotation>
					<xs:documentation>Nombre o razon social</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100"/>
						<xs:minLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Identificacion" type="IdentificacionType"/>
			<xs:element name="Registrofiscal8707" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Campo condicional. Se convierte en carácter obligatorio cuando se
estén facturando códigosCAByS de bebidas alcohólicas según la Ley
8707. Contiene los datos del número de registro de bebidas
alcohólicas, suministrado por la Dirección General de Aduanas</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="12"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NombreComercial" minOccurs="0">
				<xs:annotation>
					<xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="80"/>
						<xs:minLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Ubicacion" type="UbicacionType"/>
			<xs:element name="Telefono" type="TelefonoType" nillable="true" minOccurs="0"/>
			<xs:element name="CorreoElectronico" maxOccurs="4">
				<xs:annotation>
					<xs:documentation>Debe cumplir con la siguiente estructura: 
 \s*\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="160"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ReceptorType">
		<xs:sequence>
			<xs:element name="Nombre" nillable="false">
				<xs:annotation>
					<xs:documentation>Nombre o razon social</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100"/>
						<xs:minLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Identificacion" type="IdentificacionType" minOccurs="0"/>
			<xs:element name="NombreComercial" minOccurs="0">
				<xs:annotation>
					<xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="80"/>
						<xs:minLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<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:minLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Telefono" type="TelefonoType" minOccurs="0"/>
			<xs:element name="CorreoElectronico" minOccurs="0">
				<xs:annotation>
					<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:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="160"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="IdentificacionType">
		<xs:sequence>
			<xs:element name="Tipo" nillable="false">
				<xs:annotation>
					<xs:documentation>Tipo de identificación: 01 Cédula Física, 02 Cédula Jurídica, 03 DIMEX, 04 NITE, 05 Extranjero no domiciliado</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="01">
							<xs:annotation>
								<xs:documentation>Cedula Fisica</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="02">
							<xs:annotation>
								<xs:documentation> Cedula Juridica</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="03">
							<xs:annotation>
								<xs:documentation>DIMEX</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="04">
							<xs:annotation>
								<xs:documentation>NITE</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="05">
							<xs:annotation>
								<xs:documentation>Extranjero no domiciliado</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="06">
							<xs:annotation>
								<xs:documentation>No Contribuyente</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Numero" nillable="false">
				<xs:annotation>
					<xs:documentation>Número de identificación, el contribuyente debe estar inscrito ante la Administración Tributaria</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="UbicacionType">
		<xs:sequence>
			<xs:element name="Provincia">
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:totalDigits value="1"/>
						<xs:pattern value="\d"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Canton">
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:totalDigits value="2"/>
						<xs:pattern value="\d\d"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Distrito">
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:totalDigits value="2"/>
						<xs:pattern value="\d\d"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Barrio" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="50"/>
						<xs:minLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="OtrasSenas">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="250"/>
						<xs:minLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TelefonoType">
		<xs:sequence>
			<xs:element name="CodigoPais">
				<xs:annotation>
					<xs:documentation>Código del país</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NumTelefono">
				<xs:annotation>
					<xs:documentation>Número de teléfono</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:minInclusive value="10000000"/>
						<xs:maxInclusive value="99999999999999999999"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ExoneracionType">
		<xs:sequence>
			<xs:element name="TipoDocumento">
				<xs:annotation>
					<xs:documentation>Tipo de documento de exoneración o autorización. 01 Compras Autorizadas, 02 Ventas exentas a diplomáticos, 03 Autorizado por Ley Especial, 04 Exenciones Dirección General de Hacienda, 05 Transitorio V, 06 Transitorio IX, 07 Transitorio XVII, 99 Otros</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="01">
							<xs:annotation>
								<xs:documentation>Compras Autorizadas</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="02">
							<xs:annotation>
								<xs:documentation>Ventas exentas a diplomáticos</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="03">
							<xs:annotation>
								<xs:documentation>Autorizado por Ley Especial</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="04">
							<xs:annotation>
								<xs:documentation>Exenciones Direccion General de Hacienda</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="05">
							<xs:annotation>
								<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:enumeration>
						<xs:enumeration value="99">
							<xs:annotation>
								<xs:documentation>Otros</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NumeroDocumento">
				<xs:annotation>
					<xs:documentation>Número de documento de exoneración o autorización</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NombreInstitucion">
				<xs:annotation>
					<xs:documentation>Nombre de la institución o dependencia que emitió la exoneración</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="160"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FechaEmision" type="xs:dateTime">
				<xs:annotation>
					<xs:documentation>Fecha y hora de la emisión del documento de exoneración o autorización.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PorcentajeExoneracion">
				<xs:annotation>
					<xs:documentation>Tarifa exonerada</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="4"/>
						<xs:fractionDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</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:complexType>
	<xs:complexType name="ImpuestoType">
		<xs:sequence>
			<xs:element name="Codigo" type="CodigoImpuestoType">
				<xs:annotation>
					<xs:documentation>Código del impuesto: 01 Impuesto al valor agregado, 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 IVA (cálculo especial), 08 IVA Regimen de Bienes Usados (Factor), 12 Impuesto Especifico al cemento, 99 Otros</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CodigoImpuestoOTRO" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Será obligatorio en caso de utilizar el código 99 de “Otros” de la nota 8. Se debe describir puntualmente el impuesto
utilizado</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="5"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CodigoTarifaIVA" type="CodigoTarifaIVAType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>En el caso que se utilice el nodo “Detalle de productos del surtido, paquetes o combos”, no se deberá utilizar este
campo, ya que el impuesto se calcula como la suma de los montos de impuestos individuales de las líneas de detalle de los componentes del surtido que se deben incluir en estos
casos. La eventual validación de la consistencia de los impuestos calculados y aplicación de tarifas se hará sobre las líneas individuales de detalle.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Tarifa" minOccurs="0">
				<xs:annotation>
					<xs:documentation>En el caso que se utilice el nodo “Detalle de productos del surtido, paquetes o combos”, no se deberá utilizar este campo, ya que el impuesto se calcula como la suma de los montos de impuestos individuales de las líneas de detalle de componentes del surtido que se deben incluir en estos casos. La eventual validación de la consistencia de los impuestos calculados y aplicación de tarifas se hará sobre las líneas individuales de detalle.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="4"/>
						<xs:fractionDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FactorCalculoIVA" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Este campo es de condición obligatoria, cuando el producto/servicio posea un factor para su cálculo.
Cuando en el código de impuesto se defina IVA Bienes Usados se deberá utilizar este campo con el factor establecido por el Ministerio de Hacienda</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="5"/>
						<xs:fractionDigits value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Monto" type="DecimalDineroType">
				<xs:annotation>
					<xs:documentation>Monto del impuesto</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MontoExportacion" type="DecimalDineroType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Uso exclusivo para exportación de mercancías que apliquen impuestos especiales. También podrá ser utilizado en las notas de crédito y débito según corresponda. Cuando se utilicen CAByS de servicios no se verificará</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CodigoType">
		<xs:sequence>
			<xs:element name="Tipo">
				<xs:annotation>
					<xs:documentation>Será obligatorio para las líneas de detalle que utilicen uno de
los códigos de producto/servicio de "surtidos" que estén
habilitados en el CAByS.
En el caso de la inclusión de paquetes, surtidos o combos,
entendidos como la combinación de más de dos productos
con diferentes códigos de producto/servicio, se debe
seleccionar el código 03 "Código del producto asignado por la
industria" de la nota 12 e incluir en el campo "código" el
respectivo código "SKU", GTIN o equivalentes, con el que el
paquete este identificado en la industria. Estos códigos deben
ser verificables en los catálogos disponibles en la industria.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="01">
							<xs:annotation>
								<xs:documentation>Código del producto del vendedor</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="02">
							<xs:annotation>
								<xs:documentation>Código del producto del comprador</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="03">
							<xs:annotation>
								<xs:documentation>código del producto asignado por la industria</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="04">
							<xs:annotation>
								<xs:documentation>código de uso interno</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="99">
							<xs:annotation>
								<xs:documentation>Otros</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Codigo">
				<xs:annotation>
					<xs:documentation>Será obligatorio para las líneas de detalle que utilicen uno de
los códigos de producto/servicio de “surtidos” que estén
habilitados en el CAByS.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DescuentoType">
		<xs:sequence>
			<xs:element name="MontoDescuento" type="DecimalDineroType">
				<xs:annotation>
					<xs:documentation>Monto de descuento concedido. Este campo será de condición obligatoria, cuando se indique
un descuento, en el campo "Código del descuento"</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CodigoDescuento" type="CodigoDescuentoType">
				<xs:annotation>
					<xs:documentation>Este campo será de condición obligatoria, cuando se incluya
información en el campo "monto de descuentos concedidos"</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CodigoDescuentoOTRO" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Será obligatorio en caso de utilizar el código 99 de "Otros"
de la nota 20. Se debe describir puntualmente el descuento
utilizado</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100"/>
						<xs:minLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NaturalezaDescuento" minOccurs="0">
				<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:minLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OtrosCargosType">
		<xs:sequence>
			<xs:element name="TipoDocumentoOC">
				<xs:annotation>
					<xs:documentation>Se verificará el cumplimiento de la nota 16.
Además, cuando se seleccione el código 04, 08, 09 y 10 de la nota 16 en “Tipo de documento otros cargos” y no se cuente con una línea de servicio o producto, no es obligatorio usar el nodo “Detalle de la mercancía o servicio prestado”.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TipoDocOtrosCargosType">
						<xs:minLength value="2"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TipoDocumentoOTROS" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Será obligatorio en caso de utilizar el código 99 de “Otros” de la nota 16. Se debe describir puntualmente el tipo de documento utilizado</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="5"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="IdentificacionTercero" type="IdentificacionType" minOccurs="0"/>
			<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:minLength value="5"/>
					</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="PorcentajeOC" minOccurs="0">
				<xs:annotation>
					<xs:documentation>En el caso que el cargo posea un porcentaje o monto para su cálculo se debe de indicar el mismo</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="9"/>
						<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</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="XCD"/>
						<xs:enumeration value="XDR"/>
						<xs:enumeration value="XOF"/>
						<xs:enumeration value="XPF"/>
						<xs:enumeration value="XSU"/>
						<xs:enumeration value="XUA"/>
						<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:annotation>
			<xs:documentation>Tipo de dato decimal para representar los valores de dinero.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="18"/>
			<xs:fractionDigits value="5"/>
			<xs:maxInclusive value="9999999999999.99999"/>
			<xs:minInclusive value="0"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ClaveType">
		<xs:annotation>
			<xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{50,50}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NumeroConsecutivoType">
		<xs:annotation>
			<xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 20</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{20,20}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="UnidadMedidaType">
		<xs:annotation>
			<xs:documentation>Unidades de Medida basadas en el estándar RTC 443:2010</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1">
				<xs:annotation>
					<xs:documentation>uno (índice de refracción)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="´">
				<xs:annotation>
					<xs:documentation>minuto</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="´´">
				<xs:annotation>
					<xs:documentation>segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="°C">
				<xs:annotation>
					<xs:documentation>grado Celsius</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="1/m">
				<xs:annotation>
					<xs:documentation>1 por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A">
				<xs:annotation>
					<xs:documentation>Ampere</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A/m">
				<xs:annotation>
					<xs:documentation>ampere por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="A/m²">
				<xs:annotation>
					<xs:documentation>ampere por metro cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Acv">
				<xs:annotation>
					<xs:documentation>Activo Virtual</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<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="B">
				<xs:annotation>
					<xs:documentation>bel</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Bq">
				<xs:annotation>
					<xs:documentation>Becquerel</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C">
				<xs:annotation>
					<xs:documentation>coulomb</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C/kg">
				<xs:annotation>
					<xs:documentation>coulomb por kilogramo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C/m²">
				<xs:annotation>
					<xs:documentation>coulomb por metro cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="C/m³">
				<xs:annotation>
					<xs:documentation>coulomb por metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Cc">
				<xs:annotation>
					<xs:documentation>Cajuela de café</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Cd">
				<xs:annotation>
					<xs:documentation>Candela</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="cd/m²">
				<xs:annotation>
					<xs:documentation>candela por metro cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Cm">
				<xs:annotation>
					<xs:documentation>Comisiones</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="cm">
				<xs:annotation>
					<xs:documentation>centímetro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Cu">
				<xs:annotation>
					<xs:documentation>cuartillos de café</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="D">
				<xs:annotation>
					<xs:documentation>día</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="eV">
				<xs:annotation>
					<xs:documentation>electronvolt</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="F">
				<xs:annotation>
					<xs:documentation>farad</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="F/m">
				<xs:annotation>
					<xs:documentation>farad por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Fa">
				<xs:annotation>
					<xs:documentation>fanega de café</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="G">
				<xs:annotation>
					<xs:documentation>Gramo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Gal">
				<xs:annotation>
					<xs:documentation>Galón</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Gy">
				<xs:annotation>
					<xs:documentation>gray</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Gy/s">
				<xs:annotation>
					<xs:documentation>gray por segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="h">
				<xs:annotation>
					<xs:documentation>hora</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="H">
				<xs:annotation>
					<xs:documentation>henry</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="H/m">
				<xs:annotation>
					<xs:documentation>henry por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Hz">
				<xs:annotation>
					<xs:documentation>hertz</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="I">
				<xs:annotation>
					<xs:documentation>Intereses</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J">
				<xs:annotation>
					<xs:documentation>Joule</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/(kg·K)">
				<xs:annotation>
					<xs:documentation>joule por kilogramo kelvin</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/(mol·K)">
				<xs:annotation>
					<xs:documentation>joule por mol kelvin</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/K">
				<xs:annotation>
					<xs:documentation>joule por kelvin</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/kg">
				<xs:annotation>
					<xs:documentation>joule por kilogramo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/m³">
				<xs:annotation>
					<xs:documentation>joule por metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J/mol">
				<xs:annotation>
					<xs:documentation>joule por mol</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="K">
				<xs:annotation>
					<xs:documentation>Kelvin</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Kat">
				<xs:annotation>
					<xs:documentation>katal</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="kat/m³">
				<xs:annotation>
					<xs:documentation>katal por metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Kg">
				<xs:annotation>
					<xs:documentation>Kilogramo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="kg/m³">
				<xs:annotation>
					<xs:documentation>kilogramo por metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Km">
				<xs:annotation>
					<xs:documentation>Kilometro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Kw">
				<xs:annotation>
					<xs:documentation>kilovatios</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="kWh">
				<xs:annotation>
					<xs:documentation>Kilovatios por hora</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="L">
				<xs:annotation>
					<xs:documentation>litro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Lm">
				<xs:annotation>
					<xs:documentation>lumen</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Ln">
				<xs:annotation>
					<xs:documentation>pulgada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Lx">
				<xs:annotation>
					<xs:documentation>lux</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="M">
				<xs:annotation>
					<xs:documentation>Metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="m/s">
				<xs:annotation>
					<xs:documentation>metro por segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="m/s²">
				<xs:annotation>
					<xs:documentation>metro por segundo cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="m²">
				<xs:annotation>
					<xs:documentation>metro cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="m³">
				<xs:annotation>
					<xs:documentation>metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Min">
				<xs:annotation>
					<xs:documentation>minuto</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="mL">
				<xs:annotation>
					<xs:documentation>mililitro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Mm">
				<xs:annotation>
					<xs:documentation>Milímetro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Mol">
				<xs:annotation>
					<xs:documentation>Mol</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="mol/m³">
				<xs:annotation>
					<xs:documentation>mol por metro cúbico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="N">
				<xs:annotation>
					<xs:documentation>newton</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="N/m">
				<xs:annotation>
					<xs:documentation>newton por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="N·m">
				<xs:annotation>
					<xs:documentation>newton metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Np">
				<xs:annotation>
					<xs:documentation>neper</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="º">
				<xs:annotation>
					<xs:documentation>grado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Os">
				<xs:annotation>
					<xs:documentation>Otro tipo de servicio</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Otros">
				<xs:annotation>
					<xs:documentation>Se debe indicar la descripción de la medida a utilizar</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Oz">
				<xs:annotation>
					<xs:documentation>Onzas</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Pa">
				<xs:annotation>
					<xs:documentation>pascal</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Pa·s">
				<xs:annotation>
					<xs:documentation>pascal segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Qq">
				<xs:annotation>
					<xs:documentation>Quintal</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Rad">
				<xs:annotation>
					<xs:documentation>radián</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="rad/s">
				<xs:annotation>
					<xs:documentation>radián por segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="rad/s²">
				<xs:annotation>
					<xs:documentation>radián por segundo cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="S">
				<xs:annotation>
					<xs:documentation>Segundo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="s">
				<xs:annotation>
					<xs:documentation>siemens</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Sp">
				<xs:annotation>
					<xs:documentation>Servicios Profesionales</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Spe">
				<xs:annotation>
					<xs:documentation>Servicios personales</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Sr">
				<xs:annotation>
					<xs:documentation>estereorradián</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="Sv">
				<xs:annotation>
					<xs:documentation>sievert</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="t">
				<xs:annotation>
					<xs:documentation>tesla</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="T">
				<xs:annotation>
					<xs:documentation>tonelada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="U">
				<xs:annotation>
					<xs:documentation>unidad de masa atómica unificada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Ua">
				<xs:annotation>
					<xs:documentation>unidad astronómica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Unid">
				<xs:annotation>
					<xs:documentation>Unidad</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="V">
				<xs:annotation>
					<xs:documentation>volt</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="V/m">
				<xs:annotation>
					<xs:documentation>volt por metro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="W">
				<xs:annotation>
					<xs:documentation>Watt</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="W/(m·K)">
				<xs:annotation>
					<xs:documentation>watt por metro kevin</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="W/(m²·sr)">
				<xs:annotation>
					<xs:documentation>watt por metro cuadrado estereorradián</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="W/m²">
				<xs:annotation>
					<xs:documentation>watt por metro cuadrado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="W/sr">
				<xs:annotation>
					<xs:documentation>watt por estereorradián</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Wb">
				<xs:annotation>
					<xs:documentation>weber</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Ω">
				<xs:annotation>
					<xs:documentation>ohm</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoTransaccionType">
		<xs:annotation>
			<xs:documentation>Tipos de transacción para el caso de transacciones con tratamientos tributarios específicos </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Venta Normal de Bienes y Servicios (Transacción General)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Mercancía de Autoconsumo exento</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation>Mercancía de Autoconsumo gravado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Servicio de Autoconsumo exento</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Servicio de Autoconsumo gravado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Cuota de afiliación</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Cuota de afiliación Exenta</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Bienes de Capital para el emisor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Bienes de Capital para el receptor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Bienes de Capital para el emisor y el receptor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation>Bienes de capital de autoconsumo exento para el emisor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation>Bienes de capital sin contraprestación a terceros exento para el emisor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="13">
				<xs:annotation>
					<xs:documentation>Sin contraprestación a terceros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodigoDescuentoType">
		<xs:annotation>
			<xs:documentation>Los tipos de descuentos a utilizar en el campo "Código del Descuento" del Descuento</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="2"/>
			<xs:minLength value="2"/>
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Descuento por Regalía</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Descuento por Regalía IVA Cobrado al Cliente</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation>Descuento por Bonificación</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Descuento por volumen</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Descuento por Temporada (estacional)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Descuento promocional</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Descuento Comercial</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Descuento por frecuencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Descuento sostenido </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="99">
				<xs:annotation>
					<xs:documentation>Otros descuentos</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodigoImpuestoType">
		<xs:annotation>
			<xs:documentation>Código del impuesto: 01 Impuesto al valor agregado, 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 IVA (cálculo especial), 08 IVA Regimen de Bienes Usados (Factor), 12 Impuesto Especifico al cemento, 99 Otros</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Impuesto al Valor Agregado</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 unico 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>IVA (cálculo especial)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>IVA Régimen de Bienes Usados (Factor)</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="99">
				<xs:annotation>
					<xs:documentation>Otros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodigoTarifaIVAType">
		<xs:annotation>
			<xs:documentation> Cuando se trata del IVA las tarifas y códigos a utilizar son las siguientes</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Tarifa 0% (Artículo 32, num 1, RLIVA)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Tarifa reducida 1%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation>Tarifa reducida 2%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Tarifa reducida 4%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Transitorio 0%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Transitorio 4%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Tarifa transitoria 8%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Tarifa general 13%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Tarifa reducida 0.5%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Tarifa Exenta</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation>Tarifa 0% sin derecho a crédito</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoDocOtrosCargosType">
		<xs:annotation>
			<xs:documentation>Tipo de documento otros cargos
</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Contribución parafiscal</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Timbre de la Cruz Roja</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation>Timbre de Benemérito Cuerpo de Bomberos de Costa Rica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Cobro de un tercero</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Costos de Exportación</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Impuesto de servicio 10%</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Timbre de Colegios Profesionales</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Depósitos de Garantía</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Multas o Penalizaciones</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Intereses Moratorios</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="99">
				<xs:annotation>
					<xs:documentation>Otros Cargos</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoDocReferenciaType">
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Factura electrónica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Nota de debido electrónica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation>nota de crédito electrónica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Tiquete electrónico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Nota de despacho</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Contrato</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Procedimiento</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Comprobante emitido en contigencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Devolución mercadería</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Comprobante electrónico rechazado por el Ministerio de Hacienda</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation>Sustituye factura rechazada por el Receptor del comprobante</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation>Sustituye Factura de exportación</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="13">
				<xs:annotation>
					<xs:documentation>Facturación mes vencido</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="99">
				<xs:annotation>
					<xs:documentation>Otros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="14">
				<xs:annotation>
					<xs:documentation>Comprobante aportado por contribuyente de Régimen Especial.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="15">
				<xs:annotation>
					<xs:documentation>Sustituye una Factura electrónica de Compra</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="16">
				<xs:annotation>
					<xs:documentation>Comprobante de Proveedor No Domiciliado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="17">
				<xs:annotation>
					<xs:documentation>Nota de Crédito a Factura Electrónica de Compra</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="18">
				<xs:annotation>
					<xs:documentation>Nota de Débito a Factura Electrónica de Compra</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodigoReferenciaType">
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation>Anula documento de referencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation>Corrige texto de ocumento de referencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation>Referencia a otro documento</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation>Sustituye comprobante provisional por contigencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation>Devolución de mercancía</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation>Sustituye comprobante electrónico</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation>Factura Endosada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation>Nota de crédito financiera</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Nota de débito financiera</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation>Proveedor No Domiciliado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation>Crédito por exoneración posterior a la facturación</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="99">
				<xs:annotation>
					<xs:documentation>Otros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="restrictedString">
		<xs:restriction base="xs:string">
			<xs:maxLength value="500"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>