<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
		   xmlns:akc4k="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v5_0/AKC_4K.xsd"
		   xmlns:tp3="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v3_0/Types.xsd"
		   targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v5_0/AKC_4K.xsd"
		   elementFormDefault="qualified"
		   attributeFormDefault="unqualified"
		   version="5_0"
		   xml:lang="pl">
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v3_0/Types.xsd" schemaLocation="Types_Z3.xsd"/>
	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">PODATEK AKCYZOWY OD PREPARATÓW SMAROWYCH, OLEJÓW SMAROWYCH I POZOSTAŁYCH OLEJÓW</xs:documentation>
	</xs:annotation>
	<xs:element name="AKC4K">
		<xs:annotation>
			<xs:documentation source="doc" xml:lang="pl">ELEMENT GŁÓWNY</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Header">
					<xs:annotation>
						<xs:documentation source="doc" xml:lang="pl">NAGłÓWEK DEKLARACJI</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Warehouse" minOccurs="0" maxOccurs="1">
								<xs:complexType>
									<xs:annotation>
										<xs:documentation source="doc" xml:lang="pl">DANE O SKŁADZIE PODATKOWYM</xs:documentation>
										<xs:documentation source="box">B</xs:documentation>
									</xs:annotation>
									<xs:attribute name="operatorNo" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Numer akcyzowy składu (pole 7 wypełnia podatnik prowadzący skład)</xs:documentation>
											<xs:documentation source="box">7</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="userNo" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Numer akcyzowy składu (pole 8 wypełnia podatnik bdący właścicielem wyrobów akcyzowych, korzystający z cudzego składu)</xs:documentation>
											<xs:documentation source="box">8</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="address" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Adres składu</xs:documentation>
											<xs:documentation source="box">9</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="512"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="oneTime" type="xs:boolean" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Jednorazowe.</xs:documentation>
											<xs:documentation source="box">-</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="ExciseDutyInformation" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">OBLICZENIA I ROZLICZENIA KWOT PODATKU AKCYZOWEGO</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="CalculOfAmountOfExciseDuty">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">OBLICZENIE WYSOKOŚCI PODATKU AKCYZOWEGO</xs:documentation>
												<xs:documentation source="box">C</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="totalAmountOfTax" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Razem obliczony podatek. Suma kwot z poz. 258 formularzy AKC-4/K.</xs:documentation>
														<xs:documentation source="box">10</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="reductions" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Zwolnienia i obniżenia. Wykazana kwota nie może przekroczyć kwoty z poz. 10.</xs:documentation>
														<xs:documentation source="box">11</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="totalOfTax" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Ogółem podatek. Od kwoty z poz. 10 należy odjąć kwotę z poz. 11.</xs:documentation>
														<xs:documentation source="box">12</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="CleareanceExciseDuty">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">ROZLICZENIE PODATKU AKCYZOWEGO</xs:documentation>
												<xs:documentation source="box">D</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="amountOfPrePayment" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Kwota przedpłaty akcyzy. Suma kwot z pozycji 21 i 22 deklaracji AKC-PA(K) złożonej za miesiąc, którego niniejsza deklaracja dotyczy.</xs:documentation>
														<xs:documentation source="box">13</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxChargeable" type="tp3:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Podatek należny. Od kwoty z poz.12 należy odjąć kwotę z poz.13; jeżeli różnica jest liczbą ujemną, należy wpisać 0.</xs:documentation>
														<xs:documentation source="box">14</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="surplusExcessPayment" type="tp3:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Nadwyżka przedpłaty. Od kwoty z poz. 13 należy odjąć kwotę z poz. 12; jeżeli różnica jest liczbą ujemną, należy wpisać 0.</xs:documentation>
														<xs:documentation source="box">15</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="Items">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Item" minOccurs="0" maxOccurs="999">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">OBLICZENIE WYSOKOŚCI PODATKU AKCYZOWEGO OD POSZCZEGÓLNYCH WYROBÓW</xs:documentation>
															<xs:documentation source="box">F</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="id" type="tp3:ZNumeric" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Liczba porządkowa.</xs:documentation>
																	<xs:documentation source="box">F.a</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="groupOfGoodsName" type="tp3:ZCharacter" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Nazwa grupy wyrobów, dla których ustalono odrębne stawki podatkowe.</xs:documentation>
																	<xs:documentation source="box">F.b</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="shortages" type="tp3:ZShortages" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Możliwość oznaczenia w przypadku wykazywania ubytków wyrobów akcyzowych
																												 (przekraczających normy dopuszczalnych ubytków) lub całkowitego zniszczenia wyrobów.
																	</xs:documentation>
																	<xs:documentation source="box">-</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="codeCN" type="tp3:ZCodeCN" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Ośmiocyfrowy kod CN.</xs:documentation>
																	<xs:documentation source="box">F.c</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="numberOfGoods" type="tp3:ZAmountE" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Ilość wyrobów w tysiącach litrów (z dokładnością do trzech miejsc po przecinku).</xs:documentation>
																	<xs:documentation source="box">F.d</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="taxRate" type="tp3:ZAmountC" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Stawka podatku.</xs:documentation>
																	<xs:documentation source="box">F.e</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="fromIsztar" type="xs:boolean" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Czy stawka podatku akcyzowego jest pobrana z Systemu ISZTAR.</xs:documentation>
																	<xs:documentation source="box">-</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="amountOfTax" type="tp3:ZAmountT" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">Kwota podatku w zł.</xs:documentation>
																	<xs:documentation source="box">F.f</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="exportNumberOfGoods" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Sprzedaż na eksport: Ilość wyrobów na eksport w tysiącach litrów
															                                         ( z dokładnością do trzech miejsc po przecinku).
                            							</xs:documentation>
														<xs:documentation source="box">254</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportTaxRate" type="tp3:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Sprzedaż na eksport: Stawka podatku.</xs:documentation>
														<xs:documentation source="box">255</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportAmountOfTax" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Sprzedaż na eksport: Kwota podatku w zł.</xs:documentation>
														<xs:documentation source="box">256</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="totalNumberOfGoods" type="tp3:ZAmountE" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Razem: ilość wyrobów w tysiącach litrów
															                                         (z dokładnością do trzech miejsc po przecinku).
														</xs:documentation>
														<xs:documentation source="box">257</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="totalAmountOfTax" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Razem: Kwota podatku w zł.</xs:documentation>
														<xs:documentation source="box">258</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="DailyPaymentInformation" minOccurs="0" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">SUMA KWOT WPŁAT DZIENNYCH</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="DailyAmount" type="tp3:ZDailyAmount" minOccurs="0" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">INFORMACJA O WPŁATACH DZIENNYCH</xs:documentation>
												<xs:documentation source="box">E</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="totalDueAmountOfDailyPaym" type="tp3:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Razem kwota należnych wpłat dziennych (suma kwot z kolumny c).</xs:documentation>
											<xs:documentation source="box">171</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfExcessDailyPaymPrevDecl" type="tp3:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Razem kwota nadwyżki wpłat z poprzedniej deklaracji zaliczona na
												                                         poczet wpłat dziennych (suma kwot z kolumny e).
											</xs:documentation>
											<xs:documentation source="box">172</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfDailyPaym" type="tp3:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Razem kwota dokonanych wpłat dziennych (suma kwot z kolumny f).</xs:documentation>
											<xs:documentation source="box">173</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="identifier" type="tp3: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="period" type="tp3:ZPeriod" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Data w formacie miesiąc/rok za jaki została złożona deklaracja.</xs:documentation>
								<xs:documentation source="box">2,3</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="formNo" type="tp3:ZFormNo" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Numer formularza.</xs:documentation>
								<xs:documentation source="box">4</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="version" type="tp3: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>
