<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:kus="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/KodyUrzedowSkarbowych/" xmlns:tns="http://crd.gov.pl/wzor/2022/02/07/11327/" targetNamespace="http://crd.gov.pl/wzor/2022/02/07/11327/" elementFormDefault="qualified" attributeFormDefault="unqualified" xml:lang="pl">
	<xsd:import namespace="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/KodyUrzedowSkarbowych/" schemaLocation="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/KodyUrzedowSkarbowych/KodyUrzedowSkarbowych_v8-0E.xsd"/>
	<xsd:import namespace="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" schemaLocation="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/StrukturyDanych_v10-0E.xsd"/>
	<xsd:complexType name="TNaglowek">
		<xsd:annotation>
			<xsd:documentation>Nagłówek wniosku</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="KodFormularza">
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="tns:TKodFormularza">
							<xsd:attribute name="kodSystemowy" type="xsd:string" use="required" fixed="WH-WPZ (2)"/>
							<xsd:attribute name="kodPodatku" type="xsd:string" use="required" fixed="PPR"/>
							<xsd:attribute name="rodzajZobowiazania" type="xsd:token" use="required" fixed="Z"/>
							<xsd:attribute name="wersjaSchemy" type="xsd:string" use="required" fixed="1-0E"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="WariantFormularza">
				<xsd:simpleType>
					<xsd:restriction base="xsd:byte">
						<xsd:enumeration value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="CelZlozenia">
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="etd:TCelZlozenia">
							<xsd:attribute name="poz" type="xsd:string" use="required" fixed="P_5"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="Rok">
				<xsd:simpleType>
					<xsd:restriction base="etd:TRok">
						<xsd:minInclusive value="2022"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="KodUrzedu" type="kus:TKodUS">
				<xsd:annotation>
					<xsd:documentation>Urząd skarbowy, o którym mowa w art. 44f ust. 15 ustawy</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="TKodFormularza">
		<xsd:annotation>
			<xsd:documentation>Symbol wzoru formularza</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="WH-WPZ"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TTekstowy">
		<xsd:annotation>
			<xsd:documentation>Typ znakowy ograniczony do 2000 znaków</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="1"/>
			<xsd:maxLength value="2000"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TDataP">
		<xsd:annotation>
			<xsd:documentation>Ograniczenie dla dat definiujących okres, którego dotyczy wniosek</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="etd:TData">
			<xsd:minInclusive value="2022-01-01"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="TOsobaFizyczna1">
		<xsd:annotation>
			<xsd:documentation>Podstawowy zestaw danych o osobie fizycznej z identyfikatorem NIP albo PESEL</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="OsobaFizyczna" type="tns:TIdentyfikatorOsobyFizycznej1"/>
			<xsd:element name="AdresZamieszkania">
				<xsd:complexType>
					<xsd:complexContent>
						<xsd:extension base="etd:TAdres">
							<xsd:attribute name="rodzajAdresu" type="xsd:string" use="required" fixed="RAD"/>
						</xsd:extension>
					</xsd:complexContent>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TIdentyfikatorOsobyFizycznej1">
		<xsd:annotation>
			<xsd:documentation>Podstawowy zestaw danych identyfikacyjnych o osobie fizycznej z identyfikatorem NIP albo PESEL</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:choice>
				<xsd:element name="NIP" type="etd:TNrNIP">
					<xsd:annotation>
						<xsd:documentation>Identyfikator podatkowy NIP</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="PESEL" type="etd:TNrPESEL">
					<xsd:annotation>
						<xsd:documentation>Identyfikator podatkowy numer PESEL</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:element name="ImiePierwsze" type="etd:TImie">
				<xsd:annotation>
					<xsd:documentation>Pierwsze imię</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Nazwisko" type="etd:TNazwisko">
				<xsd:annotation>
					<xsd:documentation>Nazwisko</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="DataUrodzenia" type="etd:TData" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Data urodzenia</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TIdentyfikatorOsobyFizycznej2">
		<xsd:annotation>
			<xsd:documentation>Podstawowy zestaw danych identyfikacyjnych o osobie fizycznej z identyfikatorem NIP</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="NIP" type="etd:TNrNIP">
				<xsd:annotation>
					<xsd:documentation>Identyfikator podatkowy NIP</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="ImiePierwsze" type="etd:TImie">
				<xsd:annotation>
					<xsd:documentation>Pierwsze imię</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Nazwisko" type="etd:TNazwisko">
				<xsd:annotation>
					<xsd:documentation>Nazwisko</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="OfficialCopyFileType_Type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="application/pdf"/>
			<xsd:enumeration value="image/jpeg"/>
			<xsd:enumeration value="image/tiff"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="FileAttachment_Type">
		<xsd:sequence>
			<xsd:element name="TypPliku" type="tns:OfficialCopyFileType_Type">
				<xsd:annotation>
					<xsd:documentation>Typ pliku</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NazwaPliku">
				<xsd:annotation>
					<xsd:documentation>Nazwa pliku (bez ścieżki)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:token">
						<xsd:minLength value="1"/>
						<xsd:maxLength value="40"/>
						<xsd:pattern value="[A-Za-z0-9\-_:().,\+ ]*"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="OpisPliku" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Opis pliku</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:maxLength value="256"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TPodmiotDowolnyBezAdresu2">
		<xsd:annotation>
			<xsd:documentation>Skrócony zestaw danych o osobie fizycznej lub niefizycznej z identyfikatorem NIP</xsd:documentation>
		</xsd:annotation>
		<xsd:choice>
			<xsd:element name="OsobaFizyczna" type="tns:TIdentyfikatorOsobyFizycznej2"/>
			<xsd:element name="OsobaNiefizyczna" type="etd:TIdentyfikatorOsobyNiefizycznej1"/>
		</xsd:choice>
	</xsd:complexType>
	<xsd:simpleType name="TNrUPO">
		<xsd:annotation>
			<xsd:documentation>Typ dedykowany dla numeru UPO</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:token">
			<xsd:pattern value="[a-f0-9]{32}"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:element name="Wniosek">
		<xsd:annotation>
			<xsd:documentation>WNIOSEK PODATNIKA O ZWROT PODATKU DOCHODOWEGO OD OSÓB FIZYCZNYCH</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="Naglowek" type="tns:TNaglowek">
					<xsd:annotation>
						<xsd:documentation>Nagłówek wniosku</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Podmiot1">
					<xsd:annotation>
						<xsd:documentation>Dane identyfikacyjne podatnika</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:complexContent>
							<xsd:extension base="tns:TOsobaFizyczna1">
								<xsd:attribute name="rola" type="xsd:string" use="required" fixed="Podatnik"/>
							</xsd:extension>
						</xsd:complexContent>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="Podmiot2">
					<xsd:annotation>
						<xsd:documentation>Dane identyfikacyjne płatnika dokonującego wypłaty</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:complexContent>
							<xsd:extension base="tns:TPodmiotDowolnyBezAdresu2">
								<xsd:attribute name="rola" type="xsd:string" use="required" fixed="Płatnik dokonujący wypłaty"/>
							</xsd:extension>
						</xsd:complexContent>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="PozycjeSzczegolowe">
					<xsd:annotation>
						<xsd:documentation>Informacja o wypłatach, wnioskowana kwota zwrotu, oświadczenie składającego wniosek, informacje o załączonych kopiach dokumentów</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:sequence>
								<xsd:element name="P_6" type="etd:TWybor1_2">
									<xsd:annotation>
										<xsd:documentation>Uzupełnienie poprzednio złożonego wniosku: 1 - tak, 2 - nie</xsd:documentation>
									</xsd:annotation>
									<!--W przypadku uzupełnienia poprzednio złożonego wniosku (wybór wartości 1) element Zalaczniki jest obowiązkowy.-->
								</xsd:element>
								<xsd:element name="P_6A" type="tns:TNrUPO" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation>Numer Urzędowego Potwierdzenia Odbioru (UPO) złożenia wniosku, którego dotyczy uzupełnienie. Należy wypełnić w przypadku wyboru w poz. 6 wartości 1</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
							</xsd:sequence>
							<xsd:sequence>
								<xsd:element name="P_D" maxOccurs="unbounded">
									<xsd:annotation>
										<xsd:documentation>Informacje o wypłatach</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:sequence>
											<xsd:annotation>
												<xsd:documentation>Informacja o wypłatach</xsd:documentation>
											</xsd:annotation>
											<xsd:element name="P_D24" type="etd:TZnakowy">
												<xsd:annotation>
													<xsd:documentation>Tytuł wypłaty</xsd:documentation>
												</xsd:annotation>
											</xsd:element>
											<xsd:element name="P_D25" type="tns:TDataP">
												<xsd:annotation>
													<xsd:documentation>Data otrzymania wypłaty</xsd:documentation>
												</xsd:annotation>
											</xsd:element>
											<xsd:element name="P_D26">
												<xsd:annotation>
													<xsd:documentation>Kwota wypłaty</xsd:documentation>
												</xsd:annotation>
												<xsd:simpleType>
													<xsd:restriction base="etd:TKwota2Nieujemna">
														<xsd:minExclusive value="0"/>
													</xsd:restriction>
												</xsd:simpleType>
											</xsd:element>
											<xsd:element name="P_D27" type="etd:TKwota2Nieujemna">
												<xsd:annotation>
													<xsd:documentation>Kwota pobranego podatku</xsd:documentation>
												</xsd:annotation>
											</xsd:element>
											<xsd:element name="P_D28">
												<xsd:annotation>
													<xsd:documentation>Wnioskowana kwota zwrotu</xsd:documentation>
												</xsd:annotation>
												<xsd:simpleType>
													<xsd:restriction base="etd:TKwota2Nieujemna">
														<xsd:minExclusive value="0"/>
													</xsd:restriction>
												</xsd:simpleType>
											</xsd:element>
										</xsd:sequence>
										<xsd:attribute name="typ" use="required" fixed="G"/>
									</xsd:complexType>
								</xsd:element>
								<xsd:element name="P_29">
									<xsd:annotation>
										<xsd:documentation>Wnioskowana kwota zwrotu ogółem</xsd:documentation>
									</xsd:annotation>
									<xsd:simpleType>
										<xsd:restriction base="etd:TKwota2Nieujemna">
											<xsd:minExclusive value="0"/>
										</xsd:restriction>
									</xsd:simpleType>
								</xsd:element>
							</xsd:sequence>
							<xsd:element name="P_30" type="etd:TZnakowy">
								<xsd:annotation>
									<xsd:documentation>Okres, którego dotyczy wniosek</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="P_31" type="tns:TTekstowy">
								<xsd:annotation>
									<xsd:documentation>Treść wniosku</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="P_32" type="tns:TTekstowy" minOccurs="0">
								<xsd:annotation>
									<xsd:documentation>Uzupełnienie treści wniosku</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="P_33" type="tns:TTekstowy" minOccurs="0">
								<xsd:annotation>
									<xsd:documentation>Inne informacje, w tym ułatwiające kontakt z wnioskodawcą</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="VATRefundApplication" minOccurs="0">
								<xsd:complexType>
									<xsd:sequence>
										<xsd:element name="Zalaczniki" minOccurs="0">
											<xsd:annotation>
												<xsd:documentation>Załączniki</xsd:documentation>
											</xsd:annotation>
											<!--Nazwa pliku powinna:
