Exportcenter:CheckWBRComplianceApplication:v2.2: различия между версиями

Материал из Справочная система Россельхознадзора
Перейти к навигации Перейти к поиску
 
(не показано 112 промежуточных версий 2 участников)
Строка 1: Строка 1:
== Общие сведения ==
== Общие сведения ==
Операция '''CheckConclusionWBRApplication''' предназначена для получения сведений о результате рассмотрения заявления на получение Заключения о соответствии партии ВБР требованиям страны-импортера.
Операция '''CheckWBRComplianceApplication''' предназначена для получения сведений о результате рассмотрения заявления на получение Заключения о соответствии партии ВБР требованиям страны-импортера.
 
==Используемые пространства имён==
 
{| class="wikitable"
|-
! Пространство имён (xmlns) !! XSD-схема, содержащая описание типов
|-
| <nowiki>xmlns:bs="http://api.vetrf.ru/schema/cdm/base"</nowiki>
||
|-
| <nowiki>xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"</nowiki>
||
|-
| <nowiki>xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"</nowiki>
||
|-
| <nowiki>xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"</nowiki>
||
|-
|}


== Спецификация запроса ==
== Спецификация запроса ==
Строка 32: Строка 12:
|-
|-
|001
|001
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:checkConclusionWBRApplicationRequest>'''}}
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:checkWBRComplianceApplicationtRequest>'''}}
|
|
|
|
Строка 47: Строка 27:
|[[Identifier_v2.0|bs:Identifier]]
|[[Identifier_v2.0|bs:Identifier]]
|[1..1]
|[1..1]
| style="width:52em;"| Идентификатор процесса в ИС Одно окно РЭЦ
| style="width:52em;"| <div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">1.1. Идентификатор процесса в ИС Одно окно РЭЦ</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
Максимальная длина 36 символов</div>
|-
|-
|004
|004
Строка 53: Строка 36:
|[[SequenceNumber_v2.0|bs:SequenceNumber]]
|[[SequenceNumber_v2.0|bs:SequenceNumber]]
|[1..1]
|[1..1]
| style="width:52em;"| Порядковый номер запроса
| style="width:52em;"| 1.2. Порядковый номер запроса
|-
|-
|005
|005
Строка 59: Строка 42:
|[[UUID|bs:UUID]]
|[[UUID|bs:UUID]]
|[1..1]
|[1..1]
| style="width:52em;"| Идентификатор документа/заявления, зарегистрированного в ВетИС
| style="width:52em;"| 1.5. Идентификатор документа/заявления, зарегистрированного в ВетИС
|-
|-
|006
|006
Строка 65: Строка 48:
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[1..1]
|[1..1]
| style="width:52em;"| Сведения о хозяйствующем субъекте
| style="width:52em;"| 1.4. Сведения о хозяйствующем субъекте
|-
|-
|007
|007
Строка 71: Строка 54:
|[[UUID|bs:UUID]]
|[[UUID|bs:UUID]]
|[1..1]
|[1..1]
| style="width:52em;"| Глобальный идентификатор записи
| style="width:52em;"| 1.4.1. Глобальный идентификатор записи
|-
|-
|008
|008
Строка 77: Строка 60:
|[[String255|bs:String255]]
|[[String255|bs:String255]]
|[1..1]
|[1..1]
| style="width:52em;"| ИНН хозяйствующего субъекта
| style="width:52em;"| 1.4.2. ИНН хозяйствующего субъекта
|-
|-
|009
|009
Строка 92: Строка 75:
|-
|-
|011
|011
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:checkVeterinaryPermitApplicationRequest>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:additionalProperties>'''}}
|[[ExcAdditionalAttributeList_v2.2|exc:ExcAdditionalAttributeList]]
|[0..1]
| style="width:52em;"| Дополнительные опции запроса
|-
|012
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:additionalAttribute>'''}}
|[[ExcAdditionalAttribute_v2.2|exc:ExcAdditionalAttribute]]
|[0..1]
| style="width:52em;"| 2.1. Дополнительный атрибут
|-
|013
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:attrID>'''}}{{color|#131313|ATTACH_INVOICE_FILE}}{{color|#190dbf|'''</exc:attrID>'''}}
|[[Identifier|bs:Identifier]]
|[1..1]
| style="width:52em;"| Идентификатор атрибута - Признак возврата файла счета в ответе
|-
|014
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:attrValue>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:attrValue>'''}}
|[[Text|bs:Text]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">2.1. Значение атрибута</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* true -  возвращать файл
* false - не возвращать файл (значение по умолчанию, если не указано)</div>
</div>
|-
|015
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:additionalAttribute>'''}}
|
|
| style="width:52em;"|
|-
|016
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:additionalProperties>'''}}
|
|
| style="width:52em;"|
|-
|017
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:checkWBRComplianceApplicationtRequest>'''}}
|
|
|
|
Строка 100: Строка 124:


== Спецификация ответа ==
== Спецификация ответа ==
{| class="wikitable"
! #
! Название XML-элемента
! Тип
! Обязат.
! Описание (нажмите [...] для отображения дополнительного описания)
|-
|001
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:checkWBRComplianceApplicationResponse>'''}}
|
|
| style="width:52em;"|
|-
|002
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:metadata>'''}}
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]]
|[1..1]
| style="width:52em;"| 1. Служебная информация
|-
|003
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:processID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:processID>'''}}
|[[Identifier_v2.0|bs:Identifier]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">1.5. Идентификатор процесса в ИС Одно окно РЭЦ</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
Максимальная длина 36 символов</div>
</div>
|-
|004
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:seqNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:seqNumber>'''}}
|[[SequenceNumber_v2.0|bs:SequenceNumber]]
|[1..1]
| style="width:52em;"| 1.6. Номер входящего запроса
|-
|005
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentID>'''}}
|[[UUID|bs:UUID]]
|[1..1]
| style="width:52em;"| 1.1. Идентификатор документа/заявления, зарегистрированного в ВетИС
|-
|006
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentNumber>'''}}
|[http://www.w3.org/TR/xmlschema-2/#token xs:token]
|[1..1]
| style="width:52em;"| 1.2. Зарегистрированный номер заявления
|-
|007
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentStatus>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentStatus>'''}}
|[[ApplicationDocumentStatus_v2.2|exc:ApplicationDocumentStatus]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">1.3. Текущий статус заявления</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* UNKNOWN - Неизвестен
* UNDEFINED - Не определен
* ACCEPTED - заявка получена
* DECLINED - заявка отклонена
* WAITING_DATA_FOR_CONTRACT - ожидание сведений для заключения договора
* DATA_FOR_CONTRACT_RECEIVED - получены сведения для заключения договора
* CONTRACT_PREPARING - подготовка договора
* WAITING_SIGN_CONTRACT - ожидание подписания договора
* CONTRACT_RECEIVED - договор получен
* WAITING_PREPAYMENT - ожидание предоплаты
* PREPAYMENT_INFO_RECEIVED - получены сведения о предоплате
* IN_PROGRESS - проведение исследования
* WAITING_FOR_REWORK - ожидание доработки заявки
* NEW_REVISION_RECEIVED - получена доработанная заявка
* RESEARCH_FINISHED - исследование завершено
* WAITING_PAYMENT - ожидание оплаты
* PAYMENT_INFO_RECEIVED - получены сведения об оплате
* WAITING_CLOSING_ACT - ожидание подписания акта выполненных работ
* ACT_RECEIVED - получен акт выполненных работ
* COMPLETED - заявка закрыта</div>
</div>
|-
|008
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentStatusDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentStatusDate>'''}}
|[http://www.w3.org/TR/xmlschema-2/#dateTime xs:dateTime]
|[1..1]
| style="width:52em;"| 1.4. Дата установления статуса заявления
|-
|009
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}}
|
|
| style="width:52em;"|
|-
|010
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:wbrComplianceStatement>'''}}
|[[WBRComplienceStatement_v2.1|vd:WBRComplienceStatement]]
|[0..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">2. Результат обработки заявки (выдано заключение о соответствии/несоответствии продукции)</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
Обязательно для статуса WAITING_CLOSING_ACT
Передаются:
* сведения о Заключении,
* акт выполненных работ,
* счет, если он не был выставлен ранее</div>
</div>
|-
|011
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}}
|[[UUID|bs:UUID]]
|[1..1]
| style="width:52em;"| 2.1. Идентификатор заключения
|-
|012
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.2. Номер заключения
|-
|013
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueDate>'''}}
|[http://www.w3.org/TR/xmlschema-2/#date xs:date]
|[1..1]
| style="width:52em;"| 2.3. Дата заключения
|-
|014
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}decision>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}decision>'''}}
|[[WBRComplianceDecision_v2.3|vd:WBRComplianceDecision]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">2.4. Решение</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* MEET_REQUIREMENTS - соответствует требованиям страны-импортёра
* NOT_MEET_REQUIREMENTS - не соответствует требованиям страны-импортёра</div>
</div>
|-
|015
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}conclusion>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}conclusion>'''}}
|[[Text|bs:Text]]
|[0..1]
| style="width:52em;"| 2.5. Сведения о причинах заключения о несоотвествии продукции
|-
|016
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}importCountry>'''}}
|[[Country_v2.0|dt:Country]]
|[1..1]
| style="width:52em;"| 2.6. Страна-импортер
|-
|017
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 2.6.2. Наименование страны (рус.)
|-
|018
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}englishName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}englishName>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 2.6.3. Наименование страны (англ.)
|-
|019
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}}
|[[Code_v2.0|dt:Code]]
|[1..1]
| style="width:52em;"| 2.6.1. ISO-код страны
|-
|020
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}importCountry>'''}}
|
|
| style="width:52em;"|
|-
|021
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}consignor>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[1..1]
| style="width:52em;"| 2.7. Сведения о Хозяйствующем Субъекте (ХС) грузоотправителе
|-
|022
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}}
|[[UUID|bs:UUID]]
|[1..1]
| style="width:52em;"| 2.7.1. Глобальный идентификатор ХС
|-
|023
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.7.2. Наименование грузоотправителя (рус.)
|-
|024
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.7.4. ИНН грузоотправителя
|-
|025
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}nameEn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}nameEn>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.7.3. Наименование грузоотправителя (англ.)
|-
|026
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}consignor>'''}}
|
|
| style="width:52em;"|
|-
|027
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}consignee>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[1..1]
| style="width:52em;"| 2.8. Сведения о Хозяйствующем Субъекте (ХС) грузополучателе
|-
|028
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 2.8.1. Наименование грузополучателя (рус.)
|-
|029
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}juridicalAddress>'''}}
|[[Address_v2.0|dt:Address]]
|[1..1]
| style="width:52em;"| Сведения об адресе ХС
|-
|030
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}addressView>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}addressView>'''}}
|[[NText|bs:NText]]
|[0..1]
| style="width:52em;"| 2.8.2. Строковое представление адреса (рус.)
|-
|031
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}enAddressView>'''}}{{color|#131313|?}}{{color|#190dbf|'''<{{color|#660e7a|dt:}}enAddressView>'''}}
|[[NText|bs:NText]]
|[1..1]
| style="width:52em;"| 2.8.4. Строковое представление адреса (англ.)
|-
|032
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}juridicalAddress>'''}}
|
|
| style="width:52em;"|
|-
|033
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}nameEn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}nameEn>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.8.3. Наименование грузополучателя (англ.)
|-
|034
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}consignee>'''}}
|
|
| style="width:52em;"|
|-
|035
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}officialVeterinarian>'''}}
|[[User_v2.0|vd:User]]
|[0..1]
| style="width:52em;"| 2.9. Сведения об инспекторе, оформившем заключение
|-
|036
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}fio>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}fio>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.9.1. ФИО
|-
|037
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}workPhone>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}workPhone>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 2.9.4. Контактный телефон
|-
|038
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}organization>'''}}
|[[Organization_v2.0|dt:Organization]]
|[1..1]
| style="width:52em;"| Сведения об организации, к которой относится инспектор
|-
|039
|style="font-weight: ; font-family: Courier;" |···········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 2.9.3. Наименование организации
|-
|040
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}organization>'''}}
|
|
| style="width:52em;"|
|-
|041
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 2.9.2. Должность
|-
|042
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}officialVeterinarian>'''}}
|
|
| style="width:52em;"|
|-
|043
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:wbrComplianceStatement>'''}}
|
|
| style="width:52em;"|
|-
|044
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:applicationReport>'''}}
|[[ApplicationReport_v2.1|exc:ApplicationReport]]
|[0..*]
| style="width:52em;"|
<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;"> 3. / 4. Результат обработки заявки (мотивированный отказ / запрос доп. сведений)</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
Обязательно для следующих статусов:
* DECLINED (автоматическое и ручное отклонение),
* WAITING_FOR_REWORK.
</div>
|-
|045
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:issueDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:issueDate>'''}}
|[http://www.w3.org/TR/xmlschema-2/#date xs:date]
|[1..1]
| style="width:52em;"| 3.3. / 4.3. Дата отказа в выдаче заключения / Дата отправки на доработку
|-
|046
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:resultNotes>'''}}
|[[FaultInfo_v2.0|bs:FaultInfo]]
|[1..1]
| style="width:52em;"| 3.1. / 4.1. Сведения о причинах отказа в обработке заявления или иные комментарии
|-
|047
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}message>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}message>'''}}
|[http://www.w3.org/TR/xmlschema-2/#string xs:string]
|[1..1]
| style="width:52em;"| 3.1.2. / 4.1.2. Описание причины отказа (сообщение об ошибке)
|-
|048
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}error code&#61;{{color|#007f15|"?"}} {{color|Red|qualifier&#61;}}{{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}error>'''}}
|[[Error_v2.0|bs:Error]]
|[0..*]
| style="width:52em;"| 3.1.1. / 4.1.1. Код ошибки
|-
|049
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:resultNotes>'''}}
|
|
| style="width:52em;"|
|-
|050
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:conclusion>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:conclusion>'''}}
|[[Text|bs:Text]]
|[1..*]
| style="width:52em;"| 3.2 / 4.2. Заключение инспектора (мотивированный отказ / запрос доп. сведений)
|-
|051
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:officialVeterinarian>'''}}
|[[User_v2.0|vd:User]]
|[0..1]
| style="width:52em;"| 3.4. / 4.4. Сведения об инспекторе, оформившем заключение
|-
|052
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}fio>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}fio>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 3.4.1. / 4.4.1. ФИО
|-
|053
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}workPhone>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}workPhone>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 3.4.4. / 4.4.4. Контактный телефон
|-
|054
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}organization>'''}}
|[[Organization_v2.0|dt:Organization]]
|[1..1]
| style="width:52em;"| Сведения об организации, к которой относится инспектор
|-
|055
|style="font-weight: ; font-family: Courier;" |···········{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 3.4.3. / 4.4.3. Наименование организации
|-
|056
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}organization>'''}}
|
|
| style="width:52em;"|
|-
|057
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}}
|[[String255|bs:String255]]
|[0..1]
| style="width:52em;"| 3.4.2. / 4.4.2. Должность
|-
|058
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:officialVeterinarian>'''}}
|
|
| style="width:52em;"|
|-
|059
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:applicationReport>'''}}
|
|
| style="width:52em;"|
|-
|060
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:invoice>'''}}
|[[Invoice_v2.3|vd:Invoice]]
|[0..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">5. Сведения для оплаты счета</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* Обязательно при передаче в приложенных документах (п. 6) счета на оплату</div>
</div>
|-
|061
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}totalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}totalAmount>'''}}
|[[Decimal|bs:Decimal]]
|[1..1]
| style="width:52em;"| 5.1. Сумма счета
|-
|062
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}subTotalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}subTotalAmount>'''}}
|[[Decimal|bs:Decimal]]
|[1..1]
| style="width:52em;"| 5.2. Общая сумма товаров (работ, услуг)
|-
|063
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}currency>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}currency>'''}}
|[[Currency_v2.3|dt:Currency]]
|[1..1]
| style="width:52em;"| 5.7. Код валюты суммы
|-
|064
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatMode>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatMode>'''}}
|[[VATMode_v2.3|dt:VATModet]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">5.4. Признак включения НДС в сумму</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* NOT_INCLUDED - не включен в сумму
* INCLUDED - включен в сумму
* WITHOUT_VAT - без НДС</div>
</div>
|-
|065
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatRate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatRate>'''}}
|[[VATRate_v2.3|dt:VATRate]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">5.5. Ставка НДС (%)</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* 0 - без НДС
* 10 - НДС 10%
* 20 - НДС 20%</div>
</div>
|-
|066
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatAmount>'''}}
|[[Decimal|bs:Decimal]]
|[1..1]
| style="width:52em;"| 5.6. Сумма НДС
|-
|067
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}paymentPurpose>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}paymentPurpose>'''}}
|[[PaymentPurpose_v2.3|dt:PaymentPurpose]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">5.3. Назначение платежа</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* Max длина 210 символов</div>
</div>
|-
|068
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}paymentRecipient>'''}}
|[[BankAccountDetails_v2.3|dt:BankAccountDetails]]
|[1..1]
| style="width:52em;"| Банковские реквизиты получателя платежа
|-
|069
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentAccountNumber>'''}}
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]]
|[1..1]
| style="width:52em;"| 5.10. Номер расчетного счета получателя
|-
|070
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}correspondentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}correspondentAccountNumber>'''}}
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]]
|[1..1]
| style="width:52em;"| 5.11. Корреспондентский номер счета банка получателя
|-
|071
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}BIC>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}BIC>'''}}
|[[BankIdentificationNumber_v2.3|dt:BankIdentificationNumber]]
|[1..1]
| style="width:52em;"| 5.8. БИК банка получателя
|-
|072
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}bankName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}bankName>'''}}
|[[String255|bs:String255]]
|[0..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">5.9. Наименование банка получателя</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* Max длина 140 символов</div>
</div>
|-
|073
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentRecipient>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[1..1]
| style="width:52em;"| Сведения о получателе платежа
|-
|074
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 5.12. ИНН получателя платежа
|-
|075
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentRecipient>'''}}
|
|
| style="width:52em;"|
|-
|076
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}paymentRecipient>'''}}
|
|
| style="width:52em;"|
|-
|077
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:invoice>'''}}
|
|
| style="width:52em;"|
|-
|078
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:attachedDocument>'''}}
|[[ExcAttachedDocument_v2.0|exc:ExcAttachedDocument]]
|[0..*]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">6. Приложенные документы</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* Возможные комбинации (далее комб.) передачи типов файлов в зависимости от статуса:
* WAITING_SIGN_CONTRACT
** комб.1: 47 + 50
* WAITING_PREPAYMENT
** комб.1: 46
** комб.2: 46 + 49
* IN_PROGRESS
** комб.1: 46
** комб.2: 46 + 49
* WAITING_PAYMENT
** комб.1: 46
** комб.2: 46 + 49
* WAITING_CLOSING_ACT
** комб.1: 48
** комб.2: 46 + 48
** комб.3: 46 + 49 + 48</div>
</div>
|-
|079
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}}
|[[DocumentType_v2.2|vd:DocumentType]]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">6.1. Тип документа</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* 46 - Счет на оплату
* 47 - Договор на оказание услуг, подписываемый УКЭП
* 48 - Акт выполненных работ
* 49 - Спецификация
* 50 - Договор с визуализацией подписей УКЭП</div>
</div>
|-
|080
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:includedFile>'''}}
|[[ExcDocumentFile_v2.2|exc:ExcDocumentFile]]
|[1..*]
| style="width:52em;"| 6.2. Бинарное вложение (файл)
|-
|081
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:fileName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileName>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 6.2.1 Имя файла
|-
|082
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:mimeCode>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:mimeCode>'''}}
|[http://www.w3.org/TR/xmlschema-2/#token xs:token]
|[1..1]
| style="width:52em;"| 6.2.2 MIME-код файла
|-
|083
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:binaryData xmime:contentType&#61;{{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:binaryData>'''}}
|[[ExcDocumentBinaryData_v2.0|exc:ExcDocumentBinaryData]]
|[1..1]
| style="width:52em;"| 6.2.3 Содержимое файла в формате base64
|-
|084
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:signature>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:signature>'''}}
|[[ExcDocumentBinaryData_v2.0|exc:ExcDocumentBinaryData]]
|[0..*]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
<span style="white-space:nowrap; font-weight: normal;">6.2.4 Открепленная подпись файла</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* обязательно для следующих типов документов: 47, 48, 49</div>
</div>
|-
|085
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:includedFile>'''}}
|
|
| style="width:52em;"|
|-
|086
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:attachedDocument>'''}}
|
|
| style="width:52em;"|
|-
|087
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:checkWBRComplianceApplicationResponse>'''}}
|
|
| style="width:52em;"|
|-
|}
== Примеры запросов ==
=== 9.2.RQ1. Пример запроса проверки статуса заявки. ===
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Request.Example'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<exc:checkWBRComplianceApplicationRequest
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
      <exc:seqNumber>1</exc:seqNumber>
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
      <dt:businessEntity>
        <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
        <dt:inn>0123456789</dt:inn>
      </dt:businessEntity>
  </exc:metadata>
  <exc:additionalProperties>
      <exc:additionalAttribute>
        <exc:attrID>ATTACH_INVOICE_FILE</exc:attrID>
        <exc:attrValue>true</exc:attrValue>
      </exc:additionalAttribute>
  </exc:additionalProperties>
