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

Материал из Справочная система Россельхознадзора
Перейти к навигации Перейти к поиску
 
(не показано 76 промежуточных версий 3 участников)
Строка 21: Строка 21:
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]]
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]]
|[1..1]
|[1..1]
| style="width:52em;"| Служебная информация
| style="width:52em;"| 1. Служебная информация
|-
|-
|003
|003
Строка 79: Строка 79:
|[[ExcAdditionalAttributeList_v2.2|exc:ExcAdditionalAttributeList]]
|[[ExcAdditionalAttributeList_v2.2|exc:ExcAdditionalAttributeList]]
|[0..1]
|[0..1]
| style="width:52em;"| Дополнительные опции запроса
| style="width:52em;"| 2. Дополнительные опции запроса
|-
|-
|012
|012
Строка 174: Строка 174:
|-
|-
|007
|007
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentURL>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentURL>'''}}
|[http://www.w3.org/TR/xmlschema-2/#anyURI xs:anyURI]
|[1..1]
| style="width:52em;"| 1.3. Постоянный URL-адрес заявления
|-
|008
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentStatus>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentStatus>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentStatus>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentStatus>'''}}
|[[ApplicationDocumentStatus_v2.0|exc:ApplicationDocumentStatus]]
|[[ApplicationDocumentStatus_v2.2|exc:ApplicationDocumentStatus]]
|[1..1]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
Строка 195: Строка 189:
* WAITING_SIGN_CONTRACT - ожидание подписания договора
* WAITING_SIGN_CONTRACT - ожидание подписания договора
* CONTRACT_RECEIVED - договор получен
* CONTRACT_RECEIVED - договор получен
* WAITING_FOR_THE_SAMPLE - ожидание получения проб
* WAITING_SAMPLE - ожидание получения проб
* SAMPLE_RECEIVED - пробы приняты
* SAMPLE_RECEIVED - пробы приняты
* WAITING_PREPAYMENT - ожидание предоплаты
* WAITING_PREPAYMENT - ожидание предоплаты
Строка 208: Строка 202:
</div>
</div>
|-
|-
|009
|008
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentStatusDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentStatusDate>'''}}
|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]
|[http://www.w3.org/TR/xmlschema-2/#dateTime xs:dateTime]
Строка 214: Строка 208:
| style="width:52em;"| 1.5. Дата установления статуса заявления
| style="width:52em;"| 1.5. Дата установления статуса заявления
|-
|-
|010
|009
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}}
|
|
Строка 220: Строка 214:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|011
|010
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:laboratoryResearchReportList>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:laboratoryResearchReportList>'''}}
|[[LaboratoryResearchReportList_v2.2|vd:LaboratoryResearchReportList]]
|[[LaboratoryResearchReportList_v2.2|vd:LaboratoryResearchReportList]]
Строка 228: Строка 222:
<div class="mw-collapsible-content" style="font-weight: normal;">
<div class="mw-collapsible-content" style="font-weight: normal;">
* Обязательно в случае, если сформирован протокол испытаний
* Обязательно в случае, если сформирован протокол испытаний
* Статусы: WAITING_CLOSING_ACT, COMPLETED</div>
* Статусы: WAITING_CLOSING_ACT, COMPLETED, ACT_RECEIVED</div>
</div>
</div>
|-
|-
|012
|011
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}laboratoryResearchReport>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}laboratoryResearchReport>'''}}
|[[LaboratoryResearchReport_v2.2|vd:LaboratoryResearchReport]]
|[[LaboratoryResearchReport_v2.2|vd:LaboratoryResearchReport]]
Строка 237: Строка 231:
| style="width:52em;"| 2.1. Сведения о протоколе испытаний
| style="width:52em;"| 2.1. Сведения о протоколе испытаний
|-
|-
|013
|012
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}}
|[[UUID|bs:UUID]]  
|[[UUID|bs:UUID]]  
Строка 243: Строка 237:
| style="width:52em;"| 2.1.1. Идентификатор протокола испытаний в системе ВетИС
| style="width:52em;"| 2.1.1. Идентификатор протокола испытаний в системе ВетИС
|-
|-
|014
|013
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
Строка 249: Строка 243:
| style="width:52em;"| 2.1.2. Номер протокола испытаний
| style="width:52em;"| 2.1.2. Номер протокола испытаний
|-
|-
|015
|014
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueDate>'''}}
|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]
|[http://www.w3.org/TR/xmlschema-2/#date xs:date]
Строка 255: Строка 249:
| style="width:52em;"| 2.1.3. Дата протокола испытаний
| style="width:52em;"| 2.1.3. Дата протокола испытаний
|-
|-
|016
|015
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|33}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|33}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}}
|[[DocumentType_v2.2|vd:DocumentType]]
|[[DocumentType_v2.2|vd:DocumentType]]
Строка 265: Строка 259:
</div>
</div>
|-
|-
|017
|016
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}issuer>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}issuer>'''}}
|[[Organization_v2.0|dt:Organization]]
|[[Organization_v2.0|dt:Organization]]
Строка 271: Строка 265:
| style="width:52em;"| 2.1.5. Лаборатория
| style="width:52em;"| 2.1.5. Лаборатория
|-
|-
|018
|017
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}ID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}ID>'''}}
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}ID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}ID>'''}}
|[[Identifier|bs:Identifier]]
|[[Identifier|bs:Identifier]]
Строка 277: Строка 271:
| style="width:52em;"| 2.1.5.1. Глобальный идентификатор лаборатории  
| style="width:52em;"| 2.1.5.1. Глобальный идентификатор лаборатории  
|-
|-
|019
|018
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}issuer>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}issuer>'''}}
|
|
Строка 283: Строка 277:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|020
|019
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}samplingReport>'''}}
|[[LaboratoryResearchReport_v2.2|vd:LaboratoryResearchReport]]
|[[LaboratoryResearchReport_v2.2|vd:LaboratoryResearchReport]]
Строка 289: Строка 283:
| style="width:52em;"| Сведения об акте отбора проб
| style="width:52em;"| Сведения об акте отбора проб
|-
|-
|021
|020
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}}
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
Строка 295: Строка 289:
| style="width:52em;"| 2.1.6. Номер акта отбора проб
| style="width:52em;"| 2.1.6. Номер акта отбора проб
|-
|-
|022
|021
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReport>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}samplingReport>'''}}
|
|
Строка 301: Строка 295:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|023
|022
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}laboratoryResearchReport>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}laboratoryResearchReport>'''}}
|
|
Строка 307: Строка 301:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|024
|023
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:laboratoryResearchReportList>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:laboratoryResearchReportList>'''}}
|
|
Строка 313: Строка 307:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|025
|024
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:sampleAcceptanceResultList>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:sampleAcceptanceResultList>'''}}
|[[ExcSampleAcceptanceResultList_v2.2|exc:ExcSampleAcceptanceResultList]]
|exc:ExcSampleAcceptanceResultList
|[0..1]
|[0..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
Строка 325: Строка 319:
** PREPAYMENT_INFO_RECEIVED - получены сведения о предоплате
** PREPAYMENT_INFO_RECEIVED - получены сведения о предоплате
** IN_PROGRESS - проведение исследования
** IN_PROGRESS - проведение исследования
** RESEARCH_FINISHED - исследование завершено</div>
** RESEARCH_FINISHED - исследование завершено
** Опционально для статуса DECLINED (заявка отклонена), если причина отклонения - не приняты все пробы</div>
</div>
</div>
|-
|-
|026
|025
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:sampleAcceptanceResult>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:sampleAcceptanceResult>'''}}
|[[ExcSampleAcceptanceResult_v2.2|exc:ExcSampleAcceptanceResult]]
|exc:ExcSampleAcceptanceResult
|[1..*]
|[1..*]
| style="width:52em;"| 6.1. Проба
| style="width:52em;"| 6.1. Проба
|-
|-
|027
|026
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:laboratoryResearchSample>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:laboratoryResearchSample>'''}}
|[[Sample_v2.3|vd:Sample]]
|[[Sample_v2.3|vd:Sample]]
Строка 340: Строка 335:
| style="width:52em;"| Сведения о пробе
| style="width:52em;"| Сведения о пробе
|-
|-
|028
|027
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}sampleCipher>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}sampleCipher>'''}}
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}sampleCipher>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}sampleCipher>'''}}
|[[UUID|bs:UUID]]
|[[UUID|bs:UUID]]
Строка 346: Строка 341:
| style="width:52em;"| 6.1.1. Шифр пробы
| style="width:52em;"| 6.1.1. Шифр пробы
|-
|-
|029
|028
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</exc:laboratoryResearchSample>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</exc:laboratoryResearchSample>'''}}
|
|
Строка 352: Строка 347:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|030
|029
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:resultNotes>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:resultNotes>'''}}
|[[FaultInfo_v2.0|bs:FaultInfo]]
|[[FaultInfo_v2.0|bs:FaultInfo]]
Строка 362: Строка 357:
</div>
</div>
|-
|-
|031
|030
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}message>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}message>'''}}
|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]
|[http://www.w3.org/TR/xmlschema-2/#string xs:string]
Строка 368: Строка 363:
| style="width:52em;"| 6.1.2.2. Описание причины отказа (сообщение об ошибке)
| style="width:52em;"| 6.1.2.2. Описание причины отказа (сообщение об ошибке)
|-
|-
|032
|031
|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>'''}}
|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]]
|[[Error_v2.0|bs:Error]]
Строка 374: Строка 369:
| style="width:52em;"| 6.1.2.1. Код ошибки / текст ошибки
| style="width:52em;"| 6.1.2.1. Код ошибки / текст ошибки
|-
|-
|033
|032
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</exc:resultNotes>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</exc:resultNotes>'''}}
|
|
Строка 380: Строка 375:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|034
|033
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:sampleAcceptanceResult>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:sampleAcceptanceResult>'''}}
|
|
Строка 386: Строка 381:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|035
|034
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:sampleAcceptanceResultList>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:sampleAcceptanceResultList>'''}}
|
|
Строка 392: Строка 387:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|036
|035
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:applicationReport>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:applicationReport>'''}}
|[[ApplicationReport_v2.1|exc:ApplicationReport]]
|[[ApplicationReport_v2.1|exc:ApplicationReport]]
Строка 403: Строка 398:
</div>
</div>
|-
|-
|037
|036
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:resultNotes>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:resultNotes>'''}}
|[[FaultInfo_v2.0|bs:FaultInfo]]
|[[FaultInfo_v2.0|bs:FaultInfo]]
Строка 409: Строка 404:
| style="width:52em;"| 3.1. Сведения о причинах отказа
| style="width:52em;"| 3.1. Сведения о причинах отказа
|-
|-
|038
|037
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}message>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}message>'''}}
|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]
|[http://www.w3.org/TR/xmlschema-2/#string xs:string]
Строка 415: Строка 410:
| style="width:52em;"| 3.1.2. Описание причины отказа (сообщение об ошибке)
| style="width:52em;"| 3.1.2. Описание причины отказа (сообщение об ошибке)
|-
|-
|039
|038
|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>'''}}
|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]]
|[[Error_v2.0|bs:Error]]
Строка 421: Строка 416:
| style="width:52em;"| 3.1.1. Код ошибки / текст ошибки
| style="width:52em;"| 3.1.1. Код ошибки / текст ошибки
|-
|-
|040
|039
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:resultNotes>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:resultNotes>'''}}
|
|
Строка 427: Строка 422:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|041
|040
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:applicationReport>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:applicationReport>'''}}
|
|
Строка 433: Строка 428:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|042
|041
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:invoice>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:invoice>'''}}
|[[Invoice_v2.3|vd:Invoice]]
|[[Invoice_v2.3|vd:Invoice]]
Строка 443: Строка 438:
</div>
</div>
|-
|-
|043
|042
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}totalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}totalAmount>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}totalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}totalAmount>'''}}
|[[Decimal|bs:Decimal]]
|[[Decimal|bs:Decimal]]
Строка 449: Строка 444:
| style="width:52em;"| 4.1. Сумма счета
| style="width:52em;"| 4.1. Сумма счета
|-
|-
|044
|043
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}subTotalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}subTotalAmount>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}subTotalAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}subTotalAmount>'''}}
|[[Decimal|bs:Decimal]]
|[[Decimal|bs:Decimal]]
Строка 455: Строка 450:
| style="width:52em;"| 4.2. Общая сумма товаров (работ, услуг)
| style="width:52em;"| 4.2. Общая сумма товаров (работ, услуг)
|-
|-
|045
|044
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}currency>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}currency>'''}}
|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]]
|[[Currency_v2.3|dt:Currency]]
Строка 461: Строка 456:
| style="width:52em;"| 4.7. Код валюты суммы
| style="width:52em;"| 4.7. Код валюты суммы
|-
|-
|046
|045
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatMode>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatMode>'''}}
|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]]
|[[VATMode_v2.3|dt:VATModet]]
Строка 473: Строка 468:
</div>
</div>
|-
|-
|047
|046
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatRate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatRate>'''}}
|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]]
|[[VATRate_v2.3|dt:VATRate]]
Строка 485: Строка 480:
</div>
</div>
|-
|-
|048
|047
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatAmount>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vatAmount>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}vatAmount>'''}}
|[[Decimal|bs:Decimal]]
|[[Decimal|bs:Decimal]]
Строка 491: Строка 486:
| style="width:52em;"| 4.6. Сумма НДС
| style="width:52em;"| 4.6. Сумма НДС
|-
|-
|049
|048
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}paymentPurpose>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}paymentPurpose>'''}}
|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]]
|[[PaymentPurpose_v2.3|dt:PaymentPurpose]]
Строка 501: Строка 496:
</div>
</div>
|-
|-
|050
|049
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}paymentRecipient>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}paymentRecipient>'''}}
|[[BankAccountDetails_v2.3|dt:BankAccountDetails]]
|[[BankAccountDetails_v2.3|dt:BankAccountDetails]]
Строка 507: Строка 502:
| style="width:52em;"| Банковские реквизиты получателя платежа
| style="width:52em;"| Банковские реквизиты получателя платежа
|-
|-
|051
|050
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentAccountNumber>'''}}
|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]]
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]]
Строка 513: Строка 508:
| style="width:52em;"| 4.10. Номер расчетного счета получателя
| style="width:52em;"| 4.10. Номер расчетного счета получателя
|-
|-
|052
|051
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}correspondentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}correspondentAccountNumber>'''}}
|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]]
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]]
Строка 519: Строка 514:
| style="width:52em;"| 4.11. Корреспондентский номер счета банка получателя
| style="width:52em;"| 4.11. Корреспондентский номер счета банка получателя
|-
|-
|053
|052
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}BIC>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}BIC>'''}}
|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]]
|[[BankIdentificationNumber_v2.3|dt:BankIdentificationNumber]]
Строка 525: Строка 520:
| style="width:52em;"| 4.8. БИК банка получателя
| style="width:52em;"| 4.8. БИК банка получателя
|-
|-
|054
|053
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}bankName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}bankName>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}bankName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}bankName>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
Строка 535: Строка 530:
</div>
</div>
|-
|-
|055
|054
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentRecipient>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentRecipient>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
Строка 541: Строка 536:
| style="width:52em;"| Сведения о получателе платежа
| style="width:52em;"| Сведения о получателе платежа
|-
|-
|056
|055
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}}
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
Строка 547: Строка 542:
| style="width:52em;"| 4.12. ИНН получателя платежа
| style="width:52em;"| 4.12. ИНН получателя платежа
|-
|-
|057
|056
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentRecipient>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentRecipient>'''}}
|
|
Строка 553: Строка 548:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|058
|057
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}paymentRecipient>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}paymentRecipient>'''}}
|
|
Строка 559: Строка 554:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|059
|058
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:invoice>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:invoice>'''}}
|
|
Строка 565: Строка 560:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|060
|059
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:attachedDocument>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:attachedDocument>'''}}
|[[ExcAttachedDocument_v2.0|exc:ExcAttachedDocument]]
|[[ExcAttachedDocument_v2.0|exc:ExcAttachedDocument]]
Строка 577: Строка 572:
** IN_PROGRESS
** IN_PROGRESS
** WAITING_PAYMENT
** WAITING_PAYMENT
** WAITING_CLOSING_ACT</div>
** WAITING_CLOSING_ACT
** RESEARCH_FINISHED
** COMPLETED
** ACT_RECEIVED</div>
</div>
</div>
|-
|-
|061
|060
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}}
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}}
|[[UUID|bs:UUID]]  
|[[UUID|bs:UUID]]  
|[0..1]
|[0..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; 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;">5.2. Идентификатор протокола испытаний</span>
<span style="white-space:nowrap; font-weight: normal;">5.1. Идентификатор протокола испытаний</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
<div class="mw-collapsible-content" style="font-weight: normal;">
* Обязательный для типа документа 33</div>
* для типа документа 33</div>
</div>
</div>
|-
|-
|062
|061
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}}
|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]]
|[[DocumentType_v2.2|vd:DocumentType]]
|[1..1]
|[1..1]
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; 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;">5.1. Тип документа</span>
<span style="white-space:nowrap; font-weight: normal;">5.2. Тип документа</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
<div class="mw-collapsible-content" style="font-weight: normal;">
* 46 - Счет на оплату
* 46 - Счет на оплату
Строка 603: Строка 601:
* 50 - Договор с визуализацией подписей УКЭП</div>
* 50 - Договор с визуализацией подписей УКЭП</div>
</div>
</div>
|-
|062
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:includedFile>'''}}
|[[ExcDocumentFile_v2.2|exc:ExcDocumentFile]]
|[1..*]
| style="width:52em;"| 5.3 Бинарное вложение (файл)
|-
|-
|063
|063
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:binaryData mimeCode&#61;{{color|#007f15|"?"}} filename&#61;{{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:binaryData>'''}}
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:fileName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileName>'''}}
|[[String255|bs:String255]]
|[1..1]
| style="width:52em;"| 5.3.1 Имя файла
|-
|064
|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;"| 5.3.2 MIME-код файла
|-
|065
|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]]
|[[ExcDocumentBinaryData_v2.0|exc:ExcDocumentBinaryData]]
|[1..1]
|[1..1]
| style="width:52em;"| 5.2. Бинарное вложение (файл)
| style="width:52em;"| 5.3.3 Содержимое файла в формате base64
|-
|-
|064
|066
|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;">5.3.4 Открепленная подпись файла</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* Обязательно для следующих типов документов: 33, 47, 48</div>
</div>
|-
|067
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:includedFile>'''}}
|
|
| style="width:52em;"|
|-
|068
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:attachedDocument>'''}}
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:attachedDocument>'''}}
|
|
Строка 616: Строка 648:
| style="width:52em;"|  
| style="width:52em;"|  
|-
|-
|065
|069
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:checkLabResearchApplicationResponse>'''}}
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:checkLabResearchApplicationResponse>'''}}
|
|
Строка 641: Строка 673:
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
   <exc:metadata>
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: UUID--> <!--1.1-->
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!--1.1-->
       <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!--1.2-->
       <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!--1.2-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.5-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.5-->
