<?xml version="1.0" encoding="windows-1251"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="LogisticsWaybillConsignorTitle">
    <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 minOccurs="0" name="DocumentCreatorBase" type="DocumentRequisitesLogisticsType">
          <xs:annotation>
            <xs:documentation>ОснДовОргСост - Основание, по которому экономический субъект является составителем файла обмена информации грузоотправителя</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="WaybillInfo" type="WaybillInfoType">
          <xs:annotation>
            <xs:documentation>СодИнфГО - Содержание транспортной накладной, информация грузоотправителя</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:choice>
          <xs:element name="Signers" type="LogisticsSigners" />
          <xs:sequence>
            <xs:element minOccurs="0" name="WarrantInfo" type="DigitalWarrantInfoType" />
            <xs:element name="Signer">
              <xs:complexType>
                <xs:choice>
                  <xs:element name="SignerReference" type="SignerReference" />
                  <xs:element name="SignerDetails" type="SignerDetails" />
                </xs:choice>
                <xs:attribute name="SignerType">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:length value="1" />
                      <xs:enumeration value="1" />
                      <xs:enumeration value="2" />
                      <xs:enumeration value="3" />
                      <xs:enumeration value="4" />
                      <xs:enumeration value="5" />
                      <xs:enumeration value="6" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attribute name="Number" type="string1000" use="required">
        <xs:annotation>
          <xs:documentation>НомерТрН - Порядковый номер транспортной накладной</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Date" type="date" use="required">
        <xs:annotation>
          <xs:documentation>ДатаТрН - Дата составления транспортной накладной</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="OrderNumber" type="string1000" use="required">
        <xs:annotation>
          <xs:documentation>НомЗак - Порядковый номер заказа (заявки)</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="OrderDate" type="date" use="required">
        <xs:annotation>
          <xs:documentation>ДатаЗак - Дата заказа (заявки)</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="DocumentCreator" type="string1000">
        <xs:annotation>
          <xs:documentation>НаимЭкСубСост - Наименование экономического субъекта, составляющего файл обмена информации грузоотправителя</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="MintransId" type="string1000">
        <xs:annotation>
          <xs:documentation>УИД_ТрН - Уникальный идентификатор документа, транспортной накладной</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="WaybillInfoType">
    <xs:all>
      <xs:element minOccurs="0" name="IdentificationOrderRequestFile" type="IdentificationOrderRequestFile">
        <xs:annotation>
          <xs:documentation>ИдЗак - Идентификация файла обмена заказа (заявки)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShipperInfo">
        <xs:annotation>
          <xs:documentation>СвГО - Сведения о грузоотправителе</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Shipper" type="ExtendedOrganizationInfoLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>РекИдентГО - Реквизиты, позволяющие идентифицировать грузоотправителя</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="DocumentCalculationBase" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ОснРасчИным - Реквизиты документа, определяющего основания осуществления расчетов по договору перевозки иным лицом, отличным от грузоотправителя</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="IsFreightForwarder" use="required">
            <xs:annotation>
              <xs:documentation>ГОЭксп - Статус грузоотправителя</xs:documentation>
              <xs:documentation>0 - грузоотправитель не является экспедитором</xs:documentation>
              <xs:documentation>1 - грузоотправитель является экспедитором</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:length value="1" />
                <xs:enumeration value="0" />
                <xs:enumeration value="1" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="ClientInfo">
        <xs:annotation>
          <xs:documentation>СвЗак - Сведения о заказчике услуг по организации перевозки груза, связанных с перевозкой груза</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Client" type="ExtendedOrganizationInfoLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>РекИдентЗак - Реквизиты, позволяющие идентифицировать заказчика услуг, связанных с перевозкой груза</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ForwardingContract" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ДогУслПер - Реквизиты договора на выполнение услуг по организации перевозки груза</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="ConsigneeInfo">
        <xs:annotation>
          <xs:documentation>СвГП - Сведения о грузополучателе</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Consignee" type="ExtendedOrganizationInfoLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>РекИдентГП - Реквизиты, позволяющие идентифицировать грузополучателя</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DeliveryAddres" type="CustomAddressLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>АдресДостГр - Адрес места доставки груза</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CargoInfo">
        <xs:annotation>
          <xs:documentation>СвГруз - Сведения о грузе</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ItemDescriptions">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="ItemDescription" type="CargoItemDescription">
                    <xs:annotation>
                      <xs:documentation>ОпГруз - Описание груза</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="OverallCargoCost" type="CostDetails">
              <xs:annotation>
                <xs:documentation>ОбЦеннГр - Общая объявленная стоимость (ценность) груза</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="InfoFields" type="InfoField">
              <xs:annotation>
                <xs:documentation>ИнфПол - Информационное поле</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="CoveringDocuments">
        <xs:annotation>
          <xs:documentation>СопрДок - Сведения о сопроводительных документах на груз</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="DangerousSanitaryCustomsCertificates">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="DangerousSanitaryCustomsCertificate" type="DocumentRequisitesLogisticsType">
                    <xs:annotation>
                      <xs:documentation>ДокКТрН - Перечень прилагаемых к транспортной накладной документов,
                                                предусмотренных Соглашением о международной дорожной перевозке опасных грузов (ДОПОГ),
                                                санитарными, таможенными (при наличии), карантинными, иными правилами в соответствии с
                                                законодательством Российской Федерации</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="StateCertificates">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="StateCertificate" type="DocumentRequisitesLogisticsType">
                    <xs:annotation>
                      <xs:documentation>ДокКГр - Перечень прилагаемых к грузу сертификатов, паспортов качества,
                                                удостоверений и других документов, наличие которых установлено законодательством Российской Федерации,
                                                либо регистрационные номера указанных документов, если такие документы (сведения о таких документах)
                                                содержатся в государственных информационных системах</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="Shipments">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="Shipment" type="DocumentRequisitesLogisticsType">
                    <xs:annotation>
                      <xs:documentation>ДокПерЦенн - Реквизиты, позволяющие идентифицировать документ, подтверждающий отгрузку товара</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="ContainerCertificate" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>РекСопрВед - Реквизиты сопроводительной ведомости (при перевозке груженых контейнеров или порожних контейнеров)</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="ConsignorDirectives" type="ConsignorDirectivesInfo">
        <xs:annotation>
          <xs:documentation>УказГО - Сведения об указаниях грузоотправителя по особым условиям перевозки</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Carrier" type="ExtendedOrganizationInfoLogisticsWaybill">
        <xs:annotation>
          <xs:documentation>СвПер - Сведения о перевозчике</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Drivers">
        <xs:annotation>
          <xs:documentation>Сведения о водителях</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="DriverInfo" type="DriverInfo">
              <xs:annotation>
                <xs:documentation>СвВодит - Сведения о водителе</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="VehicleInfo">
        <xs:annotation>
          <xs:documentation>СвТС - Сведения о транспортном средстве</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Vehicle" type="TransportDetails">
              <xs:annotation>
                <xs:documentation>ТС - Транспортное средство (в том числе тягач)</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="Trailers">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="Trailer" type="TransportDetails">
                    <xs:annotation>
                      <xs:documentation>Прицеп - Прицеп (полуприцеп)</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="SpecialTransportationConditions">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="SpecialTransportationCondition" type="SpecialTransportationConditionType">
                    <xs:annotation>
                      <xs:documentation>СпецУслДвиж - Сведения о специальных условиях движения</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </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:complexType>
      </xs:element>
      <xs:element name="LoadingInfo" type="LoadingInfo">
        <xs:annotation>
          <xs:documentation>СвПогруз - Сведения грузоотправителя о передаче груза для приема груза перевозчиком</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ConsignorMarks">
        <xs:annotation>
          <xs:documentation>ОтметГО - Сведения об отметках грузоотправителя</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="ConsignorMark" type="ConsignorMark" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="InfoFields" type="InfoField">
        <xs:annotation>
          <xs:documentation>ИнфПол - Информационное поле</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
    <xs:attribute name="RevisionNumber">
      <xs:annotation>
        <xs:documentation>НомИспр - Номер исправления</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:totalDigits value="3" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="RevisionDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаИспр - Дата исправления</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfoLogisticsWaybill">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetailsLogisticsWaybill" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReferenceLogisticsWaybill" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReferenceLogisticsWaybill">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_LogisticsWaybill">
        <xs:attribute name="BoxId" type="guid" use="required">
          <xs:annotation>
            <xs:documentation>Идентификатор ящика организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetailsLogisticsWaybill">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_LogisticsWaybill">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="AddressLogisticsWaybill">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="FnsParticipantId" type="string1000">
          <xs:annotation>
            <xs:documentation>Идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
          <xs:annotation>
            <xs:documentation>СвИП - СвЮЛУч - СвФЛУч - СвИнНеУч</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgName" type="string1000">
          <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="Kpp" type="kpp">
          <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="LegalEntityId" type="string255">
          <xs:annotation>
            <xs:documentation>Идентиф - Идентификатор иностранной организации</xs:documentation>
          </xs:annotation>
        </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="OrganizationOrPersonInfo" type="string255">
          <xs:annotation>
            <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ParticipantIdentificationDetails">
    <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
      <xs:annotation>
        <xs:documentation>СвИП - СвЮЛУч - СвФЛУч - СвИнНеУч</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrgName" type="string1000" use="required">
      <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="Kpp" type="kpp">
      <xs:annotation>
        <xs:documentation>КПП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Ogrn" type="ogrn">
      <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="LegalEntityId" type="string255">
      <xs:annotation>
        <xs:documentation>Идентиф - Идентификатор иностранной организации</xs:documentation>
      </xs:annotation>
    </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="OrganizationOrPersonInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_LogisticsWaybill">
    <xs:sequence>
      <xs:element 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:element minOccurs="0" name="OrganizationAdditionalInfos" type="OrganizationAdditionalInfos" />
      <xs:element minOccurs="0" name="ForeignPersonDetails" type="DocumentDetails">
        <xs:annotation>
          <xs:documentation>УдЛичнИнФЛ - Данные документа, удостоверяющего личность иностранного гражданина</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="OtherContactInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Ogrn" type="ogrn">
      <xs:annotation>
        <xs:documentation>ОГРН - ОГРНИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="OrganizationAdditionalInfos">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="OrganizationAdditionalInfo">
        <xs:annotation>
          <xs:documentation>ИнфДляУчаст - Информация для участника документооборота</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="OrganizationAdditionalInn" type="inn" use="required">
            <xs:annotation>
              <xs:documentation>ИННУчаст - ИНН участника</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="OrganizationAdditionalInfo" type="string255" use="required">
            <xs:annotation>
              <xs:documentation>ИнфУчаст - Информация для участника</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IdentificationOrderRequestFile">
    <xs:attribute name="OrderRequestId" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>ИдФайлЗак - Идентификатор файла обмена заказа (заявки)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrderRequestDate" type="date" use="required">
      <xs:annotation>
        <xs:documentation>ДатФайлЗак - Дата формирования файла обмена заказа (заявки)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrderRequestTime" type="timeWithColon" use="required">
      <xs:annotation>
        <xs:documentation>ВрФайлЗак - Идентификатор файла обмена заказа (заявки)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrderRequestSignature" use="required">
      <xs:annotation>
        <xs:documentation>ЭП - Электронная подпись файла обмена заказа (заявки)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CargoItemDescription">
    <xs:all>
      <xs:element name="Marks">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="Mark" type="string1000">
              <xs:annotation>
                <xs:documentation>Марк - Маркировка</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="CargoDimensions">
        <xs:annotation>
          <xs:documentation>Габар - Габариты груза, в метрах</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Height" type="decimal17f3" use="required">
            <xs:annotation>
              <xs:documentation>ВысЗнач - Высота, в метрах</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="Length" type="decimal17f3" use="required">
            <xs:annotation>
              <xs:documentation>ДлЗнач - Длина, в метрах</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="Width" type="decimal17f3" use="required">
            <xs:annotation>
              <xs:documentation>ШирЗнач - Ширина, в метрах</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="CargoItemDangerousDescriptions">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="CargoItemDangerousDescription" type="CargoItemDangerousDescriptionType">
              <xs:annotation>
                <xs:documentation>СвОпГруз - Сведения об опасном грузе (в случае перевозки опасного груза)</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="TransportContainers">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="TransportContainer">
              <xs:annotation>
                <xs:documentation>СвКонтейн - Сведения о контейнерах</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ContainerIds">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element maxOccurs="unbounded" name="ContainerId" type="string255">
                          <xs:annotation>
                            <xs:documentation>ИдКонтейн - Идентификационный номер контейнера</xs:documentation>
                          </xs:annotation>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="Quantity" use="required">
                  <xs:annotation>
                    <xs:documentation>КолКонтейн - Количество контейнеров</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:integer">
                      <xs:totalDigits value="2" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="PlannedMass" type="CargoPlannedMass">
        <xs:annotation>
          <xs:documentation>ПлМасГруз - Плановая масса груза, в килограммах</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Cost" type="CostDetails">
        <xs:annotation>
          <xs:documentation>ЦеннГруз - Объявленная стоимость (ценность) груза</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ClientDetails" type="ParticipantIdentificationDetails">
        <xs:annotation>
          <xs:documentation>ЗакУсл - Сведения о заказчике услуг, связанных с перевозкой груза</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="StateSystemDetails">
        <xs:annotation>
          <xs:documentation>СвГосСист - Дополнительные сведения о товаре, перевозка которого подлежит учету в государственной информационной системе</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Ids">
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="Id" type="string255">
                    <xs:annotation>
                      <xs:documentation>ИдНомУчетЕд - Идентификационный номер учетной единицы в государственной системе</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Name" type="string255" use="required">
            <xs:annotation>
              <xs:documentation>НаимГосСист - Наименование государственной системы</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="Unit" type="string255">
            <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:element>
    </xs:all>
    <xs:attribute name="Name" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>НаимГруз - Отгрузочное наименование груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CodeTnved" type="string4f">
      <xs:annotation>
        <xs:documentation>КодТовНом - Код товарной номенклатуры</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Condition" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>СостГруз - Состояние груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PackageMethod" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>СпУпак - Способ упаковки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ContainerType" type="string2f" use="required">
      <xs:annotation>
        <xs:documentation>ВидТар - Виды тары</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Density" type="decimal5f2">
      <xs:annotation>
        <xs:documentation>Плотн - Плотность груза в соответствии с документацией на груз</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Volume" type="decimal17f3">
      <xs:annotation>
        <xs:documentation>Объем - Объем груза, в кубических метрах</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CargoSpaceQuantity" type="integer4" use="required">
      <xs:annotation>
        <xs:documentation>КолМестГр - Количество грузовых мест согласно описанию груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IsForStateSystemRegistration">
      <xs:annotation>
        <xs:documentation>УчГосСист - Отметка о перевозке в составе груза товара, перевозка которого подлежит учету в государственной информационной системе</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="0" />
          <xs:enumeration value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="OtherCargoInfo" type="string1000">
      <xs:annotation>
        <xs:documentation>ДрОГруз - Другая необходимая информация о грузе</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CargoItemDangerousDescriptionType">
    <xs:attribute name="OonNumber" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>НомООН - Номер ООН</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShippingName" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>НадОтгНаим - Надлежащее отгрузочное наименование</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TechnicalName" type="string1000">
      <xs:annotation>
        <xs:documentation>ТехНаим - Техническое наименование</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Description" type="string1000">
      <xs:annotation>
        <xs:documentation>Описание - Описание</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Class" type="string3" use="required">
      <xs:annotation>
        <xs:documentation>Клас - Класс</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ClassCode" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>КласКод - Классификационный код</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PackageGroup" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>ГрУп - Группа упаковки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DangerSign" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>ЗнОп - Знак опасности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TunnelPassCode" type="string50" use="required">
      <xs:annotation>
        <xs:documentation>КодОгрЧерТун - Код ограничения проезда через туннели</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RadionuclideName" type="string1000">
      <xs:annotation>
        <xs:documentation>НазРадионук - Название или символ каждого радионуклида</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PhysicalOrChemicalDesc" type="string1000">
      <xs:annotation>
        <xs:documentation>ОписФизХимФорм - Описание физической и химической формы</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxActivity" type="string1000">
      <xs:annotation>
        <xs:documentation>МаксАкт - Максимальная активность радиоактивного содержимого во время перевозки, выраженная в беккерелях (Бк), или масса делящегося материала, выраженная в граммах (г) или соответствующих кратных грамму единицах</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PackageCategory" type="string50">
      <xs:annotation>
        <xs:documentation>КатУпак - Категория упаковки, транспортного пакета или контейнера</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TransportIndex" type="string100">
      <xs:annotation>
        <xs:documentation>ТрансИндекс - Транспортный индекс</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SafetyIndex" type="string100">
      <xs:annotation>
        <xs:documentation>ИндексБез - Индекс безопасности по критичности для грузов, содержащих делящийся материал</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IdentifyingSign" type="string10000">
      <xs:annotation>
        <xs:documentation>ОпозЗнак - Опознавательный знак для каждого сертификата об утверждении компетентного органа, применимый для данного груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FullCargoActivity" type="string50">
      <xs:annotation>
        <xs:documentation>ПолнАктГр - Полная активность груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ExplosivesUNumberNetWeight" type="string50">
      <xs:annotation>
        <xs:documentation>ОбМасНетВзрСод - Общая масса нетто взрывчатого содержимого в килограммах для каждого вещества или изделия, имеющего отдельный номер ООН</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ExplosivesContainerCertificateNetWeight" type="string50">
      <xs:annotation>
        <xs:documentation>ОбМасНетВзрСодВсех - Общая масса нетто взрывчатого содержимого в килограммах для всех веществ и изделий, которых касается сопроводительная ведомость</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CompositionPercentage" type="string50">
      <xs:annotation>
        <xs:documentation>ПроцСмеси - Процентный (по объему или массе) состав смеси</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RetentionDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатИстВрУдер - Дата истечения времени удержания</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TemperatureControl" type="string10">
      <xs:annotation>
        <xs:documentation>КонтТемпер - Контрольная температура, в градусах Цельсия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="AccidentTemperature" type="string10">
      <xs:annotation>
        <xs:documentation>АварТемпер - Аварийная температура, в градусах Цельсия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CargoPlannedMass">
    <xs:attribute name="NetWeight" type="decimal17f3">
      <xs:annotation>
        <xs:documentation>МасНетЗнач - Масса нетто груза в килограммах</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GrossWeight" type="decimal17f3" use="required">
      <xs:annotation>
        <xs:documentation>МасБрутЗнач - Масса брутто груза в килограммах</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NumberOfPallets" type="integer4">
      <xs:annotation>
        <xs:documentation>КолПалл - Количество  паллет</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CostDetails">
    <xs:attribute name="Amount" type="decimal19f2" use="required">
      <xs:annotation>
        <xs:documentation>СтЦеннГр - Стоимость (ценность) груза с налогом - всего</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CurrencyCode" type="okv" use="required">
      <xs:annotation>
        <xs:documentation>КодОКВ - Валюта стоимости (ценности): код</xs:documentation>
        <xs:documentation>НаимОКВ - Заполнится автоматически при генерации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ConsignorDirectivesInfo">
    <xs:all>
      <xs:element minOccurs="0" name="Route" type="TransportationRoute">
        <xs:annotation>
          <xs:documentation>МршПрвз - Сведения о маршруте перевозки</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReaddressDetails">
        <xs:annotation>
          <xs:documentation>СвПА - Сведения о процедуре переадресовки</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:all>
            <xs:element 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:element minOccurs="0" name="ReaddressPowersDocument" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ДокПерПолнПА - Реквизиты документа, подтверждающего передачу полномочий по переадресовке грузополучателю</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:all>
          <xs:attribute name="OtherContactInfo" type="string255">
            <xs:annotation>
              <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="AccountableSide" use="required">
            <xs:annotation>
              <xs:documentation>ЛицоПА - Лицо, по указанию которого может осуществляться переадресовка</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="Consignor" />
                <xs:enumeration value="Consignee" />
              </xs:restriction>
            </xs:simpleType>
          </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:all>
    <xs:attribute name="IsOverloadAllowed">
      <xs:annotation>
        <xs:documentation>ЗапрПерегруз - Запрещение перегрузки груза</xs:documentation>
        <xs:documentation>0 - нет запрещения перегрузки груза</xs:documentation>
        <xs:documentation>1 - перегрузка груза запрещена</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="0" />
          <xs:enumeration value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DeliveryDateTime" type="datetimeutc">
      <xs:annotation>
        <xs:documentation>ДатВрДостГр - Дата и время доставки груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DeliveryDateTimeEnablingTimeZone" type="TimeZonePresence">
      <xs:annotation>
        <xs:documentation>НалКоорТочВрДост - Применение координации точного времени (UTC) в типовом элементе datetimeutc</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DeliveryTerms" type="string100">
      <xs:annotation>
        <xs:documentation>СрокДостГр - Срок доставки груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SealDetails" type="string2000">
      <xs:annotation>
        <xs:documentation>СвПломба - Сведения о запорно-пломбировочных устройствах (указываются в случае их предоставления грузоотправителем)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TransportationDirectives" type="string2000" use="required">
      <xs:annotation>
        <xs:documentation>УкНормПрвз - Указания в отношении выполнения норм перевозки (для выполнения фитосанитарных, санитарных, карантинных, таможенных и прочих требований, установленных законодательством Российской Федерации)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SpeedLimit" type="string2000">
      <xs:annotation>
        <xs:documentation>ОгрСкор - Указания об ограничениях скорости движения при перевозке груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TemperatureLowerLimit">
      <xs:annotation>
        <xs:documentation>ТемпНеНиже - Нижний предел температуры, градусов Цельсия (от)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:totalDigits value="6" />
          <xs:fractionDigits value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="TemperatureUpperLimit">
      <xs:annotation>
        <xs:documentation>ТемпНеВыше - Верхний предел температуры, градусов Цельсия (до)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:totalDigits value="6" />
          <xs:fractionDigits value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="HumidityLowerLimit" type="decimal5f2">
      <xs:annotation>
        <xs:documentation>ВлажнНеНиже - Нижний предел влажности, процент (от)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="HumidityUpperLimit" type="decimal5f2">
      <xs:annotation>
        <xs:documentation>ВлажнНеВыше - Верхний предел влажности, процент (до)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="TransportationRoute">
    <xs:annotation>
      <xs:documentation>СведМршТип - Установленный маршрут движения тяжеловесного и (или) крупногабаритного транспортного средства или транспортного средства, перевозящего опасный груз</xs:documentation>
    </xs:annotation>
    <xs:attribute name="TextRoute" type="string2000">
      <xs:annotation>
        <xs:documentation>МршТекст - Маршрут, текстовый формат</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GeoJson" type="string2000">
      <xs:annotation>
        <xs:documentation>МршМашЧит - Маршрут, машиночитаемый формат</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="DriverInfo">
    <xs:sequence>
      <xs:element name="Phones">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="Phone" type="string20">
              <xs:annotation>
                <xs:documentation>Тлф - Номер контактного телефона</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="EplInfos">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="EplInfo" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ПутевойЛист - Сведения о путевом листе</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <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:attribute name="LicenseNumber" type="string20">
      <xs:annotation>
        <xs:documentation>НомВУ - Номер водительского удостоверения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LicenseSeries" type="string20">
      <xs:annotation>
        <xs:documentation>СерВУ - Серия водительского удостоверения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LicenseDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаВыдВУ - Дата выдачи водительского удостоверения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Inn" type="innindividual">
      <xs:annotation>
        <xs:documentation>ИННФЛ - ИНН физического лица</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SignatureIdentificationInfo" type="string1000">
      <xs:annotation>
        <xs:documentation>СвСпИдПодп - Сведения о способе идентификации при применении простой подписи</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="TransportDetails">
    <xs:sequence>
      <xs:element minOccurs="0" name="LeasingOrRentGrounds">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="LeasingOrRentGround" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ОснАрЛиз - Реквизиты документа (документов), подтверждающего основание владения грузовым автомобилем (тягачом), а также прицепом (полуприцепом)</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="RegistrationNumber" type="string10">
      <xs:annotation>
        <xs:documentation>НомСТС - Номер СТС</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Vin" type="string17">
      <xs:annotation>
        <xs:documentation>НомерВИН - VIN номер</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Number" type="string9" use="required">
      <xs:annotation>
        <xs:documentation>РегНомер - Регистрационный номер</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Ownership" use="required">
      <xs:annotation>
        <xs:documentation>ТипВлад - Тип владения</xs:documentation>
        <xs:documentation>1 - собственность</xs:documentation>
        <xs:documentation>2 - совместная собственность супругов</xs:documentation>
        <xs:documentation>3 - аренда</xs:documentation>
        <xs:documentation>4 - лизинг</xs:documentation>
        <xs:documentation>5 - безвозмездное пользование</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="1" />
          <xs:enumeration value="2" />
          <xs:enumeration value="3" />
          <xs:enumeration value="4" />
          <xs:enumeration value="5" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>Тип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Model" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>Марка</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxWeight" type="decimal5f2" use="required">
      <xs:annotation>
        <xs:documentation>Грузопод - Грузоподъемность, в тоннах</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Capacity" use="required">
      <xs:annotation>
        <xs:documentation>Вместим - Вместимость, в кубических метрах</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:decimal">
          <xs:totalDigits value="4" />
          <xs:fractionDigits value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="SpecialTransportationConditionType">
    <xs:annotation>
      <xs:documentation>СпецУслДвижТип - Сведения о специальных условиях движения</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="Route" type="TransportationRoute">
        <xs:annotation>
          <xs:documentation>СведМрш - Установленный маршрут движения тяжеловесного и (или) крупногабаритного транспортного средства или транспортного средства, перевозящего опасный груз</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="PermissionNumber" type="string255">
      <xs:annotation>
        <xs:documentation>НомСР - Номер специального разрешения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PermissionDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаСР - Дата специального разрешения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PermissionTerm" type="string100">
      <xs:annotation>
        <xs:documentation>СрокСР - Срок действия специального разрешения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PermissionId" type="string255">
      <xs:annotation>
        <xs:documentation>ИдСР - Идентификатор файла специального разрешения (в том числе регистрационный номер, если документ / сведения о таком документе содержатся в государственных информационных системах)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ConsignorMark">
    <xs:sequence>
      <xs:element minOccurs="0" name="CommercialActInfos">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="CommercialActInfo" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>СвАкт - Сведения о коммерческих и иных актах, в том числе о погрузке груза</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="FineInfos">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="FineInfo">
              <xs:annotation>
                <xs:documentation>РазмШтр - Расчет и размер штрафа</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="Quantity" type="string255">
                  <xs:annotation>
                    <xs:documentation>ФактКолЕдИзм - Фактическое количество единиц измерения для расчета штрафа (фактическая база для расчета штрафа)</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="AmountRu" type="decimal19f2">
                  <xs:annotation>
                    <xs:documentation>ИтогРазмШтрРФ - Итоговый размер штрафа в валюте Российской Федерации</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="CurrencyCode" type="okv">
                  <xs:annotation>
                    <xs:documentation>КодОКВ - Валюта штрафа по условиям договора: Код</xs:documentation>
                    <xs:documentation>НаимОКВ - Заполнится автоматически при генерации файла</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="AmountForeign" type="decimal19f2">
                  <xs:annotation>
                    <xs:documentation>ИтогРазмШтрИн - Итоговый размер штрафа в валюте, отличной от рублей</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ExchangeRateDate" type="date">
                  <xs:annotation>
                    <xs:documentation>ДатаКурсВал - Дата, на которую определяется курс валюты</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ExchangeRate">
                  <xs:annotation>
                    <xs:documentation>КурсВал - Курс валюты на дату расчета размера штрафа</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:decimal">
                      <xs:totalDigits value="10" />
                      <xs:fractionDigits value="4" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="FineCountMethod" type="string1000">
                  <xs:annotation>
                    <xs:documentation>РасчШтр - Расчет штрафа</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="WeightCalculationActs">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="WeightCalculationAct" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>СвАктВзв - Сведения об актах взвешивания</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </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="DateTimeOffset" type="datetimeutc" use="required">
      <xs:annotation>
        <xs:documentation>ДатВрОтмет - Дата и время отметки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DateTimeOffsetEnablingTimeZone" type="TimeZonePresence" use="required">
      <xs:annotation>
        <xs:documentation>НалКоорТочВрОтм - Применение координации точного времени (UTC) в типовом элементе ДатаВремяВЗТип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Circumstances" type="string2000" use="required">
      <xs:annotation>
        <xs:documentation>ОбстОтмет - Описание обстоятельств, послуживших основанием для отметки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="LoadingInfo">
    <xs:sequence>
      <xs:element name="ActualLoadingAddress" type="CustomAddressLogisticsWaybill">
        <xs:annotation>
          <xs:documentation>ФАдресПогр - Адрес места погрузки</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LoadingPartyDetails">
        <xs:annotation>
          <xs:documentation>СвЛицПогрГр - Сведения о лице, осуществляющем погрузку груза в транспортное средство</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="Requisites" type="ExtendedOrganizationInfoLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>РекЛицПогрГр - Реквизиты лица, осуществляющего погрузку груза в транспортное средство</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="LoadingGrounds" type="DocumentRequisitesLogisticsType">
              <xs:annotation>
                <xs:documentation>ОснПогрГр - Основание, по которому лицо осуществляет погрузку груза в транспортное средство</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="LoadingPartyEmployee">
              <xs:annotation>
                <xs:documentation>РабЛицПогрГр - Работник лица, осуществляющего погрузку груза в транспортное средство</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:choice>
                    <xs:element name="JobResponsibilities" type="string255">
                      <xs:annotation>
                        <xs:documentation>ОДолжОб - Основание полномочий (доверия) на осуществление действий по погрузке груза в транспортное средство: должностные обязанности</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="OtherLoadingGrounds" type="DocumentRequisitesLogisticsType">
                      <xs:annotation>
                        <xs:documentation>ОПИное - Основание полномочий (доверия) на осуществление действий по погрузке груза в транспортное средство: иные основания</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                  </xs:choice>
                  <xs:element name="Fio" type="Fio">
                    <xs:annotation>
                      <xs:documentation>ФИО - Фамилия, имя, отчество (при наличии)</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="Position" type="string128" use="required">
                  <xs:annotation>
                    <xs:documentation>Должность</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="OtherInfo" type="string255">
                  <xs:annotation>
                    <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие физическое лицо</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element minOccurs="0" name="RequisitesShipper" type="PartiesRequisite">
              <xs:annotation>
                <xs:documentation>ИдентРекГО - Идентифицирующий реквизит грузоотправителя</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="MatchingShipper" use="required">
            <xs:annotation>
              <xs:documentation>СовпГОП - Признак совпадения с грузоотправителем: лицо, которое осуществляет погрузку груза в транспортное средство, является грузоотправителем</xs:documentation>
              <xs:documentation>1 - совпадает. Лицо, которое осуществляет погрузку груза в транспортное средство, является грузоотправителем</xs:documentation>
              <xs:documentation>2 - не совпадает. Лицо, которое осуществляет погрузку груза в транспортное средство, не является грузоотправителем</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:complexType>
      </xs:element>
      <xs:element name="LoadingOwnerDetails">
        <xs:annotation>
          <xs:documentation>ВладИнфр - Сведения о владельце объекта инфраструктуры пункта погрузки</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="Requisites" type="ExtendedOrganizationInfoLogisticsWaybill">
              <xs:annotation>
                <xs:documentation>РекВладИнф - Реквизиты организации - владельца объекта инфраструктуры пункта погрузки</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="RequisitesShipper" type="PartiesRequisite">
              <xs:annotation>
                <xs:documentation>ИдентРекГО - Идентифицирующий реквизит грузоотправителя</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Type" use="required">
            <xs:annotation>
              <xs:documentation>СовпГОВ - Признак совпадения лица, которое является владельцем инфраструктуры пункта погрузки, с грузоотправителем</xs:documentation>
              <xs:documentation>1 - совпадает. Лицо, которое является владельцем объекта инфраструктуры пункта погрузки, является грузоотправителем</xs:documentation>
              <xs:documentation>2 - не совпадает. Лицо, которое является владельцем объекта инфраструктуры пункта погрузки, не является грузоотправителем</xs:documentation>
              <xs:documentation>3 - не совпадает. Лицо, которое является владельцем объекта инфраструктуры, неизвестно</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:length value="1" />
                <xs:enumeration value="1" />
                <xs:enumeration value="2" />
                <xs:enumeration value="3" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="OwnerInfoAbsenceReason" type="string1000">
            <xs:annotation>
              <xs:documentation>ОбНетИнфОВлад - Обстоятельства, являющиеся причиной отсутствия информации о владельце инфраструктуры пункта погрузки</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:choice>
        <xs:element minOccurs="0" name="AccessToLoadingGrounds" type="DocumentRequisitesLogisticsType">
          <xs:annotation>
            <xs:documentation>ОснДостОбИнфрДок - Основание беспрепятственного доступа к объекту инфраструктуры пункта погрузки лица, осуществляющего погрузку груза в транспортное средство: документ</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="AccessToLoadingGroundsText" type="string1000">
          <xs:annotation>
            <xs:documentation>ОснДостОбИнфрТекст - Основание беспрепятственного доступа к объекту инфраструктуры пункта погрузки лица, осуществляющего погрузку груза в транспортное средство: текст при отсутствии подтверждающих документов</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element minOccurs="0" name="InfoFields" type="InfoField">
        <xs:annotation>
          <xs:documentation>ИнфПол - Информационное поле</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="StatedArrivalDateTime" type="datetimeutc" use="required">
      <xs:annotation>
        <xs:documentation>ЗаявПогр - Заявленные дата и время подачи транспортного средства под погрузку</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="StatedArrivalDateTimeEnablingTimeZone" type="TimeZonePresence" use="required">
      <xs:annotation>
        <xs:documentation>НалКоорТочВрЗаяв - Применение координации точного времени (UTC) в типовом элементе ДатаВремяВЗТип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualArrivalDateTime" type="datetimeutc" use="required">
      <xs:annotation>
        <xs:documentation>ФДатВрПриб - Фактические дата и время прибытия под погрузку</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualArrivalDateTimeEnablingTimeZone" type="TimeZonePresence" use="required">
      <xs:annotation>
        <xs:documentation>НалКоорТочВрФПогр - Применение координации точного времени (UTC) в типовом элементе ДатаВремяВЗТип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualDepartureDateTime" type="datetimeutc" use="required">
      <xs:annotation>
        <xs:documentation>ФДатВрУбыт - Фактические дата и время убытия</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualDepartureDateTimeEnablingTimeZone" type="TimeZonePresence" use="required">
      <xs:annotation>
        <xs:documentation>НалКоорТочВрФУбыт - Применение координации точного времени (UTC) в типовом элементе ДатаВремяВЗТип</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualCargoCondition" type="string1000">
      <xs:annotation>
        <xs:documentation>ФСостТар - Фактическое состояние тары при приеме груза перевозчиком от лица, осуществляющего погрузку груза в транспортное средство</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualPackageCondition" type="string1000">
      <xs:annotation>
        <xs:documentation>ФСостУп - Фактическое состояние упаковки при приеме груза перевозчиком от лица, осуществляющего погрузку груза в транспортное средство</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ActualVehicleBodyCondition" type="string1000">
      <xs:annotation>
        <xs:documentation>ФСостКуз - Фактическое состояние кузова при приеме груза перевозчиком от лица, осуществляющего погрузку груза в транспортное средство</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GrossWeight" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>МасБрутОтгр - Масса брутто груза</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="WeighingMethod" use="required">
      <xs:annotation>
        <xs:documentation>МетОпрМасс - Метод определения массы груза</xs:documentation>
        <xs:documentation>01 - Взвешивание по общей массе</xs:documentation>
        <xs:documentation>02 - Взвешивание поосно</xs:documentation>
        <xs:documentation>03 - Расчетная масса груза</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="2" />
          <xs:enumeration value="01" />
          <xs:enumeration value="02" />
          <xs:enumeration value="03" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="NumberOfPlaces" type="integer4" use="required">
      <xs:annotation>
        <xs:documentation>КолМестПрием - Количество грузовых мест при приеме груза перевозчиком</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="DigitalWarrantInfoType">
    <xs:attribute name="WarrantDate" type="date" use="required" />
    <xs:attribute name="WarrantNumber" type="string100" />
    <xs:attribute name="WarrantId" type="string255" use="required">
      <xs:annotation>
        <xs:documentation>Идентификатор файла доверенности</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="WarrantSystemInfo" type="string500">
      <xs:annotation>
        <xs:documentation>Идентифицирующие сведения об информационной системе, которая предоставляет техническую возможность получения информации о досрочном прекращении действия доверенности, в том числе в силу ее отмены доверителем</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CustomAddressLogisticsWaybill">
    <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="AddressLogisticsWaybill" type="AddressLogisticsWaybill" />
    </xs:all>
    <xs:attribute name="Gln" type="string13f">
      <xs:annotation>
        <xs:documentation>ГЛН - Глобальный номер места нахождения (GLN места)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Comment" type="string2000">
      <xs:annotation>
        <xs:documentation>АдрКоммент - Комментарии к адресу</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="AddressLogisticsWaybill">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddressLogisticsWaybill" />
      <xs:element name="ForeignAddress" type="ForeignAddressUtd970" />
      <xs:element name="AddressCode" type="string36" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="RussianAddressLogisticsWaybill">
    <xs:attribute name="ZipCode" use="required">
      <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: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="string50">
      <xs:annotation>
        <xs:documentation>Район</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="City" type="string50">
      <xs:annotation>
        <xs:documentation>Город</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Locality" type="string50">
      <xs:annotation>
        <xs:documentation>Населенный пункт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Street" type="string50">
      <xs:annotation>
        <xs:documentation>Улица</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Building" type="string20">
      <xs:annotation>
        <xs:documentation>Дом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Block" type="string20">
      <xs:annotation>
        <xs:documentation>Корпус</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Apartment" type="string20">
      <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="TimeZonePresence">
    <xs:restriction base="xs:string">
      <xs:enumeration value="0" />
      <xs:enumeration value="1" />
    </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="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="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="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:simpleType name="integer10">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="10" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer4">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="integer6">
    <xs:restriction base="xs:integer">
      <xs:totalDigits value="6" />
    </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="decimal5f2">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="5" />
      <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="decimal19f2">
    <xs:restriction base="xs:decimal">
      <xs:totalDigits value="19" />
      <xs:fractionDigits value="2" />
    </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: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="AddressInfo">
    <xs:choice>
      <xs:element name="RussianAddress" type="RussianAddressLogistics">
        <xs:annotation>
          <xs:documentation>
						АдрРФ - Адрес, указанный в Едином государственном реестре юридических лиц/почтовый адрес/адрес места жительства индивидуального предпринимателя (реквизиты адреса на территории Российской Федерации)
					</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GarAddress" type="GarAddressLogistics">
        <xs:annotation>
          <xs:documentation>
						АдрФИАС - Адрес, указанный в Едином государственном реестре юридических лиц/почтовый адрес/адрес места жительства индивидуального предпринимателя (реквизиты адреса на территории Российской Федерации)
					</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ForeignAddress" type="ForeignAddressUtd970">
        <xs:annotation>
          <xs:documentation>
						АдрИнф - Адрес, указанный в Едином государственном реестре юридических лиц/почтовый адрес/адрес места жительства индивидуального предпринимателя (информация об адресе, в том числе об адресе за пределами территории Российской Федерации)
					</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="GarAddressLogistics">
    <xs:all>
      <xs:element minOccurs="0" name="MunicipalTerritory" type="AddressTypeElement">
        <xs:annotation>
          <xs:documentation>МуниципРайон - Муниципальный район/городской округ/внутригородская территория города федерального значения/муниципальный округ/федеральная территория</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="UrbanSettlement" type="AddressTypeElement">
        <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="LandPlot" type="string50">
        <xs:annotation>
          <xs:documentation>Земельный участок (номер)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Buildings">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="3" 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">
      <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: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:complexType>
  <xs:complexType name="RussianAddressLogistics">
    <xs:attribute name="ZipCode" use="required">
      <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: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="string20">
      <xs:annotation>
        <xs:documentation>Дом</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Block" type="string20">
      <xs:annotation>
        <xs:documentation>Корпус</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Apartment" type="string20">
      <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="AddressTypeElement">
    <xs:annotation>
      <xs:documentation>Сведения о виде (код) и наименовании адресного элемента</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Type" use="required">
      <xs:annotation>
        <xs:documentation>Вид (код) элемента</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
        </xs:restriction>
      </xs:simpleType>
    </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="DocumentRequisitesLogisticsType">
    <xs:sequence>
      <xs:element name="PartiesRequisites">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="PartiesRequisite" type="PartiesRequisite">
              <xs:annotation>
                <xs:documentation>ИдРекСост - Идентифицирующие реквизиты сторон, составивших документ</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="DocumentName" type="string255">
      <xs:annotation>
        <xs:documentation>НаимДок - Наименование документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DocumentNumber" type="string255">
      <xs:annotation>
        <xs:documentation>НомерДок - Номер документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DocumentDate" type="date">
      <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="AdditionalInfo" type="string2000">
      <xs:annotation>
        <xs:documentation>ДопСведДок - Дополнительные сведения</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="PartiesRequisite">
    <xs:annotation>
      <xs:documentation>Если заполнен Inn - пытается сформировать ИННЮЛ (ИННФЛ)</xs:documentation>
      <xs:documentation>Если не заполнен Inn, но заполнен ShortNameExecutiveAuthority - пытается сформировать НаимОИВ</xs:documentation>
      <xs:documentation>Если не заполнены Inn и ShortNameExecutiveAuthority - пытается сформировать ДаннИно</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="ForeignPersonDetails" type="DocumentDetails">
        <xs:annotation>
          <xs:documentation>УдЛичнИГ - Данные документа, удостоверяющего личность иностранного гражданина</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <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:complexType name="ExtendedOrganizationInfoLogistics">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetailsLogistics" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReferenceLogistics" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReferenceLogistics">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_Logistics">
        <xs:attribute name="BoxId" type="guid" use="required">
          <xs:annotation>
            <xs:documentation>Идентификатор ящика организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetailsLogistics">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_Logistics">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="AddressInfo">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000">
          <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="Kpp" type="kpp">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000">
          <xs:annotation>
            <xs:documentation>Идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
          <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="LegalEntityId" type="string255">
          <xs:annotation>
            <xs:documentation>Идентиф - Идентификатор иностранной организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Country" 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:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DocumentDetails">
    <xs:attribute name="Type" type="string1000" use="required">
      <xs:annotation>
        <xs:documentation>ВидДок - Вид документа</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DocumentNumber" type="string100" 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:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_Logistics">
    <xs:sequence>
      <xs:element 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:element minOccurs="0" name="OrganizationAdditionalInfos">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="OrganizationAdditionalInfo">
              <xs:annotation>
                <xs:documentation>ИнфДляУчаст - Информация для участника документооборота</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="ParticipantInn" type="inn" use="required">
                  <xs:annotation>
                    <xs:documentation>ИННУчаст - ИНН участника</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ParticipantInfo" type="string255" use="required">
                  <xs:annotation>
                    <xs:documentation>ИнфУчаст - Информация для участника</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="ForeignPersonDetails" type="DocumentDetails">
        <xs:annotation>
          <xs:documentation>УдЛичнИГ - Данные документа, удостоверяющего личность иностранного гражданина</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Ogrn" type="ogrn">
      <xs:annotation>
        <xs:documentation>ОГРН - ОГРНИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OtherContactInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfo">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetails" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReference" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfo_ForeignAddress1000">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetails_ForeignAddress1000" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReference" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfo_Torg2">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetails_Torg2" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReference" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfoWithHyphens">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetailsWithHyphens" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReference" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfo_ReconciliationAct">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetails_ReconciliationAct" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReference_ReconciliationAct" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReference_ReconciliationAct">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_ReconciliationAct">
        <xs:attribute name="BoxId" type="guid" use="required">
          <xs:annotation>
            <xs:documentation>Идентификатор ящика организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfoXmlProformaInvoice29">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetailsXmlProformaInvoice29" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReferenceXmlProformaInvoice29" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReferenceXmlProformaInvoice29">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_XmlProformaInvoice29">
        <xs:attribute name="BoxId" type="guid" use="required">
          <xs:annotation>
            <xs:documentation>Идентификатор ящика организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationInfoUtd970">
    <xs:choice>
      <xs:element name="OrganizationDetails" type="ExtendedOrganizationDetailsUtd970" />
      <xs:element name="OrganizationReference" type="ExtendedOrganizationReferenceUtd970" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReferenceUtd970">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_Utd970">
        <xs:attribute name="BoxId" type="guid" use="required">
          <xs:annotation>
            <xs:documentation>Идентификатор ящика организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="Address">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000" use="required">
          <xs:annotation>
            <xs:documentation>НаимОрг - название организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Inn" type="string60" use="optional">
          <xs:annotation>
            <xs:documentation>ИНН ФЛ-ИНН - ИНН</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Kpp" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ForeignAddress1000">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="Address_ForeignAddress1000">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000" use="required">
          <xs:annotation>
            <xs:documentation>НаимОрг - название организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Inn" type="string60" use="optional">
          <xs:annotation>
            <xs:documentation>ИНН ФЛ-ИНН - ИНН</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Kpp" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_Torg2">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_Torg2">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="Address">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000" use="required">
          <xs:annotation>
            <xs:documentation>НаимОрг - название организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Inn" type="string60" use="optional">
          <xs:annotation>
            <xs:documentation>ИНН ФЛ-ИНН - ИНН</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Kpp" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000" use="optional">
          <xs:annotation>
            <xs:documentation>идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationReference">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling">
        <xs:attribute name="BoxId" type="string100" use="required" />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling">
    <xs:attribute name="OrgType" type="OrganizationType" use="required">
      <xs:annotation>
        <xs:documentation>СвИП - СвЮЛУч - СвИнНеУч</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Okopf" use="optional">
      <xs:annotation>
        <xs:documentation>ОКОПФ - Код организационно-правовой формы по ОКОПФ</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Okpo" use="optional">
      <xs:annotation>
        <xs:documentation>ОКПО - код в общероссийском классификаторе предприятий и организаций</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="10" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Okdp" use="optional">
      <xs:annotation>
        <xs:documentation>ОКДП - код основного вида деятельности по ОКДП</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="7" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Phone" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Тлф - Номер контактного телефона/факс</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Email" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ЭлПочта - Адрес электронной почты</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CorrespondentAccount" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>КорСчет - Корреспондентский счёт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankAccountNumber" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>НомерСчета - номер банковского счета</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankName" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>НаимБанк - название банка</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankId" use="optional">
      <xs:annotation>
        <xs:documentation>БИК</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="9" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Department" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>СтруктПодр - структурное подразделение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationAdditionalInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИнфДляУчаст - Информация для участника</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationOrPersonInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IndividualEntityRegistrationCertificate" type="string100" use="optional">
      <xs:annotation>
        <xs:documentation>СвГосРегИп - Реквизиты свидетельства о государственной регистрации ИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LegalEntityId" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Идентиф - Идентификатор ЮЛ, нужен для автоматизированной обработки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortOrgName" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>КраткНазв - Краткое название </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Country" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Страна</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_Torg2">
    <xs:attribute name="OrgType" type="OrganizationType" use="required">
      <xs:annotation>
        <xs:documentation>СвИП - СвЮЛУч - СвИнНеУч</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Okpo" use="optional">
      <xs:annotation>
        <xs:documentation>ОКПО - код в общероссийском классификаторе предприятий и организаций</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="10" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Phone" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Тлф - Номер контактного телефона/факс</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Email" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ЭлПочта - Адрес электронной почты</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CorrespondentAccount" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>КорСчет - Корреспондентский счёт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankAccountNumber" type="string20" use="optional">
      <xs:annotation>
        <xs:documentation>НомерСчета - номер банковского счета</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankName" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>НаимБанк - название банка</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankId" use="optional">
      <xs:annotation>
        <xs:documentation>БИК</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="9" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Department" type="string1000" use="optional">
      <xs:annotation>
        <xs:documentation>СтруктПодр - структурное подразделение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationAdditionalInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИнфДляУчаст - Информация для участника</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationOrPersonInfo" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IndividualEntityRegistrationCertificate" type="string100" use="optional">
      <xs:annotation>
        <xs:documentation>СвГосРегИп - Реквизиты свидетельства о государственной регистрации ИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="LegalEntityId" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Идентиф - Идентификатор ЮЛ, нужен для автоматизированной обработки</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortOrgName" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>КраткНазв - Краткое название </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Country" type="string255" use="optional">
      <xs:annotation>
        <xs:documentation>Страна</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ReconciliationAct">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_ReconciliationAct">
        <xs:attribute name="OrgName" type="string1000" use="required">
          <xs:annotation>
            <xs:documentation>НаимОрг - название организации</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Inn" type="string60">
          <xs:annotation>
            <xs:documentation>ИННЮЛ - ИННФЛ</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Kpp" type="string1000">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000">
          <xs:annotation>
            <xs:documentation>Идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
          <xs:annotation>
            <xs:documentation>СвИП - СвЮЛУч - СвФЛ - СвИнНеУч</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Ogrn">
          <xs:simpleType>
            <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:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_ReconciliationAct">
    <xs:attribute name="Okpo" type="string10">
      <xs:annotation>
        <xs:documentation>ОКПО - Код в общероссийском классификаторе предприятий и организаций</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortOrgName" type="string255">
      <xs:annotation>
        <xs:documentation>КраткНазв - Краткое название </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Department" 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:attribute name="OrganizationAdditionalInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнфДляУчаст - Информация для участника</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Phone" type="string255">
      <xs:annotation>
        <xs:documentation>Тлф - Номер контактного телефона/факс</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Email" type="string255">
      <xs:annotation>
        <xs:documentation>ЭлПочта - Адрес электронной почты</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OtherContactInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetailsUtd970">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_Utd970">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="AddressUtd970">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000" use="required">
          <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="Kpp" type="kpp">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000">
          <xs:annotation>
            <xs:documentation>идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
          <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="LegalEntityId" type="string255">
          <xs:annotation>
            <xs:documentation>Идентиф - Идентификатор иностранной организации</xs:documentation>
          </xs:annotation>
        </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="OrganizationOrPersonInfo" type="string255">
          <xs:annotation>
            <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_Utd970">
    <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="Okpo" type="string10">
      <xs:annotation>
        <xs:documentation>ОКПО - Код в общероссийском классификаторе предприятий и организаций</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Okopf">
      <xs:annotation>
        <xs:documentation>КодОПФ - Код по Общероссийскому классификатору организационно-правовых форм об организационно-правовой форме</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="2" />
          <xs:maxLength value="5" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="FullNameOkopf">
      <xs:annotation>
        <xs:documentation>ПолнНаимОПФ - Полное наименование организационно-правовой формы</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="4" />
          <xs:maxLength value="255" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Department" type="string500">
      <xs:annotation>
        <xs:documentation>СтруктПодр - Структурное подразделение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationAdditionalInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнфДляУчаст - Информация для участника</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortOrgName" type="string510">
      <xs:annotation>
        <xs:documentation>СокрНаим - Сокращенное наименование</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Ogrn" type="ogrn">
      <xs:annotation>
        <xs:documentation>ОГРН - ОГРНИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OgrnDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаОГРНИП - Дата присвоения основного государственного регистрационного номера индивидуального предпринимателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IndividualEntityRegistrationCertificate" type="string100">
      <xs:annotation>
        <xs:documentation>СвГосРегИп - Реквизиты свидетельства о государственной регистрации ИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PersonStatusId">
      <xs:annotation>
        <xs:documentation>
					ИдСтатЛ - Идентификация статуса лица
					0 - лицо, являющееся покупателем при розничной продаже
					1 - иное
				</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="0" />
          <xs:enumeration value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="OtherContactInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CorrespondentAccount" type="string34">
      <xs:annotation>
        <xs:documentation>КорСчет - Корреспондентский счёт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankAccountNumber" type="string34">
      <xs:annotation>
        <xs:documentation>НомерСчета - номер банковского счета</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankName" type="string1000">
      <xs:annotation>
        <xs:documentation>НаимБанк - название банка</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankId" type="string9f">
      <xs:annotation>
        <xs:documentation>БИК</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetailsXmlProformaInvoice29">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails_ManualFilling_XmlProformaInvoice29">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" type="AddressXmlProformaInvoice29">
            <xs:annotation>
              <xs:documentation>Адрес</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="OrgName" type="string1000" use="required">
          <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="Kpp" type="kpp">
          <xs:annotation>
            <xs:documentation>КПП</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FnsParticipantId" type="string1000">
          <xs:annotation>
            <xs:documentation>идентификатор участника ЭДО</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="OrgType" type="OrganizationType_DatabaseOrder" use="required">
          <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="LegalEntityId" type="string255">
          <xs:annotation>
            <xs:documentation>Идентиф - Идентификатор иностранной организации</xs:documentation>
          </xs:annotation>
        </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="OrganizationOrPersonInfo" type="string255">
          <xs:annotation>
            <xs:documentation>ИныеСвед - Иные сведения, идентифицирующие ФЛ или ЮЛ</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ExtendedOrganizationDetails_ManualFilling_XmlProformaInvoice29">
    <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="Okpo">
      <xs:annotation>
        <xs:documentation>ОКПО - Код в общероссийском классификаторе предприятий и организаций</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="10" />
          <xs:pattern value="[0-9]{8}" />
          <xs:pattern value="[0-9]{10}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Okopf">
      <xs:annotation>
        <xs:documentation>КодОПФ - Код по Общероссийскому классификатору организационно-правовых форм об организационно-правовой форме</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="2" />
          <xs:maxLength value="5" />
          <xs:pattern value="[0-9]{2}" />
          <xs:pattern value="[0-9]{5}" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="FullNameOkopf">
      <xs:annotation>
        <xs:documentation>ПолнНаимОПФ - Полное наименование организационно-правовой формы</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="4" />
          <xs:maxLength value="255" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Department" type="string500">
      <xs:annotation>
        <xs:documentation>СтруктПодр - Структурное подразделение</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OrganizationAdditionalInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнфДляУчаст - Информация для участника</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShortOrgName" type="string510">
      <xs:annotation>
        <xs:documentation>СокрНаим - Сокращенное наименование</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Ogrn" type="ogrn">
      <xs:annotation>
        <xs:documentation>ОГРН - ОГРНИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="OgrnDate" type="date">
      <xs:annotation>
        <xs:documentation>ДатаОГРНИП - Дата присвоения основного государственного регистрационного номера индивидуального предпринимателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Snils" type="snils">
      <xs:annotation>
        <xs:documentation>СНИЛС - Страховой номер индивидуального лицевого счета</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IndividualEntityRegistrationCertificate" type="string100">
      <xs:annotation>
        <xs:documentation>СвГосРегИп - Реквизиты свидетельства о государственной регистрации ИП</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PersonStatusId">
      <xs:annotation>
        <xs:documentation>
					ИдСтатЛ - Идентификация статуса лица
					0 - лицо, являющееся покупателем при розничной продаже
					1 - иное
				</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="1" />
          <xs:enumeration value="0" />
          <xs:enumeration value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="OtherContactInfo" type="string255">
      <xs:annotation>
        <xs:documentation>ИнКонт - Иные контактные данные</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CorrespondentAccount" type="string20">
      <xs:annotation>
        <xs:documentation>КорСчет - Корреспондентский счёт</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankAccountNumber" type="string20">
      <xs:annotation>
        <xs:documentation>НомерСчета - номер банковского счета</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankName" type="string1000">
      <xs:annotation>
        <xs:documentation>НаимБанк - название банка</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankId" type="string9f">
      <xs:annotation>
        <xs:documentation>БИК</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankInn" type="innlegalentity">
      <xs:annotation>
        <xs:documentation>ИННЮЛ банка получателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BankKpp" type="kpp">
      <xs:annotation>
        <xs:documentation>КПП банка получателя</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SwiftCode" type="swiftcode">
      <xs:annotation>
        <xs:documentation>SWIFT-Код</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:simpleType name="OrganizationType">
    <xs:annotation>
      <xs:documentation>
				1 - Сведения о юридическом лице, состоящем на учете в налоговых органах // СвЮЛУч
				2 - Сведения об индивидуальном предпринимателе// СвИП
				3 - Сведения об иностранном лице, не состоящем на учете в налоговых органах // СвЮлНеУч, СвИнНеУч
				4 - Сведения о физическом лице // СвФл
			</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="1" />
      <xs:enumeration value="2" />
      <xs:enumeration value="3" />
      <xs:enumeration value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="OrganizationType_DatabaseOrder">
    <xs:annotation>
      <xs:documentation>
				1 - Сведения об индивидуальном предпринимателе// СвИП
				2 - Сведения о юридическом лице, состоящем на учете в налоговых органах // СвЮЛУч
				3 - Сведения о физическом лице // СвФл
				4 - Сведения об иностранном лице, не состоящем на учете в налоговых органах // СвИнНеУч
			</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="1" />
      <xs:enumeration value="2" />
      <xs:enumeration value="3" />
      <xs:enumeration value="4" />
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ExtendedOrganizationDetailsWithHyphens">
    <xs:complexContent mixed="false">
      <xs:extension base="ExtendedOrganizationDetails">
        <xs:attribute default="false" name="HyphenInn" 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:extension>
    </xs:complexContent>
  </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="LogisticsSigners">
    <xs:sequence>
      <xs:element name="Signer" type="LogisticsSigner" />
    </xs:sequence>
    <xs:attribute name="BoxId" type="guid">
      <xs:annotation>
        <xs:documentation>Идентификатор ящика организации</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="LogisticsSigner">
    <xs:choice>
      <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:element name="SignerDetails" type="SignerDetails" />
      <xs:element name="SignerReference" type="SignerReference" />
    </xs:choice>
    <xs:attribute name="SignerStatus" type="SignerStatus" />
    <xs:attribute name="SignatureType" type="SignatureType" />
    <xs:attribute name="SigningDate" type="date" />
    <xs:attribute name="SignerPowersConfirmationMethod" type="SignerPowersConfirmationMethod" />
  </xs:complexType>
  <xs:simpleType name="SignerStatus">
    <xs:annotation>
      <xs:documentation>Используется для типов @405 и @691 форматов, а также для LogisticsWaybill. Для остальных -
                игнорируется
            </xs:documentation>
      <xs:documentation>СтатПодп - Статус подписанта</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:enumeration value="4">
        <xs:annotation>
          <xs:documentation>Используется для типа LogisticsWaybill. Лицо, осуществляющее погрузку и имеющее
                        полномочия на подписание документа без доверенности
                    </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:documentation>Используется для типа LogisticsWaybill. Лицо, осуществляющее погрузку и имеющее
                        полномочия на подписание документа на основании доверенности в электронной форме
                    </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation>Используется для типа LogisticsWaybill. Лицо, осуществляющее погрузку и имеющее
                        полномочия на подписание документа на основании доверенности в бумажном виде
                    </xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="SignerDetails">
    <xs:attribute name="LastName" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="60" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="FirstName" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="60" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="MiddleName">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="60" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Position">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0" />
          <xs:maxLength value="128" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="RegistrationCertificate">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="100" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Inn">
      <xs:simpleType>
        <xs:restriction base="xs:string" />
      </xs:simpleType>
    </xs:attribute>
    <xs:anyAttribute namespace="##any" processContents="skip" />
  </xs:complexType>
  <xs:complexType name="SignerReference">
    <xs:attribute name="BoxId" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0" />
          <xs:maxLength value="128" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CertificateThumbprint">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0" />
          <xs:maxLength value="128" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CertificateBytes" type="xs:base64Binary" />
  </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:schema>