</exc:checkWBRComplianceApplicationRequest>
</syntaxhighlight>
</div>
</div>
<br />
=== Ответы на запрос ===
==== 9.2.RS1. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || ACCEPTED || Заявка принята
|-
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
|-
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
|-
| 4 || CONTRACT_PREPARING || Подготовка договора
|-
| 5 || CONTRACT_RECEIVED ||  Договор получен
|-
| 6 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
|-
| 7 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
|-
| 8 || RESEARCH_FINISHED || Исследование завершено
|-
| 9 || NEW_REVISION_RECEIVED || Получена доработанная заявка
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Response.Template_1'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!-- Операция 9.2 -->
<!--Статус заявки -
| 1 || ACCEPTED || Заявка принята
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
| 4 || CONTRACT_PREPARING || Подготовка договора
| 5 || CONTRACT_RECEIVED ||  Договор получен
| 6 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
| 7 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
| 8 || RESEARCH_FINISHED || Исследование завершено
| 9 || NEW_REVISION_RECEIVED || Получена доработанная заявка
-->
<exc:checkWBRComplianceApplicationResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
      <exc:seqNumber>1</exc:seqNumber>
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
      <exc:documentNumber>0123456789</exc:documentNumber>
      <exc:documentStatus>ACCEPTED</exc:documentStatus> <!--enum: [ACCEPTED, WAITING_DATA_FOR_CONTRACT, DATA_FOR_CONTRACT_RECEIVED, CONTRACT_PREPARING, CONTRACT_RECEIVED, PREPAYMENT_INFO_RECEIVED, PAYMENT_INFO_RECEIVED, RESEARCH_FINISHED, NEW_REVISION_RECEIVED]-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate>
  </exc:metadata>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS2. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
