<?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/v6_0/AKC_4K.xsd" xmlns:tp9="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v9_0/Types.xsd" targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v6_0/AKC_4K.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="6_0" xml:lang="pl">
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v9_0/Types.xsd" schemaLocation="Types_Z9.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: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:complexType>
									<xs:attribute name="operatorNo" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Numer akcyzowy składu (pole 6 wypełnia podatnik prowadzący skład).
											</xs:documentation>
											<xs:documentation source="box">
											6
											</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 7 wypełnia podatnik bdący właścicielem wyrobów akcyzowych, korzystający z cudzego składu).
											</xs:documentation>
											<xs:documentation source="box">
											7
											</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">
											8
											</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="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="tp9:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Razem obliczony podatek. Suma kwot z poz. 275 formularzy AKC-4/K.
											</xs:documentation>
											<xs:documentation source="box">
											9
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="exemption" type="tp9:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Zwolnienia.
											</xs:documentation>
											<xs:documentation source="box">
											10
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="reductions" type="tp9:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Obniżenia.
											</xs:documentation>
											<xs:documentation source="box">
											11
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalExemptionOfReductions" type="tp9:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Razem Zwolnienia i obniżenia. 
											Suma kwot z poz. 10 i 11 nie może przekroczyć kwoty z poz. 9.
											</xs:documentation>
											<xs:documentation source="box">
											12
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalOfTax" type="tp9:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Ogółem podatek. Od kwoty z poz. 9 należy odjąć kwotę z poz. 12.
											</xs:documentation>
											<xs:documentation source="box">
											13
											</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="tp9:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Przedpłata podatku akcyzowego. 
											Suma kwot z pozycji 22 i 23 deklaracji AKC-PA(K) złożonej za miesiąc, którego niniejsza deklaracja dotyczy.
											</xs:documentation>
											<xs:documentation source="box">
											14
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="taxChargeable" type="tp9:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Podatek należny. 
											Od kwoty z poz.13 należy odjąć kwotę z poz.14; 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:attribute name="surplusExcessPayment" type="tp9:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Nadwyżka przedpłaty. 
											Od kwoty z poz. 14 należy odjąć kwotę z poz. 13; jeżeli różnica jest liczbą ujemną, należy wpisać 0.
											</xs:documentation>
											<xs:documentation source="box">
											16
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Items">
								<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:sequence>
										<xs:element name="Item" minOccurs="0" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">
												POZYCJE (a-g) - 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="tp9: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="tp9: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="tp9:ZShortages" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Możliwość oznaczenia w przypadku wykazywania ubytków wyrobów akcyzowych 
														(rzekraczają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="tp9: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="tp9: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="tp9: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="tp9:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Podatek akcyzowy w zł.
														</xs:documentation>
														<xs:documentation source="box">
														F.f
														</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDuty" type="xs:boolean" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Zwolnienie od podatku akcyzowego.
														</xs:documentation>
														<xs:documentation source="box">
														F.g
														</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="exportNumberOfGoods" type="tp9: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">
											271
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="exportTaxRate" type="tp9:ZAmountC" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Sprzedaż na eksport: Stawka podatku.
											</xs:documentation>
											<xs:documentation source="box">
											272
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="exportAmountOfTax" type="tp9:ZAmountP" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Sprzedaż na eksport: Podatek akcyzowy w zł.
											</xs:documentation>
											<xs:documentation source="box">
											273
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalNumberOfGoods" type="tp9: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">
											274
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfTax" type="tp9:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Razem: Podatek akcyzowy w zł.
											</xs:documentation>
											<xs:documentation source="box">
											275
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</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="tp9: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="tp9:ZAmountP" 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">
											172
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfExcessDailyPaymPrevDecl" type="tp9:ZAmountP" 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">
											173
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="totalAmountOfDailyPaym" type="tp9:ZAmountP" 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">
											174
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="identifier" type="tp9: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="tp9: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="tp9:ZFormNo" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
								Numer formularza.</xs:documentation>
								<xs:documentation source="box">
								-
								</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="version" type="tp9: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>
