<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:akc4n="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/AKC_4N.xsd" xmlns:tp3="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v3_0/Types.xsd" targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/AKC_4N.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2_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 NOWATORSKICH
    </xs:documentation>
	</xs:annotation>
	<xs:element name="AKC4N">
		<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 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 bedą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">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">
                    OBLICZENIA I ROZLICZANIA KWOTY 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.252 formularzy AKC-4/N
                            </xs:documentation>
														<xs:documentation source="box">
                              10
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="reductions" type="tp3:ZAmountP" 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:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Ogółem podatek. Od kwoty z poz.10 należy odjąć kwote 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="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">
                              13
                            </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(N), 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="tp3:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Podatek należny. Od kwoty z pozycji 12 należy odjąć sum kwot z poz. 13 i 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="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 z kwot z 
                              poz.13 i 14 należy odjąć kwote z poz.12; 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:complexType>
												<xs:sequence>
													<xs:element name="Item" minOccurs="0" maxOccurs="999">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">
                                OBLICZENIE KWOT 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="weightedAverageRetailPrice" type="tp3:ZAmountC" use="required">
																<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.
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.d
                                  </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 kg (z dokładnością do trzech miejsc po przecinku) 
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.e
                                  </xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="taxRatePercentage" type="tp3:ZPercentage" use="required">
																<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 export:Średnia ważona detaliczna cena sprzedaży tytoniu do palenia zobowiązująca w   
                              danym roku kalendarzowym.
                            </xs:documentation>
														<xs:documentation source="box">
                              247
                            </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 export:Ilość wyrobów w kg (z dokładnością do trzech miejsc po przecinku).                                                            
                            </xs:documentation>
														<xs:documentation source="box">
                              248
                            </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 export:Procentowa stawka podatku.
                            </xs:documentation>
														<xs:documentation source="box">
                              249a
                            </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 export:Kwotowa stawka podatku.
                            </xs:documentation>
														<xs:documentation source="box">
                              249b
                            </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">
                              250
                            </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:Średnia ważona detaliczna cena sprzedaży tytoniu do palenia obowiązująca w danym roku 				    
                              kalendarzowym
                            </xs:documentation>
														<xs:documentation source="box">
                              251
                            </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">
                              252
                            </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 KWOTACH WPŁAT 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">
                        172
                      </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">
                        173
                      </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">
                        174
                      </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 i 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 załącznika.Podatnik może załączyć wiele formularzy załącznika tego samego typu.
                </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>
