Сценарии приёмки входящей партии: различия между версиями

Материал из Справочная система Россельхознадзора
Перейти к навигации Перейти к поиску
Строка 2109: Строка 2109:
| '''deliveryFacts/vetCertificatePresence''' || PAPER || Сертификат находится в системе электронном виде.
| '''deliveryFacts/vetCertificatePresence''' || PAPER || Сертификат находится в системе электронном виде.
|-
|-
| '''deliveryFacts/decision''' || RETURN_ALL || Партия не принимается  
| '''deliveryFacts/decision''' || RETURN_ALL || Партия не принимается.
|-
|-
| '''deliveryFacts/docInspection/result''' || CORRESPONDS || Данные о грузе соответствуют указанным в ВСД
| '''deliveryFacts/docInspection/result''' || CORRESPONDS || Данные о грузе соответствуют указанным в ВСД.
|-
|-
| '''deliveryFacts/vetInspection/result''' || CORRESPONDS/MISMATCH/UNSUPERVISED || в зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
| '''deliveryFacts/vetInspection/result''' || CORRESPONDS/MISMATCH/UNSUPERVISED || В зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
|-
|-
| '''delivery/accompanyingForms/vetCertificate/UUID''' || Не указывается || Остальные данные объекта vetCertificate требуется указать.  
| '''delivery/accompanyingForms/vetCertificate/UUID''' || Не указывается. || Остальные данные объекта vetCertificate требуется указать.  
|-
|-
| '''delivery/consignment/volume''' || 0 || Партия возвращается полностью
| '''delivery/consignment/volume''' || 0 || Партия возвращается полностью.
|-
|-
| '''discrepancyReport''' || Не заполняется|| Расхождений нет, акта не требуется.
| '''discrepancyReport''' || Не заполняется. || Расхождений нет, акта не требуется.
|-
|-
| '''returnedDelivery/consignment/volume''' || Объём возвращаемой партии || В данном случае объем возвращаемой партии должен быть равен объему партии, указанному во входящем ВСД.
| '''returnedDelivery/consignment/volume''' || Объём возвращаемой партии. || В данном случае объем возвращаемой партии должен быть равен объему партии, указанному во входящем ВСД.


|}
|}


<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
Сценарий гашения входного сертификата
Сценарий гашения входного сертификата.
<div class = "mw-collapsible-content">
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Строка 2459: Строка 2459:
'''Результат выполнения операции'''  
'''Результат выполнения операции'''  
* Входящий ВСД: погашен.
* Входящий ВСД: погашен.
* Запись входного журнала: не создана
* Запись входного журнала: не создана.
* Акт несоответствия: не создан.
* Акт несоответствия: не создан.
* Возвратный ВСД: создан. В возвратном ВСД установлен объем, равный объему партии, указанному во входящем электронном ВСД или отличающийся от него не более чем на 5%.
* Возвратный ВСД: создан. В возвратном ВСД установлен объем, равный объему партии, указанному во входящем электронном ВСД или отличающийся от него не более чем на 5%.

Версия 11:27, 20 декабря 2016

В данной статье описаны возможные сценарии приёмки продукции и гашения ветеринарных сертификатов через шлюз Ветис.API. Рассматривается гашение электронных и бумажных ВСД.

Общие сведения

Возможные сценарии

  1. Документ присутствует в системе в электронном виде
    1. Фактический объём продукции и объём продукции, указанный во входящем сертификате, одинаковы или различаются не более чем на 5%
      1. Груз принимается в полном объёме
      2. Груз принимается частично
      3. Груз не принимается полностью
    2. Фактический объём продукции и объём продукции, указанный во входящем сертификате, различаются более чем на 5%
      1. Груз принимается в полном объёме
      2. Груз принимается частично
      3. Груз не принимается полностью
  2. Документ пришёл вместе с грузом в бумажном виде
    1. Фактический объём продукции и объём продукции, указанный во входящем сертификате, одинаковы или различаются не более чем на 5%
      1. Груз принимается в полном объёме
      2. Груз принимается частично
      3. Груз не принимается полностью
    2. Фактический объём продукции и объём продукции, указанный во входящем сертификате, различаются более чем на 5%
      1. Груз принимается в полном объёме
      2. Груз принимается частично
      3. Груз не принимается полностью

Возможный сценарий определяется параметрами, которые заполняются в объекте deliveryFacts. Заполнение полей в deliveryFacts влияет на заполнение полей в других объектах.

Название поля Значение Комментарий
vetCertificatePresence ELECTRONIC/PAPER Указывается вид ветеринарного сертификата: электронный или бумажный.
decision ACCEPT_ALL/PARTIALLY/RETURN_ALL Принятое решение о дальнейшей судьбе партии: принимается/принимается частино/возвращается полностью.
docInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED Соответствуют ли сведения о партии, указанные в документе, фактическим: соответствуют/не соответствуют/проверка не проводилась.
vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED Осуществлён ли контроль груза вет.врачом на соответствие требованиям: груз соответствует/не соответствует/осмотр не проводился.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Объём принимаемого груза, соответствующий указанному в ВСД. Указывается объём груза, принимаемого по факту.
discrepancyReport Данные акта, причина и описание несоответствия. В зависимости от наличия расхождений в сертификате и фактически принимаемом грузе.
returnedDelivery Данные возвратного сертификата. Заполняется в случае оформления возвратного сертификата.

Сценарии с электронным ветеринарным сертификатом

Сценарий №1

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия принимается в полном объёме.

Входные данные

