<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tr8="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v8_0/Trader.xsd" xmlns:tp8="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v8_0/Types.xsd" xmlns:opal="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_1/OPAL.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:auth="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/Authentication.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_1/OPAL.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2_1" xml:lang="pl">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v8_0/Types.xsd" schemaLocation="Types_Z8.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v8_0/Trader.xsd" schemaLocation="Trader_Z8.xsd"/>
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v2_0/Authentication.xsd" schemaLocation="auth.xsd"/>
	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">
            INFORMACJA W SPRAWIE OPŁATY PALIWOWEJ
        </xs:documentation>
		<xs:documentation source="doc" xml:lang="pl">
            Podstawa prawna:
            Art. 37o ust. 1 ustawy z dnia 27 października 1994 r. o autostradach płatnych oraz o Krajowym Funduszu Drogowym 
            (Dz. U. z 2020 r. poz. 2268, z późn. zm.).  
            Termin składania:
            a) do 25. dnia miesiąca następującego po miesiącu, w którym powstał obowiązek zapłaty – w przypadku producenta paliw silnikowych lub 
            gazu, podmiotu dokonującego nabycia wewnątrzwspólnotowego w rozumieniu przepisów o podatku akcyzowym paliw silnikowych lub gazu 
            oraz innego podmiotu podlegającego na podstawie przepisów o podatku akcyzowym obowiązkowi podatkowemu w zakresie podatku 
            akcyzowego od paliw silnikowych lub gazu z innego tytułu niż import, 
            b) określony dla należności celnych – w przypadku importera paliw silnikowych lub gazu oraz innego podmiotu podlegającego na podstawie
            przepisów o podatku akcyzowym obowiązkowi podatkowemu w zakresie podatku akcyzowego od paliw silnikowych lub gazu z tytułu importu.   
            Miejsce składania: 
            Urząd skarbowy, przy pomocy którego wykonuje swoje zadania naczelnik urzędu skarbowego właściwy miejscowo w sprawach podatku 
            akcyzowego – w przypadku producenta paliw silnikowych lub gazu, podmiotu dokonującego nabycia wewnątrzwspólnotowego w rozumieniu 
            przepisów o podatku akcyzowym paliw silnikowych lub gazu oraz innego podmiotu podlegającego na podstawie przepisów o podatku 
            akcyzowym obowiązkowi podatkowemu w zakresie podatku akcyzowego od paliw silnikowych lub gazu z innego tytułu niż import. 
            Urząd celno-skarbowy, przy pomocy którego wykonuje swoje zadania naczelnik urzędu celno-skarbowego właściwy ze względu na miejsce 
            powstania długu celnego – w przypadku importera paliw silnikowych lub gazu oraz innego podmiotu podlegającego na podstawie przepisów 
            o podatku akcyzowym obowiązkowi podatkowemu w zakresie podatku akcyzowego od paliw silnikowych lub gazu z tytułu importu.  
           Pouczenie:
		   W przypadku niewpłacenia w obowiązującym terminie kwoty z poz. 20 lub wpłacenia jej w niepełnej wysokości, 
		   niniejsza informacja stanowi podstawę do wystawienia tytułu wykonawczego, zgodnie z przepisami ustawy 
		   z dnia 17 czerwca 1966 r. o postępowaniu egzekucyjnym w administracji (Dz. U. z 2020 r. poz. 1427, z późn. zm.). 

        </xs:documentation>
	</xs:annotation>
	<xs:element name="OPAL">
		<xs:annotation>
			<xs:documentation source="doc" xml:lang="pl">ELEMENT GŁÓWNY </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Header" minOccurs="1" maxOccurs="1">
					<xs:annotation>
						<xs:documentation source="doc" xml:lang="pl">
						NAGłÓWEK DEKLARACJI
						</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Trader" type="tr8:ZTrader" minOccurs="1" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">
									PODMIOT-Dane składającego
									</xs:documentation>
									<xs:documentation source="box">B.
									</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Application" minOccurs="0" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">
									Zgłoszenie celne
									</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Positions" minOccurs="1" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">
												Pozycje
												</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="position" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Pozycja
														</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="correction" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Sprostowanie
														</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="500"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="nrSAD" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Numer zgłoszenia celnego
											</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="30"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="dateApplication" type="xs:date" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">
											Data zgłoszenia celnego
											</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Collaterals" minOccurs="0" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">
									Dane zabezpieczeń
									</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Collateral" minOccurs="0" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">
												Dane zabezpieczenia
												</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="type" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
														Rodzaj zabezpieczenia
														</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="GEN">
																<xs:annotation>
																	<xs:documentation>Generalne</xs:documentation>
																</xs:annotation>
															</xs:enumeration>
															<xs:enumeration value="JEDN">
																<xs:annotation>
																	<xs:documentation>Jednorazowe</xs:documentation>
																</xs:annotation>
															</xs:enumeration>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="number" type="tp8:TGrn" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Numer zabezpieczenia jednorazowego lub generalnego. 
														Dla zabezpieczeń generalnych Typ reprezentujący numer GRN, przewiduje
														przechowanie numeru GRN: - dla zabezpieczeń (generalnych / ryczałtowych) - zgodnie z pkt 2.1.3.1 OPZ - dla
														gwarancji generalnych / zwolnień z obowiązku złożenia gwarancji (stosowane w procedurze tranzytu) - zgodnie z
														pkt 2.1.3.2 OPZ - dla zabezpieczeń akcyzowych - zgodnie	z pkt 2.1.3.3 OPZ - dla zabezpieczeń składanych przez
														podmioty w związku z prowadzoną działalnością w zakresie gier hazardowych - zgodnie z pkt 2.1.3.4 OPZ - dla
														gwarancji pojedynczych składanych w formie karnetu stosowanych w procedurze tranzytu - zgodnie z pkt
														2.4.1.6 OPZ - dla zabezpieczeń akcyzowych generalnych -	wariant "karta do saldowania" - numer karty do saldowania
														</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="value" type="tp8:ZAmountC" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Kwota zabezpieczenia</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="dateCollateral" type="xs:date" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Data złożenia zabezpieczenia</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="kodGrn" type="tp8:TKodDostepu" use="optional">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">
                                                            Kod dostępu dla zabezpieczeń generalnych .
                                                        </xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="CalcFeulFee" minOccurs="1" maxOccurs="1">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Item" minOccurs="0" maxOccurs="99">
											<xs:annotation>
												<xs:documentation source="doc" xml:lang="pl">POZYCJE OPŁATY PALIWOWEJ</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="id" type="tp8:ZNumeric" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Liczba porządkowa</xs:documentation>
														<xs:documentation source="box">D.a</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="exciseGoodsName" type="tp8:ZGroupOfGoodsName" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Nazwa wyrobów akcyzowych.</xs:documentation>
														<xs:documentation source="box">C.b</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="codeCN" type="tp8:ZCodeCN" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Ośmiocyfrowy kod CN.</xs:documentation>
														<xs:documentation source="box">D.c</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="numberOfGoods" type="tp8:ZAmountE" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Podstawa obliczenia wysokości opłaty paliwowej</xs:documentation>
														<xs:documentation source="box">D.d.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="taxRate" type="tp8:ZAmountC" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Stawka opłaty.</xs:documentation>
														<xs:documentation source="box">D.e.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="amountOfFee" type="tp8:ZAmountP" use="required">
													<xs:annotation>
														<xs:documentation source="doc" xml:lang="pl">Kwota opłaty w zł.</xs:documentation>
														<xs:documentation source="box">D.f</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="sum" type="tp8:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Kwota ogółem opłaty paliwowej do zapłaty.(Suma pozycji z atrybutu: amountOfFee)</xs:documentation>
											<xs:documentation source="box">116</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Statement" type="tp8:ZExtStatement" minOccurs="1" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">Oświadczenie podatnika lub osoby reprezentującej podatnika</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="identifier" type="tp8:ZIdentification" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Identyfikator podatnika (NIP lub PESEL).
                                </xs:documentation>
								<xs:documentation source="box">1</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="typeOfTrader" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Typ podmiotu.
                                </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="IMP">
										<xs:annotation>
											<xs:documentation>Importer.</xs:documentation>
										</xs:annotation>
									</xs:enumeration>
									<xs:enumeration value="PRNAB">
										<xs:annotation>
											<xs:documentation>Producent/Nabywca.</xs:documentation>
										</xs:annotation>
									</xs:enumeration>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="period" type="tp8:ZPeriod" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Data w formacie rok i miesiąc (RRRR-MM),
                                    gdzie RRRR - oznacza rok, MM - oznacza miesiąc.
                                </xs:documentation>
								<xs:documentation source="box">4,5</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="taxOffice" type="tp8:ZTaxOffice" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Urząd skarbowy, do którego adresowana jest deklaracja.
                                </xs:documentation>
								<xs:documentation source="box">6</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="submissionAim" type="tp8:ZSubmissionAim" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Cel złożenia formularza. Informacja czy dokument jest deklaracją czy korektą.
                                </xs:documentation>
								<xs:documentation source="box">7</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="orgDocNo" type="tp8:ZDocNo" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Numer dokumentu pierwotnego, którego dotyczy korekta.
                                </xs:documentation>
								<xs:documentation source="box">-</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="justification" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Pole tekstowe pozwalające na wprowadzenie informacji uzasadniającej korektę.
                                </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="256"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="selfRef" type="tp8:ZSelfRef" use="optional">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Numer własny komunikatu.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="auth:Authentication" minOccurs="0" maxOccurs="1"/>
				<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/>
			</xs:sequence>
			<xs:attribute name="version" type="tp8: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>