|-
| 2 || WAITING_PAYMENT || Ожидание оплаты
|-
| 3 || IN_PROGRESS || Проведение исследования
|-
|}
Структура ответа зависит от параметра запроса '''ATTACH_INVOICE_FILE''' (п.2.1) следующим образом:
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == true''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''invoice''' и '''attachedDocument''' с типами документов '''46''' (обязательно) и '''49''' (опционально, при наличии спецификации).
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == false''' или параметр '''ATTACH_INVOICE_FILE не передан''', то:
** в ответе '''возвращается''' только объект '''metadata'''.
Для статуса IN_PROGRESS структура ответа также зависит от того, приложила ли лаборатория счет, если счет еще не приложен, то при любом значении '''ATTACH_INVOICE_FILE''' будет возвращаться только объект '''metadata'''.
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_2'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки -
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
| 2 || WAITING_PAYMENT || Ожидание оплаты
| 3 || IN_PROGRESS || Проведение исследования
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
    xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_PREPAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [WAITING_PREPAYMENT, WAITING_PAYMENT, IN_PROGRESS] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
  <exc:invoice> <!--type: Invoice--> <!-- 5.  -->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!-- 5.1. -->
      <vd:subTotalAmount>10000.00</vd:subTotalAmount> <!--type: Decimal--> <!-- 5.2. -->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!-- 5.7. -->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!-- 5.4. -->
      <vd:vatRate>20</vd:vatRate> <!--type: VATRate--> <!-- 5.5. -->
      <vd:vatAmount>200.00</vd:vatAmount> <!--type: Decimal--> <!-- 5.6. -->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!-- 5.3.  -->
      <vd:paymentRecipient>
        <dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.10. -->
        <dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.11. -->
        <dt:BIC>012345678</dt:BIC> <!--type: BankIdentificationNumber--> <!-- 5.8.. -->
        <dt:bankName>string</dt:bankName> <!--type: String255--> <!-- 5.9. -->
        <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--5.12-->
        </dt:paymentRecipient>
      </vd:paymentRecipient>
  </exc:invoice>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
  </exc:attachedDocument>
  <!-- Опционально возвращается, если ATTACH_INVOICE_FILE == true-->
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>49</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
        <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
  </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS3. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || COMPLETED || Заявка закрыта