Поле Значение Комментарий
deliveryFacts/decision ACCEPT_ALL Партия принимается в полном объёме.
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS Состояние груза соответствует указанному в ВСД.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии. Объём принимаемого груза, соответствующий указанному в ВСД или отличный от него не более чем на 5%.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery Не заполняется. Возврат не оформляется, возвратного сертификата не требуется.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>2015-12-04T17:03:00</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>П000000005</merc:localTransactionId>
                     <merc:initiator>
                        <com:login>login</com:login>
                     </merc:initiator>
                 <merc:delivery>
                    <vet:deliveryDate>date</vet:deliveryDate>
                    <vet:consignor>
                       <ent:businessEntity>
                          <base:guid>businessEntityGUID1</base:guid>
                       </ent:businessEntity>
                       <ent:enterprise>
                          <base:guid>enterpriseGUID1</base:guid>
                       </ent:enterprise>
                   </vet:consignor>
                   <vet:consignee>
                      <ent:businessEntity>
                          <base:guid>businessEntityGUID2</base:guid>
                      </ent:businessEntity>
                      <ent:enterprise>
                          <base:guid>enterpriseGUID2</base:guid>
                      </ent:enterprise>
                   </vet:consignee>
                   <vet:consignment>
                       <vet:productType>type</vet:productType>
                       <vet:product>
                          <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                       </vet:product>
                       <vet:subProduct>
                          <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                       </vet:subProduct>
                       <vet:productItem>
                          <prod:name>название продукции</prod:name>
                       </vet:productItem>
                       <vet:volume>1000</vet:volume>
                       <vet:unit>
                          <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                 </vet:unit>
                 <vet:packingList>
                     <com:packingForm>
                         <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                     </com:packingForm>
                 </vet:packingList>
                 <vet:packingAmount>100</vet:packingAmount>
                 <vet:dateOfProduction>
                     <vet:firstDate>
                         <base:year>2016</base:year>
                         <base:month>4</base:month>
                         <base:day>5</base:day>
                         <base:hour>0</base:hour>
                     </vet:firstDate>
                 </vet:dateOfProduction>
                 <vet:expiryDate>
                     <vet:firstDate>
                         <base:year>2016</base:year>
                         <base:month>4</base:month>
                         <base:day>22</base:day>
                         <base:hour>0</base:hour>
                     </vet:firstDate>
                 </vet:expiryDate>
                 <vet:perishable>false</vet:perishable>
                 <vet:countryOfOrigin>
                     <base:uuid>uuid</base:uuid>
                 </vet:countryOfOrigin>
                 <vet:producerList>
                     <ent:producer>
                         <ent:enterprise>
                             <base:guid>guid</base:guid>
                         </ent:enterprise>
                         <ent:role>PRODUCER</ent:role>
                     </ent:producer>
                 </vet:producerList>
                 <vet:lowGradeCargo>false</vet:lowGradeCargo>
                 <vet:owner>
                     <base:guid>guid</base:guid>
                 </vet:owner>
                 <vet:productName>название продукции</vet:productName>
                 <vet:productCode>артикул продукции</vet:productCode>
             </vet:consignment>
             <vet:accompanyingForms>
                 <vet:waybill>
                     <shp:issueSeries>ТТН</shp:issueSeries>
                     <shp:issueNumber>000000006</shp:issueNumber>
                     <shp:issueDate>2016-04-05</shp:issueDate>
                     <shp:type>1</shp:type>
                     <shp:transportInfo>
                         <shp:transportType>1</shp:transportType>
                         <shp:transportNumber>
                             <shp:vehicleNumber>к949ыы43</shp:vehicleNumber>
                         </shp:transportNumber>
                     </shp:transportInfo>
                     <shp:transportStorageType>CHILLED</shp:transportStorageType>
                </vet:waybill>
                <vet:vetCertificate>
                    <base:uuid>uuid</base:uuid>
                </vet:vetCertificate>
            </vet:accompanyingForms>
        </merc:delivery>
        <merc:deliveryFacts>
             <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
             <vet:docInspection>
                 <vet:responsible>
                     <com:login>login</com:login> <!--Пользователь, ответственный за соответствие документации и фактического груза. Может быть как ветврач, так и пользователь ХС--->
                 </vet:responsible>
                 <vet:result>CORRESPONDS</vet:result>
             </vet:docInspection>
             <vet:vetInspection>
                 <vet:responsible>
                     <com:login>login</com:login> <!--Пользователь, ответственный за соответствие груза качественным показателям. --->
                 </vet:responsible>
                 <vet:result>CORRESPONDS</vet:result>
             </vet:vetInspection>
             <vet:decision>ACCEPT_ALL</vet:decision>
       </merc:deliveryFacts>
</merc:processIncomingConsignmentRequest>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала указаны фактические сведения о партии, которые соответствуют сведениям, указанным во входящем электронном ВСД.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: не создан.

Сценарий №2

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия принимается частично, на остальную часть оформляется возвратный сертификат.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/decision PARTIALLY Партия принимается частично.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED в зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии. Объём принимаемого груза, соответствующий указанному в ВСД или отличный от него не более чем на 5%.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery/consignment/volume Объём возвращаемой партии. Объем возвращаемой партии плюс объем принимаемой партии должен быть равен объему партии, указанному во входящем электронном ВСД или отличаться от него не более чем на 5%.

Если общий объём отличается от указанного в ВСД более,чем на 5%, выдаётся ошибка об отсутствии акта о несоответствии.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>date</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>название номенклатуры производителя</prod:name>
                        </vet:productItem>
                        <vet:volume>60</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8/base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>12</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>30</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>true</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>uuid</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                            <shp:type>2</shp:type>
                            <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <base:uuid>uuid</base:uuid>
                         </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login> <!--Пользователь, ответственный за соответствие документации и фактического груза--->
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result> <!--- Пользователь, ответственный за соответствие груза качественным показателям -->
                     </vet:vetInspection>
                     <vet:decision>PARTIALLY</vet:decision>
                  </merc:deliveryFacts>
                  <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterprseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Номенклатура производителя</prod:name>
                        </vet:productItem>
                        <vet:volume>20</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>4</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>30</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>true</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2016-04-21</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>guid</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>true</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery>
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала присутствует объем продукции, который был указан в поле ..Request/delivery/consignment/volume.
  • Акт несоответствия: не создан. Несоответствий нет.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объём возвращаемой партии плюс объем принимаемой партии должен быть равен объёму партии, указанному во входящем электронном ВСД или отличаться от него не более, чем на 5%. В случае отличия на этапе обработки заявки система выдаст ошибку о несоответствии объёма и необходимости оформить акт о несоответствии.