Строка 662: Строка 694:


=== Ответы на запрос ===
=== Ответы на запрос ===
==== 13.3.RS1. Заявка ACCEPTED (принята). ====
==== 13.3.RS1. Шаблон ответа для заявок в статусах: ====
 
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || ACCEPTED || Заявка принята
|-
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
|-
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
|-
| 4 || CONTRACT_PREPARING || Подготовка договора
|-
| 5 || CONTRACT_RECEIVED ||  Договор получен
|-
| 6 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
|-
| 7 || WAITING_SAMPLE || Ожидание получения проб
|-
|}


<br />
<div id="example6">
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Accepted'''
'''13.3.Response.Template_1'''
<div class = "mw-collapsible-content">
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Операция 13.3-->
<!--Статус заявки - ACCEPTED - принята-->
<!--Статус заявки -  
| 1 || ACCEPTED || Заявка принята
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
| 4 || CONTRACT_PREPARING || Подготовка договора
| 5 || CONTRACT_RECEIVED ||  Договор получен
| 6 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
| 7 || WAITING_SAMPLE || Ожидание получения проб
-->
<exc:checkLabResearchApplicationResponse  
<exc:checkLabResearchApplicationResponse  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
Строка 679: Строка 738:
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
   <exc:metadata>
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: UUID-->  <!--1.6-->
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.6-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
       <exc:documentURL>http://www.w3.org</exc:documentURL> <!--type: anyURI -->  <!--1.3-->
       <exc:documentStatus>ACCEPTED</exc:documentStatus> <!--type: ApplicationDocumentStatus -->  <!--1.4--> <!--enum: [ACCEPTED, WAITING_DATA_FOR_CONTRACT, DATA_FOR_CONTRACT_RECEIVED, CONTRACT_PREPARING, CONTRACT_RECEIVED, PAYMENT_INFO_RECEIVED, WAITING_SAMPLE]-->  
      <exc:documentStatus>ACCEPTED</exc:documentStatus> <!--type: ApplicationDocumentStatus -->  <!--1.4-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: -->  <!--1.5-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: -->  <!--1.5-->
   </exc:metadata>
   </exc:metadata>
Строка 693: Строка 751:
<br />
<br />


==== 13.3.RS2. Заявка COMPLETED (выполнена). ====
==== 13.3.RS2. Шаблон ответа для заявок в статусах: ====


{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_PAYMENT || Ожидание оплаты
|-
|}
Структура ответа зависит от параметра запроса '''ATTACH_INVOICE_FILE''' (п.2.1) следующим образом:
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == true''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''invoice''' и '''attachedDocument'''.
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == false''' или параметр '''ATTACH_INVOICE_FILE не передан''', то:
** в ответе '''возвращается''' только объект '''metadata'''.
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Template_2'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Статус заявки -
| 1 || WAITING_PAYMENT || Ожидание оплаты
-->
<exc:checkLabResearchApplicationResponse
  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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber--> <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token--> <!--1.2-->
      <exc:documentStatus>WAITING_PAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus--> <!--1.4--> <!-- enum: [WAITING_PAYMENT, IN_PROGRESS, RESEARCH_FINISHED] -->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime--> <!--1.5-->
  </exc:metadata>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->
  <exc:invoice> <!--type: Invoice--> <!--4-->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
      <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
      <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
      <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!--4.3-->
      <vd:paymentRecipient>
        <dt:paymentAccountNumber>40404555600000004657</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!--4.10-->
        <dt:correspondentAccountNumber>40430662800000007895</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!--4.11-->
        <dt:BIC>780821698</dt:BIC> <!--type: BankIdentificationNumber--> <!--4.8-->
        <dt:bankName>string</dt:bankName> <!--type: String255--> <!--4.9-->
        <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--4.12-->
        </dt:paymentRecipient>
      </vd:paymentRecipient>
  </exc:invoice>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
  <exc:attachedDocument>
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [46] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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:checkLabResearchApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
<br />
==== 13.3.RS3. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || COMPLETED || Заявка закрыта
|-
| 2 || ACT_RECEIVED || Получен акт выполненных работ
|-
|}
<div id="example6">
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Completed'''
'''13.3.Response.Template_3'''
<div class = "mw-collapsible-content">
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Операция 13.3-->
<!--Статус заявки - COMPLETED - заявка выполнена-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkLabResearchApplicationResponse  
<exc:checkLabResearchApplicationResponse  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
Строка 710: Строка 855:
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
   <exc:metadata>
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: UUID-->  <!--1.6-->
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.6-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
       <exc:documentURL>http://www.w3.org</exc:documentURL> <!--type: anyURI-->  <!--1.3-->
       <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   </exc:metadata>
