<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by test (test) -->
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.facturae.es/Facturae/2007/v3.0/Facturae" targetNamespace="http://www.facturae.es/Facturae/2007/v3.0/Facturae" version="3.0">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
	<xs:element name="Facturae">
		<xs:annotation>
			<xs:documentation xml:lang="en"> Element ORIGIN of Facturae Invoices File 	   
			</xs:documentation>
			<xs:documentation xml:lang="es">Elemento ORIGEN de Fichero de Facturas Facturae
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="FileHeader" type="FileHeaderType">
					<xs:annotation>
						<xs:documentation xml:lang="en"> Header of xml file
						</xs:documentation>
						<xs:documentation xml:lang="es">Cabecera del fichero xmlI
						</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Parties" type="PartiesType">
					<xs:annotation>
						<xs:documentation xml:lang="en"> Data of the issuer and recipient of the invoice	   	
						</xs:documentation>
						<xs:documentation xml:lang="es">Sujetos - Datos del emisor y receptor de la factura
						</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Invoices" type="InvoicesType">
					<xs:annotation>
						<xs:documentation xml:lang="en"> Set of invoices contained in the file
						</xs:documentation>
						<xs:documentation xml:lang="es">Conjunto de facturas que contiene el fichero
						</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Extensions" type="ExtensionsType" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="en"> New structured definitions can be incorporated when they are of collective interest of the issuers and recipients, and have not already been defined in the invoice  schema
						</xs:documentation>
						<xs:documentation xml:lang="es">Extensiones. Podrán incorporarse nuevas definiciones estructuradas cuando sean de interés conjunto para emisores y receptores, y no estén ya definidas en el esquema de la factura.
						</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="ds:Signature" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="en"> Set of data associated with the invoice which guarantee the authorship and integrity of the message. It is defined as optional to ease the validation and transmission of the file. However, this block of electronic signature must be completed in order for an electronic invoice to be considered legally valid before third parties. 
						</xs:documentation>
						<xs:documentation xml:lang="es">Conjunto de datos asociados a la factura que garantizarán la autoría y la integridad del mensaje. Se define como opcional para facilitar la verificación y el tránsito del fichero. No obstante, debe cumplimentarse este bloque de firma electrónica para que se considere una factura electrónica válida legalmente frente a terceros.
						</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		<!--Raíz -->
	</xs:element>
	<!--XMLFacturae -->
	<xs:complexType name="FileHeaderType">
		<xs:sequence>
			<xs:element name="SchemaVersion" type="SchemaVersionType" default="3.0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Code indicating the XSD version used. There will be compatibility of versions. 	   
					</xs:documentation>
					<xs:documentation xml:lang="es">Código que indica versión utilizada. Existirá compatibilidad de versiones 							</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Modality" type="ModalityType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Single or Batch. If it is "single" (I) the amounts of the fields of group 1.5 will match their corresponding fields of group 3.1.5 and field 1.5.2 will always take the value "1". If it is a "batch" (L), the value of field 1.5.2 will always be > "1".	   
 					</xs:documentation>
					<xs:documentation xml:lang="es">Modalidad. Individual o Lote. Si es "individual" (I) los importes de los campos del grupo 1.5 coincidirán con sus correspondientes campos del grupo 3.1.5 y el campo 1.5.2 tendrá siempre el valor "1". Si es "lote" (L), el valor del campo 1.5.2 será siempre > "1".
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceIssuerType" type="InvoiceIssuerTypeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Party who signs the invoice. If the value "TE" (Issuer type)  is chosen, all sections of group 1.4. must be filled in.
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo Emisor Factura. Actor que firma la factura. Si toma el valor "TE" el grupo 1.4. será obligatorio de cumplimentar en todos sus apartados.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ThirdParty" type="ThirdPartyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">The invoice can be drawn up and signed by a third party. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Tercero. La factura puede ser generada y firmada por un Tercero
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Batch" type="BatchType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Lote
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FactoringAssignmentData" type="FactoringAssignmentDataType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos cesión factoring
				</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- FileHeader -->
	<xs:complexType name="ThirdPartyType">
		<xs:sequence>
			<xs:element name="TaxIdentification" type="TaxIdentificationType">
				<xs:annotation>
					<xs:documentation xml:lang="es">Identificación Fiscal
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="LegalEntity" type="LegalEntityType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Jurídica y otras
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Individual" type="IndividualType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Física
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="BatchType">
		<xs:sequence>
			<xs:element name="BatchIdentifier" type="TextMax70Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Identifier of the batch. It results from tagging on the document number of the issuer, the first invoice number and the serial number, if it exists.	   
					</xs:documentation>
					<xs:documentation xml:lang="es">Identificador del lote.Concatenación del nº de documento del emisor con el número de la primera factura y el número de serie caso de existir.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoicesCount" type="xs:long">
				<xs:annotation>
					<xs:documentation xml:lang="en"> In case of a batch, it indicates the number of invoices of the same. It will always take the value "1" when field 1.2 (Modality) takes the value "I".
					</xs:documentation>
					<xs:documentation xml:lang="es">Número total de facturas. Refleja, cuando es lote, el número de facturas del mismo.Siempre será valor "1" cuando el campo 1.2 (Modalidad) tenga el valor "I".
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalInvoicesAmount" type="ImporteType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sum of the amounts 3.1.5.9 of the File. This amount is the result of the total amount of invoices and taxes, without taking into account subsidies, payments on account and/or amounts withheld that may have been processed.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total facturas. Suma de los importes 3.1.5.9 del Fichero.Este importe lo es a efectos de total de factura y fiscales, sin tener en cuenta subvenciones, anticipos y/o retenciones que pudieran haberse practicado.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalOutstandingAmount" type="ImporteType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Sum of the amounts 3.1.5.13 of the File, to two decimal points. It is the amount which will be effectively debited deducted the payments on account made and non-inclusive of any amount withheld. 	 
					</xs:documentation>
					<xs:documentation xml:lang="es"> Total a pagar. Suma de los importes 3.1.5.13 del Fichero, con dos decimales.Es el importe que efectivamente se adeuda, una vez descontadoslos anticipos y sin tener en cuenta las retenciones.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalExecutableAmount" type="ImporteType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sum of the differences of the amounts (3.1.5.13 and 3.1.5.14.3) of the file = Sum of the amounts 3.1.5.15, to two decimal points. It is the amount that is debited less any amount withheld as a performance guarantee.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total a Ejecutar. Sumatorio de las diferencias de los importes (3.1.5.13 y 3.1.5.14.3) del fichero = Sumatorio de los Importes 3.1.5.15, con dos decimales. Es el importe que se adeuda minorado en un posible importe retenido en garantía de cumplimientos contractuales.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceCurrencyCode" type="CurrencyCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> ISO/ALFA Code of the currency in which the invoice is issued. If it differs from the currency EURO or from field 3.1.2.5, it is compulsory to indicate the exchange value and the date/exchange rate for the fields of taxable base and quota, deducted and passed on, as well as in the totals 1.5.3, 1.5.4, and 1.5.5 .ISO 4217.
					</xs:documentation>
					<xs:documentation xml:lang="es">Código ISO/ALFA de la moneda en la que se emite la factura. Si difiere de la moneda EURO o del campo 3.1.2.5 será obligatorio indicar el contravalor y el tipo/fecha de cambio para los campos de base imponible y cuota, retenida como repercutida, así como en los totales 1.5.3, 1.5.4, y 1.5.5 ISO 4217. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FactoringAssignmentDataType">
		<xs:sequence>
			<xs:element name="Assignee" type="AssigneeType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Cesionario
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentDetails" type="PaymentDetailsType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos de pago
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FactoringAssignmentClauses" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Text of the clauses	
					</xs:documentation>
					<xs:documentation xml:lang="es">Texto de la cláusula
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AssigneeType">
		<xs:sequence>
			<xs:element name="TaxIdentification" type="TaxIdentificationType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Identificación fiscal
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="LegalEntity" type="LegalEntityType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Jurídica y otras
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Individual" type="IndividualType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Física
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<!-- Header - FactoringAssignmentData -->
	<xs:complexType name="PaymentDetailsType">
		<xs:sequence>
			<xs:element name="AssignmentDuePaymentDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Fecha pago en la cesión
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AssignmentPaymentMeans" type="TextMax15Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Definition of the payment method chosen.
					</xs:documentation>
					<xs:documentation xml:lang="es"> Forma pago cesión. Definición de la forma en la que se hará efectivo el pago
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IBAN" type="TextMin5Max34Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sole format accepted.  
					</xs:documentation>
					<xs:documentation xml:lang="es">IBAN del Cesionario.Único formato admitido
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentReference" type="TextMax60Type">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Raferencia del pago
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Parties -->
	<xs:complexType name="PartiesType">
		<xs:sequence>
			<xs:element name="SellerParty" type="EmpresaType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Basic data of the file. They are common to the invoice or all the invoices included.
					</xs:documentation>
					<xs:documentation xml:lang="es">Emisor. Datos básicos del fichero. Son comunes a la factura o facturas que se incluyen
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BuyerParty" type="EmpresaType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Basic data of the file. They are common to the invoice or all the invoices included.
					</xs:documentation>
					<xs:documentation xml:lang="es">Receptor. Datos básicos del fichero. Son comunes a la factura o facturas que se incluyen
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Parties - SellerParty y BuyerParty -->
	<xs:complexType name="EmpresaType">
		<xs:sequence>
			<xs:element name="TaxIdentification" type="TaxIdentificationType">
				<xs:annotation>
					<xs:documentation xml:lang="es">Identificación Fiscal
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PartyIdentification" type="PartyIdentificationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Party Identification; Fill with your Invoicing program identification number for the party</xs:documentation>
					<xs:documentation xml:lang="es">Identificación de la entidad; Rellenar con el número de referencia de la entidad del programa de facturación que utilice</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdministrativeCentres" type="AdministrativeCentresType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Centros
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="LegalEntity" type="LegalEntityType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Jurídica y otras
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Individual" type="IndividualType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Persona Física
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<!--Invoices -->
	<xs:complexType name="InvoicesType">
		<xs:sequence>
			<xs:element name="Invoice" type="InvoiceType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Factura
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="InvoiceType">
		<xs:sequence>
			<xs:element name="InvoiceHeader" type="InvoiceHeaderType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> For each one of the invoices which may compose a Batch, it collects data which determine each invoice perfectly. 	
					</xs:documentation>
					<xs:documentation xml:lang="es">Cabecera de factura. Para cada una de las facturas que pueden componer un Lote, recoge datos que determinan inequívocamente cada factura
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceIssueData" type="InvoiceIssueDataType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos de la emisión de la factura
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxesOutputs" type="TaxesType">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Impuestos repercutidos
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxesWithheld" type="TaxesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Impuestos retenidos
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceTotals" type="InvoiceTotalsType">
				<xs:annotation>
					<xs:documentation xml:lang="es">Totales de factura 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Items" type="ItemsType">
				<xs:annotation>
					<xs:documentation xml:lang="es">Información detallada 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentDetails" type="VencimientosType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Datos de pago 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LegalLiterals" type="LegalLiteralsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Literales legales 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalData" type="AdditionalDataType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos adicionales 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice -->
	<xs:complexType name="InvoiceHeaderType">
		<xs:sequence>
			<xs:element name="InvoiceNumber" type="TextMax20Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Number allocated  by the Issuer
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de factura. Número asignado por el Emisor
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceSeriesCode" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Serial Number allocated by the Issuer	   
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de serie asignada por el Emisor
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceDocumentType" type="InvoiceDocumentTypeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> It can be a complete, abbreviated or self invoice, a payment on account, ticket,... In this standard  payments on account and tickets are not considered.
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo documento factura. Puede ser una factura completa, abreviada, autofactura, anticipo, tique,…En este estándar no se va a contemplar el anticipo y el tique.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceClass" type="InvoiceClassType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> This piece of information states the type of invoice, that is: "OO" - Original, "OR" - corrective, "OC" – summary original, "CO" – copy of the original, "CR" – copy of the corrective, "CC" – copy of the summary. A corrective invoice can only correct an original invoice. When the “type” takes the value “OR” or “CR” (correctives), fields of group 3.1.1.5. must be filled in.
					</xs:documentation>
					<xs:documentation xml:lang="es">Clase de Factura. Este dato refleja la clase de factura, a saber: "OO" - Original, "OR" - rectificativa, "OC" - original recapitulativa, "CO" - copia de la original, "CR" - copia de la rectificativa, "CC" - copia recapitulativa. Una factura rectificativa sólo puede rectificar a una factura original, o bien realizar un abono por volumen correspondiente a un periodo diferido, o algún otro motivo autorizado por la Agencia Tributaria. Cuando la "clase" se corresponda con alguno de los valores "OR" ó "CR" (rectificativas), deberán estar cumplimentados los campos del grupo 3.1.1.5.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Corrective" type="CorrectiveType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Rectificativa
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="InvoiceIssueDataType">
		<xs:sequence>
			<xs:element name="IssueDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Date on which the invoice is issued for tax purposes. ISO 8601. This date cannot be later than the date used in the electronic signature. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Fecha de expedición. Fecha en la que se genera la factura con efectos fiscales. ISO 8601. Esta fecha no podrá ser posterior a la fecha de la firma electrónica. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PlaceOfIssue" type="PlaceOfIssueType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Place where the invoice is issued.
					</xs:documentation>
					<xs:documentation xml:lang="es">Lugar de expedición. Plaza en la que se expide el documento
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoicingPeriod" type="PeriodDates" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Only when necessary: Service provided temporarily or Summary. This information is compulsory when data 3.1.1.4 (Type) takes the value "OC" or "CC". ISO 8601.
					</xs:documentation>
					<xs:documentation xml:lang="es">Periodo de facturación. Sólo cuando se requiera: Servicio prestado temporalmente o Factura Recapitulativa. Esta información será obligatoria cuando el dato 3.1.1.4 (Clase) contenga alguno de los valores: "OC" ó "CC". ISO 8601. 							
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceCurrencyCode" type="CurrencyCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> ISO/ALFA code of the currency in which the invoice is issued. If the transaction currency differs from the tax currency (EURO), the exchange value fields ExchangeRate and ExchangeRateDate must be filled in, pursuant to Art. 10.1 of Regulation on invoicing, RD1496/2003 of 28 November. ISO 4217.	   
					</xs:documentation>
					<xs:documentation xml:lang="es">Moneda de la operación. Código ISO/ALFA de la moneda en la que se emite la factura. Si la moneda de la operación difiere de la moneda del impuesto (EURO), los campos del contravalor ExchangeRate y ExchangeRateDate, deberán cumplimentarse, en cumplimiento del Artº 10.1 del Reglamento sobre facturación. RD 1496/2003 de 28 de Noviembre. ISO 4217.   
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ExchangeRateDetails" type="ExchangeRateDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Detalles del tipo de cambio
						</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxCurrencyCode" type="CurrencyCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> ISO/ALFA code of the currency in which the tax is paid. Always EURO. ISO 4217.
					</xs:documentation>
					<xs:documentation xml:lang="es">Moneda del Impuesto. Código ISO/ALFA de la moneda en la que se liquida el impuesto. Siempre EURO. ISO 4217. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LanguageName" type="TextMax10Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Denomination of the language in which the invoice is issued.
					</xs:documentation>
					<xs:documentation xml:lang="es">Lengua. Denominación de la lengua en la que se emite el documento
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ItemsType">
		<xs:sequence>
			<xs:element name="InvoiceLine" type="InvoiceLineType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Lineas de detalle de la factura 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ExchangeRateDetailsType">
		<xs:sequence>
			<xs:element name="ExchangeRate" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Art. 79.eleven of Law 37/92 of 28 December on the Value Added Tax. Always to two decimal points. Seller rate fixed by Banco de España in force when the chargeable event occurs.
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo de Cambio. Artº 79.once de la Ley 37/92 de 28 de diciembre del Impuesto sobre el Valor Añadido. Siempre con dos decimales. Cambio vendedor fijado por el Banco de España y vigente en el momento del devengo.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ExchangeRateDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date when the exchange rate applied was published. ISO 8601 
					</xs:documentation>
					<xs:documentation xml:lang="es">Fecha de publicación del tipo de cambio aplicado.ISO 8601. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - InvoiceHeader -->
	<xs:complexType name="CorrectiveType">
		<xs:sequence>
			<xs:element name="InvoiceNumber" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Number of invoice being corrected
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de la factura que se rectifica. Será obligatorio cuando el dato "CorrectionMethod" (Código del criterio de la rectificación) sea "01" o "02". 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceSeriesCode" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Serial number of the invoice being corrected
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de serie de la factura que se rectifica
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReasonCode" type="ReasonCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Numerical code of the reason for correction. "01" to "16" errors according to regulation RD 1496/2003; "80" to "85" errors according to Art. 80 Law 37/92 on the VAT.
					</xs:documentation>
					<xs:documentation xml:lang="es">Código del motivo. Código numérico del motivo de rectificación. "01" a "16" errores según reglamento RD 1496/2003; "80" a "85" errores según Artº 80 Ley 37/92 el IVA. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReasonDescription" type="ReasonDescriptionType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Description of the reason for correction according to each code. See table of codes and descriptions. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Descripción motivo.Descripción del motivo de rectificación y que se corresponde con cada código. Ver tabla de códigos y descripciones. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxPeriod" type="PeriodDates">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Natural period in which the tax effects of the invoice to be corrected were produced; and therefore in which taxes were paid, and which is now adjusted. ISO 8601.
					</xs:documentation>
					<xs:documentation xml:lang="es">Período natural en el que se produjeron los efectos fiscales de la factura a rectificar; y, por lo tanto, se tributó, y que ahora, es objeto de rectificación. ISO 8601. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CorrectionMethod" type="CorrectionMethodType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Numerical code to identify the method employed to correct an invoice. “01” – all items to be corrected in the original invoice are reflected. “02” – only items already corrected are noted. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código numérico que identifica el criterio empleado en cada caso para una rectificación. "01" - se reflejan todos los detalles a rectificar de la factura original. "02" - sólo se anotan los detalles ya rectificados. 					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CorrectionMethodDescription" type="CorrectionMethodDescriptionType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Description of the method associated with the code indicated in the previous field. "01" – “Full items” correction method. "02" – “Corrected items only” correction method.
					</xs:documentation>
					<xs:documentation xml:lang="es">Descripción del criterio asociada al código indicado en el campo anterior. "01" - Rectificación modelo íntegro. "02" - Rectificación modelo por diferencias. "03" - Rectificación por descuento por volumen de operaciones durante un periodo. - "04" - Autorizadas por la Agencia Tributaria".
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - InvoiceIssueData -->
	<xs:complexType name="PlaceOfIssueType">
		<xs:sequence>
			<xs:element name="PostCode" type="PostCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Allocated by the Post Office
					</xs:documentation>
					<xs:documentation xml:lang="es">Asignado por Correos
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PlaceOfIssueDescription" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Text
					</xs:documentation>
					<xs:documentation xml:lang="es">Texto de la descripción de la plaza
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items -->
	<xs:complexType name="InvoiceLineType">
		<xs:sequence>
			<xs:element name="IssuerContractReference" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Contract
					</xs:documentation>
					<xs:documentation xml:lang="es">Contrato
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IssuerTransactionReference" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Transaction Reference, Purchase Order  Number, Contract, etc. of the Issuer.	
					</xs:documentation>
					<xs:documentation xml:lang="es">Referencia Operación, Número de Pedido, Contrato, etc. Emisor
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReceiverContractReference" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Contract
					</xs:documentation>
					<xs:documentation xml:lang="es">Contrato
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReceiverTransactionReference" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Transaction Reference, Purchase Order Number, Contract, etc. of the Receiver.
					</xs:documentation>
					<xs:documentation xml:lang="es">Referencia Operación, Número de Pedido, Contrato, etc. Receptor
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PurchaseOrderReference" type="xs:double" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Referencia de la orden de pedido 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeliveryNotesReferences" type="DeliveryNotesReferencesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Referencias de albaranes 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ItemDescription" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Description of the goods or service
					</xs:documentation>
					<xs:documentation xml:lang="es">Descripción del bien o servicio
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Quantity" type="xs:double">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Number of Units delivered/rendered
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de Unidades servidas/prestadas
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UnitOfMeasure" type="UnitOfMeasureType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Unit of measure in which the Quantity is expressed. UNO Recommendation 20.	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Unidad a que está referida la Cantidad. Recomendación 20 ONU. 					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UnitPriceWithoutTax" type="DoubleSixDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Unit price of the goods or service rendered, in the currency indicated in the Header of the Invoice. Always without Taxes. Always with six decimal places. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Precio de la unidad de bien o servicio servido/prestado, en la moneda indicada en la Cabecera de la Factura. Siempre sin Impuestos. Siempre con seis decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalCost" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.6.1.8 x 3.1.6.1.10. Always to two decimal points
					</xs:documentation>
					<xs:documentation xml:lang="es">Resultado: 3.1.6.1.8 x 3.1.6.1.10. Siempre con dos decimales 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DiscountsAndRebates" type="DiscountsAndRebatesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Descuentos. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Charges" type="ChargesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Cargos 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrossAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.6.1.11 - 3.1.6.1.12.1.3 + 3.1.6.1.13.1.3. Always to two decimal points   
					</xs:documentation>
					<xs:documentation xml:lang="es">Resultado: 3.1.6.1.11 - 3.1.6.1.12.1.3 + 3.1.6.1.13.1.3. Siempre con dos decimales. 					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxesWithheld" type="TaxesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> The “total amount” element of this block – item level – is provided only for informative purposes
					</xs:documentation>
					<xs:documentation xml:lang="es">Impuestos retenidos. El elemento "importe total" de este bloque - nivel de detalle - se considerará sólo a efectos informativos 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxesOutputs" type="TaxesType">
				<xs:annotation>
					<xs:documentation xml:lang="en">The “total amount” element of this block – item level – is provided only for informative purposes 
					</xs:documentation>
					<xs:documentation xml:lang="es">Impuestos repercutidos. El elemento "importe total" de este bloque - nivel de detalle - se considerará sólo a efectos informativos 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LineItemPeriod" type="PeriodDates" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Information about the period in which the service is rendered. ISO 8601.
					</xs:documentation>
					<xs:documentation xml:lang="es">Información sobre el periodo de prestación de un servicio. ISO 8601. 					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransactionDate" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Effective date when the service was rendered or the goods delivered. ISO 8601
					</xs:documentation>
					<xs:documentation xml:lang="es">Fecha concreta de prestación o entrega del bien o servicio. ISO 8601. 					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalLineItemInformation" type="TextMax2500Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Free field for the issuer in every line item
					</xs:documentation>
					<xs:documentation xml:lang="es">Libre para el emisor por cada detalle.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Extensions" type="ExtensionsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> New structured definitions can be incorporated when they are of collective interest of the issuers and recipients, and have not already been defined in the invoice  schema
					</xs:documentation>
					<xs:documentation xml:lang="es">Extensiones. Podrán incorporarse nuevas definiciones estructuradas cuando sean de interés conjunto para emisores y receptores, y no estén ya definidas en el esquema de la factura.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items - DeliveryNotesReferences -->
	<xs:complexType name="DeliveryNotesReferencesType">
		<xs:sequence>
			<xs:element name="DeliveryNote" type="DeliveryNoteType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Información del albarán 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeliveryNoteType">
		<xs:sequence>
			<xs:element name="DeliveryNoteNumber" type="TextMax30Type">
				<xs:annotation>
					<xs:documentation xml:lang="es">Número de referencia del albarán
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items - InvoiceTotals -  -->
	<xs:complexType name="InvoiceTotalsType">
		<xs:sequence>
			<xs:element name="TotalGrossAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> (TGA) Total sum of the gross amounts of the invoice items. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Suma total de importes brutos de los detalles de la factura. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GeneralDiscounts" type="DiscountsAndRebatesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Discounts on the Total Gross Amount. There will be as many blocks of fields 3.1.5.2 as there are different discount types applied to the same invoice. When there are different taxable bases, they will be applied proportionally, the final round-up to the nearest cent being carried out on the tax type of greatest value.	   
					</xs:documentation>
					<xs:documentation xml:lang="es">Descuentos sobre el Total Impte.Bruto. Habrá tantos bloques de campos 3.1.5.2 como clases de descuentos diferentes se apliquen, a nivel de factura. Cuando existan diversas bases imponibles, se aplicarán proporcionalmente, efectúandose el redondeo final al céntimo sobre el tipo impositivo de mayor valor. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GeneralSurcharges" type="ChargesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Charges on the Total Gross Amount. There will be as many blocks of fields 3.1.5.3 as types of charges/surcharges  are applied  to the invoice. When there are various taxable bases, they will be applied proportionally, the final round-up to the nearest cent being carried out on the tax type of greatest value
					</xs:documentation>
					<xs:documentation xml:lang="es">Cargos sobre el Total Importe Bruto, Habrá tantos bloques de campos 3.1.5.3 como clases de cargos/recargos se apliquen, a nivel de factura. Cuando existan diversas bases imponibles, se aplicarán proporcionalmente, efectuándose el redondeo final al céntimo sobre el tipo impositivo de mayor valor. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGeneralDiscounts" type="DoubleTwoDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Sum of different fields  3.1.5.2. Always to two decimal points 
					</xs:documentation>
					<xs:documentation xml:lang="es">Total general de descuentos. Sumatorio diferentes campos 3.1.5.2. Siempre con dos decimales. 				
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGeneralSurcharges" type="DoubleTwoDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sum of different fields  3.1.5.3. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total general de cargos. Sumatorio diferentes campos 3.1.5.3. Siempre con dos decimales. 								
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalGrossAmountBeforeTaxes" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.5.1 - 3.1.5.4 + 3.1.5.5. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total importe bruto antes de impuestos. Resultado: 3.1.5.1 - 3.1.5.4 + 3.1.5.5. Siempre con dos decimales. 								
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalTaxOutputs" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sum of different fields 3.1.3.1.4. Always to two decimal points 
					</xs:documentation>
					<xs:documentation xml:lang="es">Total impuestos repercutidos. Sumatorio diferentes 3.1.3.1.4. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalTaxesWithheld" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Sum of different fields 3.1.4.1.4. Always to two decimal points 
					</xs:documentation>
					<xs:documentation xml:lang="es">Total impuestos retenidos.Sumatorio diferentes 3.1.4.1.4. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceTotal" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.5.6 + 3.1.5.7 - 3.1.5.8. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total factura. Resultado: 3.1.5.6 + 3.1.5.7 - 3.1.5.8. Siempre con dos decimales. 						</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Subsidies" type="SubsidiesType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Subsidies, grants or aids for acquisition of certain goods granted by General government
					</xs:documentation>
					<xs:documentation xml:lang="es">Subvenciones por adquisición de determinados bienes. Administraciones Públicas. 						</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentsOnAccount" type="PaymentsOnAccountType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Payments made on account of the Invoices Total. There will be as many blocks 3.1.5.11 as types of payments on account applied to the invoice.
					</xs:documentation>
					<xs:documentation xml:lang="es">Anticipos. Pagos anticipados sobre el Total Facturas. Habrá tantos bloques 3.1.5.11 como clases de anticipos se apliquen a nivel factura.  
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalPaymentsOnAccount" type="DoubleTwoDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Sum of the fields 3.1.5.11.1.2. Always to two decimal points
					</xs:documentation>
					<xs:documentation xml:lang="es">Total de anticipos. Sumatorio de los campos 3.1.5.11.1.2. Siempre con dos decimales. 								
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalOutstandingAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.5.9 - (3.1.5.10.1.3 + 3.1.5.12). Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Total a pagar. Resultado: 3.1.5.9 - (3.1.5.10.1.3 + 3.1.5.12). Siempre con dos decimales. 							
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AmountsWithheld" type="AmountsWithheldType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amounts withheld by the payer  subject to the normal fulfilment of the transaction. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Retenciones. Cantidades que retiene el pagador hasta el buen fin de la operación
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TotalExecutableAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en"> Result: 3.1.5.13 - 3.1.5.14.3. Always to two decimal points
					</xs:documentation>
					<xs:documentation xml:lang="es">Total a ejecutar. Resultado: 3.1.5.13 - 3.1.5.14.3. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items - InvoiceTotals - Subsidies -->
	<xs:complexType name="SubsidiesType">
		<xs:sequence>
			<xs:element name="Subsidy" type="SubsidyType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Subvención 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SubsidyType">
		<xs:sequence>
			<xs:element name="SubsidyDescription" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Detail of the subsidy, grant or aid applied.	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Detalle de la Subvención aplicada
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SubsidyRate" type="DoubleFourDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rate applied to the Invoice Total. Percentages are reflected to four decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Porcentaje a aplicar al Total Factura. Los porcentajes se reflejan con 4 decimales. 						</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SubsidyAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount to be applied to the Invoice Total. Always to two decimal points. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe a aplicar al Total Factura. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items - InvoiceTotals - PaymentsOnAccount -->
	<xs:complexType name="PaymentsOnAccountType">
		<xs:sequence>
			<xs:element name="PaymentOnAccount" type="PaymentOnAccountType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Anticipo 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PaymentOnAccountType">
		<xs:sequence>
			<xs:element name="PaymentOnAccountDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date/s of each  payment/s on account. ISO 8601.
					</xs:documentation>
					<xs:documentation xml:lang="es">Fecha/s del/os anticipo/s. ISO 8601. 									</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentOnAccountAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount of each payment on account. Always to two decimal points. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe de cada anticipo. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - Items - InvoiceTotals - AmountsWithheld -->
	<xs:complexType name="AmountsWithheldType">
		<xs:sequence>
			<xs:element name="WithholdingReason" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Description of the purpose of the Withholding. 	    
					</xs:documentation>
					<xs:documentation xml:lang="es">Descripción finalidad de la Retención
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WithholdingRate" type="DoubleFourDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rate withheld on Payment Total. Percentages are reflected always to four decimal points.   
					</xs:documentation>
					<xs:documentation xml:lang="es">Porcentaje retención Total a Pagar. Los porcentajes se reflejan con 4 decimales. 						</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WithholdingAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount to be withheld on Payment Total. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe a retener sobre el Total a Pagar. Siempre con dos decimales. 							</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - PaymentDetails -->
	<xs:complexType name="VencimientosType">
		<xs:sequence>
			<xs:element name="Installment" type="InstallmentType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Vencimiento 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="InstallmentType">
		<xs:sequence>
			<xs:element name="InstallmentDueDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="en">Dates on which the installments must be paid. ISO 8601
					</xs:documentation>
					<xs:documentation xml:lang="es">Fechas en las que se deben atender los pagos. ISO 8601 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InstallmentAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount of the installment to be paid on a certain Installment Date. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe a satisfacer en cada plazo. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentMeans" type="PaymentMeansType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Each installment may be paid using  a specific payment method.
					</xs:documentation>
					<xs:documentation xml:lang="es">Cada vencimiento/importe podrá tener un medio de pago concreto
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AccountToBeCredited" type="AccountType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Sole format accepted. When the payment method (3.1.7.1.3) is "bank transfer" this piece of information is mandatory
					</xs:documentation>
					<xs:documentation xml:lang="es">Cuenta de abono.Único formato admitido. Cuando la forma de pago (3.1.7.1.3) sea "transferencia" este dato será 