Сценарий №3

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия не принимается, оформляется возвратный сертификат на всю партию.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/decision RETURN_ALL Партия не принимается.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume 0 Партия возвращается полностью.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery/consignment/volume Объём возвращаемой партии. В данном случае объем возвращаемой партии должен быть равен объему партии, указанному во входящем электронном ВСД.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>0</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <base:uuid>uuid</base:uuid>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                          <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:vetInspection>
                     <vet:decision>RETURN_ALL</vet:decision>
                  </merc:deliveryFacts>
                   <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>uuid</base:uuid>
                        </vet:countryOfOrigin>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>true</vet:cargoInspected>
                           <vet:cargoExpertized>true</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery> 
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: не создана.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: создан. В возвратном ВСД установлен объем, равный объему партии, указанному во входящем электронном ВСД или отличающийся от него не более чем на 5%.

Сценарий №4

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия принимается полностью, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/decision ACCEPT_ALL Партия принимается полностью.
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS Качественные показатели соответствуют.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии. В данном случае фактический объем должен отличаться более чем на 5% от объема, указанного во входящем электронном ВСД.
discrepancyReport/reason/name Причина несоответствия. В данном случае указывается расхождение в объёме продукции.
returnedDelivery Не заполняется. Возврат не оформляется.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
              <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                 	<com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>120</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                            <shp:type>2</shp:type>
                             <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <base:uuid>uuid</base:uuid>
                       </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                            <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:vetInspection>
                     <vet:decision>ACCEPT_ALL</vet:decision>
                  </merc:deliveryFacts>
                  <merc:discrepancyReport>
                  <vet:issueSeries>qwer</vet:issueSeries>
                  <vet:issueNumber>147852</vet:issueNumber>
                  <vet:issueDate>2016-04-21</vet:issueDate>
                  <vet:reason>
                  <vet:name>Количество продукции больше указанногов ВСД на 20 кг</vet:name>
                  </vet:reason>
                  <vet:description>В ВСД заявлено 100 кг, прибыло 120.</vet:description>
                  </merc:discrepancyReport>
                </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала проставлен объем партии, указанный в поле .Request/delivery/consignment/volume.
  • Акт несоответствия: создан. В акте несоответствия указана причина несоответствия. При просмотре через веб-интерфейс доступны следующие поля:
    • В поле «Несоответствие» указано «Объём»;
    • В поле «Значение по ВСД» указано значение из электронного ВСД;
    • В поле «Фактическое значение» указано значение из поля ..Request/consignment/volume;
    • В поле «Расхождение» указана разность между фактическим и указанным в ВСД объёмом. Вычисляется автоматически.
  • Возвратный ВСД: не создается.

Сценарий №5

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия принимается частично, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/decision PARTIALLY Партия принимается частично.
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от оценки груза ветеринаром.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии. Сумма объёма принимаемой и возвращаемой продукции должна отличаться от указанного в ВСД объёма более, чем на 5%.
discrepancyReport/reason/name Причина несоответствия. В данном случае указывается расхождение в объёме продукции.
returnedDelivery/consignment/volume Объём возвращаемой партии. Объем возвращаемой партии плюс объем принимаемой партии должен отличаться от объёма, указанного в ВСД более чем на 5%.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>80</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <base:uuid>uuid</base:uuid>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:vetInspection>
                     <vet:decision>PARTIALLY</vet:decision>
                  </merc:deliveryFacts>
                  <merc:discrepancyReport>
                  <vet:issueSeries>qwer</vet:issueSeries>
                  <vet:issueNumber>147852</vet:issueNumber>
                  <vet:issueDate>2016-04-21</vet:issueDate>
                  <vet:reason>
                  <vet:name>Количество продукции больше указанного в ВСД на 20 кг. эти 20 кг не того сорта</vet:name>
                  </vet:reason>
                  <vet:description>В ВСД заявлено 100 кг, прибыло 120.</vet:description>
                  </merc:discrepancyReport>
                  <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>40</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>true</vet:cargoInspected>
                           <vet:cargoExpertized>true</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery> 
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала присутствует объем, который был указан в поле ..Request/delivery/consignment/volume.
  • Акт несоответствия: создан. В нём указана причина несоответствия. При просмотре через веб-интерфейс доступны следующие поля:
    • В поле «Несоответствие» указано «Объём»;
    • В поле «Значение по ВСД» указано значение из электронного ВСД;
    • В поле «Фактическое значение» указано значение из поля ..Request/consignment/volume;
    • В поле «Расхождение» указана разность между фактическим и указанным в ВСД объёмом. Вычисляется автоматически.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объем возвращаемой партии плюс объем принимаемой партии отличаться от указанного в ВСД более чем на 5%.

Сценарий №6

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия не принимается полностью, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence ELECTRONIC Сертификат находится в системе электронном виде.
deliveryFacts/decision RETURN_ALL Партия не принимается.
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от оценки груза ветеринаром.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume 0 Поскольку ничего не принимается, то принимаемый объём равен нулю.
discrepancyReport/reason/name Причина несоответствия. В данном случае указывается расхождение в объёме продукции.
returnedDelivery/consignment/volume Фактический объём пришедшей продукции. Партия возвращается в полном объёме, объём должен отличаться от указанного во входном сертификате не менее, чем на 5%.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>0</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <base:uuid>uuid</base:uuid>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>ELECTRONIC</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                          <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:vetInspection>
                     <vet:decision>RETURN_ALL</vet:decision>
                  </merc:deliveryFacts>
                   <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>BusinessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>EnterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>true</vet:cargoInspected>
                           <vet:cargoExpertized>true</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery> 
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: не создана.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объем возвращаемой партии плюс объем принимаемой партии должен отличаться от указанного в ВСД объёма более чем на 5%.

Сценарии с бумажным документом