- być krótka,
- zawierać rozszerzenie pliku,
- dokładnie odpowiadać nazwie pliku zawartego w archiwum ZIP(również pod względem wielkości liter),
- nie zawierać znaków diakrytycznych (np. polskich lub obcych liter narodowych)
- nie zawierać nazwy archiwum ZIP,
- muszą zostać wymienione wszystkie pliki zawarte w dołączanym archiwum „ZIP”.
W przypadku niezastosowania się do powyższych zaleceń wniosek nie zostanie przyjęty.

Kopia dokumentów ZIP powinna:
- zawierać jeden załącznik w postaci archiwum (algorytm DEFLATE), 
- zawierać wszystkie opisane pliki, 
- nie zawierać podkatalogów, 
- nie może być chroniona hasłem ani zaszyfrowana.-->
											<xsd:complexType>
												<xsd:sequence>
													<xsd:element name="InfOKopiiDokumentu" type="tns:FileAttachment_Type" minOccurs="0" maxOccurs="unbounded">
														<xsd:annotation>
															<xsd:documentation>Informacja o załączonej kopii dokumentu</xsd:documentation>
														</xsd:annotation>
													</xsd:element>
												</xsd:sequence>
											</xsd:complexType>
											<xsd:unique name="KopiaDokumentu_Unique">
												<xsd:selector xpath="./tns:InfOKopiiDokumentu"/>
												<xsd:field xpath="tns:NazwaPliku"/>
											</xsd:unique>
										</xsd:element>
									</xsd:sequence>
								</xsd:complexType>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="Oswiadczenie">
					<xsd:annotation>
						<xsd:documentation>Wartość 1 oznacza potwierdzenie zapoznania się z treścią i złożenia poniższego oświadczenia (1 - tak):
						Oświadczam, że fakty przedstawione we wniosku o zwrot podatku są zgodne z prawdą, oraz że dokumentacja załączona do wniosku zgodna jest z oryginałem.
								</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="etd:TKwota2Nieujemna">
							<xsd:minExclusive value="0"/>
							<xsd:maxExclusive value="2"/>
							<xsd:fractionDigits value="0"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
		<xsd:unique name="klucz_NIP">
			<xsd:selector xpath="tns:Podmiot1|tns:Podmiot2"/>
			<xsd:field xpath="*/tns:NIP|tns:OsobaNiefizyczna/etd:NIP"/>
		</xsd:unique>
	</xsd:element>
</xsd:schema>