|-
| 2 || ACT_RECEIVED || Получен акт выполненных работ
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_3.1 Выдано заключение, что партия соответствует требованиям страны-импортера'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision-->
      <vd:conclusion>string</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
        <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
        <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
        <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
        <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
        <dt:juridicalAddress>
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
        </dt:juridicalAddress>
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
        <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
        <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
        <vd:organization>
          <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
        </vd:organization>
        <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
  </exc:wbrComplianceStatement>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_3.2 Выдано заключение, что партия не соответствует требованиям страны-импортера'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>NOT_MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision-->
      <vd:conclusion>Причины несоответствия партии требованиям страны-импортера (причины отклонения)</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
        <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
        <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
        <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
        <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
        <dt:juridicalAddress>
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
        </dt:juridicalAddress>
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
        <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
        <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
        <vd:organization>
          <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
        </vd:organization>
        <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
  </exc:wbrComplianceStatement>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS4. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_FOR_REWORK || Ожидание доработки
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_4'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки -
| 1 || WAITING_FOR_REWORK || Ожидание доработки
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_FOR_REWORK</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. -->
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
        <bs:message>Отправлено на доработку</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
      </exc:resultNotes>
      <exc:conclusion>Запрос дополнительных сведений</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
      <exc:officialVeterinarian> <!--type: User--> <!-- 3.3. / 4.4. -->
        <vd:fio>ФИО</vd:fio> <!--type: String255--> <!-- 3.3.1. / 4.4.1. -->
        <vd:workPhone>Телефон</vd:workPhone> <!--type: String255--> <!-- 3.3.4. / 4.4.4. -->
        <vd:organization>
          <dt:name>Наименование организации</dt:name> <!--type: String255--> <!-- 3.3.3. / 4.4.3. -->
        </vd:organization>
        <vd:post>Должность</vd:post> <!--type: String255--> <!-- 3.3.2. / 4.4.2. -->
      </exc:officialVeterinarian>
  </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS5. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_5'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки -
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
    xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_SIGN_CONTRACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata> 
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>47</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
        <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
  </exc:attachedDocument>
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>50</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
  </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS6. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || DECLINED || Заявка отклонена
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_6.1. Причина отклонения: заявка отклонена в ручном режиме с указанием причины отклонения'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. -->
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
        <bs:message>Заявка отклонена экспертом</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
      </exc:resultNotes>
      <exc:conclusion>Причины отклонения, указанные экспертом</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
      <exc:officialVeterinarian> <!--type: User--> <!-- 3.3. / 4.4. -->
        <vd:fio>ФИО</vd:fio> <!--type: String255--> <!-- 3.3.1. / 4.4.1. -->
        <vd:workPhone>Телефон</vd:workPhone> <!--type: String255--> <!-- 3.3.4. / 4.4.4. -->
        <vd:organization>
          <dt:name>Наименование организации</dt:name> <!--type: String255--> <!-- 3.3.3. / 4.4.3. -->
        </vd:organization>
        <vd:post>Должность</vd:post> <!--type: String255--> <!-- 3.3.2. / 4.4.2. -->
      </exc:officialVeterinarian>
  </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_6.2. Причина отклонения: прочие причины или ошибки по бизнес-процессу'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata>
  <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. -->
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
        <bs:message>Заявка отклонена автоматически</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
        <bs:error code="12345">string</bs:error> <!--type: Error-->  <!--3.1.1 / 4.1.1.-->
      </exc:resultNotes>
      <exc:conclusion>Причины отклонения</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
  </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 9.2.RS7. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
|-
|}
В зависимости от прошедших ранее этапов бизнес-процесса, в статусе WAITING_CLOSING_ACT '''могут быть переданы комбинации документов''':
* Акт выполненных работ (../attachedDocument/type == '''48''')
* Акт выполненных работ (../attachedDocument/type == '''48''') + Счет на оплату (../attachedDocument/type == '''46''')
* Акт выполненных работ (../attachedDocument/type == '''48''') + Счет на оплату (../attachedDocument/type == '''46''') + Спецификация к счету (../attachedDocument/type == '''49''')
<br />
При этом, наличие в ответе информации о счете на оплату зависит от параметра запроса '''ATTACH_INVOICE_FILE''' (п.2.1) следующим образом:
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == true''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''invoice''' и '''attachedDocument''' с типами документов: '''48''' (обязательно), '''46''' (обязательно) и '''49''' (опционально).
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == false''' или параметр '''ATTACH_INVOICE_FILE не передан''', то:
** в ответе '''возвращаются''' объекты: '''metadata''' и '''attachedDocument''' с типом документа '''48'''.
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''9.2.Response.Template_7'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 9.2-->
<!--Статус заявки
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
    xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
    xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
    xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
    xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_CLOSING_ACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
  </exc:metadata> 
  <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision-->
      <vd:conclusion>string</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
        <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
        <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
        <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
        <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. -->
        <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
        <dt:juridicalAddress>
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
        </dt:juridicalAddress>
        <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
        <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
        <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
        <vd:organization>
          <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
        </vd:organization>
        <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
  </exc:wbrComplianceStatement>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
  <exc:invoice> <!--type: Invoice--> <!-- 5.  -->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!-- 5.1. -->
      <vd:subTotalAmount>10000.00</vd:subTotalAmount> <!--type: Decimal--> <!-- 5.2. -->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!-- 5.7. -->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!-- 5.4. -->
      <vd:vatRate>20</vd:vatRate> <!--type: VATRate--> <!-- 5.5. -->
      <vd:vatAmount>200.00</vd:vatAmount> <!--type: Decimal--> <!-- 5.6. -->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!-- 5.3.  -->
      <vd:paymentRecipient>
        <dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.10. -->
        <dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.11. -->
        <dt:BIC>012345678</dt:BIC> <!--type: BankIdentificationNumber--> <!-- 5.8.. -->
        <dt:bankName>string</dt:bankName> <!--type: String255--> <!-- 5.9. -->
        <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--5.12-->
        </dt:paymentRecipient>
      </vd:paymentRecipient>
  </exc:invoice>
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>48</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
        <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
  </exc:attachedDocument>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
  </exc:attachedDocument>
  <!-- Опционально возвращается, если ATTACH_INVOICE_FILE == true-->
  <exc:attachedDocument> <!-- 6. -->
      <vd:type>49</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
        <exc:fileName>string</exc:fileName>
        <exc:mimeCode>application/pdf</exc:mimeCode>
        <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
        <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
  </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />

Текущая версия на 11:28, 15 декабря 2023

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

Операция CheckWBRComplianceApplication предназначена для получения сведений о результате рассмотрения заявления на получение Заключения о соответствии партии ВБР требованиям страны-импортера.

Спецификация запроса

# Название XML-элемента Тип Обязат. Описание (нажмите [...] для отображения дополнительного описания)
001 <exc:checkWBRComplianceApplicationtRequest>
002 ···<exc:metadata> exc:ServiceMetadata [1..1] Служебная информация
003 ······<exc:processID>?</exc:processID> bs:Identifier [1..1]

1.1. Идентификатор процесса в ИС Одно окно РЭЦ

Максимальная длина 36 символов
004 ······<exc:seqNumber>?</exc:seqNumber> bs:SequenceNumber [1..1] 1.2. Порядковый номер запроса
005 ······<exc:documentID>?</exc:documentID> bs:UUID [1..1] 1.5. Идентификатор документа/заявления, зарегистрированного в ВетИС
006 ······<dt:businessEntity> dt:BusinessEntity [1..1] 1.4. Сведения о хозяйствующем субъекте
007 ·········<bs:guid>?</bs:guid> bs:UUID [1..1] 1.4.1. Глобальный идентификатор записи
008 ·········<dt:inn>?</dt:inn> bs:String255 [1..1] 1.4.2. ИНН хозяйствующего субъекта
009 ······</dt:businessEntity>
010 ···</exc:metadata>
011 ···<exc:additionalProperties> exc:ExcAdditionalAttributeList [0..1] Дополнительные опции запроса
012 ······<exc:additionalAttribute> exc:ExcAdditionalAttribute [0..1] 2.1. Дополнительный атрибут
013 ·········<exc:attrID>ATTACH_INVOICE_FILE</exc:attrID> bs:Identifier [1..1] Идентификатор атрибута - Признак возврата файла счета в ответе
014 ·········<exc:attrValue>?</exc:attrValue> bs:Text [1..1]

2.1. Значение атрибута

  • true - возвращать файл
  • false - не возвращать файл (значение по умолчанию, если не указано)
015 ······</exc:additionalAttribute>
016 ···</exc:additionalProperties>
017 </exc:checkWBRComplianceApplicationtRequest>

Спецификация ответа

# Название XML-элемента Тип Обязат. Описание (нажмите [...] для отображения дополнительного описания)
001 <exc:checkWBRComplianceApplicationResponse>
002 ···<exc:metadata> exc:ServiceMetadata [1..1] 1. Служебная информация
003 ······<exc:processID>?</exc:processID> bs:Identifier [1..1]

1.5. Идентификатор процесса в ИС Одно окно РЭЦ

Максимальная длина 36 символов
004 ······<exc:seqNumber>?</exc:seqNumber> bs:SequenceNumber [1..1] 1.6. Номер входящего запроса
005 ······<exc:documentID>?</exc:documentID> bs:UUID [1..1] 1.1. Идентификатор документа/заявления, зарегистрированного в ВетИС
006 ······<exc:documentNumber>?</exc:documentNumber> xs:token [1..1] 1.2. Зарегистрированный номер заявления
007 ······<exc:documentStatus>?</exc:documentStatus> exc:ApplicationDocumentStatus [1..1]

1.3. Текущий статус заявления

  • UNKNOWN - Неизвестен
  • UNDEFINED - Не определен
  • ACCEPTED - заявка получена
  • DECLINED - заявка отклонена
  • WAITING_DATA_FOR_CONTRACT - ожидание сведений для заключения договора
  • DATA_FOR_CONTRACT_RECEIVED - получены сведения для заключения договора
  • CONTRACT_PREPARING - подготовка договора
  • WAITING_SIGN_CONTRACT - ожидание подписания договора
  • CONTRACT_RECEIVED - договор получен
  • WAITING_PREPAYMENT - ожидание предоплаты
  • PREPAYMENT_INFO_RECEIVED - получены сведения о предоплате
  • IN_PROGRESS - проведение исследования
  • WAITING_FOR_REWORK - ожидание доработки заявки
  • NEW_REVISION_RECEIVED - получена доработанная заявка
  • RESEARCH_FINISHED - исследование завершено
  • WAITING_PAYMENT - ожидание оплаты
  • PAYMENT_INFO_RECEIVED - получены сведения об оплате
  • WAITING_CLOSING_ACT - ожидание подписания акта выполненных работ
  • ACT_RECEIVED - получен акт выполненных работ
  • COMPLETED - заявка закрыта
008 ······<exc:documentStatusDate>?</exc:documentStatusDate> xs:dateTime [1..1] 1.4. Дата установления статуса заявления
009 ···</exc:metadata>
010 ···<exc:wbrComplianceStatement> vd:WBRComplienceStatement [0..1]

2. Результат обработки заявки (выдано заключение о соответствии/несоответствии продукции)

Обязательно для статуса WAITING_CLOSING_ACT Передаются:

  • сведения о Заключении,
  • акт выполненных работ,
  • счет, если он не был выставлен ранее
011 ······<bs:uuid>?</bs:uuid> bs:UUID [1..1] 2.1. Идентификатор заключения
012 ······<vd:issueNumber>?</vd:issueNumber> bs:String255 [1..1] 2.2. Номер заключения
013 ······<vd:issueDate>?</vd:issueDate> xs:date [1..1] 2.3. Дата заключения
014 ······<vd:decision>?</vd:decision> vd:WBRComplianceDecision [1..1]

2.4. Решение

  • MEET_REQUIREMENTS - соответствует требованиям страны-импортёра
  • NOT_MEET_REQUIREMENTS - не соответствует требованиям страны-импортёра