Сценарий №1

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается бумажным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия принимается в полном объёме.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат пришёл в бумажном виде.
deliveryFacts/decision ACCEPT_ALL Партия принимается в полном объёме.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS Состояние груза соответствует указанному в ВСД.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа - не заполняется. Остальные данные объекта vetCertificate необходимо указывать. Они будут занесены в систему.
delivery/consignment/volume Фактический объем продукции входящей партии. Объём принимаемого груза, соответствующий указанному в ВСД или отличный от него не более чем на 5%.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery Не заполняется. Возврат не оформляется, возвратного сертификата не требуется.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>2015-12-04T17:03:00</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>20</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                          <vet:issueSeries>AB</vet:issueSeries>
                          <vet:issueNumber>2354</vet:issueNumber>
                          <vet:issueDate>2016-04-21</vet:issueDate>
                          <vet:form>LIC2</vet:form>
                          <vet:consignor>
                              <ent:businessEntity>
                                 <base:guid>busnessEntityGUID1</base:guid>
                              </ent:businessEntity>
                              <ent:enterprise>
                                 <base:guid>enterpriseGUID1</base:guid>
                              </ent:enterprise>
                          </vet:consignor>
                          <vet:consignee>
                             <ent:businessEntity>
                                <base:guid>businessEntityGUID2</base:guid>
                             </ent:businessEntity>
                             <ent:enterprise>
                                <base:guid>enterpriseGUID2</base:guid>
                             </ent:enterprise>
                          </vet:consignee>
                          <vet:batch>
                              <vet:productType>1</vet:productType>
                              <vet:product>
                                 <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                              </vet:product>
                              <vet:subProduct>
                                 <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                              </vet:subProduct>
                              <vet:productItem>
                                 <prod:name>Мясо в герметичной упаковке</prod:name>
                              </vet:productItem>
                              <vet:volume>100</vet:volume>
                              <vet:unit>
                                 <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                              </vet:unit>
                              <vet:packingList>
                                 <com:packingForm>
                                    <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                                 </com:packingForm>
                              </vet:packingList>
                              <vet:packingAmount>20</vet:packingAmount>
                              <vet:dateOfProduction>
                                 <vet:firstDate>
                                    <base:year>2016</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:dateOfProduction>
                              <vet:expiryDate>
                                 <vet:firstDate>
                                    <base:year>2017</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:expiryDate>
                              <vet:perishable>false</vet:perishable>
                              <vet:countryOfOrigin>
                                 <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                              </vet:countryOfOrigin>
                              <vet:producerList>
                                 <ent:producer>
                                    <ent:enterprise>
                                       <base:guid>enterpriseGUID</base:guid>
                                    </ent:enterprise>
                                    <ent:role>PRODUCER</ent:role>
                                 </ent:producer>
                              </vet:producerList>
                             <vet:lowGradeCargo>false</vet:lowGradeCargo>
                           </vet:batch>
                           <vet:purpose>
                              <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                           </vet:purpose>
                          <vet:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </vet:transportInfo>
                           <vet:transportStorageType>FROZEN</vet:transportStorageType>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                           <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>    
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:vetInspection>
                     <vet:decision>ACCEPT_ALL</vet:decision>
                  </merc:deliveryFacts>
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала указаны фактические сведения о партии, которые соответствуют сведениям, указанным во входящем электронном ВСД.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: не создан.

Сценарий №2

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается бумажным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия принимается частично, на остальную часть оформляется возвратный сертификат.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат пришёл в бумажном виде.
deliveryFacts/decision PARTIALLY Партия принимается частично.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа. Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии. Объём принимаемого груза, соответствующий указанному в ВСД или отличный от него не более чем на 5%.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery/consignment/volume Объём возвращаемой партии. Объем возвращаемой партии плюс объем принимаемой партии должен быть равен объему партии, указанному во входящем электронном ВСД или отличаться от него не более чем на 5%. Если общий объём отличается от указанного в ВСД более,чем на 5%, выдаётся ошибка об отсутствии акта о несоответствии.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityguid1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseguid1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityguid2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseguid2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>80</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>20</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                            <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                         <vet:issueSeries>AB</vet:issueSeries>
                           <vet:issueNumber>2354</vet:issueNumber>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:form>LIC2</vet:form>
                                  <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityguid1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseguid1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityguid2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseguid2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                           <vet:batch>
                              <vet:productType>1</vet:productType>
                              <vet:product>
                                 <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                              </vet:product>
                              <vet:subProduct>
                                 <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                              </vet:subProduct>
                              <vet:productItem>
                                 <prod:name>Мясо в герметичной упаковке</prod:name>
                              </vet:productItem>
                              <vet:volume>100</vet:volume>
                              <vet:unit>
                                 <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                              </vet:unit>
                              <vet:packingList>
                                 <com:packingForm>
                                    <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                                 </com:packingForm>
                              </vet:packingList>
                              <vet:packingAmount>20</vet:packingAmount>
                              <vet:dateOfProduction>
                                 <vet:firstDate>
                                    <base:year>2016</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:dateOfProduction>
                              <vet:expiryDate>
                                 <vet:firstDate>
                                    <base:year>2017</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:expiryDate>
                              <vet:perishable>false</vet:perishable>
                              <vet:countryOfOrigin>
                                 <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                              </vet:countryOfOrigin>
                              <vet:producerList>
                                 <ent:producer>
                                    <ent:enterprise>
                                       <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                                    </ent:enterprise>
                                    <ent:role>PRODUCER</ent:role>
                                 </ent:producer>
                              </vet:producerList>
                            <vet:lowGradeCargo>false</vet:lowGradeCargo>
                           </vet:batch>
                           <vet:purpose>
                              <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                           </vet:purpose>
                            <vet:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </vet:transportInfo>
                           <vet:transportStorageType>FROZEN</vet:transportStorageType>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                           <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:vetInspection>
                     <vet:decision>PARTIALLY</vet:decision>
                  </merc:deliveryFacts>
                <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>20</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery> 
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала присутствует объем продукции, который был указан в поле ..Request/delivery/consignment/volume.
  • Акт несоответствия: не создан. Несоответствий нет.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объём возвращаемой партии плюс объем принимаемой партии должен быть равен объёму партии, указанному во входящем электронном ВСД или отличаться от него не более, чем на 5%. В случае отличия на этапе обработки заявки система выдаст ошибку о несоответствии объёма и необходимости оформить акт о несоответствии.

