<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2024 rel. 2 sp1 (x64) (https://www.altova.com) by Maciej (CIRF) -->
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Slawomir Kubis (Systemy Komputerowe Glowka SA) -->
<xs:schema xmlns="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:complexType name="AdresatType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Adresat</xs:documentation>
		</xs:annotation>
		<xs:attribute name="nazwa" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Imię, nazwisko / Nazwa</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="0"/>
					<xs:maxLength value="512"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="idsisc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">ID SISC</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eori" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">EORI</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nip" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">NIP</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrVatUe" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer VAT UE z kraju siedziby głównej</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrTc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer TC </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="pesel" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">PESEL</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="11"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="obywatelstwoKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod kraju obywatelstwa</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod kraju obywatelstwa.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrIdentyfikacyjny" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr identyfikacyjny</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Identyfikator osoby zagranicznej.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="email" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Adres email</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="AdresType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Adres</xs:documentation>
		</xs:annotation>
		<xs:attribute name="rodzajKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod rodzaju adresu </xs:documentation>
				<xs:documentation source="list">1507</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Rodzaj adresu</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="krajKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod kraju</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="krajNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kraj</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="wojewodztwoKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod województwa</xs:documentation>
				<xs:documentation source="list">501A</xs:documentation>
				<xs:documentation source="rule">R2, R3, R4</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod TERYT województwa.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="wojewodztwoNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Województwo</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Nazwa województwa.</xs:documentation>
				<xs:documentation source="rule">R2</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="powiatKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod powiatu</xs:documentation>
				<xs:documentation source="list">501A</xs:documentation>
				<xs:documentation source="rule">R2, R3, R4</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod TERYT powiatu.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="4"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="powiatNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Powiat</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Nazwa powiatu.</xs:documentation>
				<xs:documentation source="rule">R2</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="gminaKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod gminy</xs:documentation>
				<xs:documentation source="list">501A</xs:documentation>
				<xs:documentation source="rule">R2, R3, R4</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod TERYT grminy.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="7"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="gminaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Gmina</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Nazwa gminy.</xs:documentation>
				<xs:documentation source="rule">R2</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="miejscowoscKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod miejscowości</xs:documentation>
				<xs:documentation source="rule">R2, R6</xs:documentation>
				<xs:documentation source="list">502A</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod TERYT miejscowości.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="7"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="miejscowoscNazwa" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Miejscowość</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Nazwa miejscowości.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="56"/>
					<xs:whiteSpace value="collapse"/>
					<xs:minLength value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="kodPocztowy" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod pocztowy</xs:documentation>
				<xs:documentation source="rule">R9</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="9"/>
					<xs:minLength value="1"/>
					<xs:whiteSpace value="collapse"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="poczta" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Poczta</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="0"/>
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="skrytkaPocztowa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Skrytka pocztowa</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ulicaKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod ulicy</xs:documentation>
				<xs:documentation source="rule">R2, R8, R108</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod TERYT ulicy.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="5"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ulicaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ulica</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Nazwa ulicy. W przypadku adresu zagranicznego zawiera również, gdzie zasadne, numer domu i lokalu.</xs:documentation>
				<xs:documentation source="rule"> R19, R20</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="100"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrDomu" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer domu</xs:documentation>
				<xs:documentation source="rule">R14, R23</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Stosowany tylko dla adresów polskich.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrLokalu" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer lokalu</xs:documentation>
				<xs:documentation source="rule">R14</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Stosowany tylko dla adresów polskich.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="telefon" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Telefon podstawowy</xs:documentation>
				<xs:documentation source="rule">R104</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="telefonSMS" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Telefon do powiadomień SMS</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="fax" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Fax</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="email" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Podstawowy adres email</xs:documentation>
				<xs:documentation source="rule">R10, R104</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="adresEPUAP" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Adres skrytki ePUAP</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Adres w formacie /login_ePUAP/nazwa_skrytki</xs:documentation>
				<xs:documentation source="rule">R16</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="70"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="AkcyzaType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Dane akcyzowe</xs:documentation>
			<xs:documentation source="rule">R39</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DzialalnoscGospodarcza" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Działalność akcyzowa podmiotu gospodarczego</xs:documentation>
					<xs:documentation source="doc" xml:lang="pl">Zgłoszenie podmiotu prowadzącego działalność gospodarczą, o którym mowa w art. 16 ust. 2 ustawy.</xs:documentation>
					<xs:documentation source="rule">R120</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="StatusPodmiotu" maxOccurs="99">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Status podmiotu akcyzowego</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:attribute name="statusKod" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod statusu podmiotu akcyzowego</xs:documentation>
										<xs:documentation source="list">1653</xs:documentation>
										<xs:documentation source="rule">R122, R123, R124, R145, R146, R147</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="statusNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Status podmiotu akcyzowego</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="DzialalnoscAkcyzowa" minOccurs="0" maxOccurs="99">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Działalność akcyzowa</xs:documentation>
								<xs:documentation source="rule">R145</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="AdresDzialalnosci" maxOccurs="999">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Adres działalności akcyzowej podmiotu</xs:documentation>
											<xs:documentation source="rule">R91, R148</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:complexContent>
												<xs:extension base="AdresType">
													<xs:sequence>
														<xs:element name="WyrobOpodatkowany" minOccurs="0" maxOccurs="99">
															<xs:annotation>
																<xs:documentation source="name" xml:lang="pl">Wyrób opodatkowany</xs:documentation>
																<xs:documentation source="rule">R132</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:attribute name="kod" use="required">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Kod grupy wyrobów</xs:documentation>
																		<xs:documentation source="list">1501</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="nazwa" use="optional">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Nazwa grupy wyrobów</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="140"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="WyrobZerowaStawka" minOccurs="0" maxOccurs="99">
															<xs:annotation>
																<xs:documentation source="name" xml:lang="pl">Wyrób objęty zerową stawką akcyzy</xs:documentation>
																<xs:documentation source="rule">R133</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="KodTowaru" minOccurs="0" maxOccurs="99">
																		<xs:annotation>
																			<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																			<xs:documentation source="rule">R134</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="kodTowaru" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																					<xs:documentation source="doc" xml:lang="pl">Kod towaru według nomenklatury taryfowej (CN).</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="8"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="sredniaIlosc" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Średnia miesięczna ilość</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:decimal">
																						<xs:totalDigits value="16"/>
																						<xs:fractionDigits value="6"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="jednostkaKod" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Kod jednostki miary</xs:documentation>
																					<xs:documentation source="list">1636</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="10"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="jednostkaNazwa" use="optional">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Nazwa jednostki</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="140"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="kod" use="required">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Kod grupy wyrobów</xs:documentation>
																		<xs:documentation source="list">1501</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="nazwa" use="optional">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Nazwa grupy wyrobów</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="140"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="WyrobZwolnionyPrzeznaczenie" minOccurs="0" maxOccurs="99">
															<xs:annotation>
																<xs:documentation source="name" xml:lang="pl">Wyrób zwolniony z akcyzy ze względu na przeznaczenie</xs:documentation>
																<xs:documentation source="rule">R135</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="KodTowaru" minOccurs="0" maxOccurs="99">
																		<xs:annotation>
																			<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																			<xs:documentation source="rule">R136</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="kodTowaru" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																					<xs:documentation source="doc" xml:lang="pl">Kod towaru według nomenklatury taryfowej (CN)</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="8"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="sredniaIlosc" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Średnia miesięczna ilość zużywanego wyrobu akcyzowego </xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:decimal">
																						<xs:totalDigits value="16"/>
																						<xs:fractionDigits value="6"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="jednostkaKod" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Kod jednostki miary</xs:documentation>
																					<xs:documentation source="list">1636</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="10"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="jednostkaNazwa" use="optional">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Nazwa jednostki</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="140"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="kod" use="required">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Kod grupy wyrobów</xs:documentation>
																		<xs:documentation source="list">1656</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="nazwa" use="optional">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Nazwa grupy wyrobów</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="140"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="WyrobZwolnionyInny" minOccurs="0" maxOccurs="99">
															<xs:annotation>
																<xs:documentation source="name" xml:lang="pl">Inny wyrób zwolniony z akcyzy</xs:documentation>
																<xs:documentation source="rule">R137</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:attribute name="kod" use="required">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Kod grupy wyrobów</xs:documentation>
																		<xs:documentation source="list">1656</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="nazwa" use="optional">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Nazwa grupy wyrobów</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="140"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="WyrobNiszczony" minOccurs="0" maxOccurs="99">
															<xs:annotation>
																<xs:documentation source="name" xml:lang="pl">Wyrób przeznaczony do zniszczenia</xs:documentation>
																<xs:documentation source="rule">R138</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="KodTowaru" maxOccurs="99">
																		<xs:annotation>
																			<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="kodTowaru" use="required">
																				<xs:annotation>
																					<xs:documentation source="name" xml:lang="pl">Kod towaru</xs:documentation>
																					<xs:documentation source="doc" xml:lang="pl">Kod towaru według nomenklatury taryfowej (CN)</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="8"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="kod" use="required">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Kod grupy wyrobów</xs:documentation>
																		<xs:documentation source="list">1501</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="nazwa" use="optional">
																	<xs:annotation>
																		<xs:documentation source="name" xml:lang="pl">Nazwa grupy wyrobów</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="140"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
													</xs:sequence>
												</xs:extension>
											</xs:complexContent>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="dzialalnoscKod" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod rodzaju działalności akcyzowej</xs:documentation>
										<xs:documentation source="list">1631</xs:documentation>
										<xs:documentation source="rule">R132, R133, R135, R137, R138, R146</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dzialalnoscNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Działalności akcyzowa</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dataZaprzestania" type="xs:date" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Data zaprzestania działalności</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaKod" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod przyczyny zaprzestania działalności</xs:documentation>
										<xs:documentation source="list">1630</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="1"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Przyczyna zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaWyjasnienie" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Wyjaśnienie przyczyny zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="350"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="PodmiotPosredniczacyWeglowy" minOccurs="0" maxOccurs="99">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Pośredniczący podmiot węglowy</xs:documentation>
								<xs:documentation source="rule">R122</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="AdresDzialalnosci" maxOccurs="999">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Adres działalności</xs:documentation>
											<xs:documentation source="doc" xml:lang="pl">Adres działalności podmiotu pośredniczącego węglowego</xs:documentation>
											<xs:documentation source="rule">R91, R130</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:complexContent>
												<xs:extension base="AdresType"/>
											</xs:complexContent>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="dzialalnoscKod" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod rodzaju działalności</xs:documentation>
										<xs:documentation source="doc" xml:lang="pl">Określenie rodzaju prowadzonej działalności w zakresie wyrobów węglowych dla pośredniczącego podmiotu węglowego.</xs:documentation>
										<xs:documentation source="list">1654</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dzialalnoscNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Nazwa rodzaju działalności</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dataZaprzestania" type="xs:date" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Data zaprzestania działalności</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaKod" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod przyczyny zaprzestania działalności</xs:documentation>
										<xs:documentation source="list">1630</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="1"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Przyczyna zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaWyjasnienie" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Wyjaśnienie przyczyny zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="350"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="PodmiotPosredniczacyGazowy" minOccurs="0" maxOccurs="99">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Pośredniczący podmiot gazowy</xs:documentation>
								<xs:documentation source="rule">R123</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="AdresDzialalnosci" maxOccurs="999">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Adres działalności</xs:documentation>
											<xs:documentation source="doc" xml:lang="pl">Adres działalności podmiotu pośredniczącego gazowego</xs:documentation>
											<xs:documentation source="rule">R91</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:complexContent>
												<xs:extension base="AdresType"/>
											</xs:complexContent>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="dzialalnoscKod" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod rodzaju działalności</xs:documentation>
										<xs:documentation source="doc" xml:lang="pl">Określenie rodzaju prowadzonej działalności w zakresie wyrobów węglowych dla pośredniczących podmiotów węglowych.</xs:documentation>
										<xs:documentation source="list">1655</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dzialalnoscNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Nazwa rodzaju działalności</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="512"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="dataZaprzestania" type="xs:date" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Data zaprzestania działalności</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaKod" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Kod przyczyny zaprzestania działalności</xs:documentation>
										<xs:documentation source="list">1630</xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="1"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaNazwa" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Przyczyna zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="140"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="przyczynaZaprzestaniaWyjasnienie" use="optional">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Wyjaśnienie przyczyny zaprzestania działalności </xs:documentation>
										<xs:documentation source="rule">R150</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="350"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="PodmiotReprezentowany" minOccurs="0" maxOccurs="9">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Podmiot reprezentowany</xs:documentation>
								<xs:documentation source="rule">R124</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="Adres" type="AdresType">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Adres</xs:documentation>
											<xs:documentation source="rule">R139</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ZakresReprezentacji" maxOccurs="9">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Zakres reprezentacji</xs:documentation>
											<xs:documentation source="doc" xml:lang="pl">Uszczegółowienie zakresu reprezentacji</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:attribute name="zakresReprezentacjiKod" use="required">
												<xs:annotation>
													<xs:documentation source="name" xml:lang="pl">Kod określający zakres reprezentacji</xs:documentation>
													<xs:documentation source="list">1657</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:maxLength value="2"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
											<xs:attribute name="zakresReprezentacjiNazwa" use="optional">
												<xs:annotation>
													<xs:documentation source="name" xml:lang="pl">Opis zakresu reprezentacji</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:maxLength value="140"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="nazwa" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Nazwa podmiotu reprezentowanego</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="512"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="dataRozpoczeciaAkc" type="xs:date" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Data rozpoczęcia działalności w akcyzie</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="deklaracja" type="xs:boolean" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Podmiot będzie składał deklaracje podatkowe lub uproszczone</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="deklaracja1m" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Miesiąc i rok pierwszej deklaracji</xs:documentation>
							<xs:documentation source="doc" xml:lang="pl">Informacja, za jaki okres (miesiąc-rok) podmiot planuje złożyć pierwszą deklarację podatkową lub deklarację uproszczoną.</xs:documentation>
							<xs:documentation source="rule">R54</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:length value="6"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="deklaracja1k" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Kwartał i rok pierwszej deklaracji</xs:documentation>
							<xs:documentation source="rule">R54</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:length value="6"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="nrKoncesji" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Numer koncesji</xs:documentation>
							<xs:documentation source="doc" xml:lang="pl">Numer posiadanej koncesji wymaganej przepisami ustawy z dnia 10 kwietnia 1997 r.  Prawo energetyczne </xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="35"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="nrRejestru" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Numer w rejestrze podmiotów przywożących – Prawo energetyczne</xs:documentation>
							<xs:documentation source="doc" xml:lang="pl">Numer w rejestrze podmiotów przywożących, wymagany przepisami ustawy z dnia 10 kwietnia 1997 r. Prawo energetyczne.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="35"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="WyrobZuzywany" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wyrób zużywany przez podmiot nieprowadzący działalności gospodarczej </xs:documentation>
					<xs:documentation source="doc" xml:lang="pl">Informacje o zużywaniu wyrobów akcyzowych zwolnionych od akcyzy ze względu na ich przeznaczenie przez przez podmiot nieprowadzący działalności gospodarczej .</xs:documentation>
					<xs:documentation source="rule">R120</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="MiejsceZuzywania" maxOccurs="999">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">Miejsce zużywania wyrobu</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="Adres">
										<xs:annotation>
											<xs:documentation source="name" xml:lang="pl">Adres miejsca zużywania wyrobu</xs:documentation>
											<xs:documentation source="rule">R99, R130</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:complexContent>
												<xs:extension base="AdresType"/>
											</xs:complexContent>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="nazwa" use="required">
									<xs:annotation>
										<xs:documentation source="name" xml:lang="pl">Nazwa miejsca</xs:documentation>
										<xs:documentation source="doc" xml:lang="pl">Nazwa miejsca, w którym zużywane są wyroby akcyzowe.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:maxLength value="512"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="rodzajWyrobuKod" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Kod rodzaju wyrobu</xs:documentation>
							<xs:documentation source="list">1637</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="2"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="rodzajWyrobuNazwa" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Rodzaj wyrobu</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="140"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="sredniaIlosc" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Średnia roczna ilość zużywanego wyrobu akcyzowego </xs:documentation>
							<xs:documentation source="doc">Określenie przewidywanej ilości zużywanych w roku kalendarzowym wyrobów akcyzowych zwolnionych od akcyzy ze względu na ich przeznaczenie.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:decimal">
								<xs:totalDigits value="16"/>
								<xs:fractionDigits value="6"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="jednostkaKod" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Kod jednostki miary</xs:documentation>
							<xs:documentation source="list">1636</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="2"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="jednostkaNazwa" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Nazwa jednostki</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="70"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="organAkcyzowyKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod organu KAS do spraw akcyzy</xs:documentation>
				<xs:documentation source="list">001F</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="8"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="organAkcyzowyNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa organu do spraw akcyzy</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="podstawaPrawnaKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod podstawy prawnej określenia właściwości miejscowej w akcyzie</xs:documentation>
				<xs:documentation source="list">1634</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="podstawaPrawnaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Podstawa prawna określenia właściwości miejscowej w akcyzie</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="typZgloszenia" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Typ zgłoszenia</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Typ zgłoszenia, przyjmujący wartości: "1"- Zgłoszenie podmiotu prowadzącego działalność gospodarczą, "2"-Zgłoszenie podmiotu nieprowadzącego działalności gospodarczej
</xs:documentation>
				<xs:documentation source="rule">R120, R121</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
					<xs:enumeration value="1"/>
					<xs:enumeration value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="akcyzaOperacjaKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Cel zgłoszenia w akcyzie</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod określający cel złożenia zgłoszenia. Możliwe wartości: "1" (Rejestracja), "2" (Zmiana danych), "3" (Zmiana właściwości naczelnika urzędu skarbowego), "4" (Zmiana danych w przypadku przedsiębiorstwa w spadku),  "6" (Zaprzestanie działalności/wykonywania czynności w akcyzie)</xs:documentation>
				<xs:documentation source="rule">R78, R121, R127, R150, R151</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
					<xs:enumeration value="1"/>
					<xs:enumeration value="2"/>
					<xs:enumeration value="3"/>
					<xs:enumeration value="4"/>
					<xs:enumeration value="5"/>
					<xs:enumeration value="6"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dataZaprzestaniaAkc" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data zaprzestania działalności w akcyzie</xs:documentation>
				<xs:documentation source="rule">R56, R78, R149</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="przyczynaZaprzestaniaAkcKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod przyczyny zaprzestania działalności w akcyzie</xs:documentation>
				<xs:documentation source="list">1630</xs:documentation>
				<xs:documentation source="rule">R56, R78, R79</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="przyczynaZaprzestaniaAkcNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Przyczyna zaprzestania działalności w akcyzie</xs:documentation>
				<xs:documentation source="rule">R56</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="przyczynaZaprzestaniaAkcWyjasnienie" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Wyjaśnienie przyczyny zaprzestania działalności  akcyzowej</xs:documentation>
				<xs:documentation source="rule">R56, R79</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="350"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="CertyfikatType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Certyfikat</xs:documentation>
		</xs:annotation>
		<xs:attribute name="nrSeryjny" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer seryjny certyfikatu
</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="odciskPalca" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Odcisk palca</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="waznyOd" type="xs:dateTime" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny od</xs:documentation>
				<xs:documentation source="rule">R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="waznyDo" type="xs:dateTime" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny do</xs:documentation>
				<xs:documentation source="rule">R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="DedykowanyKontaktType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Preferowany kontakt</xs:documentation>
		</xs:annotation>
		<xs:attribute name="zastosowanieKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod zastosowania</xs:documentation>
				<xs:documentation source="list">1624</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="zastosowanieNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Zastosowanie</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="telefon" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer telefonu</xs:documentation>
				<xs:documentation source="rule">R24</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="email" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Email</xs:documentation>
				<xs:documentation source="rule">R24</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="InfDodatkoweType">
		<xs:annotation>
			<xs:documentation>Informacje dodatkowe</xs:documentation>
		</xs:annotation>
		<xs:attribute name="tekst" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Informacje dodatkowe</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="350"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="KanalKomunikacjiType">
		<xs:annotation>
			<xs:documentation>Kanał komunikacji</xs:documentation>
		</xs:annotation>
		<xs:attribute name="kanalKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod typu kanału </xs:documentation>
				<xs:documentation source="list">1540</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="kanalNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kanał komunikacji</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="adres" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Adres email / webservice / skrzynki ePUAP</xs:documentation>
				<xs:documentation source="rule">R42</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="400"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="login" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Login</xs:documentation>
				<xs:documentation source="rule">R43</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="100"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="haslo" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Hasło</xs:documentation>
				<xs:documentation source="rule">R43</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="255"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="odciskPalca" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Odcisk palca certyfikatu</xs:documentation>
				<xs:documentation source="rule">R44</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="250"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="waznyOd" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny od</xs:documentation>
				<xs:documentation source="rule">R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="waznyDo" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny do</xs:documentation>
				<xs:documentation source="rule">R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="system" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">System</xs:documentation>
				<xs:documentation source="list">1541</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="20"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="KontoBankoweType">
		<xs:annotation>
			<xs:documentation>Konto bankowe</xs:documentation>
		</xs:annotation>
		<xs:attribute name="rodzajKontaKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod rodzaju konta</xs:documentation>
				<xs:documentation source="list">1552</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajKontaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Rodzaj konta</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="typKontaKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod typu konta</xs:documentation>
				<xs:documentation source="list">1529</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="typKontaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Typ konta</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="iban" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Prefix IBAN</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrKonta" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer rachunku bankowego</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="50"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaBanku" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa banku</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="80"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="swiftBic" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">SWIFT/BIC</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="11"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="NaglowekType">
		<xs:annotation>
			<xs:documentation>Nagłówek bazowy zestaw danych</xs:documentation>
		</xs:annotation>
		<xs:attribute name="nrWlasny" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer własny wniosku</xs:documentation>
				<xs:documentation source="rule">R18</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Unikalny numer służący do późniejszej identyfikacji wniosku i zapobiegający przed ponownym wysłaniem tego samego wniosku.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="organWnioskuKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod organu, do którego składa się wniosek</xs:documentation>
				<xs:documentation source="list">001C</xs:documentation>
				<xs:documentation source="rule">R12</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="8"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="organWnioskuNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa organu, do którego składa się wniosek</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="255"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrSprawy" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer sprawy w SZPROT</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Podanie numeru sprawy oznacza, że ten wniosek jest korektą wcześniejszego wniosku, który zainicjował toczącą się jeszcze (niezakończoną) sprawę o tym numerze.</xs:documentation>
				<xs:documentation source="rule">R32</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ObszarDzialalnosciType">
		<xs:annotation>
			<xs:documentation>Obszar działalności w KAS</xs:documentation>
		</xs:annotation>
		<xs:attribute name="kod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod obszaru działalności w KAS</xs:documentation>
				<xs:documentation source="list">1525</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Obszaru działalności w  KAS</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="OddzialPodmiotuType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Oddział podmiotu</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Adres" type="AdresType" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Adres</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="nazwaPelna" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa pełna</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="512"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nip" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">NIP</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="regon" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">REGON</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="14"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrKrs" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr wpisu do KRS</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="0"/>
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="OsobaFizycznaType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Osoba fizyczna</xs:documentation>
		</xs:annotation>
		<xs:attribute name="idsisc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer ID SISC</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Identyfikator SISC nadany osobie fizycznej.</xs:documentation>
				<xs:documentation source="rule">R30</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="obywatelstwoKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod kraju obywatelstwa</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod kraju obywatelstwa.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="obywatelstwoNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kraj obywatelstwa</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="pesel" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">PESEL</xs:documentation>
				<xs:documentation source="rule">R1, R13</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Jeśli osoba zagraniczna posiada PESEL to może go podać.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="11"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrIdentyfikacyjny" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr identyfikacyjny</xs:documentation>
				<xs:documentation source="rule">R1</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Identyfikator osoby zagranicznej.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="imie" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Imię</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwisko" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwisko</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dokTozKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod rodzaju dokumentu potwierdzającego tożsamość</xs:documentation>
				<xs:documentation source="list">1503</xs:documentation>
				<xs:documentation source="rule">R1</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dokTozNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Rodzaj dokumentu potwierdzającego tożsamość</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrDokToz" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Seria i numer dokumentu potwierdzającego tożsamość</xs:documentation>
				<xs:documentation source="rule">R1</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dataUrodzenia" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data urodzenia</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="eori" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">EORI</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="3"/>
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eoriOd" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data rozpoczęcia ważności EORI</xs:documentation>
				<xs:documentation source="rule">R61, R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="eoriDo" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data zakończenia ważności EORI</xs:documentation>
				<xs:documentation source="rule">R61, R15, R56</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="OsobaFizycznaIdentyfikacjaType">
		<xs:attribute name="idsisc" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">ID SISIC</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="obywatelstwoKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod kraju obywatelstwa</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="obywatelstwoNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kraj obywatelstwa</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="pesel" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">PESEL</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="11"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrIdentyfikacyjny" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr identyfikacyjny</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Identyfikator osoby zagranicznej.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="imie" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Imię</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwisko" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwisko</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eori" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">EORI</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="OswiadczenieType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Oświadczenie</xs:documentation>
		</xs:annotation>
		<xs:attribute name="oswiadczenieKod" use="required">
			<xs:annotation>
				<xs:documentation source="doc" xml:lang="pl">Kod oświadczenia.</xs:documentation>
				<xs:documentation source="list">1623</xs:documentation>
				<xs:documentation source="name" xml:lang="pl">Kod oświadczenia</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="oswiadczenieNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="doc" xml:lang="pl">Tekst oświadczenia.</xs:documentation>
				<xs:documentation source="name" xml:lang="pl">Oświadczenie</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="500"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="zaakceptowane" type="xs:boolean" use="required">
			<xs:annotation>
				<xs:documentation source="doc" xml:lang="pl">Zaakceptowano - wartość "1" (Tak), brak akceptacji - wartość "0" (Nie).</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="PlikType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Plik/Załącznik</xs:documentation>
		</xs:annotation>
		<xs:attribute name="zawartosc" type="xs:base64Binary" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Binarna zawartość pliku</xs:documentation>
				<xs:documentation source="rule">R65</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="eDokument" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Wskazanie na plik w e-Dokumentach</xs:documentation>
				<xs:documentation source="rule">R65, R112</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:minLength value="0"/>
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod określający zawartość pliku</xs:documentation>
				<xs:documentation source="list">1625</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="5"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa rodzaju zawartości pliku</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="opis" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Opis zawartości pliku</xs:documentation>
				<xs:documentation source="rule">R66</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="350"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="mimeType" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Typ MIME</xs:documentation>
				<xs:documentation source="rule">R88</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="255"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="PodmiotType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Podmiot</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATUE" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">VAT UE</xs:documentation>
					<xs:documentation source="rule">R34</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="nrVatUe" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Numer VAT UE</xs:documentation>
							<xs:documentation source="rule">R37</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="17"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="ImieNazwisko" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Imię i nazwisko </xs:documentation>
					<xs:documentation source="rule">R40, R41</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="imie" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Imię</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="60"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="nazwisko" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Nazwisko</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="90"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="KodPKD" maxOccurs="99">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kod PKD/NACE</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="kod" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Kod PKD/NACE</xs:documentation>
							<xs:documentation source="list">407EK</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="5"/>
								<xs:minLength value="4"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="nazwa" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Nazwa PKD/NACE</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="350"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="idsisc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">ID SISC</xs:documentation>
				<xs:documentation source="rule">R30</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajPodmiotuKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Rodzaj podmiotu</xs:documentation>
				<xs:documentation source="list">1514</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod informujący, czy siedziba główna podmiotu znajduje się w Polsce, na terenie Unii Europejskiej (poza Polską) lub w Kraju Trzecim.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajPodmiotuNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa rodzaju podmiotu</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="siedzibaWUE" type="xs:boolean" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Czy podmiot posiada siedzibę w UE?</xs:documentation>
				<xs:documentation source="rule">R50</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="jezykKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod języka rejestracji podmiotu</xs:documentation>
				<xs:documentation source="list">007</xs:documentation>
				<xs:documentation source="rule">R96</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="jezykNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa języka rejestracji podmiotu.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaPelna" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa pełna</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="512"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaSkrocona" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa skrócona</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="70"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaPelnaTymczasowa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Tymczasowa nazwa pełna</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="512"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaSkroconaTymczasowa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Tymczasowa nazwa skrócona</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="70"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nip" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">NIP</xs:documentation>
				<xs:documentation source="rule">R34</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="regon" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">REGON</xs:documentation>
				<xs:documentation source="rule">R53</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="14"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrKrs" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr wpisu do KRS</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eori" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">EORI</xs:documentation>
				<xs:documentation source="rule">R34</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eoriOd" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data rozpoczęcia ważności EORI</xs:documentation>
				<xs:documentation source="rule">R61, R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="eoriDo" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data zakończenia ważności EORI</xs:documentation>
				<xs:documentation source="rule">R61, R15</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="nrTc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer TC </xs:documentation>
				<xs:documentation source="rule">R34, R52</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrRex" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nr REX</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="formaPrawnaKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod formy prawnej</xs:documentation>
				<xs:documentation source="list">1502</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="formaPrawnaNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Forma prawna.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="formaDzialGospKod" use="optional">
			<xs:annotation>
				<xs:documentation source="name">Kod formy działalności gospodarczej.</xs:documentation>
				<xs:documentation source="list">1505</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="formaDzialGospNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Forma działalności gospodarczej</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dataRozpoczeciaGosp" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data rozpoczęcia działalności gospodarczej</xs:documentation>
				<xs:documentation source="rule">R116</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="dataZawieszeniaGosp" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data zawieszenia działalności gospodarczej</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="dataWznowieniaGosp" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data wznowienia działalności gospodarczej</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="dataSmierciPrzedsiebiorcy" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data śmierci przedsiębiorcy</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Dotyczy przedsiębiorstwa w spadku po śmierci poprzedniego przedsiębiorcy.</xs:documentation>
				<xs:documentation source="rule">R94, R95</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="PodmiotIdentyfikacjaType">
		<xs:attribute name="idsisc" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">ID SISIC</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaPelna" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa pełna</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="512"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwaSkrocona" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa skrócona</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="70"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nip" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">NIP</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="eori" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">EORI</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrTc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer TC </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrVatUe" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer VAT UE z kraju siedziby głównej</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="SprawaType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Sprawa/Prowadzący</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Prowadzacy" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Prowadzący sprawę</xs:documentation>
					<xs:documentation source="doc" xml:lang="pl">Dane osoby prowadzącej sprawę.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attribute name="imie" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Imię</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="60"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="nazwisko" use="required">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Nazwisko</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="90"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="telefon" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Telefon</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="35"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
					<xs:attribute name="email" use="optional">
						<xs:annotation>
							<xs:documentation source="name" xml:lang="pl">Adres email</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="70"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="nrSprawy" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer sprawy w SZPROT</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="StatusAPEType">
		<xs:annotation>
			<xs:documentation>Status aktywności prawno ekonomicznej</xs:documentation>
		</xs:annotation>
		<xs:attribute name="apeKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod statusu aktywności prawno-ekonomicznej</xs:documentation>
				<xs:documentation source="list">1527</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="apeNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Aktywność prawno-ekonomiczna</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="waznyOd" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny od</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="waznyDo" type="xs:date" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Ważny do</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="WnioskodawcaType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Standardowy zestaw danych stopki każdego z wniosków</xs:documentation>
		</xs:annotation>
		<xs:attribute name="idsisc" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer ID SISC</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Identyfikator SISC nadany osobie fizycznej.</xs:documentation>
				<xs:documentation source="rule">R30</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="17"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="imie" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Imię</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nazwisko" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwisko</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="90"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dataSporzadzenia" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data sporządzenia</xs:documentation>
				<xs:documentation source="rule">R31</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="WpisNaListeType">
		<xs:annotation>
			<xs:documentation source="name" xml:lang="pl">Wpis na listę</xs:documentation>
		</xs:annotation>
		<xs:attribute name="wpisNaListeKod" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Kod rodzaju listy</xs:documentation>
				<xs:documentation source="list">1516</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="wpisNaListeNazwa" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Wpis na listę</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="140"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrWpisu" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer wpisu na listę</xs:documentation>
				<xs:documentation source="rule">R25</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
</xs:schema>