Exportcenter:AttachAccountingDocuments:v2.2: различия между версиями
(Новая страница: «== Общие сведения == Операция '''AttachApplicationDocument''' предназначена для подачи сведений о докуме...») |
|||
(не показано 66 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
== Общие сведения == | == Общие сведения == | ||
Операция ''' | Операция '''AttachAccountingDocuments''' предназначена для подачи сведений о документах в контексте заявок ВБР и ЛИ. | ||
== | == Ограничения для выполнения запроса == | ||
При выполнении операции '''AttachAccountingDocuments''' контролируется текущий статус указанной в запросе заявки, в таблице ниже приведены статусы, предполагающие возможность выполнения операции: | |||
{| class="wikitable" | {| class="wikitable" | ||
! Статус заявки | |||
! Какие необязательные теги допустимо передавать для этого статуса | |||
! Описание | |||
|- | |- | ||
|WAITING_DATA_FOR_CONTRACT | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:contractApplication>'''}} | |||
| | |||
|- | |- | ||
| < | |WAITING_SIGN_CONTRACT | ||
|| | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:attachedDocument>'''}} | ||
|style="width:52em;"| Должны быть переданы файлы с типом 47 и 50 | |||
|- | |||
|WAITING_PREPAYMENT | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|IN_PROGRESS | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|WAITING_REWORK | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|NEW_REVISION_RECEIVED | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|RESEARCH_FINISHED | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|WAITING_PAYMENT | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |||
|WAITING_CLOSING_ACT | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''<br>'''<exc:acceptanceStatementInfo>'''<br>'''<exc:attachedDocument>'''}} | |||
|style="width:52em;"| Может быть передан файл с типом 48 | |||
|- | |||
|ACT_RECEIVED | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
| | |||
|- | |- | ||
|} | |} | ||
== Спецификация запроса == | == Спецификация запроса == | ||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:attachAccountingDocumentsRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:metadata>'''}} | |||
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]] | |||
|[1..1] | |||
| style="width:52em;"| 1. Служебная информация | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:processID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:processID>'''}} | |||
|[[Identifier_v2.0|bs:Identifier]] | |||
|[1..1] | |||
| style="width:52em;"| 1.1. Идентификатор процесса в ИС Одно окно РЭЦ | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:seqNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:seqNumber>'''}} | |||
|[[SequenceNumber_v2.0|bs:SequenceNumber]] | |||
|[1..1] | |||
| style="width:52em;"| 1.2. Порядковый номер запроса | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentID>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">1.5. Идентификатор заявления в ВетИС</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Указывается идентификатор заявки на услугу (ВБР, ЛИ), в контексте которой передаются сведения</div> | |||
</div> | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}businessEntity>'''}} | |||
|[[BusinessEntity_v2.0|dt:BusinessEntity]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4. Сведения о хозяйствующем субъекте-заявителе | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4.1. Глобальный идентификатор записи | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}inn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}inn>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4.2. ИНН хозяйствующего субъекта | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}businessEntity>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|011 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:invoicePaymentInfo>'''}} | |||
|[[ExcInvoicePayment_v2.1|exc:ExcInvoicePayment]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">2. Сведения об оплате счета</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно в случае передачи сведений об оплате | |||
* При заполнении сведений в п. 2 сведения в п. 3, 4, 5 не заполняются</div> | |||
</div> | |||
|- | |||
|012 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:paymentOrderNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:paymentOrderNumber>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 2.1. Номер платежного поручения | |||
|- | |||
|013 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:paymentDate>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:paymentDate>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#dateTime xs:date] | |||
|[1..1] | |||
| style="width:52em;"| 2.2. Дата приема поручения к исполнению | |||
|- | |||
|014 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:paymentPurpose>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:paymentPurpose>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">2.3. Назначение платежа</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Max длина 210 символов</div> | |||
</div> | |||
|- | |||
|015 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:invoicePaymentInfo>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|016 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:acceptanceStatementInfo>'''}} | |||
|[[ExcAcceptanceCertificate_v2.1|exc:ExcAcceptanceCertificate]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">3. Сведения об отказе в подписании акта выполненных работ</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно в случае передачи сведений об отказе в подписании | |||
* При заполнении сведений в п. 3 сведения в п. 2, 4, 5 не заполняются</div> | |||
</div> | |||
|- | |||
|017 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:refusalReason>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:refusalReason>'''}} | |||
|[[ExcRefusalSigningReason_v2.1|exc:ExcRefusalSigningReason]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">3.1. Причина отказа</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* EXPIRED_SIGNING_DATE - Вышел срок подписания акта | |||
* SERVICE_CLAIMS - Имеются претензии к предоставленным услугам</div> | |||
</div> | |||
|- | |||
|018 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:acceptanceStatementInfo>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|019 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:contractApplication>'''}} | |||
|[[ExcContractApplication_V2.1|exc:ExcContractApplication]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4. Сведения для заключения договора</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Договор на оказание услуг по выдаче заключения заключается: | |||
** для ВБР: между учреждением, указанным в laboratory, и заявителем, указанным в metadata/businessEntity исходной заявки, переданной в операции 9.1 | |||
* При заполнении сведений в п. 4 сведения в п. 2, 3, 5 не заполняются</div> | |||
</div> | |||
|- | |||
|020 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:businessEntity>'''}} | |||
|[[BusinessEntity_v2.0|dt:BusinessEntity]] | |||
|[0..1] | |||
| style="width:52em;"| Сведения о заказчике | |||
|- | |||
|021 | |||
|style="font-weight: ; font-family: Courier;" |········{{color|#190dbf|'''<{{color|#660e7a|dt:}}kpp>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}kpp>'''}} | |||
|[[String255|bs:String255]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.4.2. КПП</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательный для юр.лиц, необязательный для ИП</div> | |||
</div> | |||
|- | |||
|022 | |||
|style="font-weight: ; font-family: Courier;" |········{{color|#190dbf|'''<{{color|#660e7a|dt:}}ogrn>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}ogrn>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.4.1. ОГРН / ОГРНИП</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 13 или 15 (ИП) символов</div> | |||
</div> | |||
|- | |||
|023 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:businessEntity>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|024 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:bankAccountDetails>'''}} | |||
|[[BankAccountDetails_v2.3|dt:BankAccountDetails]] | |||
|[1..1] | |||
| style="width:52em;"| 4.5. Сведения для расчетов | |||
|- | |||
|025 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}paymentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}paymentAccountNumber>'''}} | |||
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.5.1. Расчетный счет</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 20 символов</div> | |||
</div> | |||
|- | |||
|026 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}correspondentAccountNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}correspondentAccountNumber>'''}} | |||
|[[BankAccountNumber_v2.3|dt:BankAccountNumber]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.5.2. Корреспондентский счет</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 20 символов</div> | |||
</div> | |||
|- | |||
|027 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}BIC>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}BIC>'''}} | |||
|[[BankIdentificationNumber_v2.3|dt:BankIdentificationNumber]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.5.3. БИК</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 9 символов</div> | |||
</div> | |||
|- | |||
|028 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}bankName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}bankName>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.5.4. Наименование банка | |||
|- | |||
|029 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:bankAccountDetails>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|030 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:postAddress>'''}} | |||
|[[Address_v2.0|dt:Address]] | |||
|[1..1] | |||
| style="width:52em;"| Почтовый адрес | |||
|- | |||
|031 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}addressView>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}addressView>'''}} | |||
|[[NText|bs:NText]] | |||
|[1..1] | |||
| style="width:52em;"| 4.3. Строковое представление адреса | |||
|- | |||
|032 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:postAddress>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|033 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:definedContact>'''}} | |||
|[[ExcDefinedContact_2.2|exc:ExcDefinedContact]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.6. Контактные данные</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Данные, которые будут указаны в договоре</div> | |||
</div> | |||
|- | |||
|034 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:email>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:email>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.6.1. E-mail контактного лица | |||
|- | |||
|035 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:phone>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:phone>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.6.2. Номер телефона контактного лица | |||
|- | |||
|036 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:definedContact>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|037 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:authorizedPerson>'''}} | |||
|[[User_v2.0|vd:User]] | |||
|[1..1] | |||
| style="width:52em;"| 4.1. Уполномоченное лицо заказчика | |||
|- | |||
|038 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}fio>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}fio>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.1.1. ФИО | |||
|- | |||
|039 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}post>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}post>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.1.2. Должность | |||
|- | |||
|040 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:authorizedPerson>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|041 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:attachedDocument>'''}} | |||
|[[ExcAttachedDocument_v2.0|exc:ExcAttachedDocument]] | |||
|[1..1] | |||
| style="width:52em;"| 4.2. Основание права подписи уполномоченного лица | |||
|- | |||
|042 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:includedFile>'''}} | |||
|[[ExcDocumentFile_v2.2|exc:ExcDocumentFile]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.2.1. Скан-копия документа-основания (прикрепленный документ)</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Файл может быть передан двумя способами: | |||
** Загружен в хранилище операцией uploadAttachmentRequest - в этом случае в запросе должны быть переданы: | |||
*** fileName | |||
*** mimeCode | |||
*** fileSize (опционально) | |||
*** fileDigest | |||
*** referenceId | |||
** Файл передается в запросе в формате base64 - в этом случае в запросе должны быть переданы: | |||
*** fileName | |||
*** mimeCode | |||
*** binaryData | |||
* Допустимые форматы: .pdf | |||
* Максимально допустимый размер одного файла — 2МБ</div> | |||
</div> | |||
|- | |||
|043 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<exc:fileName>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileName>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| 4.2.1.1 Имя файла | |||
|- | |||
|044 | |||
|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;"| 4.2.1.2 MIME-код файла | |||
|- | |||
|045 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<exc:fileSize>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileSize>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger xs:nonNegativeInteger] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.2.1.3 Размер файла в байтах</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Может быть передан опционально для дополнительной идентификации файла, если он был загружен в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|046 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<exc:fileDigest algorithmId={{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileDigest>'''}} | |||
|[[ExcFileDigest_v2.2|exc:ExcFileDigest]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.2.1.4 Хеш-значение для файла в соответствии с указанным алгоритмом</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если передан referenceId (файл загружен в хранилище операцией uploadAttachmentRequest)</div> | |||
</div> | |||
|- | |||
|047 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<exc:referenceId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:referenceId>'''}} | |||
|[[ExcDocumentFileReference_v2.2|exc:ExcDocumentFileReference]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.2.1.5 Ссылка или идентификатор файла в хранилище</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если файл загружен в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|048 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<exc:binaryData xmime:contentType={{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:binaryData>'''}} | |||
|[[ExcDocumentBinaryData_v2.0|exc:ExcDocumentBinaryData]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">4.2.1.6 Содержимое файла в формате base64</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если файл не загружался в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|049 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</exc:includedFile>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|050 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:attachedDocument>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|051 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:contractApplication>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|052 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:attachedDocument>'''}} | |||
|[[ExcAttachedDocument_v2.0|exc:ExcAttachedDocument]] | |||
|[0..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5. Сведения о прикрепленных документах</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* При заполнении сведений в п. 5 сведения в п. 2, 3, 4 не заполняются</div> | |||
</div> | |||
|- | |||
|053 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|?}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}} | |||
|[[DocumentType_v2.2|dt:DocumentType]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.1. Тип документа</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* 47 - Договор (документ из пакета документов к договору) | |||
* 48 - Акт выполненных работ | |||
* 50 - Договор с визуализацией подписей УКЭП | |||
Типы 47 и 50 могут передаваться в запросе только совместно, отдельная передача запрещена</div> | |||
</div> | |||
|- | |||
|054 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:includedFile>'''}} | |||
|[[ExcDocumentFile_v2.2|exc:ExcDocumentFile]] | |||
|[1..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2. Вложение (прикрепленный документ)</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Файл может быть передан двумя способами: | |||
** Загружен в хранилище операцией uploadAttachmentRequest - в этом случае в запросе должны быть переданы: | |||
*** fileName | |||
*** mimeCode | |||
*** fileSize (опционально) | |||
*** fileDigest (обязательно, если отсутствует signature) | |||
*** referenceId | |||
*** signature (обязательно для подписываемых документов) | |||
** Файл передается в запросе в формате base64 - в этом случае в запросе должны быть переданы: | |||
*** fileName | |||
*** mimeCode | |||
*** binaryData | |||
*** signature (обязательно для подписываемых документов) | |||
* Допустимые форматы: .pdf | |||
* Максимально допустимый размер одного файла — 5МБ</div> | |||
</div> | |||
|- | |||
|055 | |||
|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.2.1 Имя файла | |||
|- | |||
|056 | |||
|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.2.2 MIME-код файла | |||
|- | |||
|057 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:fileSize>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileSize>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger xs:nonNegativeInteger] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2.3 Размер файла в байтах</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Может быть передан опционально для дополнительной идентификации файла, если он был загружен в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|058 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:fileDigest algorithmId={{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:fileDigest>'''}} | |||
|[[ExcFileDigest_v2.2|exc:ExcFileDigest]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2.4 Хеш-значение для файла в соответствии с указанным алгоритмом</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если передан referenceId и отсутствует signature (файл загружен в хранилище операцией uploadAttachmentRequest)</div> | |||
</div> | |||
|- | |||
|059 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:referenceId>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:referenceId>'''}} | |||
|[[ExcDocumentFileReference_v2.2|exc:ExcDocumentFileReference]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2.5 Ссылка или идентификатор файла в хранилище</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если файл загружен в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|060 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:binaryData xmime:contentType={{color|#007f15|"?"}}>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:binaryData>'''}} | |||
|[[ExcDocumentBinaryData_v2.0|exc:ExcDocumentBinaryData]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2.6 Содержимое файла в формате base64</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно, если файл не загружался в хранилище операцией uploadAttachmentRequest</div> | |||
</div> | |||
|- | |||
|061 | |||
|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=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">5.2.7 Открепленная подпись файла</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Обязательно для подписываемых документов при любом способе передачи</div> | |||
</div> | |||
|- | |||
|062 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:includedFile>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|063 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:attachedDocument>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|064 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:additionalProperties>'''}} | |||
|[[ExcAdditionalAttributeList_v2.2|exc:ExcAdditionalAttributeList]] | |||
|[1..1] | |||
| style="width:52em;"| Дополнительные опции запроса | |||
|- | |||
|065 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:additionalAttribute>'''}} | |||
|[[ExcAdditionalAttribute_v2.2|exc:ExcAdditionalAttribute]] | |||
|[1..1] | |||
| style="width:52em;"| 1.6. Дополнительный атрибут | |||
|- | |||
|066 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:attrID>'''}}{{color|#131313|OPERATION_CONTEXT}}{{color|#190dbf|'''</exc:attrID>'''}} | |||
|[[Identifier|bs:Identifier]] | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор атрибута - Контекст операции (тип процесса) | |||
|- | |||
|067 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<exc:attrValue>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:attrValue>'''}} | |||
|[[Text|bs:Text]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">1.6. Значение атрибута</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* WBR - ВБР | |||
* LAB_RESEARCH - ЛИ</div> | |||
</div> | |||
|- | |||
|068 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</exc:additionalAttribute>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|069 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:additionalProperties>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|070 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:attachAccountingDocumentsRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Спецификация ответа == | |||
{| class="wikitable" | |||
! # | |||
! Название XML-элемента | |||
! Тип | |||
! Обязат. | |||
! Описание (нажмите [...] для отображения дополнительного описания) | |||
|- | |||
|001 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<exc:attachAccountingDocumentsResponse>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|002 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<exc:metadata>'''}} | |||
|[[ServiceMetadata_v2.0|exc:ServiceMetadata]] | |||
|[1..1] | |||
| style="width:52em;"| 1. Служебная информация | |||
|- | |||
|003 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:processID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:processID>'''}} | |||
|[[Identifier_v2.0|bs:Identifier]] | |||
|[1..1] | |||
| style="width:52em;"| 1.3. Идентификатор процесса в ИС Одно окно РЭЦ | |||
|- | |||
|004 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:seqNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:seqNumber>'''}} | |||
|[[SequenceNumber_v2.0|bs:SequenceNumber]] | |||
|[1..1] | |||
| style="width:52em;"| 1.4. Порядковый номер запроса | |||
|- | |||
|005 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentID>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentID>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| 1.1. Идентификатор документа/заявления, зарегистрированного в ВетИС | |||
|- | |||
|006 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<exc:documentNumber>'''}}{{color|#131313|?}}{{color|#190dbf|'''</exc:documentNumber>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#token xs:token] | |||
|[0..1] | |||
| style="width:52em;"| 1.2. Человекочитаемый номер документа/заявления, зарегистрированного в ВетИС | |||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</exc:metadata>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</exc:attachAccountingDocumentsResponse>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|} | |||
== Примеры запросов == | |||
=== 14.5.RQ1. Передача сведений об оплате счета === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Request.InvoicePaymentInfo''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<!-- Операция 14.5 | |||
Передача сведений об оплате счета --> | |||
<exc:attachAccountingDocumentsRequest | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<dt:businessEntity> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> | |||
<dt:inn>0123456789</dt:inn> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<!-- 2. Сведения об оплате счета --> | |||
<exc:invoicePaymentInfo> <!-- 2. --> | |||
<exc:paymentOrderNumber>0123456789</exc:paymentOrderNumber> <!-- 2.1. [1..1] --> <!-- String255 --> | |||
<exc:paymentDate>2022-12-22</exc:paymentDate> <!-- 2.2. [1..1] --> <!-- date --> | |||
<exc:paymentPurpose>string</exc:paymentPurpose> <!-- 2.3. [1..1] --> <!-- PaymentPurpose --> | |||
</exc:invoicePaymentInfo> | |||
<!-- 1.6. Контекст операции --> | |||
<exc:additionalProperties> | |||
<exc:additionalAttribute> | |||
<exc:attrID>OPERATION_CONTEXT</exc:attrID> | |||
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] --> | |||
</exc:additionalAttribute> | |||
</exc:additionalProperties> | |||
</exc:attachAccountingDocumentsRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Response.InvoicePaymentInfo''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:attachAccountingDocumentsResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<exc:documentNumber>0123456789</exc:documentNumber> | |||
</exc:metadata> | |||
</exc:attachAccountingDocumentsResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
=== 14.5.RQ2. Передача сведений об отказе в подписании акта выполненных работ === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Request.AcceptanceStatementInfo''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<!-- Операция 14.5 | |||
Передача сведений об отказе в подписании акта выполненных работ --> | |||
<exc:attachAccountingDocumentsRequest | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<dt:businessEntity> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> | |||
<dt:inn>0123456789</dt:inn> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<!-- 3. Сведения об отказе подписания акта выполненных работ --> | |||
<exc:acceptanceStatementInfo> | |||
<exc:refusalReason>EXPIRED_SIGNING_DATE</exc:refusalReason> <!-- 3.1. [1..1] --> <!-- enum: [EXPIRED_SIGNING_DATE, SERVICE_CLAIMS] --> | |||
</exc:acceptanceStatementInfo> | |||
<!-- 1.6. Контекст операции --> | |||
<exc:additionalProperties> | |||
<exc:additionalAttribute> | |||
<exc:attrID>OPERATION_CONTEXT</exc:attrID> | |||
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] --> | |||
</exc:additionalAttribute> | |||
</exc:additionalProperties> | |||
</exc:attachAccountingDocumentsRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Response.AcceptanceStatementInfo''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:attachAccountingDocumentsResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<exc:documentNumber>0123456789</exc:documentNumber> | |||
</exc:metadata> | |||
</exc:attachAccountingDocumentsResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
=== 14.5.RQ3. Передача сведений для заключения договора === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Request.ContractApplication''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<!-- Операция 14.5 | |||
Передача сведений для заключения договора --> | |||
<exc:attachAccountingDocumentsRequest | |||
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> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<dt:businessEntity> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> | |||
<dt:inn>0123456789</dt:inn> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<!-- 4. Сведения для заключения договора --> | |||
<exc:contractApplication> | |||
<exc:businessEntity> <!-- [0..1] --> | |||
<dt:kpp>012345678</dt:kpp> <!-- 4.4.1. [0..1] --> <!-- String255 --> | |||
<dt:ogrn>0123456789012</dt:ogrn> <!-- 4.4.2. [1..1] --> <!-- String255 --> | |||
</exc:businessEntity> | |||
<exc:bankAccountDetails> <!-- 4.5. [1..1] --> | |||
<dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!-- 4.5.1. [1..1] --> <!-- BankAccountNumber --> | |||
<dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!-- 4.5.2. [1..1] --> <!-- BankAccountNumber --> | |||
<dt:BIC>012345678</dt:BIC> <!-- 4.5.3. [1..1] --> <!-- BankIdentificationNumber --> | |||
<dt:bankName>string</dt:bankName> <!-- 4.5.4. [1..1] --> <!-- String255 --> | |||
</exc:bankAccountDetails> | |||
<exc:postAddress> <!-- [1..1] --> | |||
<dt:addressView>string</dt:addressView> <!-- 4.3. [1..1] --> <!-- NText --> | |||
</exc:postAddress> | |||
<exc:definedContact> <!-- 4.6. [1..1] --> | |||
<exc:email>a@a.ru</exc:email> <!-- 4.6.2. [1..1] --> <!-- String255 --> | |||
<exc:phone>0123456789</exc:phone> <!-- 4.6.1. [1..1] --> <!-- String255 --> | |||
</exc:definedContact> | |||
<exc:authorizedPerson> <!-- 4.1. [1..1] --> | |||
<vd:fio>string</vd:fio> <!-- 4.1.1. [1..1] --> <!-- String255 --> | |||
<vd:post>string</vd:post> <!-- 4.1.2. [1..1] --> <!-- String255 --> | |||
</exc:authorizedPerson> | |||
<exc:attachedDocument> <!-- 4.2. [1..1] --> | |||
<exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.2. [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:contractApplication> | |||
<!-- 1.6. Контекст операции --> | |||
<exc:additionalProperties> | |||
<exc:additionalAttribute> | |||
<exc:attrID>OPERATION_CONTEXT</exc:attrID> | |||
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] --> | |||
</exc:additionalAttribute> | |||
</exc:additionalProperties> | |||
</exc:attachAccountingDocumentsRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Response.ContractApplication''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:attachAccountingDocumentsResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<exc:documentNumber>0123456789</exc:documentNumber> | |||
</exc:metadata> | |||
</exc:attachAccountingDocumentsResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
=== 14.5.RQ4. Передача вложений (файлов) в формате base64 === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Request.AttachedDocument.1''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<!-- Операция 14.5 | |||
Передача вложений (файлов) --> | |||
<exc:attachAccountingDocumentsRequest | |||
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> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<dt:businessEntity> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> | |||
<dt:inn>0123456789</dt:inn> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<!-- 5. Вложения --> | |||
<exc:attachedDocument> <!-- 5. [1..*] --> | |||
<vd:type>47</vd:type> <!-- 5.1. [1..1] --> <!-- enum: [47, 48] --> | |||
<exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.2. [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> | |||
<!-- 1.6. Контекст операции --> | |||
<exc:additionalProperties> | |||
<exc:additionalAttribute> | |||
<exc:attrID>OPERATION_CONTEXT</exc:attrID> | |||
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] --> | |||
</exc:additionalAttribute> | |||
</exc:additionalProperties> | |||
</exc:attachAccountingDocumentsRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Response.AttachedDocument.1''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:attachAccountingDocumentsResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<exc:documentNumber>0123456789</exc:documentNumber> | |||
</exc:metadata> | |||
</exc:attachAccountingDocumentsResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
=== 14.5.RQ5. Передача вложений (файлов) загруженных в хранилище операцией uploadAttachmentRequest === | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Request.AttachedDocument.2''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<!-- Операция 14.5 | |||
Передача вложений (файлов) --> | |||
<exc:attachAccountingDocumentsRequest | |||
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> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<dt:businessEntity> | |||
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid> | |||
<dt:inn>0123456789</dt:inn> | |||
</dt:businessEntity> | |||
</exc:metadata> | |||
<!-- 5. Вложения --> | |||
<exc:attachedDocument> <!-- 5. [1..*] --> | |||
<vd:type>47</vd:type> <!-- 5.1. [1..1] --> <!-- enum: [47, 48] --> | |||
<exc:includedFile> <!-- 3.2.1. [1..*] --> | |||
<exc:fileName>string</exc:fileName> | |||
<exc:mimeCode>application/pdf</exc:mimeCode> | |||
<exc:fileSize>100</exc:fileSize> <!-- Опционально --> | |||
<exc:fileDigest algorithmId="SHA-256">DSJHGSDFTYWUYGSHGF567221GFD76R21GVC76SG2487SDHG</exc:fileDigest> <!-- Обязательно, если отсутствует signature --> | |||
<exc:referenceId>ru:vetrf:api:storage:exportcenter.service:e3948581-443f-445c-b71e-6d35d58fda91</exc:referenceId> | |||
<exc:signature>0123456789ABCDEF</exc:signature> | |||
</exc:includedFile> | |||
</exc:attachedDocument> | |||
<!-- 1.6. Контекст операции --> | |||
<exc:additionalProperties> | |||
<exc:additionalAttribute> | |||
<exc:attrID>OPERATION_CONTEXT</exc:attrID> | |||
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] --> | |||
</exc:additionalAttribute> | |||
</exc:additionalProperties> | |||
</exc:attachAccountingDocumentsRequest> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> | |||
<div id="example6"> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
'''14.5.Response.AttachedDocument.2''' | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<exc:attachAccountingDocumentsResponse | |||
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2" | |||
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" | |||
xmlns:bs="http://api.vetrf.ru/schema/cdm/base" | |||
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" | |||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |||
<exc:metadata> | |||
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID> | |||
<exc:seqNumber>1</exc:seqNumber> | |||
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID> | |||
<exc:documentNumber>0123456789</exc:documentNumber> | |||
</exc:metadata> | |||
</exc:attachAccountingDocumentsResponse> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br /> |
Текущая версия на 11:51, 21 сентября 2023
Общие сведения
Операция AttachAccountingDocuments предназначена для подачи сведений о документах в контексте заявок ВБР и ЛИ.
Ограничения для выполнения запроса
При выполнении операции AttachAccountingDocuments контролируется текущий статус указанной в запросе заявки, в таблице ниже приведены статусы, предполагающие возможность выполнения операции:
Статус заявки | Какие необязательные теги допустимо передавать для этого статуса | Описание |
---|---|---|
WAITING_DATA_FOR_CONTRACT | <exc:contractApplication> | |
WAITING_SIGN_CONTRACT | <exc:attachedDocument> | Должны быть переданы файлы с типом 47 и 50 |
WAITING_PREPAYMENT | <exc:invoicePaymentInfo> | |
IN_PROGRESS | <exc:invoicePaymentInfo> | |
WAITING_REWORK | <exc:invoicePaymentInfo> | |
NEW_REVISION_RECEIVED | <exc:invoicePaymentInfo> | |
RESEARCH_FINISHED | <exc:invoicePaymentInfo> | |
WAITING_PAYMENT | <exc:invoicePaymentInfo> | |
WAITING_CLOSING_ACT | <exc:invoicePaymentInfo> <exc:acceptanceStatementInfo> <exc:attachedDocument> |
Может быть передан файл с типом 48 |
ACT_RECEIVED | <exc:invoicePaymentInfo> |
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <exc:attachAccountingDocumentsRequest> | |||
002 | ···<exc:metadata> | exc:ServiceMetadata | [1..1] | 1. Служебная информация |
003 | ······<exc:processID>?</exc:processID> | bs:Identifier | [1..1] | 1.1. Идентификатор процесса в ИС Одно окно РЭЦ |
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:invoicePaymentInfo> | exc:ExcInvoicePayment | [0..1] | 2. Сведения об оплате счета
|
012 | ······<exc:paymentOrderNumber>?</exc:paymentOrderNumber> | bs:String255 | [1..1] | 2.1. Номер платежного поручения |
013 | ······<exc:paymentDate>?</exc:paymentDate> | xs:date | [1..1] | 2.2. Дата приема поручения к исполнению |
014 | ······<exc:paymentPurpose>?</exc:paymentPurpose> | bs:String255 | [1..1] | 2.3. Назначение платежа
|
015 | ···</exc:invoicePaymentInfo> | |||
016 | ···<exc:acceptanceStatementInfo> | exc:ExcAcceptanceCertificate | [0..1] | 3. Сведения об отказе в подписании акта выполненных работ
|
017 | ······<exc:refusalReason>?</exc:refusalReason> | exc:ExcRefusalSigningReason | [1..1] | 3.1. Причина отказа
|
018 | ···</exc:acceptanceStatementInfo> | |||
019 | ···<exc:contractApplication> | exc:ExcContractApplication | [0..1] | 4. Сведения для заключения договора
|
020 | ······<exc:businessEntity> | dt:BusinessEntity | [0..1] | Сведения о заказчике |
021 | ········<dt:kpp>?</dt:kpp> | bs:String255 | [0..1] | 4.4.2. КПП
|
022 | ········<dt:ogrn>?</dt:ogrn> | bs:String255 | [1..1] | 4.4.1. ОГРН / ОГРНИП
|
023 | ······</exc:businessEntity> | |||
024 | ······<exc:bankAccountDetails> | dt:BankAccountDetails | [1..1] | 4.5. Сведения для расчетов |
025 | ·········<dt:paymentAccountNumber>?</dt:paymentAccountNumber> | dt:BankAccountNumber | [1..1] | 4.5.1. Расчетный счет
|
026 | ·········<dt:correspondentAccountNumber>?</dt:correspondentAccountNumber> | dt:BankAccountNumber | [1..1] | 4.5.2. Корреспондентский счет
|
027 | ·········<dt:BIC>?</dt:BIC> | dt:BankIdentificationNumber | [1..1] | 4.5.3. БИК
|
028 | ·········<dt:bankName>?</dt:bankName> | bs:String255 | [1..1] | 4.5.4. Наименование банка |
029 | ······</exc:bankAccountDetails> | |||
030 | ······<exc:postAddress> | dt:Address | [1..1] | Почтовый адрес |
031 | ·········<dt:addressView>?</dt:addressView> | bs:NText | [1..1] | 4.3. Строковое представление адреса |
032 | ······</exc:postAddress> | |||
033 | ······<exc:definedContact> | exc:ExcDefinedContact | [1..1] | 4.6. Контактные данные
|
034 | ·········<exc:email>?</exc:email> | bs:String255 | [1..1] | 4.6.1. E-mail контактного лица |
035 | ·········<exc:phone>?</exc:phone> | bs:String255 | [1..1] | 4.6.2. Номер телефона контактного лица |
036 | ······</exc:definedContact> | |||
037 | ······<exc:authorizedPerson> | vd:User | [1..1] | 4.1. Уполномоченное лицо заказчика |
038 | ·········<vd:fio>?</vd:fio> | bs:String255 | [1..1] | 4.1.1. ФИО |
039 | ·········<vd:post>?</vd:post> | bs:String255 | [1..1] | 4.1.2. Должность |
040 | ······</exc:authorizedPerson> | |||
041 | ······<exc:attachedDocument> | exc:ExcAttachedDocument | [1..1] | 4.2. Основание права подписи уполномоченного лица |
042 | ·········<exc:includedFile> | exc:ExcDocumentFile | [1..1] | 4.2.1. Скан-копия документа-основания (прикрепленный документ)
|
043 | ············<exc:fileName>?</exc:fileName> | bs:String255 | [1..1] | 4.2.1.1 Имя файла |
044 | ············<exc:mimeCode>?</exc:mimeCode> | xs:token | [1..1] | 4.2.1.2 MIME-код файла |
045 | ············<exc:fileSize>?</exc:fileSize> | xs:nonNegativeInteger | [0..1] | 4.2.1.3 Размер файла в байтах
|
046 | ············<exc:fileDigest algorithmId="?">?</exc:fileDigest> | exc:ExcFileDigest | [0..1] | 4.2.1.4 Хеш-значение для файла в соответствии с указанным алгоритмом
|
047 | ············<exc:referenceId>?</exc:referenceId> | exc:ExcDocumentFileReference | [0..1] | 4.2.1.5 Ссылка или идентификатор файла в хранилище
|
048 | ············<exc:binaryData xmime:contentType="?">?</exc:binaryData> | exc:ExcDocumentBinaryData | [0..1] | 4.2.1.6 Содержимое файла в формате base64
|
049 | ·········</exc:includedFile> | |||
050 | ······</exc:attachedDocument> | |||
051 | ···</exc:contractApplication> | |||
052 | ···<exc:attachedDocument> | exc:ExcAttachedDocument | [0..*] | 5. Сведения о прикрепленных документах
|
053 | ······<vd:type>?</vd:type> | dt:DocumentType | [1..1] | 5.1. Тип документа
|
054 | ······<exc:includedFile> | exc:ExcDocumentFile | [1..*] | 5.2. Вложение (прикрепленный документ)
|
055 | ·········<exc:fileName>?</exc:fileName> | bs:String255 | [1..1] | 5.2.1 Имя файла |
056 | ·········<exc:mimeCode>?</exc:mimeCode> | xs:token | [1..1] | 5.2.2 MIME-код файла |
057 | ·········<exc:fileSize>?</exc:fileSize> | xs:nonNegativeInteger | [0..1] | 5.2.3 Размер файла в байтах
|
058 | ·········<exc:fileDigest algorithmId="?">?</exc:fileDigest> | exc:ExcFileDigest | [0..1] | 5.2.4 Хеш-значение для файла в соответствии с указанным алгоритмом
|
059 | ·········<exc:referenceId>?</exc:referenceId> | exc:ExcDocumentFileReference | [0..1] | 5.2.5 Ссылка или идентификатор файла в хранилище
|
060 | ·········<exc:binaryData xmime:contentType="?">?</exc:binaryData> | exc:ExcDocumentBinaryData | [0..1] | 5.2.6 Содержимое файла в формате base64
|
061 | ·········<exc:signature>?</exc:signature> | exc:ExcDocumentBinaryData | [0..*] | 5.2.7 Открепленная подпись файла
|
062 | ······</exc:includedFile> | |||
063 | ···</exc:attachedDocument> | |||
064 | ···<exc:additionalProperties> | exc:ExcAdditionalAttributeList | [1..1] | Дополнительные опции запроса |
065 | ······<exc:additionalAttribute> | exc:ExcAdditionalAttribute | [1..1] | 1.6. Дополнительный атрибут |
066 | ·········<exc:attrID>OPERATION_CONTEXT</exc:attrID> | bs:Identifier | [1..1] | Идентификатор атрибута - Контекст операции (тип процесса) |
067 | ·········<exc:attrValue>?</exc:attrValue> | bs:Text | [1..1] | 1.6. Значение атрибута
|
068 | ······</exc:additionalAttribute> | |||
069 | ···</exc:additionalProperties> | |||
070 | </exc:attachAccountingDocumentsRequest> |
Спецификация ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <exc:attachAccountingDocumentsResponse> | |||
002 | ···<exc:metadata> | exc:ServiceMetadata | [1..1] | 1. Служебная информация |
003 | ······<exc:processID>?</exc:processID> | bs:Identifier | [1..1] | 1.3. Идентификатор процесса в ИС Одно окно РЭЦ |
004 | ······<exc:seqNumber>?</exc:seqNumber> | bs:SequenceNumber | [1..1] | 1.4. Порядковый номер запроса |
005 | ······<exc:documentID>?</exc:documentID> | bs:UUID | [1..1] | 1.1. Идентификатор документа/заявления, зарегистрированного в ВетИС |
006 | ······<exc:documentNumber>?</exc:documentNumber> | xs:token | [0..1] | 1.2. Человекочитаемый номер документа/заявления, зарегистрированного в ВетИС |
007 | ···</exc:metadata> | |||
008 | </exc:attachAccountingDocumentsResponse> |
Примеры запросов
14.5.RQ1. Передача сведений об оплате счета
14.5.Request.InvoicePaymentInfo
<!-- Операция 14.5
Передача сведений об оплате счета -->
<exc:attachAccountingDocumentsRequest
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<dt:businessEntity>
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
<dt:inn>0123456789</dt:inn>
</dt:businessEntity>
</exc:metadata>
<!-- 2. Сведения об оплате счета -->
<exc:invoicePaymentInfo> <!-- 2. -->
<exc:paymentOrderNumber>0123456789</exc:paymentOrderNumber> <!-- 2.1. [1..1] --> <!-- String255 -->
<exc:paymentDate>2022-12-22</exc:paymentDate> <!-- 2.2. [1..1] --> <!-- date -->
<exc:paymentPurpose>string</exc:paymentPurpose> <!-- 2.3. [1..1] --> <!-- PaymentPurpose -->
</exc:invoicePaymentInfo>
<!-- 1.6. Контекст операции -->
<exc:additionalProperties>
<exc:additionalAttribute>
<exc:attrID>OPERATION_CONTEXT</exc:attrID>
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] -->
</exc:additionalAttribute>
</exc:additionalProperties>
</exc:attachAccountingDocumentsRequest>
14.5.Response.InvoicePaymentInfo
<exc:attachAccountingDocumentsResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<exc:documentNumber>0123456789</exc:documentNumber>
</exc:metadata>
</exc:attachAccountingDocumentsResponse>
14.5.RQ2. Передача сведений об отказе в подписании акта выполненных работ
14.5.Request.AcceptanceStatementInfo
<!-- Операция 14.5
Передача сведений об отказе в подписании акта выполненных работ -->
<exc:attachAccountingDocumentsRequest
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<dt:businessEntity>
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
<dt:inn>0123456789</dt:inn>
</dt:businessEntity>
</exc:metadata>
<!-- 3. Сведения об отказе подписания акта выполненных работ -->
<exc:acceptanceStatementInfo>
<exc:refusalReason>EXPIRED_SIGNING_DATE</exc:refusalReason> <!-- 3.1. [1..1] --> <!-- enum: [EXPIRED_SIGNING_DATE, SERVICE_CLAIMS] -->
</exc:acceptanceStatementInfo>
<!-- 1.6. Контекст операции -->
<exc:additionalProperties>
<exc:additionalAttribute>
<exc:attrID>OPERATION_CONTEXT</exc:attrID>
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] -->
</exc:additionalAttribute>
</exc:additionalProperties>
</exc:attachAccountingDocumentsRequest>
14.5.Response.AcceptanceStatementInfo
<exc:attachAccountingDocumentsResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<exc:documentNumber>0123456789</exc:documentNumber>
</exc:metadata>
</exc:attachAccountingDocumentsResponse>
14.5.RQ3. Передача сведений для заключения договора
14.5.Request.ContractApplication
<!-- Операция 14.5
Передача сведений для заключения договора -->
<exc:attachAccountingDocumentsRequest
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>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<dt:businessEntity>
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
<dt:inn>0123456789</dt:inn>
</dt:businessEntity>
</exc:metadata>
<!-- 4. Сведения для заключения договора -->
<exc:contractApplication>
<exc:businessEntity> <!-- [0..1] -->
<dt:kpp>012345678</dt:kpp> <!-- 4.4.1. [0..1] --> <!-- String255 -->
<dt:ogrn>0123456789012</dt:ogrn> <!-- 4.4.2. [1..1] --> <!-- String255 -->
</exc:businessEntity>
<exc:bankAccountDetails> <!-- 4.5. [1..1] -->
<dt:paymentAccountNumber>01234567890123456789</dt:paymentAccountNumber> <!-- 4.5.1. [1..1] --> <!-- BankAccountNumber -->
<dt:correspondentAccountNumber>01234567890123456789</dt:correspondentAccountNumber> <!-- 4.5.2. [1..1] --> <!-- BankAccountNumber -->
<dt:BIC>012345678</dt:BIC> <!-- 4.5.3. [1..1] --> <!-- BankIdentificationNumber -->
<dt:bankName>string</dt:bankName> <!-- 4.5.4. [1..1] --> <!-- String255 -->
</exc:bankAccountDetails>
<exc:postAddress> <!-- [1..1] -->
<dt:addressView>string</dt:addressView> <!-- 4.3. [1..1] --> <!-- NText -->
</exc:postAddress>
<exc:definedContact> <!-- 4.6. [1..1] -->
<exc:email>a@a.ru</exc:email> <!-- 4.6.2. [1..1] --> <!-- String255 -->
<exc:phone>0123456789</exc:phone> <!-- 4.6.1. [1..1] --> <!-- String255 -->
</exc:definedContact>
<exc:authorizedPerson> <!-- 4.1. [1..1] -->
<vd:fio>string</vd:fio> <!-- 4.1.1. [1..1] --> <!-- String255 -->
<vd:post>string</vd:post> <!-- 4.1.2. [1..1] --> <!-- String255 -->
</exc:authorizedPerson>
<exc:attachedDocument> <!-- 4.2. [1..1] -->
<exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.2. [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:contractApplication>
<!-- 1.6. Контекст операции -->
<exc:additionalProperties>
<exc:additionalAttribute>
<exc:attrID>OPERATION_CONTEXT</exc:attrID>
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] -->
</exc:additionalAttribute>
</exc:additionalProperties>
</exc:attachAccountingDocumentsRequest>
14.5.Response.ContractApplication
<exc:attachAccountingDocumentsResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<exc:documentNumber>0123456789</exc:documentNumber>
</exc:metadata>
</exc:attachAccountingDocumentsResponse>
14.5.RQ4. Передача вложений (файлов) в формате base64
14.5.Request.AttachedDocument.1
<!-- Операция 14.5
Передача вложений (файлов) -->
<exc:attachAccountingDocumentsRequest
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>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<dt:businessEntity>
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
<dt:inn>0123456789</dt:inn>
</dt:businessEntity>
</exc:metadata>
<!-- 5. Вложения -->
<exc:attachedDocument> <!-- 5. [1..*] -->
<vd:type>47</vd:type> <!-- 5.1. [1..1] --> <!-- enum: [47, 48] -->
<exc:includedFile> <!--type: ExcDocumentFile--> <!-- 5.2. [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>
<!-- 1.6. Контекст операции -->
<exc:additionalProperties>
<exc:additionalAttribute>
<exc:attrID>OPERATION_CONTEXT</exc:attrID>
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] -->
</exc:additionalAttribute>
</exc:additionalProperties>
</exc:attachAccountingDocumentsRequest>
14.5.Response.AttachedDocument.1
<exc:attachAccountingDocumentsResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<exc:documentNumber>0123456789</exc:documentNumber>
</exc:metadata>
</exc:attachAccountingDocumentsResponse>
14.5.RQ5. Передача вложений (файлов) загруженных в хранилище операцией uploadAttachmentRequest
14.5.Request.AttachedDocument.2
<!-- Операция 14.5
Передача вложений (файлов) -->
<exc:attachAccountingDocumentsRequest
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>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<dt:businessEntity>
<bs:guid>2874c443-9060-46a7-89b8-bf4219ac373a</bs:guid>
<dt:inn>0123456789</dt:inn>
</dt:businessEntity>
</exc:metadata>
<!-- 5. Вложения -->
<exc:attachedDocument> <!-- 5. [1..*] -->
<vd:type>47</vd:type> <!-- 5.1. [1..1] --> <!-- enum: [47, 48] -->
<exc:includedFile> <!-- 3.2.1. [1..*] -->
<exc:fileName>string</exc:fileName>
<exc:mimeCode>application/pdf</exc:mimeCode>
<exc:fileSize>100</exc:fileSize> <!-- Опционально -->
<exc:fileDigest algorithmId="SHA-256">DSJHGSDFTYWUYGSHGF567221GFD76R21GVC76SG2487SDHG</exc:fileDigest> <!-- Обязательно, если отсутствует signature -->
<exc:referenceId>ru:vetrf:api:storage:exportcenter.service:e3948581-443f-445c-b71e-6d35d58fda91</exc:referenceId>
<exc:signature>0123456789ABCDEF</exc:signature>
</exc:includedFile>
</exc:attachedDocument>
<!-- 1.6. Контекст операции -->
<exc:additionalProperties>
<exc:additionalAttribute>
<exc:attrID>OPERATION_CONTEXT</exc:attrID>
<exc:attrValue>WBR</exc:attrValue> <!-- 1.6. [1..1] --> <!-- enum: [WBR, LAB_RESEARCH] -->
</exc:additionalAttribute>
</exc:additionalProperties>
</exc:attachAccountingDocumentsRequest>
14.5.Response.AttachedDocument.2
<exc:attachAccountingDocumentsResponse
xmlns:exc="http://api.vetrf.ru/schema/cdm/exportcenter/applications/v2"
xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2"
xmlns:bs="http://api.vetrf.ru/schema/cdm/base"
xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<exc:metadata>
<exc:processID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:processID>
<exc:seqNumber>1</exc:seqNumber>
<exc:documentID>2874c443-9060-46a7-89b8-bf4219ac373a</exc:documentID>
<exc:documentNumber>0123456789</exc:documentNumber>
</exc:metadata>
</exc:attachAccountingDocumentsResponse>