Сценарий №3

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается бумажным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, одинаковы или различаются не более чем на 5%. Партия не принимается, оформляется возвратный сертификат на всю партию.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат находится в системе электронном виде.
deliveryFacts/decision RETURN_ALL Партия не принимается.
deliveryFacts/docInspection/result CORRESPONDS Данные о грузе соответствуют указанным в ВСД.
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от того, проводил ли ветврач осмотр груза и каковы результаты осмотра.
delivery/accompanyingForms/vetCertificate/UUID Не указывается. Остальные данные объекта vetCertificate требуется указать.
delivery/consignment/volume 0 Партия возвращается полностью.
discrepancyReport Не заполняется. Расхождений нет, акта не требуется.
returnedDelivery/consignment/volume Объём возвращаемой партии. В данном случае объем возвращаемой партии должен быть равен объему партии, указанному во входящем ВСД.

Сценарий гашения входного сертификата.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                    <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>0</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>20</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueSeries>AB</vet:issueSeries>
                           <vet:issueNumber>2354</vet:issueNumber>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:form>LIC2</vet:form>
                                  <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:batch>
                         <vet:productType>1</vet:productType>
                         <vet:product>
                             <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                         </vet:product>
                         <vet:subProduct>
                             <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                         </vet:subProduct>
                         <vet:productItem>
                             <prod:name>Мясо в герметичной упаковке</prod:name>
                         </vet:productItem>
                         <vet:volume>100</vet:volume>
                         <vet:unit>
                            <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                         </vet:unit>
                         <vet:packingList>
                             <com:packingForm>
                                 <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                             </com:packingForm>
                         </vet:packingList>
                         <vet:packingAmount>20</vet:packingAmount>
                         <vet:dateOfProduction>
                             <vet:firstDate>
                                <base:year>2016</base:year>
                                <base:month>04</base:month>
                                <base:day>20</base:day>
                                <base:hour>0</base:hour>
                             </vet:firstDate>
                         </vet:dateOfProduction>
                         <vet:expiryDate>
                             <vet:firstDate>
                                 <base:year>2017</base:year>
                                 <base:month>04</base:month>
                                 <base:day>20</base:day>
                                 <base:hour>0</base:hour>
                             </vet:firstDate>
                         </vet:expiryDate>
                         <vet:perishable>false</vet:perishable>
                         <vet:countryOfOrigin>
                             <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                         </vet:countryOfOrigin>
                         <vet:producerList>
                             <ent:producer>
                                 <ent:enterprise>
                                    <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                                 </ent:enterprise>
                                 <ent:role>PRODUCER</ent:role>
                            </ent:producer>
                         </vet:producerList>
                         <vet:lowGradeCargo>false</vet:lowGradeCargo>
                      </vet:batch>
                      <vet:purpose>
                          <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                      </vet:purpose>
                      <vet:transportInfo>
                          <shp:transportType>1</shp:transportType>
                          <shp:transportNumber>
                              <shp:vehicleNumber>147147</shp:vehicleNumber>
                          </shp:transportNumber>
                      </vet:transportInfo>
                      <vet:transportStorageType>FROZEN</vet:transportStorageType>
                      <vet:cargoInspected>false</vet:cargoInspected>
                      <vet:cargoExpertized>false</vet:cargoExpertized>
                      <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                      <vet:confirmedBy>
                          <com:fio>Иванов И.И.</com:fio>
                          <com:post>Ветеринарный инспектор</com:post>
                      </vet:confirmedBy>
                      <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                      <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                      <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>
                   </vet:vetCertificate>
                </vet:accompanyingForms>
             </merc:delivery>
             <merc:deliveryFacts>
                <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                <vet:docInspection>
                    <vet:responsible>
                        <com:login>login</com:login>
                    </vet:responsible>
                    <vet:result>CORRESPONDS</vet:result>
                </vet:docInspection>
                <vet:vetInspection>
                    <vet:responsible>
                        <com:login>login</com:login>
                    </vet:responsible>
                    <vet:result>MISMATCH</vet:result>
                 </vet:vetInspection>
                 <vet:decision>RETURN_ALL</vet:decision>
              </merc:deliveryFacts>
              <merc:returnedDelivery>
                  <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                  <vet:consignor>
                     <ent:businessEntity>
                        <base:guid>businessEntityGUID2</base:guid>
                     </ent:businessEntity>
                     <ent:enterprise>
                         <base:guid>enterpriseGUID2</base:guid>
                     </ent:enterprise>
                 </vet:consignor>
                 <vet:consignee>
                     <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                     </ent:businessEntity>
                     <ent:enterprise>
                         <base:guid>enterpriseGUID1</base:guid>
                     </ent:enterprise>
                 </vet:consignee>
                    <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery> 
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: не создана.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: создан. В возвратном ВСД установлен объем, равный объему партии, указанному во входящем электронном ВСД или отличающийся от него не более чем на 5%.

Сценарий №4

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается бумажным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия принимается полностью, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат находится в системе электронном виде.
deliveryFacts/decision ACCEPT_ALL Партия принимается полностью.
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД
deliveryFacts/vetInspection/result CORRESPONDS Качественные показатели соответствуют.
delivery/accompanyingForms/vetCertificate/UUID Не заполняется. Остальные данные объекта vetCertificate указывать нужно.
delivery/consignment/volume Фактический объем продукции входящей партии. В данном случае фактический объем должен отличаться более чем на 5% от объема, указанного во входящем электронном ВСД.
discrepancyReport/reason/name Причина несоответствия. В данном случае указывается расхождение в объёме продукции.
returnedDelivery Не заполняется. Возврат не оформляется.