Строка 732: Строка 876:
       </vd:laboratoryResearchReport>
       </vd:laboratoryResearchReport>
   </exc:laboratoryResearchReportList>
   </exc:laboratoryResearchReportList>
  <exc:attachedDocument>
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid>  <!--type: UUID--> <!--5.1-->
      <vd:type>33</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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:checkLabResearchApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
==== 13.3.RS4. Шаблон ответа для заявок в статусах: ====
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора
|-
|}
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Template_4'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Статус заявки
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора
-->
<exc:checkLabResearchApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
  xmlns:dt="http://api.vetrf.ru/schemdictionary/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.w2000/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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_SIGN_CONTRACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
  </exc:metadata>
  <exc:attachedDocument>
      <vd:type>47</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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>
      <vd:type>50</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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:checkLabResearchApplicationResponse>
</exc:checkLabResearchApplicationResponse>
</syntaxhighlight>
</syntaxhighlight>
Строка 738: Строка 949:
<br />
<br />


==== 13.3.RS4. Заявка DECLINED (отклонена). ====
==== 13.3.RS5. Шаблон ответа для заявок в статусах: ====
 
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || DECLINED || Заявка отклонена
|-
|}
 
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Template_5.1. Причина отклонения: не принята проба'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkLabResearchApplicationResponse
  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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
  </exc:metadata>
  <exc:sampleAcceptanceResultList> <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1-->
        <exc:laboratoryResearchSample>
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1-->
        </exc:laboratoryResearchSample>
        <exc:resultNotes> <!--type:FaultInfo -->  <!--6.1.2-->
            <bs:message>Причина отклонения пробы</bs:message> <!--type: String255-->  <!--6.1.2.2-->
        </exc:resultNotes>
      </exc:sampleAcceptanceResult>
  </exc:sampleAcceptanceResultList>
  <exc:applicationReport> <!--3-->
      <exc:resultNotes> <!--type:FaultInfo -->  <!--3.1-->
        <bs:message>Проба не соответствует требованиям, заявка отклонена</bs:message> <!--type: String255-->  <!--3.1.2-->
      </exc:resultNotes>
  </exc:applicationReport>
