<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:akc4f="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/AKC_4F.xsd" xmlns:tp3="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v3_0/Types.xsd" targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/AKC_4F.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4_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 WYROBÓW TYTONIOWYCH
    </xs:documentation>
	</xs:annotation>
	<xs:element name="AKC4F">
		<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">
								<xs:complexType>
									<xs:annotation>
										<xs:documentation>
                      DANE O SKŁADZIE PODATKOWYM I O ZAREJESTROWANYM ODBIORCY.
                    </xs:documentation>
										<xs:documentation source="box">
                      B
                    </xs:documentation>
										<xs:documentation>
                      NUMER AKCYZOWY I ADRES SKŁADU PODATKOWEGO
                    </xs:documentation>
										<xs:documentation>
                      B.1
                    </xs:documentation>
										<xs:documentation>
                      NUMER AKCYZOWY ZAREJESTROWANEGO ODBIORCY
                    </xs:documentation>
										<xs:documentation source="box">
                      B.2
                    </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="consumerNo" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
                        Numer akcyzowy zarejestrowanego odbiorcy (wypełnić w przypadku, gdy niniejszy formularz stanowi załącznik do 
                        formularza glównego aKC-4zo)
                      </xs:documentation>
											<xs:documentation source="box">
                        10
                      </xs:documentation>
										</xs:annotation>
									</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">
								<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. 253 formularzy AKC-4/F.
                            </xs:documentation>
														<xs:documentation source="box">
                              11
                            </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. 11.
                            </xs:documentation>
														<xs:documentation source="box">
                              12
                            </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. 11 należy odjąć kwote 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="amountOfExciseStamps" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Kwota stanowiąca wartość podatkowych znaków akcyzy.
                            </xs:documentation>
														<xs:documentation source="box">
                              14
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="amountOfPrePayment" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Kwota przedpłaty akcyzy. Suma kwot z pozycji 21 i 22 deklaracji AKC-PA (F) złożonej za miesiąc, 
                              którego niniejsza deklaracja dotyczy.
                            </xs:documentation>
														<xs:documentation source="box">
                              15
                            </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. 13 należy odjąć sume kwot z poz. 14 i 15; 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:attribute name="surplusExcessPayment" type="tp3:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Nadwyżka (Nadwyżka przedpłaty – w przypadku produkcji poza składem podatkowym). Od sumy kwot z 
                              poz. 14 i 15 należy odjąć kwot z poz. 13; jeżeli różnica jest liczbą ujemną, należy wpisać 0.
                            </xs:documentation>
														<xs:documentation source="box">
                              17
                            </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">
                                    W przypadku wykazywania ubytków wyrobów akcyzowych (przekraczających normy dopuszczalnych ubytków) lub całkowitego zniszczenia 
                                    wyrobów, w kolumnie "b", obok nazwy grupy wyrobów należy wpisać odpowiednio: "ubytki" lub "całkowite 
                                    zniszczenie".
                                  </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="valueOfGoods" type="tp3:ZAmountC" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Wartość wg maksymalnej ceny detalicznej.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.d
                                  </xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="numberOfGoods" type="tp3:ZAmountE" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Ilość wyrobów w tysiącach sztuk (z dokładnością do trzech miejsc po przecinku, w kg 
                                    (z dokładnością do dwóch miejsc po przecinku).
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.e
                                  </xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="taxMin" 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:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:totalDigits value="6"/>
																		<xs:fractionDigits value="2"/>
																		<xs:whiteSpace value="collapse"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="taxMinFromIsztar" type="xs:boolean" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Czy stawka podatkowa minimalna w polu taxMin jest pobrana z Systemu 
                                    ISZTAR.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    -
                                  </xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="taxRatePercentage" type="tp3:ZPercentage" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Stawka podatku - stawka procentowa.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.f.a
                                  </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="taxRate" type="tp3:ZAmountC" use="optional">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Stawka podatku - stawka kwotowa.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.f.b
                                  </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="amountOfTax" type="tp3:ZAmountT" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Łączna kwota podatku w zł.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.g
                                  </xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="exportValueOfGoods" type="tp3:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Sprzedaż na eksport: Wartość wg maksymalnej ceny detalicznej.
                            </xs:documentation>
														<xs:documentation source="box">
                              248
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportNumberOfGoods" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Sprzedaż na eksport: Ilość wyrobów w tysiącach sztuk (z dokładnością do trzech miejsc po 
                              przecinku), w kg (z dokładnością do dwóch miejsc po przecinku).
                            </xs:documentation>
														<xs:documentation source="box">
                              249
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportTaxRatePercentage" type="tp3:ZPercentage" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Sprzedaż na eksport: Stawka podatku - stawka procentowa.
                            </xs:documentation>
														<xs:documentation source="box">
                              250a
                            </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 - stawka kwotowa.
                            </xs:documentation>
														<xs:documentation source="box">
                              250b
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportTotalAmountOfTax" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Sprzedaż na eksport: Łączna kwota podatku w zł.
                            </xs:documentation>
														<xs:documentation source="box">
                              251
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="totalValueofGoods" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Razem: Wartość wg maksymalnej ceny detalicznej.
                            </xs:documentation>
														<xs:documentation source="box">
                              252
                            </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: Łączna kwota podatku w zł.
                            </xs:documentation>
														<xs:documentation source="box">
                              253
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="DailyPaymentInformation" minOccurs="0">
								<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="999">
											<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">
                        173
                      </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">
                        174
                      </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">
                        175
                      </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 misią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>