Сценарий гашения входного сертификата

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
              <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>20</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueSeries>AB</vet:issueSeries>
                           <vet:issueNumber>2354</vet:issueNumber>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:form>LIC2</vet:form>
                                  <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                           <vet:batch>
                              <vet:productType>1</vet:productType>
                              <vet:product>
                                 <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                              </vet:product>
                              <vet:subProduct>
                                 <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                              </vet:subProduct>
                              <vet:productItem>
                                 <prod:name>Мясо в герметичной упаковке</prod:name>
                              </vet:productItem>
                              <vet:volume>120</vet:volume>
                              <vet:unit>
                                 <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                              </vet:unit>
                              <vet:packingList>
                                 <com:packingForm>
                                    <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                                 </com:packingForm>
                              </vet:packingList>
                              <vet:packingAmount>20</vet:packingAmount>
                              <vet:dateOfProduction>
                                 <vet:firstDate>
                                    <base:year>2016</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:dateOfProduction>
                              <vet:expiryDate>
                                 <vet:firstDate>
                                    <base:year>2017</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                              </vet:expiryDate>
                              <vet:perishable>false</vet:perishable>
                              <vet:countryOfOrigin>
                                 <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                              </vet:countryOfOrigin>
                              <vet:producerList>
                                 <ent:producer>
                                    <ent:enterprise>
                                       <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                                    </ent:enterprise>
                                    <ent:role>PRODUCER</ent:role>
                                 </ent:producer>
                              </vet:producerList>
                             <vet:lowGradeCargo>false</vet:lowGradeCargo>
                           </vet:batch>
                           <vet:purpose>
                              <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                           </vet:purpose>
                           <vet:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </vet:transportInfo>
                           <vet:transportStorageType>FROZEN</vet:transportStorageType>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                           <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>
                          </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                          <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>CORRESPONDS</vet:result>
                     </vet:vetInspection>
                     <vet:decision>ACCEPT_ALL</vet:decision>
                  </merc:deliveryFacts>
                  <merc:discrepancyReport>
                     <vet:issueSeries>qwer</vet:issueSeries>
                     <vet:issueNumber>147852</vet:issueNumber>
                     <vet:issueDate>2016-04-21</vet:issueDate>
                     <vet:reason>
                       <vet:name>Количество продукции больше указанного в ВСД на 20 кг.</vet:name>
                     </vet:reason>
                     <vet:description>В ВСД заявлено 100 кг, прибыло 80.</vet:description>
                 </merc:discrepancyReport> 
              </merc:processIncomingConsignmentRequest>
           </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала проставлен объем партии, указанный в поле .Request/delivery/consignment/volume.
  • Акт несоответствия: создан. В акте несоответствия указана причина несоответствия. При просмотре через веб-интерфейс доступны следующие поля:
    • В поле «Несоответствие» указано «Объём»
    • В поле «Значение по ВСД» указано значение из бумажного ВСД;
    • В поле «Фактическое значение» указано значение из поля ..Request/consignment/volume
    • В поле «Расхождение» указана разность между фактическим и указанным в ВСД объёмом. Вычисляется автоматически.
  • Возвратный ВСД: не создается

Сценарий №5

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается электронным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия принимается частично, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат находится в системе электронном виде.
deliveryFacts/decision PARTIALLY Партия принимается частично
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от оценки груза ветеринаром.
delivery/accompanyingForms/vetCertificate/UUID Идентификатор электронного документа Остальные данные объекта vetCertificate указывать не требуется. Система считает их автоматически.
delivery/consignment/volume Фактический объем продукции входящей партии Сумма объёма принимаемой и возвращаемой продукции должна отличаться от указанного в ВСД объёма более, чем на 5%.
discrepancyReport/reason/name Причина несоответствия В данном случае указывается расхождение в объёме продукции
returnedDelivery/consignment/volume Объём возвращаемой партии Объем возвращаемой партии плюс объем принимаемой партии должен отличаться от объёма, указанного в ВСД более чем на 5%.

Сценарий гашения входного сертификата

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               <merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                    <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpiseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>100</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>20</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                               <shp:transportType>1</shp:transportType>
                               <shp:transportNumber>
                                   <shp:vehicleNumber>147147</shp:vehicleNumber>
                               </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueSeries>AB</vet:issueSeries>
                           <vet:issueNumber>2354</vet:issueNumber>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:form>LIC2</vet:form>
                           <vet:consignor>
                               <ent:businessEntity>
                                  <base:guid>businessEntityGUID1</base:guid>
                               </ent:businessEntity>
                               <ent:enterprise>
                                  <base:guid>enterpriseGUID1</base:guid>
                               </ent:enterprise>
                          </vet:consignor>
                          <vet:consignee>
                             <ent:businessEntity>
                                <base:guid>businessEntityGUID2</base:guid>
                             </ent:businessEntity>
                             <ent:enterprise>
                                <base:guid>enterpriseGUID2</base:guid>
                             </ent:enterprise>
                         </vet:consignee>
                         <vet:batch>
                            <vet:productType>1</vet:productType>
                            <vet:product>
                               <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                            </vet:product>
                            <vet:subProduct>
                               <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                            </vet:subProduct>
                            <vet:productItem>
                                <prod:name>Мясо в герметичной упаковке</prod:name>
                            </vet:productItem>
                            <vet:volume>120</vet:volume>
                            <vet:unit>
                                <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                            </vet:unit>
                            <vet:packingList>
                                <com:packingForm>
                                   <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                                </com:packingForm>
                            </vet:packingList>
                            <vet:packingAmount>20</vet:packingAmount>
                            <vet:dateOfProduction>
                                <vet:firstDate>
                                   <base:year>2016</base:year>
                                   <base:month>04</base:month>
                                   <base:day>20</base:day>
                                   <base:hour>0</base:hour>
                                </vet:firstDate>
                            </vet:dateOfProduction>
                            <vet:expiryDate>
                                <vet:firstDate>
                                    <base:year>2017</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                            </vet:expiryDate>
                            <vet:perishable>false</vet:perishable>
                            <vet:countryOfOrigin>
                                <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                            </vet:countryOfOrigin>
                            <vet:producerList>
                                <ent:producer>
                                   <ent:enterprise>
                                       <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                                   </ent:enterprise>
                                    <ent:role>PRODUCER</ent:role>
                                </ent:producer>
                            </vet:producerList>
                            <vet:lowGradeCargo>false</vet:lowGradeCargo>
                           </vet:batch>
                           <vet:purpose>
                              <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                           </vet:purpose>
                           <vet:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </vet:transportInfo>
                           <vet:transportStorageType>FROZEN</vet:transportStorageType>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                           <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>
                       </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible> 
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>UNSUPERVISED</vet:result>
                     </vet:vetInspection>
                     <vet:decision>PARTIALLY</vet:decision>
                  </merc:deliveryFacts>
                  <merc:discrepancyReport>
                      <vet:issueSeries>qwer</vet:issueSeries>
                      <vet:issueNumber>147852</vet:issueNumber>
                      <vet:issueDate>2016-04-21</vet:issueDate>
                      <vet:reason>
                          <vet:name>Количество продукции больше указанного в ВСД на 20 кг. эти 20 кг не того сорта</vet:name>
                      </vet:reason>
                      <vet:description>В ВСД заявлено 100 кг, прибыло 80.</vet:description>
                 </merc:discrepancyReport> 
                 <merc:returnedDelivery>
                     <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>20</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList> 
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery>  
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: создана. В записи входного журнала присутствует объем, который был указан в поле ..Request/delivery/consignment/volume.
  • Акт несоответствия: создан. В нём указана причина несоответствия. При просмотре через веб-интерфейс доступны следующие поля:
    • В поле «Несоответствие» указано «Объём»
    • В поле «Значение по ВСД» указано значение из электронного ВСД;
    • В поле «Фактическое значение» указано значение из поля ..Request/consignment/volume
    • В поле «Расхождение» указана разность между фактическим и указанным в ВСД объёмом. Вычисляется автоматически.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объем возвращаемой партии плюс объем принимаемой партии отличаться от указанного в ВСД более чем на 5%.