015 ······<vd:conclusion>?</vd:conclusion> bs:Text [0..1] 2.5. Сведения о причинах заключения о несоотвествии продукции
016 ······<vd:importCountry> dt:Country [1..1] 2.6. Страна-импортер
017 ·········<dt:name>?</dt:name> bs:String255 [0..1] 2.6.2. Наименование страны (рус.)
018 ·········<dt:englishName>?</dt:englishName> bs:String255 [0..1] 2.6.3. Наименование страны (англ.)
019 ·········<dt:code>?</dt:code> dt:Code [1..1] 2.6.1. ISO-код страны
020 ······</vd:importCountry>
021 ······<vd:consignor> dt:BusinessEntity [1..1] 2.7. Сведения о Хозяйствующем Субъекте (ХС) грузоотправителе
022 ·········<bs:guid>?</bs:guid> bs:UUID [1..1] 2.7.1. Глобальный идентификатор ХС
023 ·········<dt:name>?</dt:name> bs:String255 [1..1] 2.7.2. Наименование грузоотправителя (рус.)
024 ·········<dt:inn>?</dt:inn> bs:String255 [1..1] 2.7.4. ИНН грузоотправителя
025 ·········<dt:nameEn>?</dt:nameEn> bs:String255 [1..1] 2.7.3. Наименование грузоотправителя (англ.)
026 ······</vd:consignor>
027 ······<vd:consignee> dt:BusinessEntity [1..1] 2.8. Сведения о Хозяйствующем Субъекте (ХС) грузополучателе
028 ·········<dt:name>?</dt:name> bs:String255 [0..1] 2.8.1. Наименование грузополучателя (рус.)
029 ·········<dt:juridicalAddress> dt:Address [1..1] Сведения об адресе ХС
030 ············<dt:addressView>?</dt:addressView> bs:NText [0..1] 2.8.2. Строковое представление адреса (рус.)
031 ············<dt:enAddressView>?<dt:enAddressView> bs:NText [1..1] 2.8.4. Строковое представление адреса (англ.)
032 ·········</dt:juridicalAddress>
033 ·········<dt:nameEn>?</dt:nameEn> bs:String255 [1..1] 2.8.3. Наименование грузополучателя (англ.)
034 ······</vd:consignee>
035 ······<vd:officialVeterinarian> vd:User [0..1] 2.9. Сведения об инспекторе, оформившем заключение
036 ·········<vd:fio>?</vd:fio> bs:String255 [1..1] 2.9.1. ФИО
037 ·········<vd:workPhone>?</vd:workPhone> bs:String255 [0..1] 2.9.4. Контактный телефон
038 ·········<vd:organization> dt:Organization [1..1] Сведения об организации, к которой относится инспектор
039 ···········<dt:name>?</dt:name> bs:String255 [1..1] 2.9.3. Наименование организации
040 ·········</vd:organization>
041 ·········<vd:post>?</vd:post> bs:String255 [0..1] 2.9.2. Должность
042 ······</vd:officialVeterinarian>
043 ···</exc:wbrComplianceStatement>
044 ···<exc:applicationReport> exc:ApplicationReport [0..*]

3. / 4. Результат обработки заявки (мотивированный отказ / запрос доп. сведений)

Обязательно для следующих статусов:

  • DECLINED (автоматическое и ручное отклонение),
  • WAITING_FOR_REWORK.
045 ······<exc:issueDate>?</exc:issueDate> xs:date [1..1] 3.3. / 4.3. Дата отказа в выдаче заключения / Дата отправки на доработку
046 ······<exc:resultNotes> bs:FaultInfo [1..1] 3.1. / 4.1. Сведения о причинах отказа в обработке заявления или иные комментарии
047 ·········<bs:message>?</bs:message> xs:string [1..1] 3.1.2. / 4.1.2. Описание причины отказа (сообщение об ошибке)
048 ·········<bs:error code="?" qualifier="?">?</bs:error> bs:Error [0..*] 3.1.1. / 4.1.1. Код ошибки
049 ······</exc:resultNotes>
050 ······<exc:conclusion>?</exc:conclusion> bs:Text [1..*] 3.2 / 4.2. Заключение инспектора (мотивированный отказ / запрос доп. сведений)
051 ······<exc:officialVeterinarian> vd:User [0..1] 3.4. / 4.4. Сведения об инспекторе, оформившем заключение
052 ·········<vd:fio>?</vd:fio> bs:String255 [1..1] 3.4.1. / 4.4.1. ФИО
053 ·········<vd:workPhone>?</vd:workPhone> bs:String255 [0..1] 3.4.4. / 4.4.4. Контактный телефон
054 ·········<vd:organization> dt:Organization [1..1] Сведения об организации, к которой относится инспектор
055 ···········<dt:name>?</dt:name> bs:String255 [1..1] 3.4.3. / 4.4.3. Наименование организации
056 ·········</vd:organization>
057 ·········<vd:post>?</vd:post> bs:String255 [0..1] 3.4.2. / 4.4.2. Должность
058 ······</exc:officialVeterinarian>
059 ···</exc:applicationReport>
060 ···<exc:invoice> vd:Invoice [0..1]

5. Сведения для оплаты счета

  • Обязательно при передаче в приложенных документах (п. 6) счета на оплату
061 ······<vd:totalAmount>?</vd:totalAmount> bs:Decimal [1..1] 5.1. Сумма счета
062 ······<vd:subTotalAmount>?</vd:subTotalAmount> bs:Decimal [1..1] 5.2. Общая сумма товаров (работ, услуг)
063 ······<vd:currency>?</vd:currency> dt:Currency [1..1] 5.7. Код валюты суммы
064 ······<vd:vatMode>?</vd:vatMode> dt:VATModet [1..1]

5.4. Признак включения НДС в сумму

  • NOT_INCLUDED - не включен в сумму
  • INCLUDED - включен в сумму
  • WITHOUT_VAT - без НДС
065 ······<vd:vatRate>?</vd:vatRate> dt:VATRate [1..1]

5.5. Ставка НДС (%)

  • 0 - без НДС
  • 10 - НДС 10%
  • 20 - НДС 20%
066 ······<vd:vatAmount>?</vd:vatAmount> bs:Decimal [1..1] 5.6. Сумма НДС
067 ······<vd:paymentPurpose>?</vd:paymentPurpose> dt:PaymentPurpose [1..1]

5.3. Назначение платежа

  • Max длина 210 символов
068 ······<vd:paymentRecipient> dt:BankAccountDetails [1..1] Банковские реквизиты получателя платежа
069 ·········<dt:paymentAccountNumber>?</dt:paymentAccountNumber> dt:BankAccountNumber [1..1] 5.10. Номер расчетного счета получателя
070 ·········<dt:correspondentAccountNumber>?</dt:correspondentAccountNumber> dt:BankAccountNumber [1..1] 5.11. Корреспондентский номер счета банка получателя
071 ·········<dt:BIC>?</dt:BIC> dt:BankIdentificationNumber [1..1] 5.8. БИК банка получателя
072 ·········<dt:bankName>?</dt:bankName> bs:String255 [0..1]

5.9. Наименование банка получателя

  • Max длина 140 символов
073 ·········<dt:paymentRecipient> dt:BusinessEntity [1..1] Сведения о получателе платежа
074 ············<dt:inn>?</dt:inn> bs:String255 [1..1] 5.12. ИНН получателя платежа
075 ·········</dt:paymentRecipient>
076 ······</vd:paymentRecipient>
077 ···</exc:invoice>
078 ···<exc:attachedDocument> exc:ExcAttachedDocument [0..*]

6. Приложенные документы

  • Возможные комбинации (далее комб.) передачи типов файлов в зависимости от статуса:
  • WAITING_SIGN_CONTRACT
    • комб.1: 47 + 50
  • WAITING_PREPAYMENT
    • комб.1: 46
    • комб.2: 46 + 49
  • IN_PROGRESS
    • комб.1: 46
    • комб.2: 46 + 49
  • WAITING_PAYMENT
    • комб.1: 46
    • комб.2: 46 + 49
  • WAITING_CLOSING_ACT
    • комб.1: 48
    • комб.2: 46 + 48
    • комб.3: 46 + 49 + 48
079 ······<vd:type>?</vd:type> vd:DocumentType [1..1]

6.1. Тип документа

  • 46 - Счет на оплату
  • 47 - Договор на оказание услуг, подписываемый УКЭП
  • 48 - Акт выполненных работ
  • 49 - Спецификация
  • 50 - Договор с визуализацией подписей УКЭП
080 ······<exc:includedFile> exc:ExcDocumentFile [1..*] 6.2. Бинарное вложение (файл)
081 ·········<exc:fileName>?</exc:fileName> bs:String255 [1..1] 6.2.1 Имя файла
082 ·········<exc:mimeCode>?</exc:mimeCode> xs:token [1..1] 6.2.2 MIME-код файла
083 ·········<exc:binaryData xmime:contentType="?">?</exc:binaryData> exc:ExcDocumentBinaryData [1..1] 6.2.3 Содержимое файла в формате base64
084 ·········<exc:signature>?</exc:signature> exc:ExcDocumentBinaryData [0..*]

