<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:akc4m="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/AKC_4M.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_4M.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 PŁYNU DO PAPIEROSÓW ELEKTRONICZNYCH
    </xs:documentation>
	</xs:annotation>
	<xs:element name="AKC4M">
		<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 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. 259 formularzy AKC-4/M.
                            </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ąć 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 (M) 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 poz. 12 należy odjąć sume 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 kwot z 
                              poz. 13 i 14 należy odjąć kwot 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 WYSOKOŚCI PODATKU AKCYZOWEGO OD PŁYNU DO PAPIEROSÓW 
                                ELEKTRONICZNYCH
                              </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="numberOfGoods" use="required">
																<xs:annotation>
																	<xs:documentation source="doc" xml:lang="pl">
                                    Ilość wyrobów w mililitrach (z dokładnością do jednego miejsca po przecinku)
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    F.d
                                  </xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:decimal">
																		<xs:minInclusive value="0"/>
																		<xs:totalDigits value="15"/>
																		<xs:fractionDigits value="1"/>
																	</xs:restriction>
																</xs:simpleType>	
															</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="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">
                                    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 w mililitrach (z dokładnością do jednego miejsca po 
                              przecinku).
                            </xs:documentation>
														<xs:documentation source="box">
                              255
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exportTaxRate" type="tp3:ZAmountC" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Sprzedaż na eksport: Stawka podatku.
                            </xs:documentation>
														<xs:documentation source="box">
                              256
                            </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">
                              257
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="totalNumberOfGoods" type="tp3:ZAmountC" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Razem: Ilość wyrobów w mililitrach (z dokładnością do jednego miejsca po 
                              przecinku).
                            </xs:documentation>
														<xs:documentation source="box">
                              258
                            </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">
                              259
                            </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">
                    INFORMACJA O WPŁATACH DZIENNYCH
                  </xs:documentation>
									<xs:documentation source="box">
                    E
                  </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/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>