Сценарий №6

Описание бизнес-операции Продукция, которая поступает на предприятие, сопровождается бумажным ветеринарным документом. Сведения о партии соответствуют указанным в ВСД. Фактический объём продукции и объём продукции, указанный во входящем ВСД, различаются более чем на 5%. Партия не принимается полностью, оформляется акт о разновесе.

Входные данные

Поле Значение Комментарий
deliveryFacts/vetCertificatePresence PAPER Сертификат находится в системе электронном виде.
deliveryFacts/decision RETURN_ALL Партия не принимается
deliveryFacts/docInspection/result MISMATCH Данные о грузе не соответствуют указанным в ВСД
deliveryFacts/vetInspection/result CORRESPONDS/MISMATCH/UNSUPERVISED В зависимости от оценки груза ветеринаром.
delivery/accompanyingForms/vetCertificate/UUID Не заполянется Остальные данные объекта vetCertificate требуется указать.
delivery/consignment/volume 0 Поскольку ничего не принимается, то принимаемый объём равен нулю.
discrepancyReport/reason/name Причина несоответствия В данном случае указывается расхождение в объёме продукции
returnedDelivery/consignment/volume Фактический объём пришедшей продукции Партия возвращается в полном объёме, объём должен отличаться от указанного во входном сертификате не менее, чем на 5%