</exc:checkLabResearchApplicationResponse>
</syntaxhighlight>
</div>
</div>


<br />
<br />
<div id="example6">
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Declined'''
'''13.3.Response.Template_5.2. Причина отклонения: прочие причины или ошибки по бизнес-процессу'''
<div class = "mw-collapsible-content">
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Операция 13.3-->
<!--Статус заявки - DECLINED - заявка отклонена-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkLabResearchApplicationResponse  
<exc:checkLabResearchApplicationResponse  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
Строка 755: Строка 1019:
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   <exc:metadata>
   <exc:metadata>
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: UUID-->  <!--1.6-->
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.6-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentURL>http://www.w3.org</exc:documentURL> <!--type: anyURI-->  <!--1.3-->
       <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
       <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
Строка 766: Строка 1029:
       <exc:resultNotes> <!--type:FaultInfo -->  <!--3.1-->
       <exc:resultNotes> <!--type:FaultInfo -->  <!--3.1-->
         <bs:message>В рассмотрении заявки отказано</bs:message> <!--type: String255-->  <!--3.1.2-->
         <bs:message>В рассмотрении заявки отказано</bs:message> <!--type: String255-->  <!--3.1.2-->
        <bs:error code="12345">string</bs:error> <!--type: Error-->  <!--3.1.1-->
       </exc:resultNotes>
       </exc:resultNotes>
   </exc:applicationReport>
   </exc:applicationReport>
Строка 774: Строка 1038:
<br />
<br />


==== 13.3.RS5. Заявка WAITING_PAYMENT (ожидание оплаты). ====
==== 13.3.RS6. Шаблон ответа для заявок в статусах: ====
 
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || SAMPLE_RECEIVED || Пробы приняты
|-
| 2 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
|-
|}
 
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Template_6'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Статус заявки
| 1 || SAMPLE_RECEIVED || Пробы приняты
| 2 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
-->
<exc:checkLabResearchApplicationResponse
  xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
  xmlns:dt="http://api.vetrf.ru/schemdictionary/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.w2000/09/xmldsig#">
  <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>SAMPLE_RECEIVED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4--> <!-- enum: [SAMPLE_RECEIVED, PREPAYMENT_INFO_RECEIVED] -->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
  </exc:metadata>
  <exc:sampleAcceptanceResultList>  <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1.-->
        <exc:laboratoryResearchSample> <!--type: Sample-->
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1.-->
        </exc:laboratoryResearchSample>
      </exc:sampleAcceptanceResult>
  </exc:sampleAcceptanceResultList>
</exc:checkLabResearchApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
 
==== 13.3.RS7. Шаблон ответа для заявок в статусах: ====
 
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
|-
|}
 
Структура ответа зависит от параметра запроса '''ATTACH_INVOICE_FILE''' (п.2.1) следующим образом:
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == true''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''laboratoryResearchReportList''', '''invoice''' и '''attachedDocument''' со всеми типами документов [33, 46, 48].
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == false''' или параметр '''ATTACH_INVOICE_FILE не передан''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''laboratoryResearchReportList''' и '''attachedDocument''' с типами документов [33, 48].


<br />
<br />
<div id="example6">
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.WaitingPayment'''
'''13.3.Response.Template_7'''
<div class = "mw-collapsible-content">
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Операция 13.3-->
<!--Статус заявки - WAITING_PAYMENT  - ожидание оплаты/предоплаты-->
<!--Статус заявки
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
-->
<exc:checkLabResearchApplicationResponse  
<exc:checkLabResearchApplicationResponse  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"  
Строка 789: Строка 1118:
   xmlns:bs="http://api.vetrf.ru/schema/cdm/base"  
   xmlns:bs="http://api.vetrf.ru/schema/cdm/base"  
   xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"  
   xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"  
   xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus> WAITING_CLOSING_ACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
  </exc:metadata>
  <exc:laboratoryResearchReportList> <!--2-->
      <vd:laboratoryResearchReport>  <!--2.1-->
        <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID-->  <!--2.1.1-->
        <vd:issueNumber>string</vd:issueNumber> <!--type: String255-->  <!--2.1.2-->
        <vd:issueDate>2023-02-09</vd:issueDate> <!--type: date-->  <!--2.1.3-->
        <vd:type>33</vd:type> <!--type: DocumentType-->  <!--2.1.4-->
        <vd:issuer> <!--type: Organization-->  <!--2.1.5-->
            <dt:ID>2874c443-9060-46a7-89b8-bf4219ac373a</dt:ID> <!--type: Identifier-->  <!--2.1.5.1-->
        </vd:issuer>
        <vd:samplingReport>
            <vd:issueNumber>564</vd:issueNumber> <!--type: String255-->  <!--2.1.6-->
        </vd:samplingReport>
      </vd:laboratoryResearchReport>
  </exc:laboratoryResearchReportList>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->
  <exc:invoice> <!--type: Invoice--> <!--4-->
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
      <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
      <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
      <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!--4.3-->
      <vd:paymentRecipient>
        <dt:paymentAccountNumber>40404555600000004657</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!--4.10-->
        <dt:correspondentAccountNumber>40430662800000007895</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!--4.11-->
        <dt:BIC>780821698</dt:BIC> <!--type: BankIdentificationNumber--> <!--4.8-->
        <dt:bankName>string</dt:bankName> <!--type: String255--> <!--4.9-->
        <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--4.12-->
        </dt:paymentRecipient>
      </vd:paymentRecipient>
  </exc:invoice>   
  <exc:attachedDocument> <!-- Возвращается, если ATTACH_INVOICE_FILE == true--> 
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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:attachedDocument>
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid>  <!--type: UUID--> <!--5.1-->
      <vd:type>33</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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>
      <vd:type>48</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
        <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:checkLabResearchApplicationResponse>
