<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" targetNamespace="http://esf.gov.kz/esf/model/document/vatcredit" xmlns:vatcredit="http://esf.gov.kz/esf/model/document/vatcredit" xmlns:tns="http://esf.gov.kz/esf/model/document/vatcredit" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:import/>

  <xs:element name="vatCreditNoticeUploadInfo" type="tns:VatCreditNoticeUploadInfo"/>

  <xs:complexType name="VatCreditNoticeUploadInfo">
    <xs:annotation>
      <xs:documentation>Информация о загружаемом Извещении об отнесении в зачет НДС</xs:documentation>
    </xs:annotation>
    <xs:all>
      <xs:element name="vatCreditNoticeBody" type="xs:string">
        <xs:annotation>
          <xs:documentation>Извещение (XML)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="version" type="tns:vatCreditNoticeVersion">
        <xs:annotation>
          <xs:documentation>Версия извещения</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="signature" minOccurs="1">
        <xs:annotation>
          <xs:documentation>ЭЦП XML-представления извещения</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:maxLength value="400"/>
            <xs:minLength value="0"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="signatureType" type="SignatureType" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Тип ЭЦП, которым подписано извещение</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
  </xs:complexType>

  <xs:simpleType name="vatCreditNoticeVersion">
    <xs:restriction base="xs:string">
      <xs:enumeration value="VatCreditNoticeV1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>