<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:akc4h="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_1/AKC_4H.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_1/AKC_4H.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4_1" 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 ENERGII ELEKTRYCZNEJ
    </xs:documentation>
	</xs:annotation>
	<xs:element name="AKC4H">
		<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="ExciseDutyInformation" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">
                    DANE O OBLICZENIACH 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:annotation>
											<xs:complexType>
												<xs:attribute name="totalAmountOfTax" type="tp3:ZAmountT" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Razem obliczony podatek. kwota z poz. 63 załącznika AKC-4/H.
                            </xs:documentation>
														<xs:documentation source="box">
                              6
                            </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. 6.
                            </xs:documentation>
														<xs:documentation source="box">
                              7
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyA" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 1 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7a
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyB" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 6 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7b
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyC" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7c
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyD" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7a ustawy, w tym:
                            </xs:documentation>
														<xs:documentation source="box">
                              7d
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyE" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7a pkt 1 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7e
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyF" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Ilość wykorzystanej w ten sposób energii elektrycznej w MWh (z dokładnością do trzech miejsc po przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              7f
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyG" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7a pkt 2 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7g
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyH" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Ilość wykorzystanej w ten sposób energii elektrycznej w MWh (z dokładnością do trzech miejsc po przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              7h
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyI" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7a pkt 3 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7i
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyJ" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Ilość wykorzystanej w ten sposób energii elektrycznej w MWh (z dokładnością do trzech miejsc po przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              7j
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyK" type="tp3:ZAmountT" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              kwota zwolnienia od podatku akcyzowego energii elektrycznej na podstawie art. 30 ust. 7a pkt 4 ustawy
                            </xs:documentation>
														<xs:documentation source="box">
                              7k
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exemptionFromExciseDutyEnergyL" type="tp3:ZAmountE" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                              Ilość wykorzystanej w ten sposób energii elektrycznej w MWh (z dokładnością do trzech miejsc po przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              7l
                            </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. 6 należy odjąć kwote z poz.7.
                            </xs:documentation>
														<xs:documentation source="box">
                              8
                            </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">
                                C
                              </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">
                                    C.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">
                                    C.b
                                  </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">
                                    C.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ść energii elektrycznej (z dokładnością do trzech miejsc po 
                                    przecinku).
                                  </xs:documentation>
																	<xs:documentation source="box">
                                    C.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">
                                    C.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">
                                    C.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ść energii elektrycznej w MWh (z dokładnością do trzech miejsc po 
                              przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              59
                            </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">
                              60
                            </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">
                              61
                            </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ść energii elektrycznej w MWh (z dokładnością do trzech miejsc po 
                              przecinku)
                            </xs:documentation>
														<xs:documentation source="box">
                              62
                            </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">
                              63
                            </xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</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: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>