Сценарий гашения входного сертификата

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ws="http://api.vetrf.ru/schema/cdm/application/ws-definitions" 
                  xmlns:app="http://api.vetrf.ru/schema/cdm/application" 
                  xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/applications" 
                  xmlns:base="http://api.vetrf.ru/schema/cdm/base" 
                  xmlns:com="http://api.vetrf.ru/schema/cdm/argus/common" 
                  xmlns:ent="http://api.vetrf.ru/schema/cdm/cerberus/enterprise" 
                  xmlns:ikar="http://api.vetrf.ru/schema/cdm/ikar" 
                  xmlns:vet="http://api.vetrf.ru/schema/cdm/mercury/vet-document" 
                  xmlns:prod="http://api.vetrf.ru/schema/cdm/argus/production" 
                  xmlns:shp="http://api.vetrf.ru/schema/cdm/argus/shipment">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:submitApplicationRequest>
         <ws:apiKey>apiKey</ws:apiKey>
         <app:application>
            <app:serviceId>mercury-g2b.service</app:serviceId>
            <app:issuerId>issuerId</app:issuerId>
            <app:issueDate>date</app:issueDate>
            <app:data>
               merc:processIncomingConsignmentRequest>
                  <merc:localTransactionId>a1</merc:localTransactionId>
                  <merc:initiator>
                     <com:login>login</com:login>
                  </merc:initiator>
                  <merc:delivery>
                     <vet:deliveryDate>2016-04-21T02:01:10</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>0</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>0</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                        <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList>
                        <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:type>2</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueSeries>AB</vet:issueSeries>
                           <vet:issueNumber>2354</vet:issueNumber>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:form>LIC2</vet:form>
                               <vet:consignor>
                                   <ent:businessEntity>
                                       <base:guid>businessEntityGUID1</base:guid>
                                   </ent:businessEntity>
                                   <ent:enterprise>
                                       <base:guid>enterpriseGUID1</base:guid>
                                   </ent:enterprise>
                              </vet:consignor>
                              <vet:consignee>
                                 <ent:businessEntity>
                                     <base:guid>businessEntityGUID2</base:guid>
                                 </ent:businessEntity>
                                 <ent:enterprise>
                                     <base:guid>enterpiseGUID2</base:guid>
                                 </ent:enterprise>
                             </vet:consignee>
                             <vet:batch>
                                <vet:productType>1</vet:productType>
                                <vet:product>
                                  <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                                </vet:product>
                                <vet:subProduct>
                                    <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                                </vet:subProduct>
                                <vet:productItem>
                                   <prod:name>Мясо в герметичной упаковке</prod:name>
                                </vet:productItem>
                                <vet:volume>120</vet:volume>
                                <vet:unit>
                                   <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                                </vet:unit>
                                <vet:packingList>
                                  <com:packingForm>
                                     <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                                  </com:packingForm>
                                </vet:packingList>
                                <vet:packingAmount>20</vet:packingAmount>
                                <vet:dateOfProduction>
                                  <vet:firstDate>
                                    <base:year>2016</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                  </vet:firstDate>
                                </vet:dateOfProduction>
                                <vet:expiryDate>
                                 <vet:firstDate>
                                    <base:year>2017</base:year>
                                    <base:month>04</base:month>
                                    <base:day>20</base:day>
                                    <base:hour>0</base:hour>
                                 </vet:firstDate>
                               </vet:expiryDate>
                               <vet:perishable>false</vet:perishable>
                               <vet:countryOfOrigin>
                                 <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                               </vet:countryOfOrigin>
                               <vet:producerList>
                                 <ent:producer>
                                    <ent:enterprise>
                                       <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                                    </ent:enterprise>
                                    <ent:role>PRODUCER</ent:role>
                                 </ent:producer>
                              </vet:producerList>
                              <vet:lowGradeCargo>false</vet:lowGradeCargo>
                           </vet:batch>
                           <vet:purpose>
                              <base:guid>5b90da1b-e089-11e1-bcf3-b499babae7ea</base:guid>
                           </vet:purpose>
                           <vet:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </vet:transportInfo>
                           <vet:transportStorageType>FROZEN</vet:transportStorageType>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:expertiseInfo>Сальмонеллёз - отриц.</vet:expertiseInfo>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2021-01-06T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                           <vet:precedingVetDocuments>ВСД №5891</vet:precedingVetDocuments>
                       </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:delivery>
                  <merc:deliveryFacts>
                     <vet:vetCertificatePresence>PAPER</vet:vetCertificatePresence>
                     <vet:docInspection>
                        <vet:responsible>
                           <com:login>login</com:login>
                        </vet:responsible>
                        <vet:result>MISMATCH</vet:result>
                     </vet:docInspection>
                     <vet:vetInspection>
                        <vet:responsible>
                           <com:login>egorova-iv-150707</com:login>
                        </vet:responsible>
                        <vet:result>UNSUPERVISED</vet:result>
                     </vet:vetInspection>
                     <vet:decision>RETURN_ALL</vet:decision>
                  </merc:deliveryFacts>
                   <vet:deliveryDate>2016-04-21T00:00:00</vet:deliveryDate>
                     <vet:consignor>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID2</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID2</base:guid>
                        </ent:enterprise>
                     </vet:consignor>
                     <vet:consignee>
                        <ent:businessEntity>
                           <base:guid>businessEntityGUID1</base:guid>
                        </ent:businessEntity>
                        <ent:enterprise>
                           <base:guid>enterpriseGUID1</base:guid>
                        </ent:enterprise>
                     </vet:consignee>
                     <vet:consignment>
                        <vet:productType>1</vet:productType>
                        <vet:product>
                           <base:uuid>b1253a77-0585-291f-57a4-53319e897866</base:uuid>
                        </vet:product>
                        <vet:subProduct>
                           <base:uuid>89a877fa-ddb3-3009-bb24-735ba9f7281c</base:uuid>
                        </vet:subProduct>
                        <vet:productItem>
                           <prod:name>Мясо в герметичной упаковке</prod:name>
                        </vet:productItem>
                        <vet:volume>80</vet:volume>
                        <vet:unit>
                           <base:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</base:uuid>
                        </vet:unit>
                        <vet:packingList>
                           <com:packingForm>
                              <base:uuid>fedf5ad4-053c-11e1-99b4-d8d385fbc9e8</base:uuid>
                           </com:packingForm>
                        </vet:packingList>
                        <vet:packingAmount>1</vet:packingAmount>
                        <vet:dateOfProduction>
                           <vet:firstDate>
                              <base:year>2016</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:dateOfProduction>
                        <vet:expiryDate>
                           <vet:firstDate>
                              <base:year>2017</base:year>
                              <base:month>04</base:month>
                              <base:day>20</base:day>
                              <base:hour>0</base:hour>
                           </vet:firstDate>
                        </vet:expiryDate>
                        <vet:perishable>false</vet:perishable>
                        <vet:countryOfOrigin>
                           <base:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</base:uuid>
                        </vet:countryOfOrigin>
                       <vet:producerList>
                           <ent:producer>
                              <ent:enterprise>
                                 <base:guid>0fc15813-2db3-45a1-97b8-2a65d16a0e2c</base:guid>
                              </ent:enterprise>
                              <ent:role>PRODUCER</ent:role>
                           </ent:producer>
                        </vet:producerList> 
                      <vet:lowGradeCargo>false</vet:lowGradeCargo>
                     </vet:consignment>
                     <vet:accompanyingForms>
                        <vet:waybill>
                           <shp:issueSeries/>
                           <shp:issueNumber/>
                           <shp:issueDate>2015-12-01</shp:issueDate>
                           <shp:type>1</shp:type>
                           <shp:transportInfo>
                              <shp:transportType>1</shp:transportType>
                              <shp:transportNumber>
                                 <shp:vehicleNumber>147147</shp:vehicleNumber>
                              </shp:transportNumber>
                           </shp:transportInfo>
                           <shp:transportStorageType>FROZEN</shp:transportStorageType>
                        </vet:waybill>
                        <vet:vetCertificate>
                           <vet:issueDate>2016-04-21</vet:issueDate>
                           <vet:purpose>
                              <base:guid>c177fd1d-a258-4eca-be77-84e6483213df</base:guid>
                           </vet:purpose>
                           <vet:cargoInspected>false</vet:cargoInspected>
                           <vet:cargoExpertized>false</vet:cargoExpertized>
                           <vet:confirmedBy>
                              <com:fio>Иванов И.И.</com:fio>
                              <com:post>Ветеринарный инспектор</com:post>
                           </vet:confirmedBy>
                           <vet:confirmedDate>2016-04-21T00:00:00</vet:confirmedDate>
                           <vet:locationProsperity>Местность благополучна</vet:locationProsperity>
                        </vet:vetCertificate>
                     </vet:accompanyingForms>
                  </merc:returnedDelivery>  
               </merc:processIncomingConsignmentRequest>
            </app:data>
         </app:application>
      </ws:submitApplicationRequest>
   </soapenv:Body>
</soapenv:Envelope>


Результат выполнения операции

  • Входящий ВСД: погашен.
  • Запись входного журнала: не создана.
  • Акт несоответствия: не создан.
  • Возвратный ВСД: создан. В возвратном ВСД указан объем, равный объему, указанному в поле ..Request/returnedDelivery/consignment/volume. Объем возвращаемой партии плюс объем принимаемой партии должен отличаться от указанного в ВСД объёма более чем на 5%.