<?xml version="1.0" encoding="windows-1251"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="LogisticsForwardingOrderRevokedTitle">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="OtherRecipientIds">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="OtherRecipientId">
                <xs:annotation>
                  <xs:documentation>ИдПолИной - Идентификатор иного получателя файла обмена информации экспедитора</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:minLength value="4" />
                    <xs:maxLength value="46" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="RevokedOrderInfo" type="RevokedOrderInfoType">
          <xs:annotation>
            <xs:documentation>СодИнфОтз - Содержание электронного поручения экспедитору, информация клиента об отзыве поручения экспедитору</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Signers">
          <xs:annotation>
            <xs:documentation>ПодпИнфОтз - Сведения о лице, подписывающем файл обмена информации клиента об отзыве поручения экспедитору</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element 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:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="RevokedOrderInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" name="OtherDataClients">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="OtherDataClient" type="string2000">
              <xs:annotation>
                <xs:documentation>ИныеДанКлнт - Иные данные и оговорки клиента</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="CargoReturnInfo" type="CargoReturnInfo">
        <xs:annotation>
          <xs:documentation>СвВозврГруз - Сведения о возврате груза</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="RevokedFileCorrection">
        <xs:annotation>
          <xs:documentation>ИспрФО - Исправление файла обмена информации экспедитора</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="PrevFileId" type="string255" use="required">
            <xs:annotation>
              <xs:documentation>ИдПредФайлИспр - Идентификатор предыдущего файла обмена, в который вносится исправление</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="RevisionNumber" type="integer3" use="required">
            <xs:annotation>
              <xs:documentation>НомИспр - Номер исправления</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="RevisionDate" type="date" use="required">
            <xs:annotation>
              <xs:documentation>ДатаИспр - Дата исправления</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="InfoFields" type="InfoField">
        <xs:annotation>
          <xs:documentation>ИнфПол - Информационное поле</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ForwardingOrderId" type="string36" use="required">
      <xs:annotation>
        <xs:documentation>УИД_ПорЭксп - Уникальный идентификатор документа (УИД) электронного поручения экспедитору</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OriginalClientInfoFileId" type="string255">
      <xs:annotation>
        <xs:documentation>ИдИсхФайл - Идентификатор исходного файла обмена информации клиента об отзыве поручения экспедитору, в который вносится исправление</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RevokedDate" type="date" use="required">
      <xs:annotation>
        <xs:documentation>ДатаОтз - Дата отзыва поручения клиентом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ExecutionTerminationDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаПрИсп - Дата прекращения исполнения экспедитором поручения экспедитору</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ExecutionTerminationTime" type="timeutc">
      <xs:annotation>
        <xs:documentation>ВремяПрИсп - Время прекращения исполнения экспедитором поручения экспедитору</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RevocationReason" type="string2000">
      <xs:annotation>
        <xs:documentation>ПричОтз - Причина отзыва поручения клиентом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualExpensesSum" type="decimal19f2">
      <xs:annotation>
        <xs:documentation>СумФактРасх - Сумма фактических расходов экспедитора, возмещаемая клиентом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CargoInstructions" type="string2000">
      <xs:annotation>
        <xs:documentation>УказГруз - Указания о дальнейших действиях с грузом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CargoReturnInfo">
    <xs:sequence>
      <xs:element name="Person">
        <xs:annotation>
          <xs:documentation>КонтЛицо - Контактное лицо</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <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:element>
      <xs:element minOccurs="0" name="ContactInfo">
        <xs:annotation>
          <xs:documentation>Контакт - Контактные данные</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="Phones">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="Phone" type="string255">
                    <xs:annotation>
                      <xs:documentation>Тлф - Номер контактного телефона/факс</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="Emails">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="Email" type="string255">
                    <xs:annotation>
                      <xs:documentation>ЭлПочта - Адрес электронной почты</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="OtherContactInfo" type="string255">
            <xs:annotation>
              <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="CargoReturnAddress" type="CustomAddress">
        <xs:annotation>
          <xs:documentation>АдрПунктВозвр - Адрес пункта возврата груза</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CargoReturnMethod" use="required">
      <xs:annotation>
        <xs:documentation>УслВозврГруз - Способ возврата груза</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="1" />
          <xs:enumeration value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CargoReturnDateFrom" type="date">
      <xs:annotation>
        <xs:documentation>ДатВозврС - Дата возврата груза: с</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CargoReturnDateTo" type="date">
      <xs:annotation>
        <xs:documentation>ДатВозврПо - Дата возврата груза: по</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CargoReturnTime" type="periodtimeutc">
      <xs:annotation>
        <xs:documentation>ВрВозвр - Время возврата груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CustomAddress">
    <xs:all>
      <xs:element minOccurs="0" name="Coordinate">
        <xs:annotation>
          <xs:documentation>Коорд - Координаты места</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Latitude" use="required">
            <xs:annotation>
              <xs:documentation>Широта - Широта</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="15" />
                <xs:maxLength value="17" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="Longitude" use="required">
            <xs:annotation>
              <xs:documentation>Долгота - Долгота</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="15" />
                <xs:maxLength value="18" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="Address" type="AddressUtd970">
        <xs:annotation>
          <xs:documentation>Адрес - Сведения об адресе в пределах места нахождения</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
    <xs:attribute name="Comment" type="string2000">
      <xs:annotation>
        <xs:documentation>АдрКоммент - Комментарии к адресу</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="InfoField">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="InfoField" type="AdditionalInfoId" />
    </xs:sequence>
  </xs:complexType>
  <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="string6f">
    <xs:restriction base="xs:string">
      <xs:length value="6" />
    </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="periodtimeutc">
    <xs:annotation>
      <xs:documentation>Диапазон времени в формате ЧЧ:ММ-ЧЧ:ММ+-ЧЧ:ММ</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:length value="17" />
      <xs:pattern value="([0-1]{1}[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1})-([0-1]{1}[0-9]{1}|2[0-3]{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:simpleType name="integer10">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer2">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer3">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer4">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer5">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="5" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer6">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="6" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer7">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer12">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="12" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer12z">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="12" />
      <xs:minInclusive value="0" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CommonRevisionNumber">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="3" />
      <xs:minInclusive value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal10f4">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="10" />
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal5f2">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="5" />
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal5f3">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="5" />
      <xs:fractionDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal6f2">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="6" />
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal17f3">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="17" />
      <xs:fractionDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal18f4">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="18" />
      <xs:fractionDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal18f6">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="18" />
      <xs:fractionDigits value="6" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal19f2">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="19" />
      <xs:fractionDigits value="2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal19f3">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="19" />
      <xs:fractionDigits value="3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="decimal26f11">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="26" />
      <xs:fractionDigits value="11" />
    </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="Address">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddress" />
      <xs:element name="ForeignAddress" type="ForeignAddress" />
      <xs:element name="AddressCode" type="string36" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="Address_ForeignAddress1000">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddress" />
      <xs:element name="ForeignAddress" type="ForeignAddress1000" />
      <xs:element name="AddressCode" type="string36" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="AddressUtd970">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddressUtd970" />
      <xs:element name="GarAddress" type="GarAddress" />
      <xs:element name="ForeignAddress" type="ForeignAddressUtd970" />
    </xs:choice>
    <xs:attribute name="Gln" type="string13f">
      <xs:annotation>
        <xs:documentation>ГЛНМеста - Глобальный номер места нахождения (GLN места)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AddressXmlProformaInvoice29">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddressUtd970" />
      <xs:element name="GarAddress" type="GarAddress" />
      <xs:element name="ForeignAddress" type="ForeignAddressUtd970" />
    </xs:choice>
    <xs:attribute name="Gln" type="string13f">
      <xs:annotation>
        <xs:documentation>ГЛНМеста - Глобальный номер места нахождения (GLN места)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="RussianAddress">
    <xs:attribute name="ZipCode" use="optional">
      <xs:annotation>
        <xs:documentation>индекс</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="6" />
          <xs:pattern value="[0-9]{6}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Region" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>регион (код)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Territory" type="string50" use="optional">
      <xs:annotation>
        <xs:documentation>район</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="City" type="string50" use="optional">
      <xs:annotation>
        <xs:documentation>город</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Locality" type="string50" use="optional">
      <xs:annotation>
        <xs:documentation>населенный пункт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Street" type="string50" use="optional">
      <xs:annotation>
        <xs:documentation>улица</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Building" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>дом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Block" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>корпус</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Apartment" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>квартира</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="RussianAddressUtd970">
    <xs:attribute name="ZipCode">
      <xs:annotation>
        <xs:documentation>Индекс</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="6" />
          <xs:pattern value="[0-9]{6}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Region" use="required">
      <xs:annotation>
        <xs:documentation>КодРегион - Код субъекта Российской Федерации</xs:documentation>
        <xs:documentation>НаимРегион будет заполнен автоматически</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="2" />
          <xs:pattern value="[0-9]{2}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Territory" type="string255">
      <xs:annotation>
        <xs:documentation>Район</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="City" type="string255">
      <xs:annotation>
        <xs:documentation>Город</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Locality" type="string255">
      <xs:annotation>
        <xs:documentation>Населенный пункт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Street" type="string255">
      <xs:annotation>
        <xs:documentation>Улица</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Building" type="string50">
      <xs:annotation>
        <xs:documentation>Дом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Block" type="string50">
      <xs:annotation>
        <xs:documentation>Корпус</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Apartment" type="string50">
      <xs:annotation>
        <xs:documentation>Квартира</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OtherInfo" type="string1000">
      <xs:annotation>
        <xs:documentation>Иные сведения об адресе в Российской Федерации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ForeignAddress">
    <xs:attribute name="Country" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>страна (код)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Address" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>текст адреса</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ForeignAddressUtd970">
    <xs:attribute name="Country" use="required">
      <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="Address" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>текст адреса</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ForeignAddress1000">
    <xs:attribute name="Country" type="string60" use="required">
      <xs:annotation>
        <xs:documentation>страна (код)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Address" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>текст адреса</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="GarAddress">
    <xs:all>
      <xs:element minOccurs="0" name="MunicipalTerritory" type="AddressElement">
        <xs:annotation>
          <xs:documentation>МуниципРайон - Муниципальный район/городской округ/внутригородская территория города федерального значения/муниципальный округ/федеральная территория</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="UrbanSettlement" type="AddressElement">
        <xs:annotation>
          <xs:documentation>ГородСелПоселен - Городское поселение/сельское поселение/межселенная территория в составе муниципального района/внутригородской район городского округа</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Locality" type="AddressElement">
        <xs:annotation>
          <xs:documentation>НаселенПункт - Населенный пункт (город, деревня, село и прочее)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ElementPlanningStructure" type="AddressElement">
        <xs:annotation>
          <xs:documentation>ЭлПланСтруктур - Элемент планировочной структуры</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ElementRoadNetwork" type="AddressElement">
        <xs:annotation>
          <xs:documentation>ЭлУлДорСети - Элемент улично-дорожной сети</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Buildings">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="Building" type="AddressElement">
              <xs:annotation>
                <xs:documentation>Здание - Здание (строение), сооружение/ объект незавершенного строительства</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="RoomBuilding" type="AddressElement">
        <xs:annotation>
          <xs:documentation>ПомещЗдания - Помещение в пределах здания (строения), сооружения/ машино-место</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="RoomApartment" type="AddressElement">
        <xs:annotation>
          <xs:documentation>ПомещКвартиры - Помещение в пределах квартиры</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
    <xs:attribute name="AddressCode" type="string36" use="required">
      <xs:annotation>
        <xs:documentation>ИдНом - Уникальный номер адреса объекта адресации в государственном адресном реестре</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ZipCode">
      <xs:annotation>
        <xs:documentation>Индекс</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="6" />
          <xs:pattern value="[0-9]{6}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Region" use="required">
      <xs:annotation>
        <xs:documentation>КодРегион - Код субъекта Российской Федерации</xs:documentation>
        <xs:documentation>НаимРегион будет заполнен автоматически</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="2" />
          <xs:pattern value="[0-9]{2}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="LandPlot" type="string50">
      <xs:annotation>
        <xs:documentation>Земельный участок (номер)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AddressElement">
    <xs:annotation>
      <xs:documentation>Сведения об адресном элементе</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Type" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>Вид(код)/Тип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NameOrNumber" type="string255" use="required">
      <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:documentation>Для LogisticsForwardingOrderRevokedTitle принимает значения 1 и 3</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:schema>