6.2.4 Открепленная подпись файла

  • обязательно для следующих типов документов: 47, 48, 49
085 ······</exc:includedFile>
086 ···</exc:attachedDocument>
087 </exc:checkWBRComplianceApplicationResponse>

Примеры запросов

9.2.RQ1. Пример запроса проверки статуса заявки.


9.2.Request.Example

<exc:checkWBRComplianceApplicationRequest
	xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
      <exc:seqNumber>1</exc:seqNumber>
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
      <dt:businessEntity>
         <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
         <dt:inn>0123456789</dt:inn>
      </dt:businessEntity>
   </exc:metadata>
   <exc:additionalProperties>
      <exc:additionalAttribute>
         <exc:attrID>ATTACH_INVOICE_FILE</exc:attrID>
         <exc:attrValue>true</exc:attrValue>
      </exc:additionalAttribute>
   </exc:additionalProperties>
</exc:checkWBRComplianceApplicationRequest>


Ответы на запрос

9.2.RS1. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 ACCEPTED Заявка принята
2 WAITING_DATA_FOR_CONTRACT Ожидание сведений для заключения договора
3 DATA_FOR_CONTRACT_RECEIVED Получены сведения для заключения договора
4 CONTRACT_PREPARING Подготовка договора
5 CONTRACT_RECEIVED Договор получен
6 PREPAYMENT_INFO_RECEIVED Получены сведения о предоплате
7 PAYMENT_INFO_RECEIVED Получены сведения об оплате
8 RESEARCH_FINISHED Исследование завершено
9 NEW_REVISION_RECEIVED Получена доработанная заявка

9.2.Response.Response.Template_1

<!-- Операция 9.2 -->
<!--Статус заявки - 
| 1 || ACCEPTED || Заявка принята
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
| 4 || CONTRACT_PREPARING || Подготовка договора
| 5 || CONTRACT_RECEIVED ||  Договор получен
| 6 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
| 7 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
| 8 || RESEARCH_FINISHED || Исследование завершено
| 9 || NEW_REVISION_RECEIVED || Получена доработанная заявка
-->
<exc:checkWBRComplianceApplicationResponse
	xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
      <exc:seqNumber>1</exc:seqNumber>
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
      <exc:documentNumber>0123456789</exc:documentNumber>
      <exc:documentStatus>ACCEPTED</exc:documentStatus> <!--enum: [ACCEPTED, WAITING_DATA_FOR_CONTRACT, DATA_FOR_CONTRACT_RECEIVED, CONTRACT_PREPARING, CONTRACT_RECEIVED, PREPAYMENT_INFO_RECEIVED, PAYMENT_INFO_RECEIVED, RESEARCH_FINISHED, NEW_REVISION_RECEIVED]--> 
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate>
   </exc:metadata>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS2. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 WAITING_PREPAYMENT Ожидание предоплаты
2 WAITING_PAYMENT Ожидание оплаты
3 IN_PROGRESS Проведение исследования

Структура ответа зависит от параметра запроса ATTACH_INVOICE_FILE (п.2.1) следующим образом:

  • Если в запросе передано значение параметра ATTACH_INVOICE_FILE == true, то:
    • в ответе возвращаются объекты: metadata, invoice и attachedDocument с типами документов 46 (обязательно) и 49 (опционально, при наличии спецификации).
  • Если в запросе передано значение параметра ATTACH_INVOICE_FILE == false или параметр ATTACH_INVOICE_FILE не передан, то:
    • в ответе возвращается только объект metadata.

Для статуса IN_PROGRESS структура ответа также зависит от того, приложила ли лаборатория счет, если счет еще не приложен, то при любом значении ATTACH_INVOICE_FILE будет возвращаться только объект metadata.


9.2.Response.Template_2

<!--Операция 9.2-->
<!--Статус заявки - 
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
| 2 || WAITING_PAYMENT || Ожидание оплаты
| 3 || IN_PROGRESS || Проведение исследования
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
     xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_PREPAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [WAITING_PREPAYMENT, WAITING_PAYMENT, IN_PROGRESS] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->  
   <exc:invoice> <!--type: Invoice--> <!-- 5.  -->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!-- 5.1. -->
      <vd:subTotalAmount>10000.00</vd:subTotalAmount> <!--type: Decimal--> <!-- 5.2. -->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!-- 5.7. -->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!-- 5.4. -->
      <vd:vatRate>20</vd:vatRate> <!--type: VATRate--> <!-- 5.5. -->
      <vd:vatAmount>200.00</vd:vatAmount> <!--type: Decimal--> <!-- 5.6. -->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!-- 5.3.  -->
      <vd:paymentRecipient>
         <dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.10. --> 
         <dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.11. -->
         <dt:BIC>012345678</dt:BIC> <!--type: BankIdentificationNumber--> <!-- 5.8.. --> 
         <dt:bankName>string</dt:bankName> <!--type: String255--> <!-- 5.9. --> 
         <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--5.12-->
         </dt:paymentRecipient>
      </vd:paymentRecipient>
   </exc:invoice>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->  
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
   </exc:attachedDocument>
   <!-- Опционально возвращается, если ATTACH_INVOICE_FILE == true--> 
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>49</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
         <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
   </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS3. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 COMPLETED Заявка закрыта
2 ACT_RECEIVED Получен акт выполненных работ

9.2.Response.Template_3.1 Выдано заключение, что партия соответствует требованиям страны-импортера

<!--Операция 9.2-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта 
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision--> 
      <vd:conclusion>string</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
         <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
         <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
         <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
         <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. --> 
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
         <dt:juridicalAddress> 
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
         </dt:juridicalAddress>
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
         <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
         <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
         <vd:organization> 
           <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
         </vd:organization>
         <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
   </exc:wbrComplianceStatement>
</exc:checkWBRComplianceApplicationResponse>


9.2.Response.Template_3.2 Выдано заключение, что партия не соответствует требованиям страны-импортера

<!--Операция 9.2-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта 
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>NOT_MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision--> 
      <vd:conclusion>Причины несоответствия партии требованиям страны-импортера (причины отклонения)</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
         <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
         <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
         <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
         <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. --> 
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
         <dt:juridicalAddress> 
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
         </dt:juridicalAddress>
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
         <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
         <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
         <vd:organization> 
           <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
         </vd:organization>
         <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
   </exc:wbrComplianceStatement>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS4. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 WAITING_FOR_REWORK Ожидание доработки

9.2.Response.Template_4

<!--Операция 9.2-->
<!--Статус заявки - 
| 1 || WAITING_FOR_REWORK || Ожидание доработки 
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_FOR_REWORK</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. --> 
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
         <bs:message>Отправлено на доработку</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
      </exc:resultNotes>
      <exc:conclusion>Запрос дополнительных сведений</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
      <exc:officialVeterinarian> <!--type: User--> <!-- 3.3. / 4.4. -->
         <vd:fio>ФИО</vd:fio> <!--type: String255--> <!-- 3.3.1. / 4.4.1. -->
         <vd:workPhone>Телефон</vd:workPhone> <!--type: String255--> <!-- 3.3.4. / 4.4.4. -->
         <vd:organization>
           <dt:name>Наименование организации</dt:name> <!--type: String255--> <!-- 3.3.3. / 4.4.3. -->
         </vd:organization>
         <vd:post>Должность</vd:post> <!--type: String255--> <!-- 3.3.2. / 4.4.2. -->
      </exc:officialVeterinarian>
   </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS5. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 WAITING_SIGN_CONTRACT Ожидание подписания договора

9.2.Response.Template_5

<!--Операция 9.2-->
<!--Статус заявки - 
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора 
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
     xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_SIGN_CONTRACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>  
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>47</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
         <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
   </exc:attachedDocument>
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>50</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
   </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS6. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 DECLINED Заявка отклонена

9.2.Response.Template_6.1. Причина отклонения: заявка отклонена в ручном режиме с указанием причины отклонения

