<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tr6="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v6_0/Trader.xsd" xmlns:tp6="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v6_0/Types.xsd" xmlns:akcu="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v1_0/AKC-UA.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:auth="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/Authentication.xsd" targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v1_0/AKC-UA.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1_0" xml:lang="pl">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v6_0/Types.xsd" schemaLocation="Types_Z6.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v6_0/Trader.xsd" schemaLocation="Trader_Z6.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/Authentication.xsd" schemaLocation="auth.xsd"/>
	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">
            DEKLARACJA UPROSZCZONA W SPRAWIE
			PODATKU AKCYZOWEGO OD NABYCIA WEWNĄTRZWSPÓLNOTOWEGO 
			WYROBÓW AKCYZOWYCH OBJĘTYCH STAWKĄ INNĄ NIŻ STAWKA ZEROWA
        </xs:documentation>
		<xs:documentation source="doc" xml:lang="pl">
            Podstawa prawna: 
            Art. 78 ust. 1 pkt 3 ustawy z dnia 6 grudnia 2008 r. o podatku akcyzowym (Dz. U. z 2020 r. poz. 722, z późn. zm.),  zwanej dalej „ustawą”. .
            Termin składania: 
            Do 10 dni, licząc od dnia powstania obowiązku podatkowego, w przypadku nabycia wewnątrzwspólnotowego wyrobów akcyzowych
            znajdujących się poza procedurą zawieszenia poboru akcyzy, 
            dokonanego na potrzeby wykonywanej przez podatnika działalności gospodarczej.
            Miejsce składania: 
            Urząd skarbowy, przy pomocy którego wykonuje swoje zadania naczelnik urzędu skarbowego
            właściwy ze względu na miejsce wykonywania czynności lub wystąpienia stanów faktycznych, 
            podlegających opodatkowaniu podatkiem akcyzowym; jeżeli czynności podlegające opodatkowaniu są wykonywane 
            lub stany faktyczne podlegające opodatkowaniu występują na obszarze właściwości miejscowej dwóch 
            lub więcej naczelników urzędów skarbowych – zgodnie z art. 14 ust. 4-4f ustawy; 
            jeżeli właściwym organem podatkowym jest Naczelnik Trzeciego Urzędu Skarbowego Warszawa-Śródmieście w Warszawie, 
            to miejscem składania jest Trzeci Urząd Skarbowy Warszawa-Śródmieście w Warszawie.
        </xs:documentation>
	</xs:annotation>
	<xs:element name="AKC-UA">
		<xs:annotation>
			<xs:documentation source="doc" xml:lang="pl">ELEMENT GŁÓWNY</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Header" minOccurs="1" maxOccurs="1">
					<xs:annotation>
						<xs:documentation source="doc" xml:lang="pl">NAGłÓWEK DEKLARACJI</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CorelationDocNumbers" minOccurs="0" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">Numery powiązanych dokumentów ZPNW
                                    </xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="CorelationDocNo" minOccurs="0" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">Numer powiązanego dokumentu ZPNW
                                                </xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="number" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Numer powiązanego dokumentu ZPNW</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="Trader" type="tr6:ZTrader">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">PODMIOT</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AmountPayable">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">WYSOKOŚĆ PODATKU AKCYZOWEGO</xs:documentation>
									<xs:documentation source="box">C</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="totalAmountOfTax" type="tp6:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Podatek akcyzowy z poz. 77</xs:documentation>
											<xs:documentation source="box">17</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfReductions" type="tp6:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Zwolnienia i obniżenia.</xs:documentation>
											<xs:documentation source="box">18</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfExciseStamps" type="tp6:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Kwota stanowiąca wartość podatkowych znaków akcyzy.</xs:documentation>
											<xs:documentation source="box">19</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="toPay" type="tp6:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Podatek akcyzowy do zapłaty.</xs:documentation>
											<xs:documentation source="box">20</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="CalcAmountPayable">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">OBLICZENIE WYSOKOŚCI PODATKU AKCYZOWEGO OD POSZCZEGÓLNYCH WYROBÓW AKCYZOWYCH </xs:documentation>
									<xs:documentation source="box">D</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Item" minOccurs="0" maxOccurs="99">
											<xs:complexType>
												<xs:attribute name="id" type="tp6:ZNumeric" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Liczba	porządkowa.</xs:documentation>
														<xs:documentation source="box">D.a</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="groupOfGoodsName" type="tp6:ZGroupOfGoodsNameEnum" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Grupa wyrobów, dla których ustalono odrębne stawki podatkue.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="goodsName" type="tp6:ZCharacter" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Nazwa wyrobów akcyzowych, dla których ustalono odrębne stawki podatku </xs:documentation>
														<xs:documentation source="box">D.b</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="obligationDate" type="xs:date" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">5)	Datę powstania obowiązku podatkowego z tytułu nabycia wewnątrzwspólnotowego wyrobów akcyzowych znajdujących się poza procedurą zawieszenia poboru akcyzy określa się na podstawie art. 10 ust. 4, 5 i 6 ustawy. </xs:documentation>
														<xs:documentation source="box">D.c</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="codeCN" type="tp6:ZCodeCN" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Ośmiocyfrowy kod CN (dla wyrobów węglowych – pozycja CN) </xs:documentation>
														<xs:documentation source="box">D.d</xs:documentation>
														<xs:documentation source="list">1</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="maximumRetailPriceValue" type="tp6:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
													  Wartość wg maksymalnej ceny detalicznej (dotyczy papierosów i tytoniu do palenia)
													</xs:documentation>
														<xs:documentation source="box">
													  D.f
													</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="weightedAverageRetailPrice" type="tp6:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
													  Średnia ważona detaliczna cena sprzedaży tytoniu do palenia obowiązująca w danym roku kalendarzowym (dotyczy wyrobów nowatorskich).
													</xs:documentation>
														<xs:documentation source="box">
													  D.g
													</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="valueOfGoods" type="tp6:ZAmountP" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Podstawa obliczenia podatku (wyrażona wartościowo w zł.).</xs:documentation>
														<xs:documentation source="box">D.e</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="numberOfGoods" type="tp6:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Podstawa obliczenia podatku (wyrażona jako Ilość wyrobów).</xs:documentation>
														<xs:documentation source="box">D.e</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxRate" type="tp6:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Stawka	podatku.</xs:documentation>
														<xs:documentation source="box">D.h</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxRateFromIsztar" type="xs:boolean" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Czy stawka podatku akcyzowego w polu taxRate jest pobrana z Systemu ISZTAR.</xs:documentation>
														<xs:documentation source="box">-</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxRatePercentage" type="tp6:ZPercentage" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Stawka podatku wyrażona ułamkiem dziesiętnym z dokładnością do 4 miejsc po przecinku.</xs:documentation>
														<xs:documentation source="box">D.h</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxRatePercentageFromIsztar" type="xs:boolean" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Czy stawka podatku akcyzowego w polu taxRatePercentage jest pobrana z Systemu ISZTAR.</xs:documentation>
														<xs:documentation source="box">-</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxMin" type="tp6:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Stawka podatkowa minimalna dla wyrobów tytoniowych.</xs:documentation>
														<xs:documentation source="box">-</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxMinFromIsztar" type="xs:boolean" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Czy stawka podatku akcyzowego w polu taxMin jest pobrana z Systemu ISZTAR.
														</xs:documentation>
														<xs:documentation source="box">-</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="amountOfTax" type="tp6:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Podatek akcyzowy (Zaokrąglenie – zgodnie z art. 63 § 1 ustawy z dnia 29 sierpnia 1997 r. – Ordynacja podatkowa</xs:documentation>
														<xs:documentation source="box">D.i</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="sum" type="tp6:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Kwota podatku razem</xs:documentation>
											<xs:documentation source="box">77</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Statement" type="tp6:ZExtStatement" minOccurs="1" maxOccurs="1"/>
						</xs:sequence>
						<xs:attribute name="identifier" type="tp6:ZIdentification" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">. Identyfikator podatkowy NIP / numer PESEL podatnika.</xs:documentation>
								<xs:documentation source="box">1</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="taxOffice" type="tp6:ZTaxOffice" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Naczelnik urzędu skarbowego. Urząd skarbowy, do którego adresowana jest deklaracja</xs:documentation>
								<xs:documentation source="box">4</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="submissionAim" type="tp6:ZSubmissionAim" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Cel złożenia formularza. Informacja czy dokument jest deklaracją czy korektą.</xs:documentation>
								<xs:documentation source="box">5</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="justification" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Pole tekstowe pozwalające na wprowadzenie informacji uzasadniającej	korektę.
                                </xs:documentation>
								<xs:documentation source="box">-</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="256"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="orgDocNo" type="tp6:ZDocNo" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Numer dokumentu pierwotnego, którego dotyczy korekta.</xs:documentation>
								<xs:documentation source="box">-</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="selfRef" type="tp6:ZSelfRef" use="required">
							<xs:annotation>
								<xs:documentation>Numer własny komunikatu.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="auth:Authentication" minOccurs="0" maxOccurs="1"/>
				<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/>
			</xs:sequence>
			<xs:attribute name="version" type="tp6:ZVersion" use="required">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Wersja schematu, z którą zgodny jest komunikat.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
