RequestAdjustmentData.xsd — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) м |
Hisava (обсуждение | вклад) м |
||
(не показана одна промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
− | <?xml version="1.0" encoding="utf-8"?> | + | <?xml version = "1.0" encoding = "utf-8"?> |
− | <xs:schema version="1.0" | + | <xs:schema version = "1.0" |
− | + | xmlns:ns = "http://fsrar.ru/WEGAIS/RequestAdjustmentData" | |
− | + | targetNamespace = "http://fsrar.ru/WEGAIS/RequestAdjustmentData" | |
− | + | xmlns:c = "http://fsrar.ru/WEGAIS/Common" | |
− | + | xmlns:cn = "http://fsrar.ru/WEGAIS/CommonEnum" | |
− | + | xmlns:xs = "http://www.w3.org/2001/XMLSchema" | |
− | + | xmlns:ttn4 = "http://fsrar.ru/WEGAIS/TTNSingle_v4" | |
− | + | elementFormDefault = "qualified" | |
− | + | attributeFormDefault = "unqualified"> | |
− | > | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/> |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation = "EGCommonEnum.xsd"/> |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation="EGCommonEnum.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/TTNSingle_v4" schemaLocation = "TTNSingle_v4.xsd"/> |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/TTNSingle_v4" schemaLocation="TTNSingle_v4.xsd"/> | + | |
− | <xs:complexType name="RequestAdjustmentData"> | + | <xs:complexType name = "RequestAdjustmentData"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Заявление на корректировку данных</xs:documentation> | <xs:documentation>Заявление на корректировку данных</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="ClientId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ClientId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Код клиента</xs:documentation> | <xs:documentation>Код клиента</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="RequestNumber" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "RequestNumber" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер заявления на корректировку данных</xs:documentation> | <xs:documentation>Номер заявления на корректировку данных</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="RequestDate" type="xs:date" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "RequestDate" type = "xs:date" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата заявления на корректировку данных</xs:documentation> | <xs:documentation>Дата заявления на корректировку данных</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Content" type="ns:RequestAdjustmentPositionType" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Content" type = "ns:RequestAdjustmentPositionType" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Содержимое запроса должно содержать 1 позицию</xs:documentation> | <xs:documentation>Содержимое запроса должно содержать 1 позицию</xs:documentation> | ||
Строка 42: | Строка 41: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="RequestAdjustmentPositionType"> | + | <xs:complexType name = "RequestAdjustmentPositionType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Тип документа</xs:documentation> | <xs:documentation>Тип документа</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:choice> | <xs:choice> | ||
− | <xs:element name="TTN" type="ns:TTNType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TTN" type = "ns:TTNType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Товарно-транспортная накладная</xs:documentation> | <xs:documentation>Товарно-транспортная накладная</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TTNPos" type="ns:TTNPosType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TTNPos" type = "ns:TTNPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>позиция Товарно-транспортной накладной</xs:documentation> | <xs:documentation>позиция Товарно-транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ReportProduced" type="ns:ReportProducedType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ReportProduced" type = "ns:ReportProducedType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Отчет о производстве</xs:documentation> | <xs:documentation>Отчет о производстве</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ReportImported" type="ns:ReportImportedType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ReportImported" type = "ns:ReportImportedType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Отчет об импорте</xs:documentation> | <xs:documentation>Отчет об импорте</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActWO" type="ns:ActWOType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActWO" type = "ns:ActWOType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт списания</xs:documentation> | <xs:documentation>Акт списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActWOPos" type="ns:ActWOPosType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActWOPos" type = "ns:ActWOPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Позиция по акту списания</xs:documentation> | <xs:documentation>Позиция по акту списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActWOS" type="ns:ActWOSType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActWOS" type = "ns:ActWOSType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт списания из торгового зала</xs:documentation> | <xs:documentation>Акт списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActWOSPos" type="ns:ActWOSPosType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActWOSPos" type = "ns:ActWOSPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> | <xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActCO" type="ns:ActCOType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActCO" type = "ns:ActCOType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт постановки на баланс</xs:documentation> | <xs:documentation>Акт постановки на баланс</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActTTN" type="ns:ActTTNType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActTTN" type = "ns:ActTTNType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт разногласий для ТТН</xs:documentation> | <xs:documentation>Акт разногласий для ТТН</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Route" type="ns:RouteType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Route" type = "ns:RouteType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Транспортная накладная</xs:documentation> | <xs:documentation>Транспортная накладная</xs:documentation> | ||
Строка 105: | Строка 104: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="TTNType"> | + | <xs:complexType name = "TTNType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Товарно-транспортная накладная</xs:documentation> | <xs:documentation>Товарно-транспортная накладная</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="WBRegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="NUMBER" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер Товарно-транспортной накладной</xs:documentation> | <xs:documentation>Номер Товарно-транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Date" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата Товарно-транспортной на накладной</xs:documentation> | <xs:documentation>Дата Товарно-транспортной на накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ShippingDate" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ShippingDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата отгрузки продукции</xs:documentation> | <xs:documentation>Дата отгрузки продукции</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Type" type="ns:WbType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Type" type = "ns:WbType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Тип накладной: WBInvoiceFromMe - расход; WBInternal - внутреннее перемещение; WBReturnFromMe - возврат от меня;</xs:documentation> | <xs:documentation>Тип накладной: WBInvoiceFromMe - расход; WBInternal - внутреннее перемещение; WBReturnFromMe - возврат от меня;</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Transport" type="ttn4:TransportType" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Transport" type = "ttn4:TransportType" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Транспортный раздел</xs:documentation> | <xs:documentation>Транспортный раздел</xs:documentation> | ||
Строка 143: | Строка 142: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="TTNPosType"> | + | <xs:complexType name = "TTNPosType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Товарно-транспортная накладная</xs:documentation> | <xs:documentation>Товарно-транспортная накладная</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="WBRegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Идентификатор позиции внутри накладной</xs:documentation> | <xs:documentation>Идентификатор позиции внутри накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Price" type="c:NoNegativeDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Price" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Цена за единицу товара</xs:documentation> | <xs:documentation>Цена за единицу товара</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="EXCISE_NUMBER" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "EXCISE_NUMBER" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер извещения</xs:documentation> | <xs:documentation>Номер извещения</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:simpleType> | <xs:simpleType> | ||
− | <xs:restriction base="c:NoEmptyString"> | + | <xs:restriction base = "c:NoEmptyString"> |
− | <xs:maxLength value="64"/> | + | <xs:maxLength value = "64"/> |
</xs:restriction> | </xs:restriction> | ||
</xs:simpleType> | </xs:simpleType> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="EXCISE_DATE" type="c:DateWTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "EXCISE_DATE" type = "c:DateWTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата извещения</xs:documentation> | <xs:documentation>Дата извещения</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="EXCISE_SUM" type="c:NoNegativeDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "EXCISE_SUM" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Сумма по извещению</xs:documentation> | <xs:documentation>Сумма по извещению</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="EXCISE_BS" type="c:PositiveDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "EXCISE_BS" type = "c:PositiveDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Объем по извещению</xs:documentation> | <xs:documentation>Объем по извещению</xs:documentation> | ||
Строка 191: | Строка 190: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ReportProducedType"> | + | <xs:complexType name = "ReportProducedType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Отчет о производстве</xs:documentation> | <xs:documentation>Отчет о производстве</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="RegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер отчета о производстве</xs:documentation> | <xs:documentation>Регистрационный номер отчета о производстве</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="NUMBER" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер Отчета о производстве </xs:documentation> | <xs:documentation>Номер Отчета о производстве </xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Date" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата Отчета о производстве</xs:documentation> | <xs:documentation>Дата Отчета о производстве</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ProducedDate" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ProducedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата производства</xs:documentation> | <xs:documentation>Дата производства</xs:documentation> | ||
Строка 219: | Строка 218: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ReportImportedType"> | + | <xs:complexType name = "ReportImportedType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Отчет об импорте</xs:documentation> | <xs:documentation>Отчет об импорте</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="RegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер отчета об импорте</xs:documentation> | <xs:documentation>Регистрационный номер отчета об импорте</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="NUMBER" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер отчета об импорте</xs:documentation> | <xs:documentation>Номер отчета об импорте</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Date" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата отчета об импорте</xs:documentation> | <xs:documentation>Дата отчета об импорте</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ImportedDate" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ImportedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата ввоза</xs:documentation> | <xs:documentation>Дата ввоза</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="GTDNUMBER" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "GTDNUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер ГТД</xs:documentation> | <xs:documentation>Номер ГТД</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="GTDDate" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "GTDDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата ГТД</xs:documentation> | <xs:documentation>Дата ГТД</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Country" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Country" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Страна, из которой производится импорт продукции</xs:documentation> | <xs:documentation>Страна, из которой производится импорт продукции</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:simpleType> | <xs:simpleType> | ||
− | <xs:restriction base="xs:string"> | + | <xs:restriction base = "xs:string"> |
− | <xs:pattern value="[0-9][0-9][0-9]"/> | + | <xs:pattern value = "[0-9][0-9][0-9]"/> |
</xs:restriction> | </xs:restriction> | ||
</xs:simpleType> | </xs:simpleType> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="supplierOwnerid" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "supplierOwnerid" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Код организации поставщика</xs:documentation> | <xs:documentation>Код организации поставщика</xs:documentation> | ||
Строка 272: | Строка 271: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActWOType"> | + | <xs:complexType name = "ActWOType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт списания</xs:documentation> | <xs:documentation>Акт списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="AWORegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "AWORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер акта списания</xs:documentation> | <xs:documentation>Регистрационный номер акта списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActNumber" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ActNumber" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер документа</xs:documentation> | <xs:documentation>Номер документа</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActDate" type="c:DateNoTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ActDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата составления</xs:documentation> | <xs:documentation>Дата составления</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TypeWriteOff" type="cn:TypeWriteOff" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TypeWriteOff" type = "cn:TypeWriteOff" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Причина списания</xs:documentation> | <xs:documentation>Причина списания</xs:documentation> | ||
Строка 300: | Строка 299: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActWOPosType"> | + | <xs:complexType name = "ActWOPosType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Позиция по акту списания</xs:documentation> | <xs:documentation>Позиция по акту списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="AWORegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "AWORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер акта списания</xs:documentation> | <xs:documentation>Регистрационный номер акта списания</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Идентификатор позиции внутри акта</xs:documentation> | <xs:documentation>Идентификатор позиции внутри акта</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="SumSale" type="c:NoNegativeDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "SumSale" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Сумма продажи.</xs:documentation> | <xs:documentation>Сумма продажи.</xs:documentation> | ||
Строка 323: | Строка 322: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActWOSType"> | + | <xs:complexType name = "ActWOSType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт списания из торгового зала</xs:documentation> | <xs:documentation>Акт списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="AWOSRegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "AWOSRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> | <xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActNumber" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActNumber" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер документа</xs:documentation> | <xs:documentation>Номер документа</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата составления</xs:documentation> | <xs:documentation>Дата составления</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TypeWriteOff" type="cn:TypeWriteOff" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TypeWriteOff" type = "cn:TypeWriteOff" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Причина списания</xs:documentation> | <xs:documentation>Причина списания</xs:documentation> | ||
Строка 351: | Строка 350: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActWOSPosType"> | + | <xs:complexType name = "ActWOSPosType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> | <xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="AWOSRegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "AWOSRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> | <xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Идентификатор позиции внутри акта</xs:documentation> | <xs:documentation>Идентификатор позиции внутри акта</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="SumSale" type="c:NoNegativeDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "SumSale" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Сумма продажи</xs:documentation> | <xs:documentation>Сумма продажи</xs:documentation> | ||
Строка 374: | Строка 373: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActCOType"> | + | <xs:complexType name = "ActCOType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт постановки на баланс</xs:documentation> | <xs:documentation>Акт постановки на баланс</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="ACORegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ACORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер акта постановки на баланс</xs:documentation> | <xs:documentation>Регистрационный номер акта постановки на баланс</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Number" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Number" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер акта постановки на баланс</xs:documentation> | <xs:documentation>Номер акта постановки на баланс</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата акта постановки на баланс</xs:documentation> | <xs:documentation>Дата акта постановки на баланс</xs:documentation> | ||
Строка 397: | Строка 396: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="ActTTNType"> | + | <xs:complexType name = "ActTTNType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Акт разногласий для ТТН</xs:documentation> | <xs:documentation>Акт разногласий для ТТН</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="WBRegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ACTNUMBER" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ACTNUMBER" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер акта разногласий</xs:documentation> | <xs:documentation>Номер акта разногласий</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="ActDate" type="c:DateNoTime" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата акта разногласий</xs:documentation> | <xs:documentation>Дата акта разногласий</xs:documentation> | ||
Строка 420: | Строка 419: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="RouteType"> | + | <xs:complexType name = "RouteType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Транспортная накладная</xs:documentation> | <xs:documentation>Транспортная накладная</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="RegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Регистрационный номер транспортной накладной</xs:documentation> | <xs:documentation>Регистрационный номер транспортной накладной</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Date" type="c:DateNoTime" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Date" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата</xs:documentation> | <xs:documentation>Дата</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_TYPE" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TRAN_TYPE" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Тип перевозки</xs:documentation> | <xs:documentation>Тип перевозки</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:simpleType> | <xs:simpleType> | ||
− | <xs:restriction base="xs:string"> | + | <xs:restriction base = "xs:string"> |
− | <xs:enumeration value="410"> | + | <xs:enumeration value = "410"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Воздушный транспорт</xs:documentation> | <xs:documentation>Воздушный транспорт</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:enumeration> | </xs:enumeration> | ||
− | <xs:enumeration value="411"> | + | <xs:enumeration value = "411"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Водный транспорт</xs:documentation> | <xs:documentation>Водный транспорт</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:enumeration> | </xs:enumeration> | ||
− | <xs:enumeration value="412"> | + | <xs:enumeration value = "412"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Железнодорожный транспорт</xs:documentation> | <xs:documentation>Железнодорожный транспорт</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:enumeration> | </xs:enumeration> | ||
− | <xs:enumeration value="413"> | + | <xs:enumeration value = "413"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Автомобильный транспорт</xs:documentation> | <xs:documentation>Автомобильный транспорт</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:enumeration> | </xs:enumeration> | ||
− | <xs:enumeration value="419"> | + | <xs:enumeration value = "419"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Иные транспортные средства</xs:documentation> | <xs:documentation>Иные транспортные средства</xs:documentation> | ||
Строка 469: | Строка 468: | ||
</xs:simpleType> | </xs:simpleType> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_COMPANY" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_COMPANY" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Название компании перевозчика</xs:documentation> | <xs:documentation>Название компании перевозчика</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_CAR" type="ns:Field255" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TRAN_CAR" type = "ns:Field255" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Транспортное средство</xs:documentation> | <xs:documentation>Транспортное средство</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_TRAILER" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_TRAILER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Прицеп</xs:documentation> | <xs:documentation>Прицеп</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_CUSTOMER" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_CUSTOMER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Заказчики</xs:documentation> | <xs:documentation>Заказчики</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_DRIVER" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_DRIVER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Водитель</xs:documentation> | <xs:documentation>Водитель</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_LOADPOINT" type="c:NoEmptyString" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TRAN_LOADPOINT" type = "c:NoEmptyString" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Место погрузки</xs:documentation> | <xs:documentation>Место погрузки</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_UNLOADPOINT" type="c:NoEmptyString" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "TRAN_UNLOADPOINT" type = "c:NoEmptyString" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Место разгрузки</xs:documentation> | <xs:documentation>Место разгрузки</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_REDIRECT" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_REDIRECT" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Перенаправление</xs:documentation> | <xs:documentation>Перенаправление</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="TRAN_FORWARDER" type="ns:Field255" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "TRAN_FORWARDER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Экспедитор</xs:documentation> | <xs:documentation>Экспедитор</xs:documentation> | ||
Строка 517: | Строка 516: | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:simpleType name="WbType"> | + | <xs:simpleType name = "WbType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Типы накладных</xs:documentation> | <xs:documentation>Типы накладных</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
− | <xs:restriction base="xs:string"> | + | <xs:restriction base = "xs:string"> |
− | <xs:enumeration value="WBInvoiceFromMe"/> | + | <xs:enumeration value = "WBInvoiceFromMe"/> |
− | <xs:enumeration value="WBReturnFromMe"/> | + | <xs:enumeration value = "WBReturnFromMe"/> |
− | <xs:enumeration value="WBInternal"/> | + | <xs:enumeration value = "WBInternal"/> |
</xs:restriction> | </xs:restriction> | ||
</xs:simpleType> | </xs:simpleType> | ||
− | <xs:simpleType name="Field255"> | + | <xs:simpleType name = "Field255"> |
− | <xs:restriction base="xs:string"> | + | <xs:restriction base = "xs:string"> |
− | <xs:maxLength value="255"/> | + | <xs:maxLength value = "255"/> |
</xs:restriction> | </xs:restriction> | ||
</xs:simpleType> | </xs:simpleType> | ||
</xs:schema> | </xs:schema> | ||
− | |||
= Смотрите также = | = Смотрите также = | ||
[[Документы и их типы для отправки ( версия 4 )]] | [[Документы и их типы для отправки ( версия 4 )]] |
Текущая версия на 09:56, 30 апреля 2021
<?xml version = "1.0" encoding = "utf-8"?>
<xs:schema version = "1.0" xmlns:ns = "http://fsrar.ru/WEGAIS/RequestAdjustmentData" targetNamespace = "http://fsrar.ru/WEGAIS/RequestAdjustmentData" xmlns:c = "http://fsrar.ru/WEGAIS/Common" xmlns:cn = "http://fsrar.ru/WEGAIS/CommonEnum" xmlns:xs = "http://www.w3.org/2001/XMLSchema" xmlns:ttn4 = "http://fsrar.ru/WEGAIS/TTNSingle_v4" elementFormDefault = "qualified" attributeFormDefault = "unqualified"> <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation = "EGCommonEnum.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/TTNSingle_v4" schemaLocation = "TTNSingle_v4.xsd"/>
<xs:complexType name = "RequestAdjustmentData"> <xs:annotation> <xs:documentation>Заявление на корректировку данных</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "ClientId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Код клиента</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "RequestNumber" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер заявления на корректировку данных</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "RequestDate" type = "xs:date" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата заявления на корректировку данных</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Content" type = "ns:RequestAdjustmentPositionType" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Содержимое запроса должно содержать 1 позицию</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "RequestAdjustmentPositionType"> <xs:annotation> <xs:documentation>Тип документа</xs:documentation> </xs:annotation> <xs:choice> <xs:element name = "TTN" type = "ns:TTNType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Товарно-транспортная накладная</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TTNPos" type = "ns:TTNPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>позиция Товарно-транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ReportProduced" type = "ns:ReportProducedType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Отчет о производстве</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ReportImported" type = "ns:ReportImportedType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Отчет об импорте</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActWO" type = "ns:ActWOType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Акт списания</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActWOPos" type = "ns:ActWOPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Позиция по акту списания</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActWOS" type = "ns:ActWOSType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Акт списания из торгового зала</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActWOSPos" type = "ns:ActWOSPosType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActCO" type = "ns:ActCOType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Акт постановки на баланс</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActTTN" type = "ns:ActTTNType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Акт разногласий для ТТН</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Route" type = "ns:RouteType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Транспортная накладная</xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:complexType>
<xs:complexType name = "TTNType"> <xs:annotation> <xs:documentation>Товарно-транспортная накладная</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер Товарно-транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата Товарно-транспортной на накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ShippingDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата отгрузки продукции</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Type" type = "ns:WbType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Тип накладной: WBInvoiceFromMe - расход; WBInternal - внутреннее перемещение; WBReturnFromMe - возврат от меня;</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Transport" type = "ttn4:TransportType" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Транспортный раздел</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "TTNPosType"> <xs:annotation> <xs:documentation>Товарно-транспортная накладная</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Идентификатор позиции внутри накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Price" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Цена за единицу товара</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "EXCISE_NUMBER" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер извещения</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "c:NoEmptyString"> <xs:maxLength value = "64"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name = "EXCISE_DATE" type = "c:DateWTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата извещения</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "EXCISE_SUM" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Сумма по извещению</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "EXCISE_BS" type = "c:PositiveDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Объем по извещению</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ReportProducedType"> <xs:annotation> <xs:documentation>Отчет о производстве</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер отчета о производстве</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер Отчета о производстве </xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата Отчета о производстве</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ProducedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата производства</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ReportImportedType"> <xs:annotation> <xs:documentation>Отчет об импорте</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер отчета об импорте</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "NUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер отчета об импорте</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Date" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата отчета об импорте</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ImportedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата ввоза</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "GTDNUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер ГТД</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "GTDDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата ГТД</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Country" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Страна, из которой производится импорт продукции</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:pattern value = "[0-9][0-9][0-9]"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name = "supplierOwnerid" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Код организации поставщика</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActWOType"> <xs:annotation> <xs:documentation>Акт списания</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "AWORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер акта списания</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActNumber" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер документа</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActDate" type = "c:DateNoTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата составления</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TypeWriteOff" type = "cn:TypeWriteOff" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Причина списания</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActWOPosType"> <xs:annotation> <xs:documentation>Позиция по акту списания</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "AWORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер акта списания</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Идентификатор позиции внутри акта</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "SumSale" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Сумма продажи.</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActWOSType"> <xs:annotation> <xs:documentation>Акт списания из торгового зала</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "AWOSRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActNumber" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер документа</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата составления</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TypeWriteOff" type = "cn:TypeWriteOff" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Причина списания</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActWOSPosType"> <xs:annotation> <xs:documentation>Позиция по акту списания из торгового зала</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "AWOSRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер акта списания из торгового зала</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Идентификатор позиции внутри акта</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "SumSale" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Сумма продажи</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActCOType"> <xs:annotation> <xs:documentation>Акт постановки на баланс</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "ACORegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер акта постановки на баланс</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Number" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер акта постановки на баланс</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата акта постановки на баланс</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "ActTTNType"> <xs:annotation> <xs:documentation>Акт разногласий для ТТН</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "WBRegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер Товарно-транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ACTNUMBER" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер акта разногласий</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата акта разногласий</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType>
<xs:complexType name = "RouteType"> <xs:annotation> <xs:documentation>Транспортная накладная</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер транспортной накладной</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "Date" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_TYPE" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Тип перевозки</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:enumeration value = "410"> <xs:annotation> <xs:documentation>Воздушный транспорт</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value = "411"> <xs:annotation> <xs:documentation>Водный транспорт</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value = "412"> <xs:annotation> <xs:documentation>Железнодорожный транспорт</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value = "413"> <xs:annotation> <xs:documentation>Автомобильный транспорт</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value = "419"> <xs:annotation> <xs:documentation>Иные транспортные средства</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name = "TRAN_COMPANY" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Название компании перевозчика</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_CAR" type = "ns:Field255" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Транспортное средство</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_TRAILER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Прицеп</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_CUSTOMER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Заказчики</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_DRIVER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Водитель</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_LOADPOINT" type = "c:NoEmptyString" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Место погрузки</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_UNLOADPOINT" type = "c:NoEmptyString" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Место разгрузки</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_REDIRECT" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Перенаправление</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_FORWARDER" type = "ns:Field255" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Экспедитор</xs:documentation> </xs:annotation> </xs:element> </xs:all> </xs:complexType> <xs:simpleType name = "WbType"> <xs:annotation> <xs:documentation>Типы накладных</xs:documentation> </xs:annotation> <xs:restriction base = "xs:string"> <xs:enumeration value = "WBInvoiceFromMe"/> <xs:enumeration value = "WBReturnFromMe"/> <xs:enumeration value = "WBInternal"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name = "Field255"> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType>
</xs:schema>