<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 (http://www.altova.com) by Vaclav Snasel (Logica Czech Republic s.r.o.) -->
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Tomas Silar (LogicaCMG s.r.o.) -->
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Jakub Jicha (LogicaCMG s.r.o.) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ote-cr.cz/schema/invoice" xmlns:ote="http://www.ote-cr.cz/schema/globals" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.ote-cr.cz/schema/invoice" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="http://www.ote-cr.cz/schema/globals" schemaLocation="./ote_globals.xsd"/>
	<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="./xmldsig-core-schema.xsd"/>
	<xsd:complexType name="Tax_Type">
		<xsd:annotation>
			<xsd:documentation>Typ pro element daň</xsd:documentation>
		</xsd:annotation>
		<xsd:attribute name="tax-type" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Typ daně</xsd:documentation>
				<xsd:documentation xml:lang="EN">Tax type</xsd:documentation>
			</xsd:annotation>
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:enumeration value="VAT">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Daň z přidané hodnoty (DPH)</xsd:documentation>
							<xsd:documentation xml:lang="EN">Value-added tax (VAT)</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="ETX">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Daň z elektřiny</xsd:documentation>
							<xsd:documentation xml:lang="EN">Electricity tax</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="GTX">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Daň z plynu</xsd:documentation>
							<xsd:documentation xml:lang="EN">Gas tax</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="tax-percent" type="Perc_Type" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Procento daně</xsd:documentation>
				<xsd:documentation xml:lang="EN">Tax percent</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="tax-value" type="CurVal_Type" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Hodnota daně</xsd:documentation>
				<xsd:documentation xml:lang="EN">Tax value</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="tax-value-currency" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Měna hodnoty daně</xsd:documentation>
				<xsd:documentation xml:lang="EN">Tax value currency</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Price_Type">
		<xsd:annotation>
			<xsd:documentation>Typ pro element ceny</xsd:documentation>
		</xsd:annotation>
		<xsd:attribute name="value" type="CurVal_Type" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Hodnota</xsd:documentation>
				<xsd:documentation xml:lang="EN">Value</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="currency" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Měna</xsd:documentation>
				<xsd:documentation xml:lang="EN">Měna</xsd:documentation>
			</xsd:annotation>
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:enumeration value="CZK"/>
					<xsd:enumeration value="EUR"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:simpleType name="CurVal_Type">
		<xsd:annotation>
			<xsd:documentation>Typ pro hodnotu ceny</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:decimal">
			<xsd:totalDigits value="31"/>
			<xsd:fractionDigits value="14"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Qty_Type">
		<xsd:annotation>
			<xsd:documentation>Typ pro množství </xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:decimal">
			<xsd:totalDigits value="31"/>
			<xsd:fractionDigits value="14"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Perc_Type">
		<xsd:annotation>
			<xsd:documentation>Typ pro procento</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:decimal">
			<xsd:totalDigits value="2"/>
			<xsd:fractionDigits value="0"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:element name="CDSINVOICE">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Rootovský element obsahující základní údaje o zprávě</xsd:documentation>
			<xsd:documentation xml:lang="EN">Root element containing basic message data</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="SenderIdentification" type="ote:SenderIdentificationType">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Identifikace odesílatele zprávy. Pro elektronickou fakturu - odesílatel faktury - PDS</xsd:documentation>
						<xsd:documentation xml:lang="EN">Message sender identification - for electronic invoice the invoice sender - distributor.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReceiverIdentification" type="ote:ReceiverIdentificationType">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Identifikace příjemce zprávy. Pro elektronickou fakturu příjemce faktury - obchodník.</xsd:documentation>
						<xsd:documentation xml:lang="EN">Message receiver identification. For electronic invoice the invoice receiver - the supplier.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DataProvider" type="ote:DataProviderType">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Identifikace poskytovatele dat. Pro elektronickou fakturu vždy Operátor trhu.</xsd:documentation>
						<xsd:documentation xml:lang="EN">Data provider identification. For electronic invoice - Market Operator (OTE)</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Reference" type="ote:ReferenceType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Reference na předešlou zprávu</xsd:documentation>
						<xsd:documentation xml:lang="EN">Reference to the previous message</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DocumentEnvelope">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Skupina souvisejících dokladů</xsd:documentation>
						<xsd:documentation xml:lang="EN">Group of documents</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="Document" maxOccurs="unbounded">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Doklad</xsd:documentation>
									<xsd:documentation xml:lang="EN">Document</xsd:documentation>
								</xsd:annotation>
								<xsd:complexType>
									<xsd:sequence>
										<xsd:element name="DocHeader">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Hlavička dokladu</xsd:documentation>
												<xsd:documentation xml:lang="EN">Document header</xsd:documentation>
											</xsd:annotation>
											<xsd:complexType>
												<xsd:sequence>
													<xsd:element name="Party" minOccurs="2" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Partner</xsd:documentation>
															<xsd:documentation xml:lang="EN">Party</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="PartyID">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Identifikace partnera</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Partner identification</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="ident-num">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Identifikační číslo (např. IČ)</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Identification id</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="1"/>
																					<xsd:maxLength value="20"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="tax-num">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Daňové identifikační číslo</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Tax identification number</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="1"/>
																					<xsd:maxLength value="20"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="comp-register">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Zápis v obchodním rejstříku</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Companies Register record</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="0"/>
																					<xsd:maxLength value="160"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="BankAccount" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Bankovní spojení</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Bank account</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="bank-id" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Kód banky</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Bank ID </xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="0"/>
																					<xsd:maxLength value="15"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="account-num" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Číslo účtu</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Account number</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="1"/>
																					<xsd:maxLength value="18"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="bank-country" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Stát banky</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Bank country</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="1"/>
																					<xsd:maxLength value="3"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="bank-name">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Jméno banky</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Bank name</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="0"/>
																					<xsd:maxLength value="60"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="iban" use="optional">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Iban</xsd:documentation>
																				<xsd:documentation xml:lang="EN">International Bank Account Number</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:minLength value="0"/>
																					<xsd:maxLength value="24"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="NameAddress">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Jméno a adresa</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Name and address</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="name" type="xsd:string" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Jméno partnera</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Party name</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																		<xsd:attribute name="country"/>
																		<xsd:attribute name="city"/>
																		<xsd:attribute name="city-subentity"/>
																		<xsd:attribute name="street"/>
																		<xsd:attribute name="house-num"/>
																		<xsd:attribute name="house-num2"/>
																		<xsd:attribute name="postal-code"/>
																		<xsd:attribute name="po-box"/>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="Communication" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Komunikace</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Communication chanels</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="email"/>
																		<xsd:attribute name="www"/>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="Contact" minOccurs="0" maxOccurs="unbounded">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Kontaktní osoba</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Contact </xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="name"/>
																		<xsd:attribute name="tel-num"/>
																		<xsd:attribute name="email"/>
																		<xsd:attribute name="function"/>
																		<xsd:attribute name="fax"/>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="ReferencePartyID" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Referenční číslo partnera (např. v systému dodavatele)</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Reference partner ID (e.g. in the seller IS)</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:attribute name="CustomerID">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">ID zákazníka</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Customer ID</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																		<xsd:attribute name="ContractAccountID">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Číslo smluvního účtu</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Contract account ID</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																	</xsd:complexType>
																</xsd:element>
															</xsd:sequence>
															<xsd:attribute name="party-role" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Role partnera</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Partner role</xsd:documentation>
																</xsd:annotation>
																<xsd:simpleType>
																	<xsd:restriction base="xsd:string">
																		<xsd:enumeration value="P01">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Prodávající / dodavatel</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Seller </xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="P02">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Odběratel / kupující</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Buyer / consumer</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="P03">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Příjemce faktury</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Bill-to-party</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																	</xsd:restriction>
																</xsd:simpleType>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="DocDates">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Datumy dokladu</xsd:documentation>
															<xsd:documentation xml:lang="EN">Document dates</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:attribute name="due-date" type="xsd:date" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Datum splatnosti</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Due date</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="doc-issue-date" type="xsd:date" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Datum dokladu</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Document date</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="tax-point-date" type="xsd:date" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Datum zdanitelného plnění</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Tax date</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="invoicing-period-start" type="xsd:date">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Začátek fakturačního období</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Start of invoicing period</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="invoicing-period-end" type="xsd:date">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Konec fakturačního období</xsd:documentation>
																	<xsd:documentation xml:lang="EN">End of invoicing period</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="PaymentInfo" minOccurs="0">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Identifikace platby</xsd:documentation>
															<xsd:documentation xml:lang="EN">Payment identification info</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:attribute name="var-symbol">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Variabilní symbol</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Variable symbol</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="const-symbol">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Konstantní symbol</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Constant symbol</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="spec-symbol">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Specifický symbol</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Specific symbol</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="payment-method">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Způsob platby</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Payment method</xsd:documentation>
																</xsd:annotation>
																<xsd:simpleType>
																	<xsd:restriction base="xsd:string">
																		<xsd:enumeration value="PM01">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Převodním příkazem</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Bank account money transfer</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="PM02">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Inkaso</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Encashment</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																	</xsd:restriction>
																</xsd:simpleType>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="RefDocument" minOccurs="0" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Reference na předchozí doklad</xsd:documentation>
															<xsd:documentation xml:lang="EN">Reference to previous document</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:attribute name="doc-category" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Druh dokladu (faktura, objednávka ap.)</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Document category (invoice, order ..)</xsd:documentation>
																</xsd:annotation>
																<xsd:simpleType>
																	<xsd:restriction base="xsd:string">
																		<xsd:enumeration value="Invoice"/>
																		<xsd:enumeration value="Contract"/>
																		<xsd:enumeration value="Order"/>
																	</xsd:restriction>
																</xsd:simpleType>
															</xsd:attribute>
															<xsd:attribute name="doc-id" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Idenfikátor dokumentu</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Document identifier</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="doc-item-id">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Identifikátor položky dokumentu</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Document item identifier</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="DocHeaderNote" minOccurs="0" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Komentář / volný text</xsd:documentation>
															<xsd:documentation xml:lang="EN">Comment </xsd:documentation>
														</xsd:annotation>
													</xsd:element>
												</xsd:sequence>
											</xsd:complexType>
										</xsd:element>
										<xsd:element name="DocDetail">
											<xsd:complexType>
												<xsd:sequence>
													<xsd:element name="ListOfItems" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Blok / seznam položek</xsd:documentation>
															<xsd:documentation xml:lang="EN">List / block of items</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="Item" maxOccurs="unbounded">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Položka dokladu</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Document item</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:sequence>
																			<xsd:element name="BaseItemDetail" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Základní údaje položky</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Base date of item</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:attribute name="item-id">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Číslo položky</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Item number / id</xsd:documentation>
																						</xsd:annotation>
																						<xsd:simpleType>
																							<xsd:restriction base="xsd:string">
																								<xsd:maxLength value="4"/>
																							</xsd:restriction>
																						</xsd:simpleType>
																					</xsd:attribute>
																					<xsd:attribute name="item-text">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Text položky</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Item text</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="quantity">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Množství</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Quantity </xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="unit">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Měrná jednotka</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Unit of measurement</xsd:documentation>
																						</xsd:annotation>
																						<xsd:simpleType>
																							<xsd:restriction base="xsd:string">
																								<xsd:enumeration value="MWh"/>
																								<xsd:enumeration value="KWh"/>
																								<xsd:enumeration value="month"/>
																							</xsd:restriction>
																						</xsd:simpleType>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="PricingDetail">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Detail ocenění</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Pricing detail</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:sequence>
																						<xsd:element name="UnitPrice" type="Price_Type" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Jednotková cena</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Unit price</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																						<xsd:element name="ItemNetValue" type="Price_Type">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Hodnota bez daně</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Value without tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																						<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Daň</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																						<xsd:element name="ItemGrossValue" type="Price_Type" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Hodnota s daní</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Value with tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																					</xsd:sequence>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="PaymentInfo" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Identifikace platby</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Payment identification info</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:attribute name="var-symbol">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Variabilní symbol</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Variable symbol</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="const-symbol">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Konstantní symbol</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Constant symbol</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="spec-symbol">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Specifický symbol</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Specific symbol</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="ItemDates" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Datumy položky</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Item dates</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:attribute name="due-date" type="xsd:date">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Datum splatnosti (pro zálohy)</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Due date (for budget billing)</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="billing-period-start" type="xsd:date">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Zúčtovací období</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Billing period</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="billing-period-end" type="xsd:date">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Zúčtovací období</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Billing period</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="payment-date">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Datum platby</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Payment date</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																		</xsd:sequence>
																		<xsd:attribute name="item-type" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Typ položky</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Item type</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:enumeration value="G01">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Regulované služby - celkově</xsd:documentation>
																							<xsd:documentation xml:lang="EN"/>
																						</xsd:annotation>
																					</xsd:enumeration>
																					<xsd:enumeration value="G02">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Položka faktury</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Invoice item</xsd:documentation>
																						</xsd:annotation>
																					</xsd:enumeration>
																					<xsd:enumeration value=""/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="doc-number">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Číslo daňového dokladu - pro předpis záloh</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Tax document number for tax relevant budget billing plan</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="ListOfItemsSubTotal" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">(Mezi)součet za skupinu položek</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Subtotal of items</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:sequence>
																			<xsd:element name="ItemNetValue" type="Price_Type">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Hodnota bez daně</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Value without tax</xsd:documentation>
																				</xsd:annotation>
																			</xsd:element>
																			<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Daň</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Tax</xsd:documentation>
																				</xsd:annotation>
																			</xsd:element>
																			<xsd:element name="ItemGrossValue" type="Price_Type" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Hodnota s daní</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Value with tax</xsd:documentation>
																				</xsd:annotation>
																			</xsd:element>
																		</xsd:sequence>
																	</xsd:complexType>
																</xsd:element>
															</xsd:sequence>
															<xsd:attribute name="items-category" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Druh položek</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Category of items</xsd:documentation>
																</xsd:annotation>
																<xsd:simpleType>
																	<xsd:restriction base="xsd:string">
																		<xsd:enumeration value="INV">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Položka faktury</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Invoice item</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="BBP">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Předpis záloh</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Budget billing plan</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="BBA"/>
																		<xsd:enumeration value="BBT"/>
																		<xsd:enumeration value="CNO">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Dobropis</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Credit note</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="DNO">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Vrubopis</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Debit note</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																	</xsd:restriction>
																</xsd:simpleType>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="ListOfPDTBlocks" minOccurs="0">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Seznam bloků OPM</xsd:documentation>
															<xsd:documentation xml:lang="EN">List of PDT blocks</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="PDTblock" maxOccurs="unbounded">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Blok dat odběrného / předávacího místa</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Point of delivery / transfer data block</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:sequence>
																			<xsd:element name="Address">
																				<xsd:complexType>
																					<xsd:attribute name="country"/>
																					<xsd:attribute name="city" use="required"/>
																					<xsd:attribute name="city-subentity"/>
																					<xsd:attribute name="street" use="optional"/>
																					<xsd:attribute name="house-num" use="optional"/>
																					<xsd:attribute name="house-num2"/>
																					<xsd:attribute name="postal-code" use="optional"/>
																					<xsd:attribute name="po-box"/>
																					<xsd:attribute name="groundplot-num">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Parcelní číslo</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Ground plot number</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="ListOfBillingItems" maxOccurs="unbounded">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Seznam položek zúčtování OPM</xsd:documentation>
																					<xsd:documentation xml:lang="EN">List of PDT billing items</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:sequence>
																						<xsd:element name="BillingItem" maxOccurs="unbounded">
																							<xsd:complexType>
																								<xsd:sequence>
																									<xsd:element name="BaseItemDetail">
																										<xsd:complexType>
																											<xsd:attribute name="item-id">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Číslo položky</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Item number / id</xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																											<xsd:attribute name="item-text">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Text položky</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Item text</xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																											<xsd:attribute name="quantity">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Množství</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Quantity </xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																											<xsd:attribute name="unit">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Měrná jednotka</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Unit of measurement</xsd:documentation>
																												</xsd:annotation>
																												<xsd:simpleType>
																													<xsd:restriction base="xsd:string">
																														<xsd:enumeration value="MWh"/>
																														<xsd:enumeration value="kWh"/>
																														<xsd:enumeration value="MW"/>
																														<xsd:enumeration value="MVArh"/>
																														<xsd:enumeration value="%"/>
																														<xsd:enumeration value="month"/>
																														<xsd:enumeration value="ks"/>
																													</xsd:restriction>
																												</xsd:simpleType>
																											</xsd:attribute>
																										</xsd:complexType>
																									</xsd:element>
																									<xsd:element name="PricingDetail">
																										<xsd:complexType>
																											<xsd:sequence>
																												<xsd:element name="UnitPrice" type="Price_Type" minOccurs="0"/>
																												<xsd:element name="NetValue" type="Price_Type"/>
																												<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded"/>
																												<xsd:element name="GrossValue" type="Price_Type" minOccurs="0"/>
																											</xsd:sequence>
																										</xsd:complexType>
																									</xsd:element>
																									<xsd:element name="ItemDates" minOccurs="0">
																										<xsd:annotation>
																											<xsd:documentation xml:lang="CS">Datumy položky</xsd:documentation>
																											<xsd:documentation xml:lang="EN">Item dates</xsd:documentation>
																										</xsd:annotation>
																										<xsd:complexType>
																											<xsd:attribute name="due-date" type="xsd:date">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Datum splatnosti (pro zálohy)</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Due date (for budget billing)</xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																											<xsd:attribute name="billing-period-start" type="xsd:date">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Zúčtovací období</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Billing period</xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																											<xsd:attribute name="billing-period-end" type="xsd:date">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Zúčtovací období</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Billing period</xsd:documentation>
																												</xsd:annotation>
																											</xsd:attribute>
																										</xsd:complexType>
																									</xsd:element>
																								</xsd:sequence>
																								<xsd:attribute name="item-type" use="required">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Typ položky</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Item type</xsd:documentation>
																									</xsd:annotation>
																									<xsd:simpleType>
																										<xsd:restriction base="xsd:string">
																											<xsd:enumeration value="GU001">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za použití sítí</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Grid usage price</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU002">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za systémové služby</xsd:documentation>
																													<xsd:documentation xml:lang="EN">System services price</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU003">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena OTE za zúčtování</xsd:documentation>
																													<xsd:documentation xml:lang="EN">OTE settlement price</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU004">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Příspěvek na OZE a KVET</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Renewable and combined heat sources contribution</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU005">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Nevyžádaná dodávka jalové energie</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Non-asked react energy supply</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU006">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cenová přirážka za nedodržení účiníku</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price uplift tg fi </xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU007">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za roční rezervovanou kapacitu</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price for year reserved capacity</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU008">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za měsíční rezervovanou kapacitu</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price for monthly reserved capacity</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU009">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Záložní výkon</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Backup supply</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU010">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Naměřené čtvrthodinové maximum</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Metered maximum power</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU011">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za překročení rezervované kapicty </xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price for reserved capacity exceeding</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU012">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za překročení rezervovaného příkonu
</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price of exceeding of reserved power</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU013">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za záložní rezervovanou kapacitu
</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Price for backup reserved capacity</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU014">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Pronájem transformátoru
</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Transformer lease</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU015">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Pronájem měřícího trafa</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Meter transformer lease</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU016">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Spotřeba elektřiny vysoký tarif</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Electricity consumption in high tarif</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU017">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Spotřeba elektřiny v nízkém tarifu</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Electricity consumption in low tarif</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU018"/>
																											<xsd:enumeration value="GU019">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Plat za paušál - neměřený odběr</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Non metered consumption - flat rate payment</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU020">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Plat za příkon - neměřený odběr</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Non metered consumption - power payement</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU021">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Naměřené 1/4 hod maximum NT</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Metered maximum power in low tarriff</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU022">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Ceny za systémové služby - výroba</xsd:documentation>
																													<xsd:documentation xml:lang="EN">System services price - generation</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU023">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena OTE za činnost zúčtování - výroba</xsd:documentation>
																													<xsd:documentation xml:lang="EN">OTE settlement price - generation</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU024">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Příspěvek na OZE a KVET - výroba</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Renewable and combined heat sources contribution - generation</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU025">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Dálkový odečtu GSM</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Remote GSM reading</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU026">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena za systémové služby-LDS</xsd:documentation>
																													<xsd:documentation xml:lang="EN">System services price-LDS</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU027">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena OTE za zúčtování-LDS</xsd:documentation>
																													<xsd:documentation xml:lang="EN">OTE settlement price - LDS</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU028">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Cena příspěvku na OZE+KVET-LDS</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Renewable and combined heat sources contribution - LDS</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																											<xsd:enumeration value="GU100">
																												<xsd:annotation>
																													<xsd:documentation xml:lang="CS">Regulované služby celkem</xsd:documentation>
																													<xsd:documentation xml:lang="EN">Regulated services - total</xsd:documentation>
																												</xsd:annotation>
																											</xsd:enumeration>
																										</xsd:restriction>
																									</xsd:simpleType>
																								</xsd:attribute>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="ListOfBillingItemsSubTotal" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">(Mezi)součet za skupinu položek</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Sub-total of billing items</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:sequence>
																									<xsd:element name="ItemNetValue" type="Price_Type">
																										<xsd:annotation>
																											<xsd:documentation xml:lang="CS">Hodnota bez daně</xsd:documentation>
																											<xsd:documentation xml:lang="EN">Value without tax</xsd:documentation>
																										</xsd:annotation>
																									</xsd:element>
																									<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded">
																										<xsd:annotation>
																											<xsd:documentation xml:lang="CS">Daň</xsd:documentation>
																											<xsd:documentation xml:lang="EN">Tax</xsd:documentation>
																										</xsd:annotation>
																									</xsd:element>
																									<xsd:element name="ItemGrossValue" type="Price_Type" minOccurs="0">
																										<xsd:annotation>
																											<xsd:documentation xml:lang="CS">Hodnota s daní</xsd:documentation>
																											<xsd:documentation xml:lang="EN">Value with tax</xsd:documentation>
																										</xsd:annotation>
																									</xsd:element>
																								</xsd:sequence>
																							</xsd:complexType>
																						</xsd:element>
																					</xsd:sequence>
																					<xsd:attribute name="items-category" use="required">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Druh položek</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Category of items</xsd:documentation>
																						</xsd:annotation>
																						<xsd:simpleType>
																							<xsd:restriction base="xsd:string">
																								<xsd:enumeration value="INV">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Položka faktury</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Invoice item</xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																								<xsd:enumeration value="BBP">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Předpis záloh</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Budget billing plan</xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																								<xsd:enumeration value="BBA"/>
																								<xsd:enumeration value="BBT"/>
																							</xsd:restriction>
																						</xsd:simpleType>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="Party" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Partner</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Party</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:sequence>
																						<xsd:element name="PartyID" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Identifikace partnera</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Partner identification</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="ident-num">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Identifikační číslo (např. IČ)</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Identification id</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																								<xsd:attribute name="tax-num">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Daňové identifikační číslo</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Tax identification number</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																								<xsd:attribute name="comp-register">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Zápis v obchodním rejstříku</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Companies Register record</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="BankAccount" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Bankovní spojení</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Bank account</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="bank-id" use="required"/>
																								<xsd:attribute name="account-num" use="required"/>
																								<xsd:attribute name="bank-country" use="required"/>
																								<xsd:attribute name="bank-name"/>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="NameAddress">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Jméno a adresa</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Name and address</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="name" type="xsd:string" use="required">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Jméno partnera</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Party name</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																								<xsd:attribute name="country"/>
																								<xsd:attribute name="city"/>
																								<xsd:attribute name="city-subentity"/>
																								<xsd:attribute name="street"/>
																								<xsd:attribute name="house-num"/>
																								<xsd:attribute name="house-num2"/>
																								<xsd:attribute name="postal-code"/>
																								<xsd:attribute name="po-box"/>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="Communication" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Komunikace</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Communication chanels</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="email"/>
																								<xsd:attribute name="www"/>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="Contact" minOccurs="0" maxOccurs="unbounded">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Kontaktní osoba</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Contact </xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="name"/>
																								<xsd:attribute name="tel-num"/>
																								<xsd:attribute name="email"/>
																								<xsd:attribute name="function"/>
																								<xsd:attribute name="fax"/>
																							</xsd:complexType>
																						</xsd:element>
																						<xsd:element name="ReferencePartyID" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Referenční číslo partnera (např. v systému dodavatele)</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Reference partner ID (e.g. in the seller IS)</xsd:documentation>
																							</xsd:annotation>
																							<xsd:complexType>
																								<xsd:attribute name="CustomerID">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">ID zákazníka</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Customer ID</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																								<xsd:attribute name="ContractAccountID">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Číslo smluvního účtu</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Contract account ID</xsd:documentation>
																									</xsd:annotation>
																								</xsd:attribute>
																							</xsd:complexType>
																						</xsd:element>
																					</xsd:sequence>
																					<xsd:attribute name="party-role" use="required">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Role partnera</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Partner role</xsd:documentation>
																						</xsd:annotation>
																						<xsd:simpleType>
																							<xsd:restriction base="xsd:string">
																								<xsd:enumeration value="P01">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Prodávající / dodavatel</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Seller </xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																								<xsd:enumeration value="P02">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Odběratel / kupující</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Buyer / consumer</xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																								<xsd:enumeration value="P03">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Příjemce faktury</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Bill-to-party</xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																								<xsd:enumeration value="P04">
																									<xsd:annotation>
																										<xsd:documentation xml:lang="CS">Zákazník - vlastník OPM</xsd:documentation>
																										<xsd:documentation xml:lang="EN">Customer - PTD owner</xsd:documentation>
																									</xsd:annotation>
																								</xsd:enumeration>
																							</xsd:restriction>
																						</xsd:simpleType>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="PDTblockNote" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Komentář / volný text</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Comment </xsd:documentation>
																				</xsd:annotation>
																			</xsd:element>
																		</xsd:sequence>
																		<xsd:attribute name="PDT-id" type="ote:ean13_18" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">ID OPM (EAN18)</xsd:documentation>
																				<xsd:documentation xml:lang="EN">PDT identifier (EAN18)</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																		<xsd:attribute name="premise-id">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Číslo místa spotřeby (odběrného místa)</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Premise identifier</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																		<xsd:attribute name="rate" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Sazba</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Rate</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																		<xsd:attribute name="DGI-id" type="ote:msg-id" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">DÚF ID - reference msg id</xsd:documentation>
																				<xsd:documentation xml:lang="EN">DGI id - msg id reference</xsd:documentation>
																			</xsd:annotation>
																		</xsd:attribute>
																	</xsd:complexType>
																</xsd:element>
															</xsd:sequence>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="DocDetailNote" minOccurs="0" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Komentář / volný text</xsd:documentation>
															<xsd:documentation xml:lang="EN">Comment </xsd:documentation>
														</xsd:annotation>
													</xsd:element>
												</xsd:sequence>
											</xsd:complexType>
										</xsd:element>
										<xsd:element name="DocSummary" minOccurs="0">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Shrnutí dokladu</xsd:documentation>
												<xsd:documentation xml:lang="EN">Document summary</xsd:documentation>
											</xsd:annotation>
											<xsd:complexType>
												<xsd:sequence>
													<xsd:element name="ListOfSumItems" minOccurs="0" maxOccurs="unbounded">
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="SumItem" minOccurs="0" maxOccurs="unbounded">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Sumární položka dokladu</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Document summary item</xsd:documentation>
																	</xsd:annotation>
																	<xsd:complexType>
																		<xsd:sequence>
																			<xsd:element name="BaseItemDetail" minOccurs="0">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Základní údaje položky</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Base date of item</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:attribute name="item-id">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Číslo položky</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Item number / id</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="item-text">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Text položky</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Item text</xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="quantity">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Množství</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Quantity </xsd:documentation>
																						</xsd:annotation>
																					</xsd:attribute>
																					<xsd:attribute name="unit">
																						<xsd:annotation>
																							<xsd:documentation xml:lang="CS">Měrná jednotka</xsd:documentation>
																							<xsd:documentation xml:lang="EN">Unit of measurement</xsd:documentation>
																						</xsd:annotation>
																						<xsd:simpleType>
																							<xsd:restriction base="xsd:string">
																								<xsd:enumeration value="MWh"/>
																								<xsd:enumeration value="KWh"/>
																								<xsd:enumeration value="month"/>
																							</xsd:restriction>
																						</xsd:simpleType>
																					</xsd:attribute>
																				</xsd:complexType>
																			</xsd:element>
																			<xsd:element name="SumItemPrice">
																				<xsd:annotation>
																					<xsd:documentation xml:lang="CS">Detail ocenění</xsd:documentation>
																					<xsd:documentation xml:lang="EN">Pricing detail</xsd:documentation>
																				</xsd:annotation>
																				<xsd:complexType>
																					<xsd:sequence>
																						<xsd:element name="NetValue" type="Price_Type">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Hodnota bez daně</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Value without tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																						<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Daň</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																						<xsd:element name="GrossValue" type="Price_Type" minOccurs="0">
																							<xsd:annotation>
																								<xsd:documentation xml:lang="CS">Hodnota s daní</xsd:documentation>
																								<xsd:documentation xml:lang="EN">Value with tax</xsd:documentation>
																							</xsd:annotation>
																						</xsd:element>
																					</xsd:sequence>
																				</xsd:complexType>
																			</xsd:element>
																		</xsd:sequence>
																		<xsd:attribute name="item-type" use="required">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Typ položky</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Item type</xsd:documentation>
																			</xsd:annotation>
																			<xsd:simpleType>
																				<xsd:restriction base="xsd:string">
																					<xsd:enumeration value="S01"/>
																				</xsd:restriction>
																			</xsd:simpleType>
																		</xsd:attribute>
																		<xsd:attribute name="doc-number"/>
																	</xsd:complexType>
																</xsd:element>
																<xsd:element name="SubTotal" minOccurs="0">
																	<xsd:complexType>
																		<xsd:sequence>
																			<xsd:element name="SubTotalNetValue" type="Price_Type"/>
																			<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded"/>
																			<xsd:element name="SubTotalGrossValue" type="Price_Type" minOccurs="0"/>
																		</xsd:sequence>
																	</xsd:complexType>
																</xsd:element>
															</xsd:sequence>
															<xsd:attribute name="items-category" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Druh položek</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Category of items</xsd:documentation>
																</xsd:annotation>
																<xsd:simpleType>
																	<xsd:restriction base="xsd:string">
																		<xsd:enumeration value="INV">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Položka faktury</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Invoice item</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="BBP">
																			<xsd:annotation>
																				<xsd:documentation xml:lang="CS">Předpis záloh</xsd:documentation>
																				<xsd:documentation xml:lang="EN">Budget billing plan</xsd:documentation>
																			</xsd:annotation>
																		</xsd:enumeration>
																		<xsd:enumeration value="BBA"/>
																		<xsd:enumeration value="BBT"/>
																	</xsd:restriction>
																</xsd:simpleType>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="DocumentTotal" maxOccurs="2">
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="NetValue" type="Price_Type">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Hodnota bez daně</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Value without tax</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
																<xsd:element name="Tax" type="Tax_Type" minOccurs="0" maxOccurs="unbounded">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Daň</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Tax</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
																<xsd:element name="GrossValue" type="Price_Type" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Hodnota s daní</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Value with tax</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
															</xsd:sequence>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="PaymentSummary" minOccurs="0" maxOccurs="2">
														<xsd:complexType>
															<xsd:sequence>
																<xsd:element name="TotalInvoicedValue" type="Price_Type">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Celková fakturovaná částka</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Total invoiced amount</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
																<xsd:element name="PrepaidAmount" type="Price_Type" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Celkové zaplacené platby</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Total prepaid amout - budget billing</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
																<xsd:element name="Rounding" type="Price_Type" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Haléřové vyrovnání</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Rounding</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
																<xsd:element name="TotalAmountPayable" type="Price_Type" minOccurs="0">
																	<xsd:annotation>
																		<xsd:documentation xml:lang="CS">Celkem k zaplacení</xsd:documentation>
																		<xsd:documentation xml:lang="EN">Total payable amount</xsd:documentation>
																	</xsd:annotation>
																</xsd:element>
															</xsd:sequence>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="DocSummaryNote" minOccurs="0" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Komentář / volný text</xsd:documentation>
															<xsd:documentation xml:lang="EN">Comment </xsd:documentation>
														</xsd:annotation>
													</xsd:element>
												</xsd:sequence>
											</xsd:complexType>
										</xsd:element>
										<xsd:element name="Attachment" minOccurs="0">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Příloha</xsd:documentation>
												<xsd:documentation xml:lang="EN">Attachment</xsd:documentation>
											</xsd:annotation>
											<xsd:complexType>
												<xsd:sequence>
													<xsd:element name="AttachmentHeader" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Hlavička přílohy</xsd:documentation>
															<xsd:documentation xml:lang="EN">Attachment Header</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:attribute name="DeliveryDate" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Den dodávky</xsd:documentation>
																	<xsd:documentation xml:lang="CS">Delivery Date</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="ExchangeRate" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Kurz</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Exchange Rate</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="PaymentReceived" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Datum platby</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Payment received</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="InvoiceNo" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Číslo faktury</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Invoice No.</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="TypeOfTrade" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Druh obchodu</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Type of trade</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="IdRut" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Číslo RUT</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Id RUT</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="ReferenceNo" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Variabilní symbol</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Reference No.</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="Quantity" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Množství</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Quantity</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="UnitPrice" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Jednotková cena</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Unit price</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="BeforeTax" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Cena bez DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Before Tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="ElectricityTax" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Daň z elektřiny</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Electricity tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="BaseTax" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Základ DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Base tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="VAT" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">VAT</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="Currency" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Měna</xsd:documentation>
																	<xsd:documentation xml:lang="CS">Currency</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="Total" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Celkem</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Total</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
													<xsd:element name="AttachmentSum" maxOccurs="2">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Shrnutí přílohy</xsd:documentation>
															<xsd:documentation xml:lang="EN">Attachment summary</xsd:documentation>
														</xsd:annotation>
														<xsd:complexType>
															<xsd:attribute name="BeforeTax" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Cena bez DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Before Tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="ElectricityTax" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Daň z elektřiny</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Electricity tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="BaseTax" use="optional">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Základ DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Base tax</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="VAT" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">DPH</xsd:documentation>
																	<xsd:documentation xml:lang="EN">VAT</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="Currency" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Měna</xsd:documentation>
																	<xsd:documentation xml:lang="CS">Currency</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
															<xsd:attribute name="Total" use="required">
																<xsd:annotation>
																	<xsd:documentation xml:lang="CS">Celkem</xsd:documentation>
																	<xsd:documentation xml:lang="EN">Total</xsd:documentation>
																</xsd:annotation>
															</xsd:attribute>
														</xsd:complexType>
													</xsd:element>
												</xsd:sequence>
											</xsd:complexType>
										</xsd:element>
									</xsd:sequence>
									<xsd:attribute name="doc-type" use="required">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Typ dokladu</xsd:documentation>
											<xsd:documentation xml:lang="EN">Document type</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:enumeration value="A01">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná fa -  krycí list</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - cover sheet</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="A02">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná záloha -  krycí list</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated budget-billing - cover sheet</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B01">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - řádná MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - periodical households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B02">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - řádná MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - periodical commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B03">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad -  řádná VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - periodical large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B04">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - mimořádná MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - extra households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B05">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - mimořádná MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - extra commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B06">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - mimořádná VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - extra - large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B07">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - dobropis MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - credit note - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B08">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - dobropis MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - credit note - commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B09">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad -  dobropis VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - credit note -  large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B10">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - vrubopis MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - debit note - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B11">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - vrubopis MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - debit note - commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B12">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - vrubopis VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - debit note -  large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B13">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - konečná MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document -  final households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B14">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - konečná MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - final commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B15">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad konečná VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated invoice - part document - finall large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B16">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaný předpis záloh - dílčí doklad - MO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated budget billing assessment – component document - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B17">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaný předpis záloh – dílčí doklad – MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated budget billing assessment – component document – commercial customers</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="B18">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Agregovaný předpis záloh – dílčí doklad – VO </xsd:documentation>
														<xsd:documentation xml:lang="EN">Aggregated budget billing assessment – component document – large IaC </xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C01">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – řádná MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - periodical households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C02">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – řádná MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - periodical commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C03">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura –  řádná VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice -  periodical large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C04">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – mimořádná MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice -  extra households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C05">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura –  mimořádná MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - part document - tax - extra commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C06">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura –  mimořádná VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - extra - large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C07">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – dobropis MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - credit note - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C08">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – dobropis MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - credit note - commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C09">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – dobropis VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - credit note -  large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C10">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – vrubopis MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - debit note - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C11">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura –  vrubopis MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - debit note - commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C12">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální faktura – vrubopis VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual invoice - debit note -  large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C13">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Konečná faktura - MOO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Final invoice - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C14">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Konečná faktura - MOP</xsd:documentation>
														<xsd:documentation xml:lang="EN">Final invoice - commercial</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C15">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Konečná faktura - VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Final invoice - large IaC</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C17">
													<xsd:annotation>
														<xsd:documentation>Individuální předpis záloh MOO </xsd:documentation>
														<xsd:documentation>Individual budget billing assessment - households</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C18">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální předpis záloh MOP </xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual budget billing assessment – commercial customers</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="C19">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Individuální předpis záloh VO</xsd:documentation>
														<xsd:documentation xml:lang="EN">Individual budget billing assessment – large IaC customers</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="D01">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Přijatá platba - krycí list</xsd:documentation>
														<xsd:documentation xml:lang="EN">Payment - cover sheet</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="E01">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Faktura</xsd:documentation>
														<xsd:documentation xml:lang="EN">Invoice</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="E02">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Dobropis</xsd:documentation>
														<xsd:documentation xml:lang="EN">Credit note</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="E03">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Vrubopis</xsd:documentation>
														<xsd:documentation xml:lang="EN">Debit note</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="tax-relevancy" use="required">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Daňový nebo nedaňový doklad</xsd:documentation>
											<xsd:documentation xml:lang="EN">Tax or non-tax document</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:enumeration value="YTX">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Ano (daňový doklad)</xsd:documentation>
														<xsd:documentation xml:lang="EN">Yes (tax relevant)</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="NTX">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Nedaňový doklad</xsd:documentation>
														<xsd:documentation xml:lang="EN">Non tax relevant document</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="doc-level" use="required">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Úroveň (hlavní / dílčí)</xsd:documentation>
											<xsd:documentation xml:lang="EN">Document level (main / part)</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:enumeration value="MainDocument">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Hlavní doklad faktury</xsd:documentation>
														<xsd:documentation xml:lang="EN">Main document of invoice</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
												<xsd:enumeration value="SubDocument">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">Dílčí doklad faktury</xsd:documentation>
														<xsd:documentation xml:lang="EN">Sub-document of invoice</xsd:documentation>
													</xsd:annotation>
												</xsd:enumeration>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="doc-id" use="required">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Id dokladu</xsd:documentation>
											<xsd:documentation xml:lang="EN">Document id</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:minLength value="1"/>
												<xsd:maxLength value="12"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="doc-atn">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Počet příloh/ pořadové číslo přílohy</xsd:documentation>
											<xsd:documentation xml:lang="EN">Number of attachments / sequence number of the attachment</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:pattern value="\d{1,10}"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
									<xsd:attribute name="doc-ver">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Unikátní číslo verze zprávy</xsd:documentation>
											<xsd:documentation xml:lang="EN">Message version unique id</xsd:documentation>
										</xsd:annotation>
										<xsd:simpleType>
											<xsd:restriction base="xsd:string">
												<xsd:maxLength value="35"/>
											</xsd:restriction>
										</xsd:simpleType>
									</xsd:attribute>
								</xsd:complexType>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element ref="ds:Signature" minOccurs="0"/>
			</xsd:sequence>
			<xsd:attribute name="id" type="ote:msg-id" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Identifikátor zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message identification</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="message-code" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Kód zprávy upřesňující obsah zprávy.</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message code specifying the message content.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:enumeration value="127">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Zaslání údajů elekronické faktury</xsd:documentation>
								<xsd:documentation xml:lang="EN">Electronic invoice message</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="137">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Elektronická faktura OTE</xsd:documentation>
								<xsd:documentation xml:lang="EN">OTE electronic invoice message</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name="date-time" type="xsd:dateTime" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Datum a čas zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Date and time of message</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="language" use="optional">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:length value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name="interval" use="optional">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Interval platnosti dat</xsd:documentation>
					<xsd:documentation xml:lang="EN">Data validity interval</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d(:\d\d)?/\d{4}-\d\d-\d\dT\d\d:\d\d(:\d\d)?"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name="dtd-version" type="xsd:string" use="required" fixed="1">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Rezervováno pro příští verze, zatím konstanta '1'</xsd:documentation>
					<xsd:documentation xml:lang="EN">Reserved for incoming versions. So far a constant '1'</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="dtd-release" type="xsd:string" use="required" fixed="1">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Rezervováno pro příští verze, zatím konstanta '1'</xsd:documentation>
					<xsd:documentation xml:lang="EN">Reserved for incoming versions. So far a constant '1'</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="answer-required" type="xsd:boolean" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Indikace požadavku na odpověď (1=ANO, 0=NE)</xsd:documentation>
					<xsd:documentation xml:lang="EN">Indication of request for response (1=YES, 0=NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="time-offset"/>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
