<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2021 (x64) (http://www.altova.com) by bogdan.schmidt (Asseco Poland S.A.) -->
<xs:schema xmlns:tr12="https://puesc.gov.pl/ZEFIR2/xsd/v12_0/Trader.xsd" xmlns:tp12="https://puesc.gov.pl/ZEFIR2/xsd/v12_0/Types.xsd" xmlns:vatim="https://puesc.gov.pl/ZEFIR2/xsd/v1_0/VAT_IM.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:auth="https://puesc.gov.pl/ZEFIR2/xsd/v3_0/Authentication.xsd" targetNamespace="https://puesc.gov.pl/ZEFIR2/xsd/v1_0/VAT_IM.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1_0" 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="https://puesc.gov.pl/ZEFIR2/xsd/v12_0/Types.xsd" schemaLocation="Types_Z12.xsd"/>
	<xs:import namespace="https://puesc.gov.pl/ZEFIR2/xsd/v12_0/Trader.xsd" schemaLocation="Trader_Z12.xsd"/>
	<xs:import namespace="https://puesc.gov.pl/ZEFIR2/xsd/v3_0/Authentication.xsd" schemaLocation="auth_v3.xsd"/>
	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">
            VAT-IM DEKLARACJA IMPORTOWA O PODATKU OD TOWARÓW I USŁUG
        </xs:documentation>
		<xs:documentation source="doc" xml:lang="pl">
			Podstawa prawna: 
			Art. 33b ust. 1 ustawy z dnia 11 marca 2004 r. o podatku od towarów i usług (Dz. U. z 2020 r. poz. 106, z późn. zm.), zwanej 
dalej „ustawą”. 
			Składający: 
			Podatnik, o którym mowa w art. 17 ust. 1 pkt 1 i 2 ustawy, stosujący odprawę scentrali zowaną, o której mowa w art. 179 
rozporządzenia Parlamentu Europejskiego i Rady (UE) nr 952/2013 z dnia 9 października 2013 r. ustanawiającego unijny
kodeks celny (Dz. Urz. UE L 269 z 10.10.2013, str. 1, z późn. zm.). 
			Termin składania: 
			Deklarację importową składa się w terminie do 16. dnia miesiąca następującego po miesiącu, w którym powstał obowiązek
podatkowy z tytułu importu towarów, nie później jednak niż przed złożeniem deklaracji podatkowej za okres rozliczeniowy
			Miejsce składania: 
			Urząd celno-skarbowy, przy pomocy którego wykonuje swoje zadania naczelnik urzędu celno-skarbowego, w którym towary
powinny być przedstawiane lub udostępniane do kontroli celnej.  
        </xs:documentation>
	</xs:annotation>
	<xs:element name="VATIM">
		<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="Identifier">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">Identyfikator podatkowy EORI; NIP lub PESEL</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:choice>
											<xs:element name="Eori">
												<xs:annotation>
													<xs:documentation>Identyfikator podatkowy EORI</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:attribute name="identifierEori" type="tp12:ZEORI" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Identyfikator podatkowy EORI podatnika.</xs:documentation>
															<xs:documentation source="box">1</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
											<xs:element name="Nip">
												<xs:annotation>
													<xs:documentation>Identyfikator podatkowy NIP</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:attribute name="identifierNip" type="tp12:ZNIP" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Identyfikator podatkowy NIP podatnika.</xs:documentation>
															<xs:documentation source="box">1</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
											<xs:element name="Pesel">
												<xs:annotation>
													<xs:documentation>Identyfikator podatkowy PESEL</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:attribute name="identifierPesel" type="tp12:ZPESEL" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Identyfikator podatkowy numer PESEL podatnika.</xs:documentation>
															<xs:documentation source="box">1</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
										</xs:choice>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="Trader" type="tr12:ZTrader">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">PODMIOT</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="SettlementOfImports" minOccurs="1" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">ROZLICZENIE IMPORTU TOWARÓW</xs:documentation>
									<xs:documentation source="box">C</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="importOfGoods22_23_Basis" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 22% albo 23% - Podstawa opodatkowania w zł</xs:documentation>
											<xs:documentation source="box">21</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods22_23_Tax" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 22% albo 23% - Podate należny w zł</xs:documentation>
											<xs:documentation source="box">22</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods7_8_Basis" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 7% albo 8% - Podstawa opodatkowania w zł</xs:documentation>
											<xs:documentation source="box">23</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods7_8_Tax" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 7% albo 8% - Podatek należny w zł</xs:documentation>
											<xs:documentation source="box">24</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods5_Basis" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 5% - Podstawa opodatkowania w zł</xs:documentation>
											<xs:documentation source="box">25</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods5_Tax" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 5% - Podatek należny w zł</xs:documentation>
											<xs:documentation source="box">26</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods0_Basis" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów opodatkowanych stawką 0% - Podstawa opodatkowania w zł</xs:documentation>
											<xs:documentation source="box">27</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="importOfGoods_Exemption" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Import towarów zwolnionych od podatku  - Podstawa opodatkowania w zł</xs:documentation>
											<xs:documentation source="box">28</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="amountOfTax" type="tp12:ZAmountT" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Kwota podatku podlegająca wpłacie do naczelnika urzędu skarbowego w terminie do 16. dnia miesiąca następującego po miesiącu, w którym powstał obowiązek podatkowy z tytułu importu towarów, nie później niż
przed złożeniem deklaracji podatkowej dla podatku od towarów i usług. Suma kwot z poz. 23, 25 i 27</xs:documentation>
											<xs:documentation source="box">29</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="DokumentData">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">DANE DOKUMENTU</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:annotation>
										<xs:documentation source="doc" xml:lang="pl">DANE DOKUMENTU</xs:documentation>
									</xs:annotation>
									<xs:sequence>
										<xs:choice>
											<xs:element name="DaneOkres">
												<xs:complexType>
													<xs:annotation>
														<xs:documentation>VAT IM Dane za Okres</xs:documentation>
													</xs:annotation>
													<xs:attribute name="period" type="tp12:ZPeriod" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Miesiąc i rok.</xs:documentation>
															<xs:documentation source="box">6,7</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
											<xs:element name="DaneSAD">
												<xs:complexType>
													<xs:annotation>
														<xs:documentation>VAT IM Dane zgłoszenia celnego (SAD)</xs:documentation>
													</xs:annotation>
													<xs:attribute name="nrSAD" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Numer zgłoszenia celnego.</xs:documentation>
															<xs:documentation source="box">4</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="23"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:attribute>
													<xs:attribute name="dateCustomsDeclaration" type="tp12:ZDate" use="required">
														<xs:annotation>
															<xs:documentation source="doc" xml:lang="pl">Data zgłoszenia celnego</xs:documentation>
															<xs:documentation source="box">5</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
										</xs:choice>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="Item" minOccurs="1" maxOccurs="99">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">INFORMACJA O DOKONANYM IMPORCIE TOWARÓW</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="id" type="tp12:ZNumeric" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Liczba	porządkowa.</xs:documentation>
											<xs:documentation source="box">-</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="typeOfGoods" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Rodzaj towaru (z ISZTAR4).</xs:documentation>
											<xs:documentation source="box">B.a</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="512"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="nrAplicationSAD" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Numer zgłoszenia celnego.</xs:documentation>
											<xs:documentation source="box">B.b</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="23"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="codeCN" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Kod CN.</xs:documentation>
											<xs:documentation source="box">B.c</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:length value="8"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="amount" type="tp12:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Ilość.</xs:documentation>
											<xs:documentation source="box">B.d</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="customsValue" type="tp12:ZAmountC" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Wartość celna.</xs:documentation>
											<xs:documentation source="box">B.e</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="duties" type="tp12:ZAmountC" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Należne cło.</xs:documentation>
											<xs:documentation source="box">B.f</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="otherElements" use="optional">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Pozostałe elementy zwiększające podstawę opodatkowania importu.</xs:documentation>
											<xs:documentation source="box">B.g</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="512"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="taxBase" type="tp12:ZAmountC" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Podstawa opodatkowania.</xs:documentation>
											<xs:documentation source="box">B.h</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="taxRate" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Stawka podatku.</xs:documentation>
											<xs:documentation source="box">B.i</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:enumeration value="1">
													<xs:annotation>
														<xs:documentation>
                                                            Import towarów opodatkowanych stawką 22% albo 23% 
                                                        </xs:documentation>
													</xs:annotation>
												</xs:enumeration>
												<xs:enumeration value="2">
													<xs:annotation>
														<xs:documentation>
                                                            Import towarów opodatkowanych stawką 7% albo 8% 
                                                        </xs:documentation>
													</xs:annotation>
												</xs:enumeration>
												<xs:enumeration value="3">
													<xs:annotation>
														<xs:documentation>
                                                            Import towarów opodatkowanych stawką 5% 
                                                        </xs:documentation>
													</xs:annotation>
												</xs:enumeration>
												<xs:enumeration value="4">
													<xs:annotation>
														<xs:documentation>
                                                            Import towarów opodatkowanych stawką 0% 
                                                        </xs:documentation>
													</xs:annotation>
												</xs:enumeration>
												<xs:enumeration value="5">
													<xs:annotation>
														<xs:documentation>
                                                            Import towarów zwolnionych od podatku 
                                                        </xs:documentation>
													</xs:annotation>
												</xs:enumeration>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="taxDue" type="tp12:ZAmountP" use="required">
										<xs:annotation>
											<xs:documentation source="doc" xml:lang="pl">Należny podatek.</xs:documentation>
											<xs:documentation source="box">B.j</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Statement" type="tp12:ZIDOExtStatement" minOccurs="1" maxOccurs="1"/>
						</xs:sequence>
						<xs:attribute name="taxOffice" type="tp12:ZTaxOffice" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl"> Urząd celno-skarbowy, do którego jest adresowana deklaracja</xs:documentation>
								<xs:documentation source="box">8</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="taxOfficeName" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Urząd celno-skarbowy, do którego jest adresowana deklaracja (nazwa własna).</xs:documentation>
								<xs:documentation source="box">8</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="512"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="selfRef" type="tp12:ZSelfRef" use="required">
							<xs:annotation>
								<xs:documentation>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="tp12: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>