obligatorio. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentReconciliationReference" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Piece of information required by the Issuer to reconcile payments with each invoice. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Referencia expresa del pago. Dato que precisa el Emisor para conciliar los pagos con cada factura
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AccountToBeDebited" type="AccountType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Sole format accepted. When the payment method (3.1.7.1.3) is “direct debit” this information is mandatory. 	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Único formato admitido. Cuando la forma de pago (3.1.7.1.3) sea "recibo" este dato será obligatorio. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CollectionAdditionalInformation" type="TextMax2500Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Free for the use of the Issuer 
					</xs:documentation>
					<xs:documentation xml:lang="es">Observaciones cobro.Libre para uso del Emisor. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - LegalLiterals -->
	<xs:complexType name="LegalLiteralsType">
		<xs:sequence>
			<xs:element name="LegalReference" type="TextMax250Type" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="en">Established legal Literals: Donations, subsidies, irrevocability of the subsidy, please make payment in the currency agreed, resident providers, Directive 77/388/CEE of 17 May 1977, Sixth Council Directive on the harmonization of VAT provisions, Triangular Transaction, Chain Transaction, Special scheme...., Article 26 of Directive 77/388/EEC, Special scheme for travel agents, etc. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Literales legales establecidos: Donaciones, Subvenciones, Carácter irreversible subvenciones, Atención pago moneda prevista, Proveedores residentes, directiva 77/388/CEE de 17 de Mayo, Sexta Directiva del Consejo en materia de IVA, Operación Triangular, Operación en Cadena, Régimen Especial...., Artº 26 de la Directiva 77/388/CEE, Agencias de Viajes, etc. 									</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - AdditionalData -->
	<xs:complexType name="AdditionalDataType">
		<xs:sequence>
			<xs:element name="RelayedInvoice" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Number and Series code of any related invoice as agreed by the Issuer/Recipient 
					</xs:documentation>
					<xs:documentation xml:lang="es">Número y Serie de acuerdo Emisor/Receptor.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RelatedDocuments" type="AttachedDocumentsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Identification of Issuer/Recipient’s related documents. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Identificación de documentos Emisor/Receptor.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceAdditionalInformation" type="TextMax2500Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Text as deemed appropriate by the Issuer. When applicable, here it will be stated  the reason whyit is “not liable for tax” or “exempt from tax”.  
					</xs:documentation>
					<xs:documentation xml:lang="es">Lo que considere oportuno el Emisor. En este elemento se recogerá el motivo por lo que el impuesto correspondiente está "no sujeto" o "exento", cuando se produzca esta situación. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Extensions" type="ExtensionsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en"> New structured definitions can be incorporated when they are of collective interest of the issuers and recipients, and have not already been defined in the invoice  schema
					</xs:documentation>
					<xs:documentation xml:lang="es">Extensiones. Podrán incorporarse nuevas definiciones estructuradas cuando sean de interés conjunto para emisores y receptores, y no estén ya definidas en el esquema de la factura. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Invoices - Invoice - AdditionalData - RelatedDocument -->
	<xs:complexType name="AttachedDocumentsType">
		<xs:sequence>
			<xs:element name="Attachment" type="AttachmentType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="en">[BASE-64] Contains any document attached to the invoice in the desired format (image, PDF, XML, etc.). 
					</xs:documentation>
					<xs:documentation xml:lang="es">[BASE-64] Contiene los documentos relacionados con la factura en el formato deseado (imagen, PDF, XML, etc.)
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--<xs:complexType name="Attachment"/>-->
	<xs:complexType name="AttachmentType">
		<xs:sequence>
			<xs:element name="AttachmentCompressionAlgorithm" type="AttachmentCompressionAlgorithmType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Algorithm used to compress the attached document. Extend restrictions as needed. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Algoritmo usado para comprimir el documento adjunto.Ampliar restricciones según convenga 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AttachmentFormat" type="AttachmentFormatType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Format of the attached document. Extend restrictions as needed. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Formato del documento adjunto. Ampliar restricciones según  convenga
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AttachmentEncoding" type="AttachmentEncodingType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Algorithm used to codify the attached document.
					</xs:documentation>
					<xs:documentation xml:lang="es">Algoritmo usado para codificar el documento adjunto
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AttachmentDescription" type="TextMax2500Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Description of the document.
					</xs:documentation>
					<xs:documentation xml:lang="es">Descripción del documento
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AttachmentData" type="xs:string">
				<xs:annotation>
					<xs:documentation xml:lang="en">Data stream of the attached document.
					</xs:documentation>
					<xs:documentation xml:lang="es">Stream de datos del documento adjunto
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="AttachmentCompressionAlgorithmType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ZIP"/>
			<xs:enumeration value="GZIP"/>
			<xs:enumeration value="NONE"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AttachmentEncodingType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="BASE64"/>
			<xs:enumeration value="BER"/>
			<xs:enumeration value="DER"/>
			<xs:enumeration value="NONE"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AttachmentFormatType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="xml"/>
			<xs:enumeration value="doc"/>
			<xs:enumeration value="gif"/>
			<xs:enumeration value="rtf"/>
			<xs:enumeration value="pdf"/>
			<xs:enumeration value="xls"/>
			<xs:enumeration value="jpg"/>
			<xs:enumeration value="bmp"/>
			<xs:enumeration value="tiff"/>
		</xs:restriction>
	</xs:simpleType>
	<!--
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////// -->
	<!--Complex Types reusados /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!--////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<xs:complexType name="TaxIdentificationType">
		<xs:sequence>
			<xs:element name="PersonTypeCode" type="PersonTypeCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Individual or Legal Entity. "F" - Individual; "J" – Legal Entity. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo de persona. Física o Jurídica. "F" - Física; "J" - Jurídica.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ResidenceTypeCode" type="ResidenceTypeCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en">It identifies whether the person is resident or non-resident. "E" - Foreigner; "R" – Resident in Spain; "U" – Resident in other EU country 
					</xs:documentation>
					<xs:documentation xml:lang="es">Identificación del tipo de residencia y/o extranjería. "E" - Extranjero; "R" - Residente; "U" - Residente en la Unión Europea.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxIdentificationNumber" type="TextMin3Max30Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Tax Identification Number of the person. Number issued by the national Tax Authority (preceded by the two letters of the country code in the case of intra-Community transactions, i.e., when buyer and seller are tax resident in different EU member states).
					</xs:documentation>
					<xs:documentation xml:lang="es">Código de Identificación Fiscal del sujeto. Se trata de las composiciones de NIF/CIF que marca la Administración correspondiente (precedidas de las dos letras del país en el caso de operaciones intracomunitarias, es decir, cuando comprador y vendedor tienen domicilio fiscal en estados miembros de la UE distintos).
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LegalEntityType">
		<xs:sequence>
			<xs:element name="CorporateName" type="TextMax80Type">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Razón Social
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TradeName" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Nombre Comercial
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistrationData" type="RegistrationDataType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Data as shown in the file at the Register of Companies: Register, File, Book, Folio… 
					</xs:documentation>
					<xs:documentation xml:lang="es">Datos Registrales: Inscripción Registro, Tomo, Folio,…
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="AddressInSpain" type="AddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Dirección Nacional. Dirección en España.
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OverseasAddress" type="OverseasAddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Dirección en el extranjero
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:element name="ContactDetails" type="ContactDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos de contacto
				</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="IndividualType">
		<xs:sequence>
			<xs:element name="Name" type="TextMax40Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Christian/given name of the individual. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Nombre de la persona física
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FirstSurname" type="TextMax40Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">First surname of the individual
					</xs:documentation>
					<xs:documentation xml:lang="es">Primer apellido de la persona física
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondSurname" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Second surname of the individual 
					</xs:documentation>
					<xs:documentation xml:lang="es">Segundo apellido de la persona física
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="AddressInSpain" type="AddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Dirección nacional. Dirección en España.
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OverseasAddress" type="OverseasAddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es">Dirección en el extranjero
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:element name="ContactDetails" type="ContactDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos de contacto
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RegistrationDataType">
		<xs:sequence>
			<xs:element name="Book" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Libro
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegisterOfCompaniesLocation" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Registro Mercantil
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sheet" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Hoja
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Folio" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Folio
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Section" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Sección
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Volume" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Tomo
				</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalRegistrationData" type="TextMax20Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Otros datos registrales
				</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressType">
		<xs:sequence>
			<xs:element name="Address" type="TextMax80Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Street, name, number, flat...
					</xs:documentation>
					<xs:documentation xml:lang="es">Calle, denominación, número, piso,…
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostCode" type="PostCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Postcode allocated by the Post Office. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código Postal asignado por Correos
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Town" type="TextMax50Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Town corresponding to the postcode.    
					</xs:documentation>
					<xs:documentation xml:lang="es">Población correspondiente al C.P.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Province" type="TextMax20Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Province where the town is located. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Provincia a la que corresponde la Población
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CountryCode" type="PaisType">
				<xs:annotation>
					<xs:documentation xml:lang="en">ISO 3166 ALPHA-3. Since the domicile is in Spain, it will always be “ESP”. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código País. ISO 3166 ALPHA-3. Al ser un domicilio ubicado en España siempre será "ESP".
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OverseasAddressType">
		<xs:sequence>
			<xs:element name="Address" type="TextMax80Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Address type, name, number.	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo dirección, denominación, número, piso....
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostCodeAndTown" type="TextMax50Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Town and overseas postcode
					</xs:documentation>
					<xs:documentation xml:lang="es">Población y Cód. Postal en Extranjero
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Province" type="TextMax20Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Province, State, etc. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Provincia, Estado, etc.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CountryCode" type="PaisType">
				<xs:annotation>
					<xs:documentation xml:lang="en">ISO 3166 ALPHA-3.  
					</xs:documentation>
					<xs:documentation xml:lang="es">Código País. ISO 3166 ALPHA-3
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ContactDetailsType">
		<xs:sequence>
			<xs:element name="Telephone" type="TextMax15Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Complete number with the country dialling code. 	    
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de teléfono completo con prefijos del país
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TeleFax" type="TextMax15Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Complete facsimile number with country dialling code.  
					</xs:documentation>
					<xs:documentation xml:lang="es">Número de fax completo con prefijos del país
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WebAddress" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Website URL	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Dirección de Internet
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ElectronicMail" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Email address	    
					</xs:documentation>
					<xs:documentation xml:lang="es">Dirección de Correo-e
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ContactPersons" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Surnames and Name/ Registered name
					</xs:documentation>
					<xs:documentation xml:lang="es">Apellidos y Nombre/Razón Social
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CnoCnae" type="CnoCnaeType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Code of economic activity allocated by the Spanish National Institute of Statistics (INE). 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código Asignado por el INE
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="INETownCode" type="TextMax9Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Code of town allocated by the Spanish National Institute of Statistics (INE) 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código de población asignado por el INE
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalContactDetails" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Otros datos de contacto
				</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AdministrativeCentresType">
		<xs:sequence>
			<xs:element name="AdministrativeCentre" type="AdministrativeCentreType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Centro
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AdministrativeCentreType">
		<xs:sequence>
			<xs:element name="CentreCode" type="TextMax10Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Code of the issuing department.
					</xs:documentation>
					<xs:documentation xml:lang="es">Número del Departamento Emisor
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RoleTypeCode" type="RoleTypeCodeType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">It indicates the role played by the Operational Point (P.O.) defined as a Workplace/Department. These functions are: “Recipient” – Workplaceassociated to the recipient’s tax identification number where the invoice will be received. “Payer” – Workplace associated to the recipient’s tax identification number responsible for paying the invoice. “Buyer” – Workplace associated to the recipient’s tax identification number who issued the purchase order. “Collector” – Workplace associated to  the issuer’s tax identification number responsible for handling the collection. “Tax” – Workplace associated to the recipient’s tax identification number, where an Operational Point mailbox is shared by different client companies with different tax identification numbers and it is necessary to differentiate between where the message is received (shared letterbox) and the workplace where it must be stored  (recipient company). 
					</xs:documentation>
					<xs:documentation xml:lang="es">Tipo rol. Indica la función de un Punto Operacional (P.O.) definido como Centro/Departamento. Estas funciones son: "Receptor" - Centro del NIF receptor destinatario de la factura. "Pagador" - Centro del NIF receptor responsable de pagar la factura. "Comprador" - Centro del NIF receptor que emitió el pedido. "Cobrador" - Centro del NIF emisor responsable de gestionar el cobro. "Fiscal" - Centro del NIF receptor de las facturas, cuando un P.O. buzón es compartido por varias empresas clientes con diferentes NIF.s y es necesario diferenciar el receptor del mensaje (buzón común) del lugar donde debe depositarse (empresa destinataria).
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Of the person responsible of the workplace or of a contact person
					</xs:documentation>
					<xs:documentation xml:lang="es">Nombre de la persona responsable o de relación del centro
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FirstSurname" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Of the person responsible of the workplace or of a contact person 
					</xs:documentation>
					<xs:documentation xml:lang="es">Primer apellido de la persona responsable o de relación del centro
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondSurname" type="TextMax40Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Of the person responsible of the workplace or of a contact person 
					</xs:documentation>
					<xs:documentation xml:lang="es">Segundo apellido de la persona responsable o de relación del centro
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="AddressInSpain" type="AddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Dirección nacional. Dirección en España
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OverseasAddress" type="OverseasAddressType">
					<xs:annotation>
						<xs:documentation xml:lang="es"> Dirección en el extranjero.
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:element name="ContactDetails" type="ContactDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Datos de contacto
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PhysicalGLN" type="TextMax14Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Identification of the connection point to the VAN EDI (Global Location Number). Bar code of 13 standard positions. Codes are registered in Spain by AECOC. The code is made up of the country code (2 positions) Spain is "84" + Company code (5 positions) + the remaining positions. The last one is the product + check digit. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Identificación del punto de conexión a la VAN EDI (Global Location Number). Código de barras de 13 posiciones estándar. Valores registrados por AECOC. Recoge el código de País (2p) España es "84" + Empresa (5p) + los restantes - el último es el producto + dígito de control. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LogicalOperationalPoint" type="TextMax14Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Code identifying  the Company. Bar code of 13 standard positions. Codes are registered in Spain by AECOC. The code is made up of the country code (2 positions) Spain is "84" + Company code (5 positions) + the remaining positions. The last one is the product + check digit. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Código identificativo de la Empresa. Código de barras de 13 posiciones estándar. Valores registrados por AECOC. Recoge el código de País (2p) España es "84" + Empresa (5p) + los restantes - el último es el producto + dígito de control. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DiscountsAndRebatesType">
		<xs:sequence>
			<xs:element name="Discount" type="DiscountType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Descuento. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DiscountType">
		<xs:sequence>
			<xs:element name="DiscountReason" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Reason why the discount or rebate is made.	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Concepto por el que se aplica descuento.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DiscountRate" type="DoubleFourDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rate to be discounted from the Total Gross Amount (TGA). Percentages are reflected to 4 decimal points. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Porcentaje a descontar del Total Importe Bruto (TIB). Los porcentajes se reflejan con 4 decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DiscountAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount to be discounted from the TGA. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe a descontar sobre el TIB. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ChargesType">
		<xs:sequence>
			<xs:element name="Charge" type="ChargeType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Cargo 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ChargeType">
		<xs:sequence>
			<xs:element name="ChargeReason" type="TextMax2500Type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Reason why the charge or surcharge is being applied to. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Concepto por el que se aplica recargo
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ChargeRate" type="DoubleFourDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rate to be charged to the TGA. Percentages are reflected to 4 decimal points.	
					</xs:documentation>
					<xs:documentation xml:lang="es">Porcentaje a cargar sobre el TIB. Los porcentajes se reflejan con 4 decimales. 							</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ChargeAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount to be charged to the TGA. Always to two decimal places. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe a cargar sobre el TIB. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxesType">
		<xs:sequence>
			<xs:element name="Tax" type="TaxType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="es">Impuesto 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxType">
		<xs:sequence>
			<xs:element name="TaxTypeCode" type="TaxTypeCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Name of the chargeable tax or the tax applicable to the amounts withheld. When appropriate, the reason why it is “not liable for tax” or “exempt from tax” must be stated in the element “Additional information”. 
					</xs:documentation>
					<xs:documentation xml:lang="es">Clase de impuesto. Concepto Fiscal por el que se tributa o retención a cuenta. Cuando haya lugar, debe recogerse en el elemento "observaciones" el motivo por lo que este impuesto está "no sujeto" o "exento". 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxRate" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rate to be applied in each case. Always to two decimal points 
					</xs:documentation>
					<xs:documentation xml:lang="es">Porcentaje a aplicar en cada caso. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxableBase" type="ImporteType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Total Gross Amount – Charges + Surcharges – Global Discounts/invoice, for each type and rate. Taxable base of the taxes. Always to two decimal points. 	 
					</xs:documentation>
					<xs:documentation xml:lang="es">Base imponible = Total Importe Bruto - Cargos + Recargos - Descuentos Globales/factura, por cada clase y porcentaje. Base imponible de los impuestos. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxAmount" type="ImporteType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount resulting from applying the corresponding rate to the taxable base. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Cuota. Importe resultante de aplicar a la Base Imponible el porcentaje correspondiente. Siempre con dos decimales. 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ImporteType">
		<xs:sequence>
			<xs:element name="TotalAmount" type="DoubleTwoDecimalType">
				<xs:annotation>
					<xs:documentation xml:lang="en">Amount in the original currency of the invoice. Where the currency is not EURO, the element EquivalentInEuros must be filled in, pursuant to Art.10.1 of Regulation on invoicing, RD1496/2003 of 28 November.
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe en la moneda original de la facturación. Siempre que la divisa de facturación sea distinta de EURO, el elemento EquivalentInEuros deberá cumplimentarse, para satisfacer los requerimientos del Art.10.1 del Reglamento sobre facturación, RD 1496/2003 de 28 de Noviembre.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EquivalentInEuros" type="DoubleTwoDecimalType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Equivalent amount in Euros. Always to two decimal points.
					</xs:documentation>
					<xs:documentation xml:lang="es">Importe equivalente en Euros. Siempre con dos decimales.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ExtensionsType">
		<xs:sequence>
			<xs:any namespace="##other" processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AccountType">
		<xs:sequence>
			<xs:element name="IBAN" type="TextMin5Max34Type">
				<xs:annotation>
					<xs:documentation xml:lang="es">Único formato admitido para identificar la cuenta 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BankCode" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Código de la entidad financiera 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BranchCode" type="TextMax60Type" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="es">Código de la oficina de la entidad financiera 
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:element name="BranchInSpainAddress" type="AddressType" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="es">Dirección de la oficina financiera en España 
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OverseasBranchAddress" type="OverseasAddressType" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="es">Dirección de la oficina financiera extranjera 
					</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ObservacionesType">
		<xs:sequence>
			<xs:element name="AdditionalInformation" type="TextMax2500Type" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PeriodDates">
		<xs:sequence>
			<xs:element name="StartDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Fecha de inicio
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndDate" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="es"> Fecha final
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Simple Types -->
	<xs:simpleType name="CnoCnaeType">
		<xs:restriction base="xs:string">
			<xs:length value="5"/>
			<xs:pattern value="\d{5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SchemaVersionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3.0"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PostCodeType">
		<xs:restriction base="xs:string">
			<xs:length value="5"/>
			<xs:pattern value="[0-9]*">
				<xs:annotation>
					<xs:documentation xml:lang="en">Only numeric characters allowed.</xs:documentation>
					<xs:documentation xml:lang="es">Solo se permiten caracteres numéricos</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<!--////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!--Textos simples /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!--////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<xs:simpleType name="PartyIdentificationType">
		<xs:restriction base="xs:string">
			<xs:length value="10"/>
			<xs:pattern value="[0-9]*">
				<xs:annotation>
					<xs:documentation xml:lang="en">Only numeric characters allowed.</xs:documentation>
					<xs:documentation xml:lang="es">Solo se permiten caracteres numéricos</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DoubleTwoDecimalType">
		<xs:restriction base="xs:double">
			<xs:pattern value="[0-9][0-9]*\.[0-9]{2}">
				<xs:annotation>
					<xs:documentation xml:lang="en">Always to two decimal places.</xs:documentation>
					<xs:documentation xml:lang="es">Siempre con dos decimales.</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DoubleFourDecimalType">
		<xs:restriction base="xs:double">
			<xs:pattern value="[0-9][0-9]*\.[0-9]{4}">
				<xs:annotation>
					<xs:documentation xml:lang="en">Always to four decimal places.</xs:documentation>
					<xs:documentation xml:lang="es">Siempre con cuatro decimales.</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DoubleSixDecimalType">
		<xs:restriction base="xs:double">
			<xs:pattern value="[0-9][0-9]*\.[0-9]{6}">
				<xs:annotation>
					<xs:documentation xml:lang="en">Always to six decimal places.</xs:documentation>
					<xs:documentation xml:lang="es">Siempre con seis decimales.</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax10Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax9Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax14Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="14"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax15Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="15"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax20Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax25Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="25"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax30Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="30"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax40Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="40"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax50Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="50"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax60Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="60"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax70Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax80Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="80"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax250Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="250"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMax2500Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="2500"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMin5Max34Type">
		<xs:restriction base="xs:string">
			<xs:minLength value="5"/>
			<xs:maxLength value="34"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMin1Max4Type">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMin1Max10Type">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMin3Max30Type">
		<xs:restriction base="xs:string">
			<xs:minLength value="3"/>
			<xs:maxLength value="30"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TextMin13Max14Type">
		<xs:restriction base="xs:string">
			<xs:minLength value="13"/>
			<xs:maxLength value="14"/>
		</xs:restriction>
	</xs:simpleType>
	<!--////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!--Enumerations /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!--////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
	<xs:simpleType name="RoleTypeCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation xml:lang="en">Fiscal</xs:documentation>
					<xs:documentation xml:lang="es">Fiscal</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation xml:lang="en">Receiver</xs:documentation>
					<xs:documentation xml:lang="es">Receptor</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation xml:lang="en">Payer</xs:documentation>
					<xs:documentation xml:lang="es">Pagador</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation xml:lang="en">Buyer</xs:documentation>
					<xs:documentation xml:lang="es">Comprador</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation xml:lang="en">Collector</xs:documentation>
					<xs:documentation xml:lang="es">Cobrador</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonTypeCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="F">
				<xs:annotation>
					<xs:documentation xml:lang="en">Natural Person</xs:documentation>
					<xs:documentation xml:lang="es">Persona Física</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="J">
				<xs:annotation>
					<xs:documentation xml:lang="en">Entity type of person</xs:documentation>
					<xs:documentation xml:lang="es">Persona Jurídica</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ResidenceTypeCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="E">
				<xs:annotation>
					<xs:documentation xml:lang="en">Foreigner (outside European Union)</xs:documentation>
					<xs:documentation xml:lang="es">Extranjero (Fuera Unión europea)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R">
				<xs:annotation>
					<xs:documentation xml:lang="en">Resident (in Spain)</xs:documentation>
					<xs:documentation xml:lang="es">Residente (en España)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="U">
				<xs:annotation>
					<xs:documentation xml:lang="en">European Union resident (except Spain)</xs:documentation>
					<xs:documentation xml:lang="es">Residente unión Europea (excepto España)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InvoiceIssuerTypeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="EM">
				<xs:annotation>
					<xs:documentation xml:lang="en">Seller (Sender)</xs:documentation>
					<xs:documentation xml:lang="es">Proveedor (Emisor)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="RE">
				<xs:annotation>
					<xs:documentation xml:lang="en">Buyer (Receiver)</xs:documentation>
					<xs:documentation xml:lang="es">Cliente (Receptor)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="TE">
				<xs:annotation>
					<xs:documentation xml:lang="en">Third Party</xs:documentation>
					<xs:documentation xml:lang="es">Tercero</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InvoiceDocumentTypeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="FC">
				<xs:annotation>
					<xs:documentation xml:lang="en">Complete Invoice</xs:documentation>
					<xs:documentation xml:lang="es">Factura Completa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="FA">
				<xs:annotation>
					<xs:documentation xml:lang="en">Simple Invoice</xs:documentation>
					<xs:documentation xml:lang="es">Factura abreviada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="AF">
				<xs:annotation>
					<xs:documentation xml:lang="en">AutoInvoice</xs:documentation>
					<xs:documentation xml:lang="es">AutoFactura</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="InvoiceClassType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="OO">
				<xs:annotation>
					<xs:documentation xml:lang="en">Original Invoice</xs:documentation>
					<xs:documentation xml:lang="es">Original</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="OR">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rectification Incoice</xs:documentation>
					<xs:documentation xml:lang="es">Original rectificativa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="OC">
				<xs:annotation>
					<xs:documentation xml:lang="en">Summary Invoice</xs:documentation>
					<xs:documentation xml:lang="es">Original recapitulativa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="CO">
				<xs:annotation>
					<xs:documentation xml:lang="en">Original Copy</xs:documentation>
					<xs:documentation xml:lang="es">Copia original</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="CR">
				<xs:annotation>
					<xs:documentation xml:lang="en">Rectification Copy</xs:documentation>
					<xs:documentation xml:lang="es">Copia rectificativa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="CC">
				<xs:annotation>
					<xs:documentation xml:lang="en">Summary Copy</xs:documentation>
					<xs:documentation xml:lang="es">Copia recapitulativa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReasonCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01"/>
			<xs:enumeration value="02"/>
			<xs:enumeration value="03"/>
			<xs:enumeration value="04"/>
			<xs:enumeration value="05"/>
			<xs:enumeration value="06"/>
			<xs:enumeration value="07"/>
			<xs:enumeration value="08"/>
			<xs:enumeration value="09"/>
			<xs:enumeration value="10"/>
			<xs:enumeration value="11"/>
			<xs:enumeration value="12"/>
			<xs:enumeration value="13"/>
			<xs:enumeration value="14"/>
			<xs:enumeration value="15"/>
			<xs:enumeration value="16"/>
			<xs:enumeration value="80"/>
			<xs:enumeration value="81"/>
			<xs:enumeration value="82"/>
			<xs:enumeration value="83"/>
			<xs:enumeration value="84"/>
			<xs:enumeration value="85"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReasonDescriptionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Número de la factura"/>
			<xs:enumeration value="Serie de la factura"/>
			<xs:enumeration value="Fecha expedición"/>
			<xs:enumeration value="Nombre y apellidos/Razón Social-Emisor"/>
			<xs:enumeration value="Nombre y apellidos/Razón Social-Receptor"/>
			<xs:enumeration value="Identificación fiscal Emisor/obligado"/>
			<xs:enumeration value="Identificación fiscal Receptor"/>
			<xs:enumeration value="Domicilio Emisor/Obligado"/>
			<xs:enumeration value="Domicilio Receptor"/>
			<xs:enumeration value="Detalle Operación"/>
			<xs:enumeration value="Porcentaje impositivo a aplicar"/>
			<xs:enumeration value="Cuota tributaria a aplicar"/>
			<xs:enumeration value="Fecha/Periodo a aplicar"/>
			<xs:enumeration value="Clase de factura"/>
			<xs:enumeration value="Literales legales"/>
			<xs:enumeration value="Base imponible"/>
			<xs:enumeration value="Cálculo de cuotas repercutidas"/>
			<xs:enumeration value="Cálculo de cuotas retenidas"/>
			<xs:enumeration value="Base imponible modificada por devolución de envases / embalajes"/>
			<xs:enumeration value="Base imponible modificada por descuentos y bonificaciones"/>
			<xs:enumeration value="Base imponible modificada por resolución firme, judicial o administrativa"/>
			<xs:enumeration value="Base imponible modificada cuotas repercutidas no satisfechas. Auto declaración concurso"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CorrectionMethodType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01"/>
			<xs:enumeration value="02"/>
			<xs:enumeration value="03"/>
			<xs:enumeration value="04"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CorrectionMethodDescriptionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Rectificación íntegra"/>
			<xs:enumeration value="Rectificación por diferencias"/>
			<xs:enumeration value="Rectificación por descuento por volumen de operaciones durante un periodo"/>
			<xs:enumeration value="Autorizadas por la Agencia Tributaria"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="UnitOfMeasureType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation xml:lang="en">Units</xs:documentation>
					<xs:documentation xml:lang="es">Unidades</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation xml:lang="en">Hours</xs:documentation>
					<xs:documentation xml:lang="es">Horas</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation xml:lang="en">Kilograms</xs:documentation>
					<xs:documentation xml:lang="es">Kilogramos</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation xml:lang="en">Litres</xs:documentation>
					<xs:documentation xml:lang="es">Litros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation xml:lang="en">Other</xs:documentation>
					<xs:documentation xml:lang="es">Otros</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation xml:lang="en">Boxes</xs:documentation>
					<xs:documentation xml:lang="es">Cajas</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PaymentMeansType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation xml:lang="en">In cash</xs:documentation>
					<xs:documentation xml:lang="es">Contado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation xml:lang="en">Domicilied Receip</xs:documentation>
					<xs:documentation xml:lang="es">Recibo Domiciliado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation xml:lang="en">Receip</xs:documentation>
					<xs:documentation xml:lang="es">Recibo</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation xml:lang="en">Transference</xs:documentation>
					<xs:documentation xml:lang="es">Transferencia</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation xml:lang="en">Accepted Letter</xs:documentation>
					<xs:documentation xml:lang="es">Letra Aceptada</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation xml:lang="en">Documented Credit</xs:documentation>
					<xs:documentation xml:lang="es">Credito Documentado</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation xml:lang="en">Adjudication Contract</xs:documentation>
					<xs:documentation xml:lang="es">Contrato Adjudicacion</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation xml:lang="en">Letter</xs:documentation>
					<xs:documentation xml:lang="es">Letra</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation xml:lang="en">Banking Promissory Note to order</xs:documentation>
					<xs:documentation xml:lang="es">Pagare a Orden</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation xml:lang="en">Banking Promissory Note</xs:documentation>
					<xs:documentation xml:lang="es">Pagare</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation xml:lang="en">Check</xs:documentation>
					<xs:documentation xml:lang="es">Cheque</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation xml:lang="en">Reposition</xs:documentation>
					<xs:documentation xml:lang="es">Reposicion</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="13">
				<xs:annotation>
					<xs:documentation xml:lang="en">Specials</xs:documentation>
					<xs:documentation xml:lang="es">Especiales</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="14">
				<xs:annotation>
					<xs:documentation xml:lang="en">Compensation</xs:documentation>
					<xs:documentation xml:lang="es">Compensa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="15">
				<xs:annotation>
					<xs:documentation xml:lang="en">Bank Draft</xs:documentation>
					<xs:documentation xml:lang="es">Giro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="16">
				<xs:annotation>
					<xs:documentation xml:lang="en">SWIFT</xs:documentation>
					<xs:documentation xml:lang="es">SWIFT</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TaxTypeCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="01">
				<xs:annotation>
					<xs:documentation xml:lang="en">VAT Value addet Tax</xs:documentation>
					<xs:documentation xml:lang="es">IVA: Impuesto Valor Añadido</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="02">
				<xs:annotation>
					<xs:documentation xml:lang="en">IPSI</xs:documentation>
					<xs:documentation xml:lang="es">IPSI</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="03">
				<xs:annotation>
					<xs:documentation xml:lang="en">IGIC</xs:documentation>
					<xs:documentation xml:lang="es">IGIC</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="04">
				<xs:annotation>
					<xs:documentation xml:lang="en">IRPF</xs:documentation>
					<xs:documentation xml:lang="es">IRPF: Impuesto sobre la Renta de las Personas Físicas</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="05">
				<xs:annotation>
					<xs:documentation xml:lang="en">Other</xs:documentation>
					<xs:documentation xml:lang="es">Otro</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="06">
				<xs:annotation>
					<xs:documentation xml:lang="en">ITPAJD</xs:documentation>
					<xs:documentation xml:lang="es">ITPAJD</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="07">
				<xs:annotation>
					<xs:documentation xml:lang="en">IE</xs:documentation>
					<xs:documentation xml:lang="es">IE</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="08">
				<xs:annotation>
					<xs:documentation xml:lang="en">Ra</xs:documentation>
					<xs:documentation xml:lang="es">Ra</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="09">
				<xs:annotation>
					<xs:documentation xml:lang="en">IGTECM</xs:documentation>
					<xs:documentation xml:lang="es">IGTECM</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation xml:lang="en">IECDPCAC</xs:documentation>
					<xs:documentation xml:lang="es">IECDPCAC</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation xml:lang="en">IIIMAB</xs:documentation>
					<xs:documentation xml:lang="es">IIIMAB</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation xml:lang="en">ICIO</xs:documentation>
					<xs:documentation xml:lang="es">ICIO</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="13">
				<xs:annotation>
					<xs:documentation xml:lang="en">IMVDN</xs:documentation>
					<xs:documentation xml:lang="es">IMVDN</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="14">
				<xs:annotation>
					<xs:documentation xml:lang="en">IMSN</xs:documentation>
					<xs:documentation xml:lang="es">IMSN</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="15">
				<xs:annotation>
					<xs:documentation xml:lang="en">IMGSN</xs:documentation>
					<xs:documentation xml:lang="es">IMGSN</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="16">
				<xs:annotation>
					<xs:documentation xml:lang="en">IMPN</xs:documentation>
					<xs:documentation xml:lang="es">IMPN</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PaisType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="AFG"/>
			<xs:enumeration value="ALB"/>
			<xs:enumeration value="DZA"/>
			<xs:enumeration value="ASM"/>
			<xs:enumeration value="AND"/>
			<xs:enumeration value="AGO"/>
			<xs:enumeration value="AIA"/>
			<xs:enumeration value="ATA"/>
			<xs:enumeration value="ATG"/>
			<xs:enumeration value="ARG"/>
			<xs:enumeration value="ARM"/>
			<xs:enumeration value="ABW"/>
			<xs:enumeration value="AUS"/>
			<xs:enumeration value="AUT"/>
			<xs:enumeration value="AZE"/>
			<xs:enumeration value="BHS"/>
			<xs:enumeration value="BHR"/>
			<xs:enumeration value="BGD"/>
			<xs:enumeration value="BRB"/>
			<xs:enumeration value="BLR"/>
			<xs:enumeration value="BEL"/>
			<xs:enumeration value="BLZ"/>
			<xs:enumeration value="BEN"/>
			<xs:enumeration value="BMU"/>
			<xs:enumeration value="BTN"/>
			<xs:enumeration value="BOL"/>
			<xs:enumeration value="BIH"/>
			<xs:enumeration value="BWA"/>
			<xs:enumeration value="BVT"/>
			<xs:enumeration value="BRA"/>
			<xs:enumeration value="IOT"/>
			<xs:enumeration value="BRN"/>
			<xs:enumeration value="BGR"/>
			<xs:enumeration value="BFA"/>
			<xs:enumeration value="BDI"/>
			<xs:enumeration value="KHM"/>
			<xs:enumeration value="CMR"/>
			<xs:enumeration value="CAN"/>
			<xs:enumeration value="CPV"/>
			<xs:enumeration value="CYM"/>
			<xs:enumeration value="CAF"/>
			<xs:enumeration value="TCD"/>
			<xs:enumeration value="CHL"/>
			<xs:enumeration value="CHN"/>
			<xs:enumeration value="CXR"/>
			<xs:enumeration value="CCK"/>
			<xs:enumeration value="COL"/>
			<xs:enumeration value="COM"/>
			<xs:enumeration value="COG"/>
			<xs:enumeration value="COK"/>
			<xs:enumeration value="CRI"/>
			<xs:enumeration value="CIV"/>
			<xs:enumeration value="HRV"/>
			<xs:enumeration value="CUB"/>
			<xs:enumeration value="CYP"/>
			<xs:enumeration value="CZE"/>
			<xs:enumeration value="DNK"/>
			<xs:enumeration value="DJI"/>
			<xs:enumeration value="DMA"/>
			<xs:enumeration value="DOM"/>
			<xs:enumeration value="TMP"/>
			<xs:enumeration value="ECU"/>
			<xs:enumeration value="EGY"/>
			<xs:enumeration value="SLV"/>
			<xs:enumeration value="GNQ"/>
			<xs:enumeration value="ERI"/>
			<xs:enumeration value="EST"/>
			<xs:enumeration value="ETH"/>
			<xs:enumeration value="FLK"/>
			<xs:enumeration value="FRO"/>
			<xs:enumeration value="FJI"/>
			<xs:enumeration value="FIN"/>
			<xs:enumeration value="FRA"/>
			<xs:enumeration value="FXX"/>
			<xs:enumeration value="GUF"/>
			<xs:enumeration value="PYF"/>
			<xs:enumeration value="ATF"/>
			<xs:enumeration value="GAB"/>
			<xs:enumeration value="GMB"/>
			<xs:enumeration value="GEO"/>
			<xs:enumeration value="DEU"/>
			<xs:enumeration value="GHA"/>
			<xs:enumeration value="GIB"/>
			<xs:enumeration value="GRC"/>
			<xs:enumeration value="GRL"/>
			<xs:enumeration value="GRD"/>
			<xs:enumeration value="GLP"/>
			<xs:enumeration value="GUM"/>
			<xs:enumeration value="GTM"/>
			<xs:enumeration value="GIN"/>
			<xs:enumeration value="GNB"/>
			<xs:enumeration value="GUY"/>
			<xs:enumeration value="HTI"/>
			<xs:enumeration value="HMD"/>
			<xs:enumeration value="HND"/>
			<xs:enumeration value="HKG"/>
			<xs:enumeration value="HUN"/>
			<xs:enumeration value="ISL"/>
			<xs:enumeration value="IND"/>
			<xs:enumeration value="IDN"/>
			<xs:enumeration value="IRN"/>
			<xs:enumeration value="IRQ"/>
			<xs:enumeration value="IRL"/>
			<xs:enumeration value="ISR"/>
			<xs:enumeration value="ITA"/>
			<xs:enumeration value="JAM"/>
			<xs:enumeration value="JPN"/>
			<xs:enumeration value="JOR"/>
			<xs:enumeration value="KAZ"/>
			<xs:enumeration value="KEN"/>
			<xs:enumeration value="KIR"/>
			<xs:enumeration value="PRK"/>
			<xs:enumeration value="KOR"/>
			<xs:enumeration value="KWT"/>
			<xs:enumeration value="KGZ"/>
			<xs:enumeration value="LAO"/>
			<xs:enumeration value="LVA"/>
			<xs:enumeration value="LBN"/>
			<xs:enumeration value="LSO"/>
			<xs:enumeration value="LBR"/>
			<xs:enumeration value="LBY"/>
			<xs:enumeration value="LIE"/>
			<xs:enumeration value="LTU"/>
			<xs:enumeration value="LUX"/>
			<xs:enumeration value="MAC"/>
			<xs:enumeration value="MKD"/>
			<xs:enumeration value="MDG"/>
			<xs:enumeration value="MWI"/>
			<xs:enumeration value="MYS"/>
			<xs:enumeration value="MDV"/>
			<xs:enumeration value="MLI"/>
			<xs:enumeration value="MLT"/>
			<xs:enumeration value="MHL"/>
			<xs:enumeration value="MTQ"/>
			<xs:enumeration value="MRT"/>
			<xs:enumeration value="MUS"/>
			<xs:enumeration value="MYT"/>
			<xs:enumeration value="MEX"/>
			<xs:enumeration value="FSM"/>
			<xs:enumeration value="MDA"/>
			<xs:enumeration value="MCO"/>
			<xs:enumeration value="MNG"/>
			<xs:enumeration value="MSR"/>
			<xs:enumeration value="MAR"/>
			<xs:enumeration value="MOZ"/>
			<xs:enumeration value="MMR"/>
			<xs:enumeration value="NAM"/>
			<xs:enumeration value="NRU"/>
			<xs:enumeration value="NPL"/>
			<xs:enumeration value="NLD"/>
			<xs:enumeration value="ANT"/>
			<xs:enumeration value="NCL"/>
			<xs:enumeration value="NZL"/>
			<xs:enumeration value="NIC"/>
			<xs:enumeration value="NER"/>
			<xs:enumeration value="NGA"/>
			<xs:enumeration value="NIU"/>
			<xs:enumeration value="NFK"/>
			<xs:enumeration value="MNP"/>
			<xs:enumeration value="NOR"/>
			<xs:enumeration value="OMN"/>
			<xs:enumeration value="PAK"/>
			<xs:enumeration value="PLW"/>
			<xs:enumeration value="PAN"/>
			<xs:enumeration value="PNG"/>
			<xs:enumeration value="PRY"/>
			<xs:enumeration value="PER"/>
			<xs:enumeration value="PHL"/>
			<xs:enumeration value="PCN"/>
			<xs:enumeration value="POL"/>
			<xs:enumeration value="PRT"/>
			<xs:enumeration value="PRI"/>
			<xs:enumeration value="QAT"/>
			<xs:enumeration value="REU"/>
			<xs:enumeration value="ROM"/>
			<xs:enumeration value="RUS"/>
			<xs:enumeration value="RWA"/>
			<xs:enumeration value="KNA"/>
			<xs:enumeration value="LCA"/>
			<xs:enumeration value="VCT"/>
			<xs:enumeration value="WSM"/>
			<xs:enumeration value="SMR"/>
			<xs:enumeration value="STP"/>
			<xs:enumeration value="SAU"/>
			<xs:enumeration value="SEN"/>
			<xs:enumeration value="SYC"/>
			<xs:enumeration value="SLE"/>
			<xs:enumeration value="SGP"/>
			<xs:enumeration value="SVK"/>
			<xs:enumeration value="SVN"/>
			<xs:enumeration value="SLB"/>
			<xs:enumeration value="SOM"/>
			<xs:enumeration value="ZAF"/>
			<xs:enumeration value="SGS"/>
			<xs:enumeration value="ESP"/>
			<xs:enumeration value="LKA"/>
			<xs:enumeration value="SHN"/>
			<xs:enumeration value="SPM"/>
			<xs:enumeration value="SDN"/>
			<xs:enumeration value="SUR"/>
			<xs:enumeration value="SJM"/>
			<xs:enumeration value="SWZ"/>
			<xs:enumeration value="SWE"/>
			<xs:enumeration value="CHE"/>
			<xs:enumeration value="SYR"/>
			<xs:enumeration value="TWN"/>
			<xs:enumeration value="TJK"/>
			<xs:enumeration value="TZA"/>
			<xs:enumeration value="THA"/>
			<xs:enumeration value="TGO"/>
			<xs:enumeration value="TKL"/>
			<xs:enumeration value="TON"/>
			<xs:enumeration value="TTO"/>
			<xs:enumeration value="TUN"/>
			<xs:enumeration value="TUR"/>
			<xs:enumeration value="TKM"/>
			<xs:enumeration value="TCA"/>
			<xs:enumeration value="TUV"/>
			<xs:enumeration value="UGA"/>
			<xs:enumeration value="UKR"/>
			<xs:enumeration value="ARE"/>
			<xs:enumeration value="GBR"/>
			<xs:enumeration value="USA"/>
			<xs:enumeration value="UMI"/>
			<xs:enumeration value="URY"/>
			<xs:enumeration value="UZB"/>
			<xs:enumeration value="VUT"/>
			<xs:enumeration value="VAT"/>
			<xs:enumeration value="VEN"/>
			<xs:enumeration value="VNM"/>
			<xs:enumeration value="VGB"/>
			<xs:enumeration value="VIR"/>
			<xs:enumeration value="WLF"/>
			<xs:enumeration value="ESH"/>
			<xs:enumeration value="YEM"/>
			<xs:enumeration value="YUG"/>
			<xs:enumeration value="ZAR"/>
			<xs:enumeration value="ZMB"/>
			<xs:enumeration value="ZWE"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CurrencyCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ADP"/>
			<xs:enumeration value="AED"/>
			<xs:enumeration value="AFA"/>
			<xs:enumeration value="ALL"/>
			<xs:enumeration value="AMD"/>
			<xs:enumeration value="ANG"/>
			<xs:enumeration value="AOK"/>
			<xs:enumeration value="ARA"/>
			<xs:enumeration value="ARS"/>
			<xs:enumeration value="ATS"/>
			<xs:enumeration value="AUD"/>
			<xs:enumeration value="AWG"/>
			<xs:enumeration value="AZM"/>
			<xs:enumeration value="BAD"/>
			<xs:enumeration value="BBD"/>
			<xs:enumeration value="BDT"/>
			<xs:enumeration value="BEF"/>
			<xs:enumeration value="BGL"/>
			<xs:enumeration value="BHD"/>
			<xs:enumeration value="BIF"/>
			<xs:enumeration value="BMD"/>
			<xs:enumeration value="BND"/>
			<xs:enumeration value="BOB"/>
			<xs:enumeration value="BRL"/>
			<xs:enumeration value="BRR"/>
			<xs:enumeration value="BSD"/>
			<xs:enumeration value="BWP"/>
			<xs:enumeration value="BYR"/>
			<xs:enumeration value="BZD"/>
			<xs:enumeration value="CAD"/>
			<xs:enumeration value="CDP"/>
			<xs:enumeration value="CHF"/>
			<xs:enumeration value="CLP"/>
			<xs:enumeration value="CNY"/>
			<xs:enumeration value="COP"/>
			<xs:enumeration value="CRC"/>
			<xs:enumeration value="CUP"/>
			<xs:enumeration value="CVE"/>
			<xs:enumeration value="CYP"/>
			<xs:enumeration value="CZK"/>
			<xs:enumeration value="DEM"/>
			<xs:enumeration value="DJF"/>
			<xs:enumeration value="DKK"/>
			<xs:enumeration value="DOP"/>
			<xs:enumeration value="DRP"/>
			<xs:enumeration value="DZD"/>
			<xs:enumeration value="ECS"/>
			<xs:enumeration value="ECU"/>
			<xs:enumeration value="EEK"/>
			<xs:enumeration value="EGP"/>
			<xs:enumeration value="ESP"/>
			<xs:enumeration value="ETB"/>
			<xs:enumeration value="EUR"/>
			<xs:enumeration value="FIM"/>
			<xs:enumeration value="FJD"/>
			<xs:enumeration value="FKP"/>
			<xs:enumeration value="FRF"/>
			<xs:enumeration value="GBP"/>
			<xs:enumeration value="GEK"/>
			<xs:enumeration value="GHC"/>
			<xs:enumeration value="GIP"/>
			<xs:enumeration value="GMD"/>
			<xs:enumeration value="GNF"/>
			<xs:enumeration value="GRD"/>
			<xs:enumeration value="GTQ"/>
			<xs:enumeration value="GWP"/>
			<xs:enumeration value="GYD"/>
			<xs:enumeration value="HKD"/>
			<xs:enumeration value="HNL"/>
			<xs:enumeration value="HRD"/>
			<xs:enumeration value="HTG"/>
			<xs:enumeration value="HUF"/>
			<xs:enumeration value="IDR"/>
			<xs:enumeration value="IEP"/>
			<xs:enumeration value="ILS"/>
			<xs:enumeration value="INR"/>
			<xs:enumeration value="IQD"/>
			<xs:enumeration value="IRR"/>
			<xs:enumeration value="ISK"/>
			<xs:enumeration value="ITL"/>
			<xs:enumeration value="JMD"/>
			<xs:enumeration value="JOD"/>
			<xs:enumeration value="JPY"/>
			<xs:enumeration value="KES"/>
			<xs:enumeration value="KHR"/>
			<xs:enumeration value="KIS"/>
			<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="LTL"/>
			<xs:enumeration value="LUF"/>
			<xs:enumeration value="LVL"/>
			<xs:enumeration value="LYD"/>
			<xs:enumeration value="MAD"/>
			<xs:enumeration value="MDL"/>
			<xs:enumeration value="MGF"/>
			<xs:enumeration value="MNC"/>
			<xs:enumeration value="MNT"/>
			<xs:enumeration value="MOP"/>
			<xs:enumeration value="MRO"/>
			<xs:enumeration value="MTL"/>
			<xs:enumeration value="MUR"/>
			<xs:enumeration value="MVR"/>
			<xs:enumeration value="MWK"/>
			<xs:enumeration value="MXN"/>
			<xs:enumeration value="MXP"/>
			<xs:enumeration value="MYR"/>
			<xs:enumeration value="MZM"/>
			<xs:enumeration value="NGN"/>
			<xs:enumeration value="NIC"/>
			<xs:enumeration value="NIO"/>
			<xs:enumeration value="NIS"/>
			<xs:enumeration value="NLG"/>
			<xs:enumeration value="NOK"/>
			<xs:enumeration value="NPR"/>
			<xs:enumeration value="NZD"/>
			<xs:enumeration value="OMR"/>
			<xs:enumeration value="PAB"/>
			<xs:enumeration value="PEI"/>
			<xs:enumeration value="PEN"/>
			<xs:enumeration value="PES"/>
			<xs:enumeration value="PGK"/>
			<xs:enumeration value="PHP"/>
			<xs:enumeration value="PKR"/>
			<xs:enumeration value="PLN"/>
			<xs:enumeration value="PLZ"/>
			<xs:enumeration value="PTE"/>
			<xs:enumeration value="PYG"/>
			<xs:enumeration value="QAR"/>
			<xs:enumeration value="RMB"/>
			<xs:enumeration value="ROL"/>
			<xs:enumeration value="RUR"/>
			<xs:enumeration value="RWF"/>
			<xs:enumeration value="SAR"/>
			<xs:enumeration value="SBD"/>
			<xs:enumeration value="SCR"/>
			<xs:enumeration value="SDP"/>
			<xs:enumeration value="SEK"/>
			<xs:enumeration value="SGD"/>
			<xs:enumeration value="SHP"/>
			<xs:enumeration value="SIT"/>
			<xs:enumeration value="SKK"/>
			<xs:enumeration value="SLL"/>
			<xs:enumeration value="SOL"/>
			<xs:enumeration value="SOS"/>
			<xs:enumeration value="SRG"/>
			<xs:enumeration value="STD"/>
			<xs:enumeration value="SUR"/>
			<xs:enumeration value="SVC"/>
			<xs:enumeration value="SYP"/>
			<xs:enumeration value="SZL"/>
			<xs:enumeration value="THB"/>
			<xs:enumeration value="TJR"/>
			<xs:enumeration value="TMM"/>
			<xs:enumeration value="TND"/>
			<xs:enumeration value="TOP"/>
			<xs:enumeration value="TPE"/>
			<xs:enumeration value="TRL"/>
			<xs:enumeration value="TTD"/>
			<xs:enumeration value="TWD"/>
			<xs:enumeration value="TZS"/>
			<xs:enumeration value="UAK"/>
			<xs:enumeration value="UGS"/>
			<xs:enumeration value="USD"/>
			<xs:enumeration value="UYP"/>
			<xs:enumeration value="UYU"/>
			<xs:enumeration value="VEB"/>
			<xs:enumeration value="VND"/>
			<xs:enumeration value="VUV"/>
			<xs:enumeration value="WST"/>
			<xs:enumeration value="XAF"/>
			<xs:enumeration value="XCD"/>
			<xs:enumeration value="XOF"/>
			<xs:enumeration value="YER"/>
			<xs:enumeration value="ZAR"/>
			<xs:enumeration value="ZMK"/>
			<xs:enumeration value="ZRZ"/>
			<xs:enumeration value="ZWD"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ModalityType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="I">
				<xs:annotation>
					<xs:documentation xml:lang="en">Individual</xs:documentation>
					<xs:documentation xml:lang="es">Individual</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="L">
				<xs:annotation>
					<xs:documentation xml:lang="en">Batch</xs:documentation>
					<xs:documentation xml:lang="es">Lote</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