<!--Операция 9.2-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. --> 
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
         <bs:message>Заявка отклонена экспертом</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
      </exc:resultNotes>
      <exc:conclusion>Причины отклонения, указанные экспертом</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
      <exc:officialVeterinarian> <!--type: User--> <!-- 3.3. / 4.4. -->
         <vd:fio>ФИО</vd:fio> <!--type: String255--> <!-- 3.3.1. / 4.4.1. -->
         <vd:workPhone>Телефон</vd:workPhone> <!--type: String255--> <!-- 3.3.4. / 4.4.4. -->
         <vd:organization>
           <dt:name>Наименование организации</dt:name> <!--type: String255--> <!-- 3.3.3. / 4.4.3. -->
         </vd:organization>
         <vd:post>Должность</vd:post> <!--type: String255--> <!-- 3.3.2. / 4.4.2. -->
      </exc:officialVeterinarian>
   </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>


9.2.Response.Template_6.2. Причина отклонения: прочие причины или ошибки по бизнес-процессу

<!--Операция 9.2-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>
   <exc:applicationReport> <!--type: ExcApplicationReport--> <!-- 3. / 4. --> 
      <exc:issueDate>2022-06-09</exc:issueDate> <!--type: date--> <!-- 3.2. / 4.3. -->
      <exc:resultNotes> <!--type: FaultInfo--> <!-- 3.1. / 4.1.  -->
         <bs:message>Заявка отклонена автоматически</bs:message> <!--type: string--> <!-- 3.1.2. / 4.1.2. -->
         <bs:error code="12345">string</bs:error> <!--type: Error-->  <!--3.1.1 / 4.1.1.-->
      </exc:resultNotes>
      <exc:conclusion>Причины отклонения</exc:conclusion> <!--type: Text--> <!-- 4.2. -->
   </exc:applicationReport>
</exc:checkWBRComplianceApplicationResponse>


9.2.RS7. Шаблон ответа для заявок в статусах:

# Статус заявки Комментарии
1 WAITING_CLOSING_ACT Ожидание подписания акта выполненных работ

В зависимости от прошедших ранее этапов бизнес-процесса, в статусе WAITING_CLOSING_ACT могут быть переданы комбинации документов:

  • Акт выполненных работ (../attachedDocument/type == 48)
  • Акт выполненных работ (../attachedDocument/type == 48) + Счет на оплату (../attachedDocument/type == 46)
  • Акт выполненных работ (../attachedDocument/type == 48) + Счет на оплату (../attachedDocument/type == 46) + Спецификация к счету (../attachedDocument/type == 49)


При этом, наличие в ответе информации о счете на оплату зависит от параметра запроса ATTACH_INVOICE_FILE (п.2.1) следующим образом:

  • Если в запросе передано значение параметра ATTACH_INVOICE_FILE == true, то:
    • в ответе возвращаются объекты: metadata, invoice и attachedDocument с типами документов: 48 (обязательно), 46 (обязательно) и 49 (опционально).
  • Если в запросе передано значение параметра ATTACH_INVOICE_FILE == false или параметр ATTACH_INVOICE_FILE не передан, то:
    • в ответе возвращаются объекты: metadata и attachedDocument с типом документа 48.


9.2.Response.Template_7

<!--Операция 9.2-->
<!--Статус заявки
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
-->
<exc:checkWBRComplianceApplicationResponse
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
     xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
     xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
     xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
     xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
     xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.5-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.6-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>0123456789</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_CLOSING_ACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.3-->
      <exc:documentStatusDate>2022-06-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.4-->
   </exc:metadata>  
   <exc:wbrComplianceStatement> <!-- 2.1. -->
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!-- 2.1.1.1. -->
      <vd:issueNumber>string</vd:issueNumber> <!--type: String255--> <!-- 2.1.1.2. -->
      <vd:issueDate>2022-06-09</vd:issueDate> <!--type: date--> <!-- 2.1.1.3. -->
      <vd:decision>MEET_REQUIREMENTS</vd:decision> <!--type: WBRComplianceDecision--> 
      <vd:conclusion>string</vd:conclusion> <!--type: Text--> <!-- 2.2.2. -->
      <vd:importCountry> <!--type: Country--> <!-- 2.1.2. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.2.2. -->
         <dt:englishName>string</dt:englishName> <!--type: String255--> <!-- 2.1.2.3. -->
         <dt:code>TH</dt:code> <!--type: Code--> <!-- 2.1.2.1. -->
      </vd:importCountry>
      <vd:consignor> <!--type: BusinessEntity--> <!-- 2.1.3. -->
         <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!-- 2.1.3.1. -->
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.3.2. -->
         <dt:inn>string</dt:inn> <!--type: String255--> <!-- 2.1.3.4. -->
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.3.3. -->
      </vd:consignor>
      <vd:consignee> <!--type: BusinessEntity--> <!-- 2.1.4. --> 
         <dt:name>string</dt:name> <!--type: String255--> <!-- 2.1.4.1. -->
         <dt:juridicalAddress> 
            <dt:addressView>string</dt:addressView> <!--type: NText--> <!-- 2.1.4.2. -->
            <dt:enAddressView>string</dt:enAddressView> <!--type: NText--> <!-- 2.1.4.4. -->
         </dt:juridicalAddress>
         <dt:nameEn>string</dt:nameEn> <!--type: String255--> <!-- 2.1.4.3. -->
      </vd:consignee>
      <vd:officialVeterinarian> <!--type: User--> <!-- 2.2. -->
         <vd:fio>string</vd:fio> <!--type: String255--> <!-- 2.2.1. -->
         <vd:workPhone>string</vd:workPhone> <!--type: String255--> <!-- 2.2.4. -->
         <vd:organization> 
           <dt:name>string</dt:name> <!--type: String255--> <!-- 2.2.3.  -->
         </vd:organization>
         <vd:post>string</vd:post> <!--type: String255--> <!-- 2.2.2. -->
      </vd:officialVeterinarian>
   </exc:wbrComplianceStatement>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->  
   <exc:invoice> <!--type: Invoice--> <!-- 5.  -->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!-- 5.1. -->
      <vd:subTotalAmount>10000.00</vd:subTotalAmount> <!--type: Decimal--> <!-- 5.2. -->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!-- 5.7. -->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!-- 5.4. -->
      <vd:vatRate>20</vd:vatRate> <!--type: VATRate--> <!-- 5.5. -->
      <vd:vatAmount>200.00</vd:vatAmount> <!--type: Decimal--> <!-- 5.6. -->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!-- 5.3.  -->
      <vd:paymentRecipient>
         <dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.10. --> 
         <dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!-- 5.11. -->
         <dt:BIC>012345678</dt:BIC> <!--type: BankIdentificationNumber--> <!-- 5.8.. --> 
         <dt:bankName>string</dt:bankName> <!--type: String255--> <!-- 5.9. --> 
         <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--5.12-->
         </dt:paymentRecipient>
      </vd:paymentRecipient>
   </exc:invoice>
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>48</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
         <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
   </exc:attachedDocument>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
      </exc:includedFile>
   </exc:attachedDocument>
   <!-- Опционально возвращается, если ATTACH_INVOICE_FILE == true--> 
   <exc:attachedDocument> <!-- 6. -->
      <vd:type>49</vd:type> <!--type: DocumentType--> <!-- 6.1.--> <!-- enum: [46, 48, 49] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 6.2. -->
         <exc:fileName>string</exc:fileName>
         <exc:mimeCode>application/pdf</exc:mimeCode>
         <exc:binaryData xmime:contentType="application/pdf">0123456789ABCDEF</exc:binaryData>
         <exc:signature>0123456789ABCDEF</exc:signature>
      </exc:includedFile>
   </exc:attachedDocument>
</exc:checkWBRComplianceApplicationResponse>