<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_203.xsd" xmlns:tp="http://www.mf.gov.pl/SENT/2017/12/08/STypes.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_203.xsd">
  <xs:import namespace="http://www.mf.gov.pl/SENT/2017/12/08/STypes.xsd" schemaLocation="STypes.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      SENT
    </xs:appinfo>
    <xs:documentation source="doc" xml:lang="pl">
      SENT203 - ZAMKNIĘCIE ZGŁOSZENIA PRZEWOZU TOWARU KOŃCZĄCEGO SIĘ NA TERYTORIUM POLSKI - PODMIOT ODBIERAJĄCY (TRANSPORT DROGOWY I KOLEJOWY)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.7 ust.1 i 2 rozporządzenia z dnia 12 kwietnia 2017r. w sprawie zgloszen przewozu towarów i sposobu postępowania w przypadku niedostępności rejestru zgłoszen
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT203 - CLOSING OF THE NOTIFICATION OF THE CARRIAGE OF GOODS ENDING IN THE TERRITORY OF POLAND - THE CONSIGNEE (ROAD AND RAILWAY TRANSPORT)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basis: Article 5(1,2) of the Act of 9 march 2017 on the monitoring system of road transport of goods
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_203">
    <xs:annotation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny komunikatu
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="en">
        Main element of the message
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SentNumber" type="tp:SentNumber" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer referencyjny zgłoszenia
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Carriage notification number
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="RecipientKey" type="tp:RecipientKey" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Klucz autoryzacyjny podmiotu odbierającego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Authorisation key of the consignee
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="RecipientTransactionCode" type="tp:RecipientTransactionCode" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Jednorazowy kod transakcyjny do potwierdzenia i autoryzacji dostawy towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              One-time transaction code for confirming and authorizing the goods delivery
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="TransportClose" type="tp:TransportClose" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacja o zamknięciu zgłoszenia przewozu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on closing the notification of the carriage of goods
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="DocumentId" type="tp:DocumentSelfNumber" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer własny dokumentu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Own document number
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="ResponseAddress" type="tp:ResponseAddress" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Kanały komunikacji zwrotnej
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Feedback communication channel
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Statements" type="tp:Statements" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Oświadczam, że posiadam upoważnienie do uzupełnienia niniejszego zgłoszenia w imieniu i na rzecz podmiotu zobowiązanego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              I declare that I am authorized to complete this notification for and on behalf of the obligated entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>