</syntaxhighlight>
</div>
</div>
<br />
 
==== 13.3.RS8. Шаблон ответа для заявок в статусах: ====
 
{| class="wikitable"
|-
! # !! Статус заявки !! Комментарии
|-
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
|-
| 2 || IN_PROGRESS || Проведение исследования
|-
| 3 || RESEARCH_FINISHED || Исследование завершено
|-
|}
 
Структура ответа зависит от параметра запроса '''ATTACH_INVOICE_FILE''' (п.2.1) следующим образом:
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == true''', то:
** в ответе '''возвращаются''' объекты: '''metadata''', '''sampleAcceptanceResultList''', '''invoice''' и '''attachedDocument'''.
* '''Если''' в запросе передано значение параметра '''ATTACH_INVOICE_FILE == false''' или параметр '''ATTACH_INVOICE_FILE не передан''', то:
** в ответе '''возвращаются''' только объекты: '''metadata''', '''sampleAcceptanceResultList'''.
 
<br />
<div id="example6">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%">
'''13.3.Response.Template_8'''
<div class = "mw-collapsible-content">
<syntaxhighlight lang="xml">
<!--Операция 13.3-->
<!--Статус заявки -
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
| 2 || IN_PROGRESS || Проведение исследования
| 3 || RESEARCH_FINISHED || Исследование завершено-
-->
<exc:checkLabResearchApplicationResponse
  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:metadata>
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: UUID--> <!--1.6-->
       <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier--> <!--1.6-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber--> <!--1.7-->
       <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber--> <!--1.7-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.1-->
       <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.1-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token--> <!--1.2-->
       <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token--> <!--1.2-->
      <exc:documentURL>http://www.w3.org</exc:documentURL> <!--type: anyURI--> <!--1.3-->
       <exc:documentStatus>WAITING_PREPAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus--> <!--1.4-->  
       <exc:documentStatus>WAITING_PAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus--> <!--1.4-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime--> <!--1.5-->
       <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime--> <!--1.5-->
   </exc:metadata>
   </exc:metadata>
   <exc:invoice> <!--type: Invoice--> <!--4-->
  <exc:sampleAcceptanceResultList>  <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1.-->
        <exc:laboratoryResearchSample> <!--type: Sample-->
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1.-->
        </exc:laboratoryResearchSample>
      </exc:sampleAcceptanceResult>
  </exc:sampleAcceptanceResultList>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true, и если бизнес-процесс подразумевает наличие счета-->
   <exc:invoice> <!--type: Invoice--> <!--4-->  
       <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
       <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
       <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
       <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
       <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
       <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
       <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATModet--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
       <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
       <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
       <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
       <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
       <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
Строка 817: Строка 1267:
       </vd:paymentRecipient>
       </vd:paymentRecipient>
   </exc:invoice>
   </exc:invoice>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true, и если бизнес-процесс подразумевает наличие счета--> 
   <exc:attachedDocument>
   <exc:attachedDocument>
       <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID--> <!--1.1-->
       <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [46] -->
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.1.--> <!-- enum: [46, 47, 48, 33, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
      <exc:binaryData mimeCode="?" filename="?">0123456789ABCDEF</exc:binaryData> <!--type: ExcDocumentBinaryData--> <!-- 5.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:attachedDocument>
</exc:checkLabResearchApplicationResponse>
</exc:checkLabResearchApplicationResponse>

Текущая версия на 11:55, 21 августа 2023

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

Операция CheckLabResearchApplication предназначена для получения сведений о результатах проведения лабораторных исследований.

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

# Название XML-элемента Тип Обязат. Описание (нажмите [...] для отображения дополнительного описания)
001 <exc:checkLabResearchApplicationRequest>
002 ···<exc:metadata> exc:ServiceMetadata [1..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] 2. Дополнительные опции запроса
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:checkLabResearchApplicationRequest>

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

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

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

  • Максимальная длина 36 символов
004 ······<exc:seqNumber>?</exc:seqNumber> bs:SequenceNumber [1..1] 1.7. Номер входящего запроса
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.4. Текущий статус заявления

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

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

  • Обязательно в случае, если сформирован протокол испытаний
  • Статусы: WAITING_CLOSING_ACT, COMPLETED, ACT_RECEIVED
011 ······<vd:laboratoryResearchReport> vd:LaboratoryResearchReport [1..*] 2.1. Сведения о протоколе испытаний
012 ·········<bs:uuid>?</bs:uuid> bs:UUID [1..1] 2.1.1. Идентификатор протокола испытаний в системе ВетИС
013 ·········<vd:issueNumber>?</vd:issueNumber> bs:String255 [1..1] 2.1.2. Номер протокола испытаний
014 ·········<vd:issueDate>?</vd:issueDate> xs:date [1..1] 2.1.3. Дата протокола испытаний
015 ·········<vd:type>33</vd:type> vd:DocumentType [1..1]

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

  • Фиксированное значение: 33 - Протокол лабораторных исследований
016 ·········<vd:issuer> dt:Organization [1..1] 2.1.5. Лаборатория
017 ············<dt:ID>?</dt:ID> bs:Identifier [1..1] 2.1.5.1. Глобальный идентификатор лаборатории
018 ·········</vd:issuer>
019 ·········<vd:samplingReport> vd:LaboratoryResearchReport [1..1] Сведения об акте отбора проб
020 ············<vd:issueNumber>?</vd:issueNumber> bs:String255 [1..1] 2.1.6. Номер акта отбора проб
021 ·········</vd:samplingReport>
022 ······</vd:laboratoryResearchReport>
023 ···</exc:laboratoryResearchReportList>
024 ···<exc:sampleAcceptanceResultList> exc:ExcSampleAcceptanceResultList [0..1]

6. Результат приемки пробы

  • Передается для статусов:
    • SAMPLE_RECEIVED - пробы приняты
    • WAITING_PREPAYMENT - ожидание предоплаты
    • PREPAYMENT_INFO_RECEIVED - получены сведения о предоплате
    • IN_PROGRESS - проведение исследования
    • RESEARCH_FINISHED - исследование завершено
    • Опционально для статуса DECLINED (заявка отклонена), если причина отклонения - не приняты все пробы
025 ······<exc:sampleAcceptanceResult> exc:ExcSampleAcceptanceResult [1..*] 6.1. Проба
026 ·········<exc:laboratoryResearchSample> vd:Sample [1..1] Сведения о пробе
027 ············<vd:sampleCipher>?</vd:sampleCipher> bs:UUID [1..1] 6.1.1. Шифр пробы
028 ·········</exc:laboratoryResearchSample>
029 ·········<exc:resultNotes> bs:FaultInfo [0..1]

6.1.2. Сведения о причинах отказа

  • Обязательно в случае, если проба не принята
030 ············<bs:message>?</bs:message> xs:string [1..1] 6.1.2.2. Описание причины отказа (сообщение об ошибке)
031 ············<bs:error code="?" qualifier="?">?</bs:error> bs:Error [0..*] 6.1.2.1. Код ошибки / текст ошибки
032 ·········</exc:resultNotes>
033 ······</exc:sampleAcceptanceResult>
034 ···</exc:sampleAcceptanceResultList>
035 ···<exc:applicationReport> exc:ApplicationReport [0..1]

3. Результат обработки заявки (мотивированный отказ

  • Обязательно для статуса DECLINED
  • Отказ по всей заявке
036 ······<exc:resultNotes> bs:FaultInfo [1..1] 3.1. Сведения о причинах отказа
037 ·········<bs:message>?</bs:message> xs:string [1..1] 3.1.2. Описание причины отказа (сообщение об ошибке)
038 ·········<bs:error code="?" qualifier="?">?</bs:error> bs:Error [0..*] 3.1.1. Код ошибки / текст ошибки
039 ······</exc:resultNotes>
040 ···</exc:applicationReport>
041 ···<exc:invoice> vd:Invoice [0..1]

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

  • Обязательно при передаче в приложенных документах (п. 5) счета на оплату
042 ······<vd:totalAmount>?</vd:totalAmount> bs:Decimal [1..1] 4.1. Сумма счета
043 ······<vd:subTotalAmount>?</vd:subTotalAmount> bs:Decimal [1..1] 4.2. Общая сумма товаров (работ, услуг)
044 ······<vd:currency>?</vd:currency> dt:Currency [1..1] 4.7. Код валюты суммы
045 ······<vd:vatMode>?</vd:vatMode> dt:VATModet [1..1]

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

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

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

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

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

  • Max длина 210 символов
049 ······<vd:paymentRecipient> dt:BankAccountDetails [1..1] Банковские реквизиты получателя платежа
050 ·········<dt:paymentAccountNumber>?</dt:paymentAccountNumber> dt:BankAccountNumber [1..1] 4.10. Номер расчетного счета получателя
051 ·········<dt:correspondentAccountNumber>?</dt:correspondentAccountNumber> dt:BankAccountNumber [0..1] 4.11. Корреспондентский номер счета банка получателя
052 ·········<dt:BIC>?</dt:BIC> dt:BankIdentificationNumber [1..1] 4.8. БИК банка получателя
053 ·········<dt:bankName>?</dt:bankName> bs:String255 [0..1]

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

  • Max длина 140 символов
054 ·········<dt:paymentRecipient> dt:BusinessEntity [1..1] Сведения о получателе платежа
055 ············<dt:inn>?</dt:inn> bs:String255 [1..1] 4.12. ИНН получателя платежа
056 ·········</dt:paymentRecipient>
057 ······</vd:paymentRecipient>
058 ···</exc:invoice>
059 ···<exc:attachedDocument> exc:ExcAttachedDocument [0..*]

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

  • Файлы могут передаваться в статусах:
    • WAITING_SIGN_CONTRACT
    • WAITING_PREPAYMENT
    • IN_PROGRESS
    • WAITING_PAYMENT
    • WAITING_CLOSING_ACT
    • RESEARCH_FINISHED
    • COMPLETED
    • ACT_RECEIVED
060 ······<bs:uuid>?</bs:uuid> bs:UUID [0..1]

5.1. Идентификатор протокола испытаний

  • для типа документа 33
061 ······<vd:type>?</vd:type> vd:DocumentType [1..1]

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

  • 46 - Счет на оплату
  • 47 - Договор на оказание услуг
  • 48 - Акт выполненных работ
  • 33 - Протокол лабораторных исследований
  • 50 - Договор с визуализацией подписей УКЭП
062 ······<exc:includedFile> exc:ExcDocumentFile [1..*] 5.3 Бинарное вложение (файл)
063 ·········<exc:fileName>?</exc:fileName> bs:String255 [1..1] 5.3.1 Имя файла
064 ·········<exc:mimeCode>?</exc:mimeCode> xs:token [1..1] 5.3.2 MIME-код файла
065 ·········<exc:binaryData xmime:contentType="?">?</exc:binaryData> exc:ExcDocumentBinaryData [1..1] 5.3.3 Содержимое файла в формате base64
066 ·········<exc:signature>?</exc:signature> exc:ExcDocumentBinaryData [0..*]

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

  • Обязательно для следующих типов документов: 33, 47, 48
067 ······</exc:includedFile>
068 ···</exc:attachedDocument>
069 </exc:checkLabResearchApplicationResponse>

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

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


13.3.Request.Example

<!--Операция 13.3-->
<exc:checkLabResearchApplicationRequest 
   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.1-->
      <exc:seqNumber>1</exc:seqNumber> <!--type: SequenceNumber--> <!--1.2-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.5-->
      <dt:businessEntity> <!--1.4-->
         <bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> <!--type: UUID--> <!--1.4.1-->
         <dt:inn>0123456789</dt:inn> <!--type: String255--> <!--1.4.2-->
      </dt:businessEntity>
   </exc:metadata>
   <exc:additionalProperties>
      <exc:additionalAttribute> <!--2.-->
         <exc:attrID>ATTACH_INVOICE_FILE</exc:attrID> <!--type: Identifier-->
         <exc:attrValue>true</exc:attrValue> <!--type: Text--> <!--2.1.-->
      </exc:additionalAttribute>
   </exc:additionalProperties>
</exc:checkLabResearchApplicationRequest>


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

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

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

13.3.Response.Template_1

<!--Операция 13.3-->
<!--Статус заявки - 
| 1 || ACCEPTED || Заявка принята
| 2 || WAITING_DATA_FOR_CONTRACT || Ожидание сведений для заключения договора
| 3 || DATA_FOR_CONTRACT_RECEIVED || Получены сведения для заключения договора
| 4 || CONTRACT_PREPARING || Подготовка договора
| 5 || CONTRACT_RECEIVED ||  Договор получен
| 6 || PAYMENT_INFO_RECEIVED || Получены сведения об оплате
| 7 || WAITING_SAMPLE || Ожидание получения проб
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>ACCEPTED</exc:documentStatus> <!--type: ApplicationDocumentStatus -->  <!--1.4--> <!--enum: [ACCEPTED, WAITING_DATA_FOR_CONTRACT, DATA_FOR_CONTRACT_RECEIVED, CONTRACT_PREPARING, CONTRACT_RECEIVED, PAYMENT_INFO_RECEIVED, WAITING_SAMPLE]--> 
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: -->  <!--1.5-->
   </exc:metadata>
</exc:checkLabResearchApplicationResponse>


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

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

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

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


13.3.Response.Template_2

<!--Операция 13.3-->
<!--Статус заявки - 
| 1 || WAITING_PAYMENT || Ожидание оплаты
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber--> <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token--> <!--1.2-->
      <exc:documentStatus>WAITING_PAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus--> <!--1.4--> <!-- enum: [WAITING_PAYMENT, IN_PROGRESS, RESEARCH_FINISHED] -->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime--> <!--1.5-->
   </exc:metadata>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->
   <exc:invoice> <!--type: Invoice--> <!--4--> 
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
      <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
      <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
      <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!--4.3-->
      <vd:paymentRecipient>
         <dt:paymentAccountNumber>40404555600000004657</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!--4.10-->
         <dt:correspondentAccountNumber>40430662800000007895</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!--4.11-->
         <dt:BIC>780821698</dt:BIC> <!--type: BankIdentificationNumber--> <!--4.8-->
         <dt:bankName>string</dt:bankName> <!--type: String255--> <!--4.9-->
         <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--4.12-->
         </dt:paymentRecipient>
      </vd:paymentRecipient>
   </exc:invoice>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->   
   <exc:attachedDocument>
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [46] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:checkLabResearchApplicationResponse>


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

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

13.3.Response.Template_3

<!--Операция 13.3-->
<!--Статус заявки
| 1 || COMPLETED || Заявка закрыта 
| 2 || ACT_RECEIVED || Получен акт выполненных работ
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>COMPLETED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4--> <!-- enum: [COMPLETED, ACT_RECEIVED] -->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:laboratoryResearchReportList> <!--2-->
      <vd:laboratoryResearchReport>  <!--2.1-->
         <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID-->  <!--2.1.1-->
         <vd:issueNumber>string</vd:issueNumber> <!--type: String255-->  <!--2.1.2-->
         <vd:issueDate>2023-02-09</vd:issueDate> <!--type: date-->  <!--2.1.3-->
         <vd:type>33</vd:type> <!--type: DocumentType-->  <!--2.1.4-->
         <vd:issuer> <!--type: Organization-->  <!--2.1.5-->
            <dt:ID>2874c443-9060-46a7-89b8-bf4219ac373a</dt:ID> <!--type: Identifier-->  <!--2.1.5.1-->
         </vd:issuer>
         <vd:samplingReport>
            <vd:issueNumber>564</vd:issueNumber> <!--type: String255-->  <!--2.1.6-->
         </vd:samplingReport>
      </vd:laboratoryResearchReport>
   </exc:laboratoryResearchReportList>
   <exc:attachedDocument>
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid>  <!--type: UUID--> <!--5.1-->
      <vd:type>33</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:checkLabResearchApplicationResponse>


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

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

13.3.Response.Template_4

<!--Операция 13.3-->
<!--Статус заявки
| 1 || WAITING_SIGN_CONTRACT || Ожидание подписания договора 
-->
<exc:checkLabResearchApplicationResponse 
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" 
   xmlns:dt="http://api.vetrf.ru/schemdictionary/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.w2000/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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>WAITING_SIGN_CONTRACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:attachedDocument>
      <vd:type>47</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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>
      <vd:type>50</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [47, 50] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:checkLabResearchApplicationResponse>


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

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

13.3.Response.Template_5.1. Причина отклонения: не принята проба

<!--Операция 13.3-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->   <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:sampleAcceptanceResultList> <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1-->
         <exc:laboratoryResearchSample>
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1-->
         </exc:laboratoryResearchSample>
         <exc:resultNotes> <!--type:FaultInfo -->  <!--6.1.2-->
            <bs:message>Причина отклонения пробы</bs:message> <!--type: String255-->  <!--6.1.2.2-->
         </exc:resultNotes>
      </exc:sampleAcceptanceResult>
   </exc:sampleAcceptanceResultList>
   <exc:applicationReport> <!--3-->
      <exc:resultNotes> <!--type:FaultInfo -->  <!--3.1-->
         <bs:message>Проба не соответствует требованиям, заявка отклонена</bs:message> <!--type: String255-->  <!--3.1.2-->
      </exc:resultNotes>
   </exc:applicationReport>
</exc:checkLabResearchApplicationResponse>


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

<!--Операция 13.3-->
<!--Статус заявки
| 1 || DECLINED || Заявка отклонена
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>DECLINED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4-->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:applicationReport> <!--3-->
      <exc:resultNotes> <!--type:FaultInfo -->  <!--3.1-->
         <bs:message>В рассмотрении заявки отказано</bs:message> <!--type: String255-->  <!--3.1.2-->
         <bs:error code="12345">string</bs:error> <!--type: Error-->  <!--3.1.1-->
      </exc:resultNotes>
   </exc:applicationReport>
</exc:checkLabResearchApplicationResponse>


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

# Статус заявки Комментарии
1 SAMPLE_RECEIVED Пробы приняты
2 PREPAYMENT_INFO_RECEIVED Получены сведения о предоплате

13.3.Response.Template_6

<!--Операция 13.3-->
<!--Статус заявки 
| 1 || SAMPLE_RECEIVED || Пробы приняты
| 2 || PREPAYMENT_INFO_RECEIVED || Получены сведения о предоплате
-->
<exc:checkLabResearchApplicationResponse 
   xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" 
   xmlns:dt="http://api.vetrf.ru/schemdictionary/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.w2000/09/xmldsig#">
   <exc:metadata>
      <exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> <!--type: Identifier-->  <!--1.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus>SAMPLE_RECEIVED</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4--> <!-- enum: [SAMPLE_RECEIVED, PREPAYMENT_INFO_RECEIVED] -->
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:sampleAcceptanceResultList>  <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1.-->
         <exc:laboratoryResearchSample> <!--type: Sample--> 
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1.-->
         </exc:laboratoryResearchSample>
      </exc:sampleAcceptanceResult>
   </exc:sampleAcceptanceResultList>
</exc:checkLabResearchApplicationResponse>


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

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

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

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


13.3.Response.Template_7

<!--Операция 13.3-->
<!--Статус заявки
| 1 || WAITING_CLOSING_ACT || Ожидание подписания акта выполненных работ
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber-->  <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID-->  <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token-->  <!--1.2-->
      <exc:documentStatus> WAITING_CLOSING_ACT</exc:documentStatus> <!--type: ApplicationDocumentStatus-->  <!--1.4--> 
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime-->  <!--1.5-->
   </exc:metadata>
   <exc:laboratoryResearchReportList> <!--2-->
      <vd:laboratoryResearchReport>  <!--2.1-->
         <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid> <!--type: UUID-->  <!--2.1.1-->
         <vd:issueNumber>string</vd:issueNumber> <!--type: String255-->  <!--2.1.2-->
         <vd:issueDate>2023-02-09</vd:issueDate> <!--type: date-->  <!--2.1.3-->
         <vd:type>33</vd:type> <!--type: DocumentType-->  <!--2.1.4-->
         <vd:issuer> <!--type: Organization-->  <!--2.1.5-->
            <dt:ID>2874c443-9060-46a7-89b8-bf4219ac373a</dt:ID> <!--type: Identifier-->  <!--2.1.5.1-->
         </vd:issuer>
         <vd:samplingReport>
            <vd:issueNumber>564</vd:issueNumber> <!--type: String255-->  <!--2.1.6-->
         </vd:samplingReport>
      </vd:laboratoryResearchReport>
   </exc:laboratoryResearchReportList>
  <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->
   <exc:invoice> <!--type: Invoice--> <!--4--> 
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
      <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
      <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
      <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!--4.3-->
      <vd:paymentRecipient>
         <dt:paymentAccountNumber>40404555600000004657</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!--4.10-->
         <dt:correspondentAccountNumber>40430662800000007895</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!--4.11-->
         <dt:BIC>780821698</dt:BIC> <!--type: BankIdentificationNumber--> <!--4.8-->
         <dt:bankName>string</dt:bankName> <!--type: String255--> <!--4.9-->
         <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--4.12-->
         </dt:paymentRecipient>
      </vd:paymentRecipient>
   </exc:invoice>    
   <exc:attachedDocument> <!-- Возвращается, если ATTACH_INVOICE_FILE == true-->  
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:attachedDocument>
      <bs:uuid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:uuid>  <!--type: UUID--> <!--5.1-->
      <vd:type>33</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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>
      <vd:type>48</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [33, 46, 48] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:checkLabResearchApplicationResponse>


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

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

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

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


13.3.Response.Template_8

<!--Операция 13.3-->
<!--Статус заявки - 
| 1 || WAITING_PREPAYMENT || Ожидание предоплаты
| 2 || IN_PROGRESS || Проведение исследования
| 3 || RESEARCH_FINISHED || Исследование завершено-
-->
<exc:checkLabResearchApplicationResponse 
   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.6-->
      <exc:seqNumber>2</exc:seqNumber> <!--type: SequenceNumber--> <!--1.7-->
      <exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> <!--type: UUID--> <!--1.1-->
      <exc:documentNumber>1234567890</exc:documentNumber> <!--type: token--> <!--1.2-->
      <exc:documentStatus>WAITING_PREPAYMENT</exc:documentStatus> <!--type: ApplicationDocumentStatus--> <!--1.4--> 
      <exc:documentStatusDate>2023-02-09T22:15:04+07:00</exc:documentStatusDate> <!--type: dateTime--> <!--1.5-->
   </exc:metadata>
   <exc:sampleAcceptanceResultList>  <!--6-->
      <exc:sampleAcceptanceResult> <!--6.1.-->
         <exc:laboratoryResearchSample> <!--type: Sample--> 
            <vd:sampleCipher>2874c443-9060-46a7-89b8-bf4219ac373a</vd:sampleCipher> <!--type: UUID-->  <!--6.1.1.-->
         </exc:laboratoryResearchSample>
      </exc:sampleAcceptanceResult>
   </exc:sampleAcceptanceResultList>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true, и если бизнес-процесс подразумевает наличие счета-->
   <exc:invoice> <!--type: Invoice--> <!--4--> 
      <vd:totalAmount>10000.00</vd:totalAmount> <!--type: Decimal--> <!--4.1-->
      <vd:subTotalAmount>100000.00</vd:subTotalAmount> <!--type: Decimal--> <!--4.2-->
      <vd:currency>RUB</vd:currency> <!--type: Currency--> <!--4.7-->
      <vd:vatMode>INCLUDED</vd:vatMode> <!--type: VATMode--> <!--4.4--> <!-- enum: [NOT_INCLUDED, INCLUDED , WITHOUT_VAT] -->
      <vd:vatRate>10</vd:vatRate> <!--type: VATRate--> <!--4.5--> <!-- enum: [0, 10 , 20] -->
      <vd:vatAmount>1000.00</vd:vatAmount> <!--type: Decimal--> <!--4.6-->
      <vd:paymentPurpose>string</vd:paymentPurpose> <!--type: PaymentPurpose--> <!--4.3-->
      <vd:paymentRecipient>
         <dt:paymentAccountNumber>40404555600000004657</dt:paymentAccountNumber> <!--type: BankAccountNumber--> <!--4.10-->
         <dt:correspondentAccountNumber>40430662800000007895</dt:correspondentAccountNumber> <!--type: BankAccountNumber--> <!--4.11-->
         <dt:BIC>780821698</dt:BIC> <!--type: BankIdentificationNumber--> <!--4.8-->
         <dt:bankName>string</dt:bankName> <!--type: String255--> <!--4.9-->
         <dt:paymentRecipient>
            <dt:inn>5674235970</dt:inn> <!--type: String255--> <!--4.12-->
         </dt:paymentRecipient>
      </vd:paymentRecipient>
   </exc:invoice>
   <!-- Возвращается, если ATTACH_INVOICE_FILE == true, и если бизнес-процесс подразумевает наличие счета-->   
   <exc:attachedDocument>
      <vd:type>46</vd:type> <!--type: DocumentType--> <!-- 5.2.--> <!-- enum: [46] -->
      <exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.3.1.-->
         <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:checkLabResearchApplicationResponse>