<?xml version="1.0" encoding="windows-1251"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="UniversalCorrectionDocumentBuyerTitle">
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" name="DocumentCreatorBase" type="DocumentRequisitesType">
          <xs:annotation>
            <xs:documentation>ОснДоверОргОформ - Основание, по которому экономический субъект формирует и подписывает файл обмена</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="BuyerInfoCircumPublicProc" type="BuyerInfoCircumPublicProc">
          <xs:annotation>
            <xs:documentation>ИнфПокЗаГоскКазн - Информация покупателя об обстоятельствах закупок для государственных и муниципальных нужд (для учета Федеральным казначейством денежных обязательств)</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="AdditionalInfoId" type="AdditionalInfoId">
          <xs:annotation>
            <xs:documentation>ИнфПолФХЖ4 - Информационное поле факта хозяйственной жизни 4</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Signers" type="Signers">
          <xs:annotation>
            <xs:documentation>Подписант - подписант</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:all>
      <xs:attribute name="DocumentCreator" type="string1000">
        <xs:annotation>
          <xs:documentation>НаимЭконСубОформ - Наименование экономического субъекта - составителя файла обмена информации покупателя</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="OperationCode" type="string255">
        <xs:annotation>
          <xs:documentation>ВидОпер</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="OperationContent" use="required">
        <xs:annotation>
          <xs:documentation>СодОпер - содержание операции
						1 - с изменением стоимости согласен
						2 - с изменением стоимости не согласен
					</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="1" />
            <xs:enumeration value="2" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="OperationContentDetails" type="string255">
        <xs:annotation>
          <xs:documentation>УточСодОпер - уточнение содержания операции</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ApprovalDate" type="date">
        <xs:annotation>
          <xs:documentation>ДатаСоглас - Дата согласования (согласия)</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="BuyerInfoCircumPublicProc">
    <xs:attribute name="ProcCode" type="string36">
      <xs:annotation>
        <xs:documentation>ИдКодЗак - Идентификационный код закупки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PersonalAccountBuyer" type="string11f" use="required">
      <xs:annotation>
        <xs:documentation>ЛицСчетПок - Номер лицевого счета покупателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NameFinAuthority" type="string2000" use="required">
      <xs:annotation>
        <xs:documentation>НаимФинОргПок - Наименование финансового органа покупателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BuyerRegistryEntryNumber" type="string8f" use="required">
      <xs:annotation>
        <xs:documentation>НомРеестрЗапПок - Номер реестровой записи покупателя по Реестру участников бюджетного процесса, а также юридических лиц, не являющихся участниками бюджетного процесса</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BuyerLiabNumber">
      <xs:annotation>
        <xs:documentation>УчНомБюдОбязПок - Учетный номер бюджетного обязательства покупателя</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="16" />
          <xs:maxLength value="19" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="BuyerTreasuryCode" type="string4">
      <xs:annotation>
        <xs:documentation>КодКазначПок - Код территориального органа Федерального казначейства покупателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BuyerTreasuryName" type="string2000">
      <xs:annotation>
        <xs:documentation>НаимКазначПок - Наименование территориального органа Федерального казначейства покупателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OKTMOBuy" type="oktmo" use="required">
      <xs:annotation>
        <xs:documentation>ОКТМОПок - Код покупателя в Общероссийском классификаторе территорий муниципальных образований</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OKTMOPlaceDelivery" type="oktmo">
      <xs:annotation>
        <xs:documentation>ОКТМОМесПост - Код места поставки в Общероссийском классификаторе территорий муниципальных образований</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PayDeadLine" type="date">
      <xs:annotation>
        <xs:documentation>ДатаОплПред - Предельная дата оплаты</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NumberFundsLiab">
      <xs:annotation>
        <xs:documentation>УчНомДенОбяз - Учетный номер денежного обязательства</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="22" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="PaymentPriority" type="string1f">
      <xs:annotation>
        <xs:documentation>ОчерПлат - Очередность платежа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PaymentType">
      <xs:annotation>
        <xs:documentation>ВидПлат - Вид платежа
					Принимает значение:
					0 - пусто |
					4 - срочно.
				</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="0" />
          <xs:enumeration value="4" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:simpleType name="oktmo">
    <xs:annotation>
      <xs:documentation>Код из Общероссийского классификатора территорий муниципальных образований
			</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="8" />
      <xs:maxLength value="11" />
      <xs:pattern value="[0-9]{8}" />
      <xs:pattern value="[0-9]{11}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string1f">
    <xs:restriction base="xs:string">
      <xs:length value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string2f">
    <xs:restriction base="xs:string">
      <xs:length value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string2">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string3f">
    <xs:restriction base="xs:string">
      <xs:length value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string3">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string4f">
    <xs:restriction base="xs:string">
      <xs:length value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string4">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string5f">
    <xs:restriction base="xs:string">
      <xs:length value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string8">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string8f">
    <xs:restriction base="xs:string">
      <xs:length value="8" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string9f">
    <xs:restriction base="xs:string">
      <xs:length value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string9">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="9" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string10">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string11f">
    <xs:restriction base="xs:string">
      <xs:length value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string13f">
    <xs:restriction base="xs:string">
      <xs:length value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string13z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="13" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string14f">
    <xs:restriction base="xs:string">
      <xs:length value="14" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string15z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="15" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string16">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string17">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="17" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string20">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string20f">
    <xs:restriction base="xs:string">
      <xs:length value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string24">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="24" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string25">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="25" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string27f">
    <xs:restriction base="xs:string">
      <xs:length value="27" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string29">
    <xs:restriction base="xs:string">
      <xs:maxLength value="29" />
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string30">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="30" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string34">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="34" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string35">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="35" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string36">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="36" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string40">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="40" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string4to46">
    <xs:restriction base="xs:string">
      <xs:minLength value="4" />
      <xs:maxLength value="46" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string50">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string55">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="55" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string60">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="60" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string100">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100" />
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string100z">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100" />
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string120">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="120" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string128">
    <xs:restriction base="xs:string">
      <xs:maxLength value="128" />
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string140z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="140" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string128z">
    <xs:restriction base="xs:string">
      <xs:maxLength value="128" />
      <xs:minLength value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string200">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="200" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string210">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="210" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string255z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string255">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string256">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="256" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string275z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="275" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string500">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="500" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string510">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="510" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string1000">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string1000z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="1000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string2000">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="2000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string2000z">
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="2000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="string10000">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="10000" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="stringInf">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="inn">
    <xs:restriction base="xs:string">
      <xs:minLength value="10" />
      <xs:maxLength value="12" />
      <xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{10}|[0-9]{8})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|(\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="okei">
    <xs:annotation>
      <xs:documentation>Код из Общероссийского классификатора единиц измерения</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="3" />
      <xs:maxLength value="4" />
      <xs:pattern value="[0-9]{3}" />
      <xs:pattern value="[0-9]{4}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="okv">
    <xs:annotation>
      <xs:documentation>Код из Общероссийского классификатора валют</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="3" />
      <xs:pattern value="[0-9]{3}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="okpd">
    <xs:annotation>
      <xs:documentation>Код товара по ОКДП 2</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="2" />
      <xs:maxLength value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ogrn">
    <xs:annotation>
      <xs:documentation>ОГРН - ОГРНИП</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="13" />
      <xs:maxLength value="15" />
      <xs:pattern value="[0-9]{13,15}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="kpp">
    <xs:annotation>
      <xs:documentation>Код причины постановки на учет (КПП) - 5 и 6 знаки от 0-9 и A-Z</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="9" />
      <xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-Z]{2})([0-9]{3})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="date">
    <xs:annotation>
      <xs:documentation>Дата в формате ДД.ММ.ГГГГ (01.01.1800 - 31.12.2099)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="10" />
      <xs:pattern value="(((0[1-9]{1}|[1-2]{1}[0-9]{1})\.(0[1-9]{1}|1[0-2]{1}))|((30)\.(01|0[3-9]{1}|1[0-2]{1}))|((31)\.(01|03|05|07|08|10|12)))\.(18[0-9]{2}|19[0-9]{2}|20[0-9]{2})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="time">
    <xs:annotation>
      <xs:documentation>Время в формате ЧЧ.ММ.СС</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="8" />
      <xs:pattern value="([0-1]{1}[0-9]{1}|2[0-3]{1})\.([0-5]{1}[0-9]{1})\.([0-5]{1}[0-9]{1})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="timeWithColon">
    <xs:annotation>
      <xs:documentation>Время в формате ЧЧ:ММ:CC</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="8" />
      <xs:pattern value="([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="datetime">
    <xs:annotation>
      <xs:documentation>Дата и время в формате ДД.ММ.ГГГГ ЧЧ.ММ.СС (01.01.1800 - 31.12.2099)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="19" />
      <xs:pattern value="(((0[1-9]{1}|[1-2]{1}[0-9]{1})\.(0[1-9]{1}|1[0-2]{1}))|((30)\.(01|0[3-9]{1}|1[0-2]{1}))|((31)\.(01|03|05|07|08|10|12)))\.(18[0-9]{2}|19[0-9]{2}|20[0-9]{2})\s([0-1]{1}[0-9]{1}|2[0-3]{1})\.([0-5]{1}[0-9]{1})\.([0-5]{1}[0-9]{1})" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="datetimeutc">
    <xs:annotation>
      <xs:documentation>Дата и время в формате ДД.ММ.ГГГГTЧЧ:ММ:CC+-ЧЧ:ММ</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="25" />
      <xs:pattern value="(((((0[1-9]{1}|1[0-9]{1}|2[0-8]{1})\.(0[1-9]{1}|1[0-2]{1}))|((29|30)\.(01|0[3-9]{1}|1[0-2]{1}))|(31\.(01|03|05|07|08|10|12)))\.((19|20)[0-9]{2}))|(29\.02\.((19|20)(((0|2|4|6|8)(0|4|8))|((1|3|5|7|9)(2|6))))))([T]([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1})([+|-]([01][0-9])[:]([0-5][0-9])))" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="timeutc">
    <xs:annotation>
      <xs:documentation>Время в формате ЧЧ:ММ:CC+-ЧЧ:ММ</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="14" />
      <xs:pattern value="([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1})([+|-]([01][0-9])[:]([0-5][0-9]))" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="innindividual">
    <xs:annotation>
      <xs:documentation>Идентификационный номер налогоплательщика - физического лица</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="12" />
      <xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="innlegalentity">
    <xs:annotation>
      <xs:documentation>Идентификационный номер налогоплательщика - юридического лица</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="10" />
      <xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="swiftcode">
    <xs:restriction base="xs:string">
      <xs:minLength value="8" />
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="snils">
    <xs:annotation>
      <xs:documentation>Страховой номер индивидуального лицевого счета</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="14" />
      <xs:pattern value="[0-9]{3}\-[0-9]{3}\-[0-9]{3}\-[0-9]{2}" />
      <xs:pattern value="[0-9]{3}\-[0-9]{3}\-[0-9]{3} [0-9]{2}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ogrnip">
    <xs:annotation>
      <xs:documentation>Основной государственный регистрационный номер индивидуального предпринимателя</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="15" />
      <xs:pattern value="[0-9]{15}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AdditionalInfoId">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AdditionalInfo" type="AdditionalInfo">
        <xs:annotation>
          <xs:documentation>ТекстИнф - текстовая информация</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="InfoFileId" use="optional">
      <xs:annotation>
        <xs:documentation>ИдФайлИнфПол (GUID) - идентификатор файла информационного поля</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="36" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AdditionalInfoId736">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="20" name="AdditionalInfo" type="AdditionalInfo">
        <xs:annotation>
          <xs:documentation>ТекстИнф - текстовая информация</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="InfoFileId" use="optional">
      <xs:annotation>
        <xs:documentation>ИдФайлИнфПол (GUID) - идентификатор файла информационного поля</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="36" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AdditionalInfo">
    <xs:attribute name="Id" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>Идентиф - идентификатор (наименование)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value" type="string2000" use="required">
      <xs:annotation>
        <xs:documentation>Значен - значение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AdditionalInfo100">
    <xs:attribute name="Id" type="string100" use="required">
      <xs:annotation>
        <xs:documentation>Идентиф - идентификатор</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value" type="string2000" use="required">
      <xs:annotation>
        <xs:documentation>Значен - значение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CustomsDeclaration">
    <xs:attribute name="Country" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>
					КодПроисх - Код страны происхождения товара по Общероссийскому классификатору стран мира (ОКСМ) или
					980 - Евросоюз,
					981 - ЕАЭС
				</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DeclarationNumber" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>Номер таможенной декларации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CustomsDeclarationWithHyphens">
    <xs:attribute name="Country" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>
					КодПроисх - Код страны происхождения товара по Общероссийскому классификатору стран мира (ОКСМ) или
					980 - Евросоюз,
					981 - ЕАЭС
				</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" name="HyphenCountry" use="optional">
      <xs:annotation>
        <xs:documentation>ДефКодПроисх - обязателен, если отсутствует КодПроисх
				</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DeclarationNumber" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>Номер таможенной декларации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="InvoiceTotalsDiff">
    <xs:attribute name="TotalWithVatExcluded" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма без учета налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Vat" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Total" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>сумма всего</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="InvoiceTotalsDiff736">
    <xs:attribute name="TotalWithVatExcluded" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>сумма без учета налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Vat" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="WithoutVat" use="optional">
      <xs:annotation>
        <xs:documentation>Если заполнено - формирует для суммы налога элемент БезНДС</xs:documentation>
        <xs:documentation>Игнорирует заполненное значение в элементе Vat</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Total" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма всего</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="InvoiceItemAmountsDiff">
    <xs:attribute name="Excise" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>акциз</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SubtotalWithVatExcluded" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма без учета налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Vat" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Subtotal" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма с учетом налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CorrectableInvoiceItemFields_WithoutTaxRate">
    <xs:attribute name="Unit" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>единицы измерения товара (код)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Quantity" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>количество единиц товара</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Price" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>цена за единицу товара</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Excise" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>акциз</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SubtotalWithVatExcluded" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма без учета налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Vat" type="xs:decimal" use="optional">
      <xs:annotation>
        <xs:documentation>сумма налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Subtotal" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>сумма с учетом налога</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CorrectableInvoiceItemFields">
    <xs:complexContent mixed="false">
      <xs:extension base="CorrectableInvoiceItemFields_WithoutTaxRate">
        <xs:attribute name="TaxRate" type="TaxRate" use="required">
          <xs:annotation>
            <xs:documentation>ставка налога</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CorrectableInvoiceItemFields_WithTwentyPercent">
    <xs:complexContent mixed="false">
      <xs:extension base="CorrectableInvoiceItemFields_WithoutTaxRate">
        <xs:attribute name="TaxRate" type="TaxRateWithTwentyPercent" use="required">
          <xs:annotation>
            <xs:documentation>ставка налога</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CorrectableInvoiceItemFields_WithTaxedByAgent">
    <xs:complexContent mixed="false">
      <xs:extension base="CorrectableInvoiceItemFields_WithoutTaxRate">
        <xs:attribute name="TaxRate" type="TaxRateWithTaxedByAgent" use="required">
          <xs:annotation>
            <xs:documentation>ставка налога</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CorrectableInvoiceItemFields_WithTwentyPercentAndTaxedByAgent">
    <xs:complexContent mixed="false">
      <xs:extension base="CorrectableInvoiceItemFields_WithoutTaxRate">
        <xs:attribute name="TaxRate" type="TaxRateWithTwentyPercentAndTaxedByAgent" use="required">
          <xs:annotation>
            <xs:documentation>ставка налога</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="TaxRate">
    <xs:restriction base="xs:string">
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRate_Torg2">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoVat" />
      <xs:enumeration value="ZeroPercent" />
      <xs:enumeration value="FivePercent" />
      <xs:enumeration value="SevenPercent" />
      <xs:enumeration value="NinePointZeroNinePercent" />
      <xs:enumeration value="TenPercent" />
      <xs:enumeration value="SixteenPointSixtySevenPercent" />
      <xs:enumeration value="EighteenPercent" />
      <xs:enumeration value="EighteenPointZeroThreePercent" />
      <xs:enumeration value="TwentyPercent" />
      <xs:enumeration value="TwentyTwoPercent" />
      <xs:enumeration value="FiveFraction" />
      <xs:enumeration value="SevenFraction" />
      <xs:enumeration value="TenFraction" />
      <xs:enumeration value="EighteenFraction" />
      <xs:enumeration value="TwentyFraction" />
      <xs:enumeration value="TwentyTwoFraction" />
      <xs:enumeration value="TaxedByAgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateWithTaxedByAgent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateWithTwentyPercentAndTaxedByAgent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="20/120" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateUcd736AndUtd820">
    <xs:restriction base="xs:string">
      <xs:enumeration value="0%" />
      <xs:enumeration value="5%" />
      <xs:enumeration value="7%" />
      <xs:enumeration value="9,09%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="16,67%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="5/105" />
      <xs:enumeration value="7/107" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="20/120" />
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateUcd736WithTwentyTwoPercent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="0%" />
      <xs:enumeration value="5%" />
      <xs:enumeration value="7%" />
      <xs:enumeration value="9,09%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="16,67%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="18,03%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="22%" />
      <xs:enumeration value="5/105" />
      <xs:enumeration value="7/107" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="20/120" />
      <xs:enumeration value="22/122" />
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateTovTorg551AndRezRu552">
    <xs:restriction base="xs:string">
      <xs:maxLength value="35" />
      <xs:minLength value="1" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="5%" />
      <xs:enumeration value="7%" />
      <xs:enumeration value="9.09%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="16.67%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="5/105" />
      <xs:enumeration value="7/107" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="20/120" />
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateWithTwentyPercent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="18%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="18/118" />
      <xs:enumeration value="20/120" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateUtd970">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoVat" />
      <xs:enumeration value="ZeroPercent" />
      <xs:enumeration value="FivePercent" />
      <xs:enumeration value="SevenPercent" />
      <xs:enumeration value="NinePointZeroNinePercent" />
      <xs:enumeration value="TenPercent" />
      <xs:enumeration value="SixteenPointSixtySevenPercent" />
      <xs:enumeration value="TwentyPercent" />
      <xs:enumeration value="FiveFraction" />
      <xs:enumeration value="SevenFraction" />
      <xs:enumeration value="TenFraction" />
      <xs:enumeration value="TwentyFraction" />
      <xs:enumeration value="TaxedByAgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateWithTwentyTwoPercent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoVat" />
      <xs:enumeration value="ZeroPercent" />
      <xs:enumeration value="FivePercent" />
      <xs:enumeration value="SevenPercent" />
      <xs:enumeration value="NinePointZeroNinePercent" />
      <xs:enumeration value="TenPercent" />
      <xs:enumeration value="SixteenPointSixtySevenPercent" />
      <xs:enumeration value="EighteenPercent" />
      <xs:enumeration value="EighteenPointZeroThreePercent" />
      <xs:enumeration value="TwentyPercent" />
      <xs:enumeration value="TwentyTwoPercent" />
      <xs:enumeration value="FiveFraction" />
      <xs:enumeration value="SevenFraction" />
      <xs:enumeration value="TenFraction" />
      <xs:enumeration value="EighteenFraction" />
      <xs:enumeration value="TwentyFraction" />
      <xs:enumeration value="TwentyTwoFraction" />
      <xs:enumeration value="TaxedByAgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateWithTwentyTwoPercentInvoice29">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoVat" />
      <xs:enumeration value="ZeroPercent" />
      <xs:enumeration value="FivePercent" />
      <xs:enumeration value="SevenPercent" />
      <xs:enumeration value="NinePointZeroNinePercent" />
      <xs:enumeration value="TenPercent" />
      <xs:enumeration value="SixteenPointSixtySevenPercent" />
      <xs:enumeration value="EighteenPointZeroThreePercent" />
      <xs:enumeration value="TwentyPercent" />
      <xs:enumeration value="TwentyTwoPercent" />
      <xs:enumeration value="FiveFraction" />
      <xs:enumeration value="SevenFraction" />
      <xs:enumeration value="TenFraction" />
      <xs:enumeration value="TwentyFraction" />
      <xs:enumeration value="TwentyTwoFraction" />
      <xs:enumeration value="TaxedByAgent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxRateOrderRequest1065">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="35" />
      <xs:enumeration value="0%" />
      <xs:enumeration value="5%" />
      <xs:enumeration value="7%" />
      <xs:enumeration value="9,09%" />
      <xs:enumeration value="10%" />
      <xs:enumeration value="16,67%" />
      <xs:enumeration value="18,03%" />
      <xs:enumeration value="20%" />
      <xs:enumeration value="22%" />
      <xs:enumeration value="5/105" />
      <xs:enumeration value="7/107" />
      <xs:enumeration value="10/110" />
      <xs:enumeration value="20/120" />
      <xs:enumeration value="22/122" />
      <xs:enumeration value="без НДС" />
      <xs:enumeration value="НДС исчисляется налоговым агентом" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="Attorney">
    <xs:all>
      <xs:element minOccurs="0" name="IssuerPerson" type="Official">
        <xs:annotation>
          <xs:documentation>Лицо, выдавшее доверенность</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="RecipientPerson" type="Official">
        <xs:annotation>
          <xs:documentation>Лицо, получившее доверенность</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
    <xs:attribute name="Date" type="date" use="optional">
      <xs:annotation>
        <xs:documentation>Дата выдачи доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Number" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Номер доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IssuerOrganizationName" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>Организация, представитель которой выдал доверенность</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IssuerAdditionalInfo" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>Дополнительная информация о выдавшем доверенность</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RecipientAdditionalInfo" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>Дополнительная информация о получившем доверенность</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Official">
    <xs:attribute name="LastName" type="string60" use="required" />
    <xs:attribute name="FirstName" type="string60" use="required" />
    <xs:attribute name="MiddleName" type="string60" use="optional" />
    <xs:attribute name="Position" type="string128z" use="optional" />
  </xs:complexType>
  <xs:complexType name="AcceptanceCertificateSignatureInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="Official" type="Official">
        <xs:annotation>
          <xs:documentation>лицо, подписывающее со стороны исполнителя / заказчика</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Attorney" type="Attorney">
        <xs:annotation>
          <xs:documentation>сведения о доверенности подписывающего со стороны исполнителя / заказчика</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="SignatureDate" type="date" use="optional">
      <xs:annotation>
        <xs:documentation>дата подписи акта исполнителем / заказчиком</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="PaymentDocumentInfo">
    <xs:attribute name="Date" type="date" use="required">
      <xs:annotation>
        <xs:documentation>ДатаПРД - Дата составления платежно-расчетного документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Number" type="string30" use="required">
      <xs:annotation>
        <xs:documentation>НомерПРД - Номер платежно-расчетного документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Total" use="optional">
      <xs:annotation>
        <xs:documentation>СуммаПРД - Сумма платежно-расчетного документа</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:totalDigits value="19" />
          <xs:fractionDigits value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="PaymentDocumentInfoUtd970">
    <xs:attribute name="Date" type="date">
      <xs:annotation>
        <xs:documentation>ДатаПРД - Дата составления платежно-расчетного документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Number" type="string30">
      <xs:annotation>
        <xs:documentation>НомерПРД - Номер платежно-расчетного документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Total">
      <xs:annotation>
        <xs:documentation>СуммаПРД - Сумма платежно-расчетного документа</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:totalDigits value="19" />
          <xs:fractionDigits value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="GroundInfo">
    <xs:attribute name="Name" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>НаимОсн - Наименование документа-основания</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Number" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>НомОсн - Номер документа-основания</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Date" type="date" use="optional">
      <xs:annotation>
        <xs:documentation>ДатаОсн - Дата документа-основания</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Info" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>ДопСвОсн - Дополнительные сведения документа-основания</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Signers">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="Signer" type="Signer" />
    </xs:sequence>
    <xs:attribute name="BoxId" type="guid">
      <xs:annotation>
        <xs:documentation>Идентификатор ящика организации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Signer">
    <xs:sequence>
      <xs:element minOccurs="0" name="Certificate" type="Certificate" />
      <xs:element minOccurs="0" name="Fio" type="Fio" />
      <xs:element minOccurs="0" name="Position" type="Position" />
      <xs:element minOccurs="0" name="SignerAdditionalInfo" type="SignerAdditionalInfo" />
      <xs:element minOccurs="0" name="PowerOfAttorney" type="PowerOfAttorney" />
    </xs:sequence>
    <xs:attribute name="SignerStatus">
      <xs:annotation>
        <xs:documentation>
          <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:documentation>Используется для типов @405 и @691 форматов. Для остальных - игнорируется</xs:documentation>
            <xs:documentation>СтатПодп - Статус подписанта</xs:documentation>
          </xs:annotation>
        </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="1">
            <xs:annotation>
              <xs:documentation>Лицо, имеющее полномочия на подписание документа без доверенности</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="2">
            <xs:annotation>
              <xs:documentation>Лицо, имеющее полномочия на подписание документа на основании доверенности в электронной форме</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="3">
            <xs:annotation>
              <xs:documentation>Лицо, имеющее полномочия на подписание документа на основании доверенности в бумажном виде</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="SignatureType" type="SignatureType" />
    <xs:attribute name="SigningDate" type="date">
      <xs:annotation>
        <xs:documentation>
          <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:documentation>Используется для типов @970 формата. Для остальных - игнорируется</xs:documentation>
            <xs:documentation>ДатаПодДок - Дата подписания документа</xs:documentation>
          </xs:annotation>
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SignerPowersConfirmationMethod" type="SignerPowersConfirmationMethod" />
  </xs:complexType>
  <xs:complexType name="Certificate">
    <xs:attribute name="CertificateThumbprint" type="string100" />
    <xs:attribute name="CertificateBytes" type="xs:base64Binary" />
  </xs:complexType>
  <xs:complexType name="PowerOfAttorney">
    <xs:sequence>
      <xs:element minOccurs="0" name="Electronic" type="Electronic">
        <xs:annotation>
          <xs:documentation>Электронная доверенность</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Paper" type="Paper">
        <xs:annotation>
          <xs:documentation>Бумажная доверенности</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Electronic">
    <xs:sequence>
      <xs:choice>
        <xs:element name="Storage" type="Storage">
          <xs:annotation>
            <xs:documentation>Автоматическое заполнение информации по доверенности на основе номера и ИНН</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Manual" type="Manual">
          <xs:annotation>
            <xs:documentation>Ручное заполнение данных доверенности</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Storage">
    <xs:sequence>
      <xs:element minOccurs="0" name="FullId">
        <xs:complexType>
          <xs:attribute name="RegistrationNumber" type="guid" use="required">
            <xs:annotation>
              <xs:documentation>Номер доверенности</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="IssuerInn" type="inn" use="required">
            <xs:annotation>
              <xs:documentation>ИНН организации, выдавшей доверенность</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="RepresentativeInn" type="inn">
            <xs:annotation>
              <xs:documentation>ИНН доверенного лица</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="UseDefault" use="required">
      <xs:annotation>
        <xs:documentation>Автоматическое заполнение информации на основе доверенности, используемой сотрудником по умолчанию</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Manual">
    <xs:attribute name="RegistrationNumber" type="guid">
      <xs:annotation>
        <xs:documentation>Номер доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RegistrationDate" type="date">
      <xs:annotation>
        <xs:documentation>Дата совершения (выдачи) доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="InternalNumber" type="string50">
      <xs:annotation>
        <xs:documentation>Внутренний регистрационный номер доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="InternalDate" type="date">
      <xs:annotation>
        <xs:documentation>Дата внутренней регистрации доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SystemId" type="string500">
      <xs:annotation>
        <xs:documentation>Идентифицирующая информация об информационной системе, в которой осуществляется хранение доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SystemUrl" type="string500">
      <xs:annotation>
        <xs:documentation>
          <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:documentation>Используется для типов @970 формата. Для остальных - игнорируется</xs:documentation>
            <xs:documentation>Сведения в формате URL об информационной системе, которая предоставляет техническую возможность получения информации о доверенности</xs:documentation>
          </xs:annotation>
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Paper">
    <xs:annotation>
      <xs:documentation>Сведения о доверенности, используемой для подтверждения полномочий на бумажном носителе</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="Person" type="Fio">
        <xs:annotation>
          <xs:documentation>Фамилия, имя, отчество (при наличии) лица, подписавшего доверенность</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="InternalNumber" type="string50">
      <xs:annotation>
        <xs:documentation>Внутренний регистрационный номер доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RegistrationDate" type="date">
      <xs:annotation>
        <xs:documentation>Дата совершения (выдачи) доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IssuerInfo" type="string1000">
      <xs:annotation>
        <xs:documentation>Сведения о доверителе</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Fio">
    <xs:attribute name="LastName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Фамилия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FirstName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Имя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MiddleName" type="string60">
      <xs:annotation>
        <xs:documentation>Отчество</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="Position">
    <xs:annotation>
      <xs:documentation>Должность</xs:documentation>
      <xs:documentation>Один из элементов является обязательным</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="string255z">
        <xs:attribute name="PositionSource" use="required">
          <xs:annotation>
            <xs:documentation>Автоматическое заполнение должности из настроек сотрудника указанных в
							сервисе
						</xs:documentation>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="Employee">
                <xs:annotation>
                  <xs:documentation>
                    <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
                      <xs:documentation>Первым шагом пытается сформировать должность из данных по
												сотруднику в сервисе
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены, то значение будет взято
												из значения в элементе Position
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены и в элементе Position
												пустое значение, то атрибут в конечном файле не сформируется
											</xs:documentation>
                      <xs:documentation>Для LogisticsWaybill игнорируется</xs:documentation>
                    </xs:annotation>
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="Certificate">
                <xs:annotation>
                  <xs:documentation>
                    <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
                      <xs:documentation>Первым шагом пытается сформировать должность из данных по
												сотруднику из сертификата
											</xs:documentation>
                      <xs:documentation>Если данные в сертификате не найдены, то значение будет
												взято из значения в элементе Position
											</xs:documentation>
                      <xs:documentation>Если данные в сертификате не найдены и в элементе Position
												пустое значение, то атрибут в конечном файле не сформируется
											</xs:documentation>
                    </xs:annotation>
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="StorageByTitleTypeId">
                <xs:annotation>
                  <xs:documentation>
                    <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
                      <xs:documentation>Используется для типов @970 формата. Для остальных -
												игнорируется
											</xs:documentation>
                      <xs:documentation>Для использования данного варианта формирования должности
												необходимо заполнить элемент Certificate
											</xs:documentation>
                      <xs:documentation>Первым шагом пытается сформировать должность из данных,
												сохраненных с помощью метода ExtendedSignerDetails для указанного
												сертификата и documentTitleType
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены, то значение будет взято
												из значения в элементе Position
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены и в элементе Position
												пустое значение, то атрибут в конечном файле не сформируется
											</xs:documentation>
                      <xs:documentation>Для LogisticsWaybill игнорируется</xs:documentation>
                    </xs:annotation>
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="Manual">
                <xs:annotation>
                  <xs:documentation>Используется для ручного заполнения должности</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="SignerAdditionalInfo">
    <xs:annotation>
      <xs:documentation>Используется для типов @970 и @405 форматов. Для остальных - игнорируется
			</xs:documentation>
      <xs:documentation>ДопСведПодп - Дополнительные сведения о подписанте</xs:documentation>
      <xs:documentation>Для LogisticsWaybill версии 5.01 игнорируется</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="string255z">
        <xs:attribute name="SignerAdditionalInfoSource" use="required">
          <xs:annotation>
            <xs:documentation>Автоматическое заполнение дополнительных сведений из настроек указанных в
							сервисе
						</xs:documentation>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="StorageByTitleTypeId">
                <xs:annotation>
                  <xs:documentation>
                    <xs:annotation xmlns:xs="http://www.w3.org/2001/XMLSchema">
                      <xs:documentation>Используется для типов @970 формата. Для остальных -
												игнорируется
											</xs:documentation>
                      <xs:documentation>Для использования данного варианта формирования
												дополнительных сведений необходимо заполнить элемент Certificate
											</xs:documentation>
                      <xs:documentation>Первым шагом пытается сформировать дополнительные сведения
												из данных, сохраненных с помощью метода ExtendedSignerDetails для
												указанного сертификата и documentTitleType
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены, то значение будет взято
												из значения в элементе SignerAdditionalInfo
											</xs:documentation>
                      <xs:documentation>Если данные в сервисе не найдены и в элементе пустое
												значение SignerAdditionalInfo, то атрибут в конечном файле не
												сформируется
											</xs:documentation>
                    </xs:annotation>
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="Manual">
                <xs:annotation>
                  <xs:documentation>Используется для ручного заполнения дополнительных сведений
									</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="SignatureType">
    <xs:annotation>
      <xs:documentation>ТипПодпис - Тип подписи. Для LogisticsWaybill игнорируется</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="1" />
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation>Усиленная квалифицированная электронная подпись</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation>Простая электронная подпись</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation>Усиленная неквалифицированная электронная подпись</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SignerPowersConfirmationMethod">
    <xs:annotation>
      <xs:documentation>
				СпосПодтПолном - Способ подтверждения полномочий представителя на подписание документа.
				Используется для типов @970 и @405 форматов. Для остальных - игнорируется.
			</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="1" />
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation>В соответствии с данными, содержащимися в электронной подписи. Для
						LogisticsWaybill игнорируется
					</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation>
						В соответствии с доверенностью в электронной форме в машиночитаемом виде, если
						представление доверенности осуществляется посредством включения в каждый пакет
						электронных документов, подписываемых представителем
					</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation>
						В соответствии с доверенностью в электронной форме в машиночитаемом виде, если
						представление доверенности осуществляется из информационной системы. При этом
						необходимая информация для запроса доверенности из информационной системы указана
						в электронном документе
					</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:documentation>
						В соответствии с доверенностью в электронной форме в машиночитаемом виде, если
						представление доверенности осуществляется из информационной системы. При этом
						необходимая информация для запроса доверенности из информационной системы
						представляется способом, отличным от указания в электронном документе
					</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:documentation>В соответствии с доверенностью в форме документа на бумажном носителе
					</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation>Иное</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="Employee">
    <xs:attribute name="Position" type="string128z" use="required">
      <xs:annotation>
        <xs:documentation>Должность</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие физическое лицо</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeBase" type="string120" use="optional">
      <xs:annotation>
        <xs:documentation>ОснПолн - Основание полномочий предстваителя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LastName" type="string60" use="required" />
    <xs:attribute name="FirstName" type="string60" use="required" />
    <xs:attribute name="MiddleName" type="string60" use="optional" />
  </xs:complexType>
  <xs:complexType name="OtherIssuer">
    <xs:attribute name="Position" type="string128z" use="optional">
      <xs:annotation>
        <xs:documentation>Должность представителя организации</xs:documentation>
        <xs:documentation>Если заполнено - формируется структура "ПредОргПер".</xs:documentation>
        <xs:documentation>Если не заполнено – формируется структура "ФЛПер".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие физическое лицо</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeBase" type="string120" use="optional">
      <xs:annotation>
        <xs:documentation>ОснПолнПредПер (ОснДоверФЛ) - Основание полномочий представителя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationName" type="string128z" use="optional">
      <xs:annotation>
        <xs:documentation>НаимОргПер - Наименование организации, которой доверена передача</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationBase" type="string120" use="optional">
      <xs:annotation>
        <xs:documentation>ОснДоверОргПер - Основание, по которому организации доверена передача</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LastName" type="string60" use="required" />
    <xs:attribute name="FirstName" type="string60" use="required" />
    <xs:attribute name="MiddleName" type="string60" use="optional" />
  </xs:complexType>
  <xs:complexType name="EmployeeUtd970">
    <xs:attribute name="Position" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>Должность</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие физическое лицо</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LastName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Фамилия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FirstName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Имя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MiddleName" type="string60">
      <xs:annotation>
        <xs:documentation>Отчество</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="OtherIssuerUtd970">
    <xs:sequence>
      <xs:element minOccurs="0" name="EmployeeBase" type="DocumentRequisitesType">
        <xs:annotation>
          <xs:documentation>ОснПолнПредПер/ОснПолнПредПрин (ОснДоверФЛ) - Основание полномочий представителя</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="OrganizationBase" type="DocumentRequisitesType">
        <xs:annotation>
          <xs:documentation>ОснДоверОргПер/ОснДоверОргПрин - Основание, по которому организации доверена отгрузка/принятие товаров</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Position" type="string255">
      <xs:annotation>
        <xs:documentation>Должность представителя организации</xs:documentation>
        <xs:documentation>Если заполнено - формируется структура "ПредОргПер/ПредОргПрин"</xs:documentation>
        <xs:documentation>Если не заполнено – формируется структура "ФЛПер/ФЛПрин"</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EmployeeInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие физическое лицо</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Inn" type="inn">
      <xs:annotation>
        <xs:documentation>ИННЮЛПер/ИННОргПрин (ИННФЛПер/ИННФЛПрин)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationName" type="string255">
      <xs:annotation>
        <xs:documentation>НаимОргПер/НаимОргПрин - Наименование организации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LastName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Фамилия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FirstName" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>Имя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MiddleName" type="string60">
      <xs:annotation>
        <xs:documentation>Отчество</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="DocumentRequisitesType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="IdentificationDetails" type="IdentificationDetails">
        <xs:annotation>
          <xs:documentation>РеквИдРекСост - Идентифицирующие реквизиты экономических субъектов, составивших (сформировавших) документ</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="DocumentName" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>РеквНаимДок - Наименование документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DocumentNumber" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>РеквНомерДок - Номер документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DocumentDate" type="date" use="required">
      <xs:annotation>
        <xs:documentation>РеквДатаДок - Дата документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FileId" type="string255">
      <xs:annotation>
        <xs:documentation>РеквИдФайлДок - Идентификатор файла обмена документа, подписанного первой стороной</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Id" type="string255">
      <xs:annotation>
        <xs:documentation>РеквИдДок - Идентификатор документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SystemId" type="string500">
      <xs:annotation>
        <xs:documentation>РИдСистХранД - Идентифицирующая информация об информационной системе, в которой осуществляется хранение документа, необходимая для запроса информации из информационной системы</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SystemUrl" type="string255">
      <xs:annotation>
        <xs:documentation>РеквУРЛСистДок - Сведения в формате URL об информационной системе, которая предоставляет техническую возможность получения информации о документе</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="AdditionalInfo" type="string2000">
      <xs:annotation>
        <xs:documentation>РеквДопСведДок - Дополнительные сведения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="IdentificationDetails">
    <xs:annotation>
      <xs:documentation>Если заполнен Inn - пытается сформировать ИННЮЛ (ИННФЛ)</xs:documentation>
      <xs:documentation>Если не заполнен Inn, но заполнен ShortNameExecutiveAuthority - пытается сформировать НаимОИВ</xs:documentation>
      <xs:documentation>Если не заполнены Inn и ShortNameExecutiveAuthority - пытается сформировать ДаннИно</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Inn" type="inn">
      <xs:annotation>
        <xs:documentation>ИННЮЛ (ИННФЛ)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortNameExecutiveAuthority" type="string255">
      <xs:annotation>
        <xs:documentation>НаимОИВ - Краткое наименование органа исполнительной власти (специализированной уполномоченной организации), выдавшего документ</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="StatusId">
      <xs:annotation>
        <xs:documentation>ИдСтат - Идентификация статуса</xs:documentation>
        <xs:documentation>При значении 'LegalEntity' в конечный файл значение 'ИО'</xs:documentation>
        <xs:documentation>При значении 'PhysicalPerson' в конечный файл значение 'ИГ'</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="LegalEntity" />
          <xs:enumeration value="PhysicalPerson" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Country">
      <xs:annotation>
        <xs:documentation>КодСтр - Код страны</xs:documentation>
        <xs:documentation>НаимСтран будет заполнен автоматически</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="3" />
          <xs:pattern value="[0-9]{3}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="OrgName" type="string1000">
      <xs:annotation>
        <xs:documentation>Наим - Наименование иностранной организации полное/Фамилия, имя, отчество (при наличии) иностранного гражданина</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LegalEntityId" type="string255">
      <xs:annotation>
        <xs:documentation>Идентиф - Идентификатор иностранной организации (иностранного гражданина)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationOrPersonInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения для однозначной идентификации иностранной организации (иностранного гражданина)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:schema>