Результатом асин-хронной операции является объект Collection — коллекция объектов типа CounteragentItem . GetDocumentById. Синтаксис GetContent() Возвращаемое значение Объектная модель данных InvoiceContent.


Чтобы посмотреть этот PDF файл с форматированием и разметкой, скачайте его и откройте на своем компьютере.
1CDiadocDocumentation
Âûïóñê1
Diadoc
06February2018
Îãëàâëåíèå
1Îïèñàíèåâîçìîæíîñòåé
3
2Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
5
2.1v5.20.3-06.02.2018
.........................................
5
2.2v5.20.2-29.01.2018
.........................................
5
2.3v5.20.1-17.01.2018
.........................................
5
2.4v5.20.0-25.12.2017
.........................................
5
2.5v5.19.4-12.12.2017
.........................................
6
2.6v5.19.3-11.12.2017
.........................................
6
2.7v5.19.2-27.11.2017
.........................................
6
2.8v5.19.1-20.11.2017
.........................................
6
2.9v5.19.0-20.10.2017
.........................................
6
2.10v5.18.7-05.09.2017
.........................................
6
2.11v5.18.6-18.08.2017
.........................................
7
2.12v5.18.5-14.08.2017
.........................................
7
2.13v5.18.4-03.08.2017
.........................................
7
2.14v5.18.3-02.08.2017
.........................................
7
2.15v5.18.2-18.07.2017
.........................................
7
2.16v5.18.1-21.06.2017
.........................................
7
2.17v5.18.0-29.05.2017
.........................................
8
2.18v5.17.1-18.05.2017
.........................................
8
2.19v5.17-05.05.2017
..........................................
8
2.20v5.16-10.04.2017
..........................................
9
2.21v5.15-15.03.2017
..........................................
9
2.22v5.14-20.01.2017
..........................................
9
2.23v5.10-25.11.2016
..........................................
10
2.24v5.9-17.11.2016
...........................................
11
2.25v5.8-26.10.2016
...........................................
11
2.26v5.7-15.09.2016
...........................................
11
2.27v5.6-18.04.2016
...........................................
11
2.28v5.5-08.04.2016
...........................................
12
2.29v5.4-22.01.2016
...........................................
12
2.30v5.3-21.12.2015
...........................................
12
2.31v5.2.0-01.12.2015
..........................................
12
2.32v5.1-28.10.2015
...........................................
13
2.33v5.0.0-03.07.2015
..........................................
13
2.34v4.2.0-13.04.2015
..........................................
13
2.35v4.1.0-24.02.2014
..........................................
14
i
2.36v4.0.0-13.02.2014
..........................................
14
2.37v3.10.0.27-08.09.2014
.......................................
14
2.38v3.0.08.21-23.07.2014
.......................................
14
2.39v3.0.07.01-09.04.2014
.......................................
14
2.40v3.0.03.01-15.02.2014
.......................................
14
2.41v3.0.2-21.01.2014
..........................................
15
3Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
17
3.1ÊàêàâòîðèçîâàòüñÿâñèñòåìåÄèàäîê
..............................
17
3.2Êàêóñòàíîâèòüïàðòíåðñêèåîòíîøåíèÿ
............................
19
3.3Êàêðàáîòàòüñäîêóìåíòàìè
...................................
21
3.4Ðåãëàìåíòíûéäîêóìåíòîîáîðîòïîýëåêòðîííûìñ÷åòàìôàêòóðàì
.............
29
3.5Ðàáîòàñèñêëþ÷åíèÿìè
......................................
30
4Ññûëêèäëÿñêà÷èâàíèÿ
31
4.1Òåêóùèåâåðñèèâíåøíåéêîìïîíåíòû
..............................
31
4.2Ðåäàêöèèêîìïîíåíòû,ïîääåðæêàêîòîðûõïðåêðàùåíà
...................
31
5ÑåðâåðÄèàäîê
33
5.1ÎáúåêòèíòåðôåéñàÄèàäîê
....................................
33
5.2Ñîåäèíåíèå
.............................................
36
5.3Îðãàíèçàöèÿ
.............................................
38
5.4Counteragent
.............................................
53
6Äîêóìåíòû
57
6.1Ñâîéñòâàîáúåêòà
..........................................
57
6.2Ìåòîäûîáúåêòà
...........................................
59
6.3Ïðîèçâîäíûåîáúåêòû
.......................................
70
6.4Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ
......................
102
7Ïðî÷èåîáúåêòû
151
7.1Ñîäåðæàíèåäîêóìåíòà
......................................
151
7.2Îáëà÷íûéñåðòèôèêàò
.......................................
189
7.3CloudSignTask
............................................
190
7.4CounteragentItem
..........................................
191
7.5Department
.............................................
191
7.6DocumentEvent
...........................................
192
7.7DocumentPackage
..........................................
193
7.8DocumentsTask
...........................................
196
7.9Äîêóìåíòûíàîòïðàâêó
......................................
201
7.10OrganizationUser
..........................................
211
7.11OutDocumentSignTask
.......................................
211
7.12PackageSendTask
..........................................
212
7.13PersonalCerticate
..........................................
228
ii
7.25ValidationError
...........................................
239
7.26Collection
...............................................
240
7.27AsyncResult
.............................................
240
iii
iv
1CDiadocDocumentation,Âûïóñê1
AddInDiadocAPI-âíåøíÿÿêîìïîíåíòà,ïðåäíàçíà÷åííàÿäëÿèíòåãðàöèèñ
ó÷åòíûìèñèñòåìàìè
íàïëàòôîðìå1Ñ
.Äàííûéñïîñîáïîçâîëÿåòìàêñèìàëüíîáûñòðîðåøàòüòèïîâûåçàäà÷è,âîçíè-
êàþùèåïðèèíòåãðàöèè1Ñ-ðåøåíèéñÄèàäîêîì.ÊîìïîíåíòàìîæåòçàïóñòàòüñÿíàìàøèíàõñÎÑ
MicrosoftWindowsíåòðåáóÿóñòàíîâêèêàêèõ-ëèáîäîïîëíèòåëüíûõìîäóëåé.
Îãëàâëåíèå
1
1CDiadocDocumentation,Âûïóñê1
2
Îãëàâëåíèå
Ãëàâà
1
Îïèñàíèåâîçìîæíîñòåé
Êîìïîíåíòàðàáîòàåòíàïëàòôîðìàõ1Ñâåðñèé7.7,8.0,8.1,8.2è8.3
Êîìïîíåíòàìîæåòçàãðóæàòüñÿâäâóõâàðèàíòàõ:êàêâíåøíÿÿêîìïîíåíòàïîòåõíîëîãèè1Ñ,òàêè
êàêêëàññè÷åñêèéCOM-îáúåêò.
Äëÿçàïóñêàêîìïîíåíòûíàñåðâåðå1Ñ8.2/8.3íåîáõîäèìîçàïóñêàòüååêàêCOM-îáúåêò
Ïîðÿäîêïîäêëþ÷åíèÿêîìïîíåíòûîïèñàí
âñîîòâåòñòâóþùåìðàçäåëå
Ñïîìîùüþäàííîéêîìïîíåíòûìîæíî:
ˆ
Îñóùåñòâëÿòüâûñòàâëåíèåèïîëó÷åíèåÝÑÔâñîîòâåòñòâèåñðåãëàìåíòîìÌèíôèíà
ˆ
Îòïðàâëÿòüèïîëó÷àòüàêòûèíàêëàäíûåâôîðìàòàõðåêîìåíäîâàííûõÔÍÑ
ˆ
Îòïðàâëÿòüèïîëó÷àòüàêòûíåôîðìàëèçîâàííûåäîêóìåíòû
ˆ
Îòñëåæèâàòüèçìåíåíèåñòàòóñîâäîêóìåíòîâ,èõïîäïèñàíèå,îòêëîíåíèåêîíòðàãåíòîì
ˆ
Óïðàâëÿòüñïèñêîìêîíòðàãåíòîâ,äîêóìåíòîîáîðîòñêîòîðûìèïðîèñõîäèòâýëåêòðîííîìâèäå
Ñêà÷àòüôàéëûêîìïîíåíòûìîæíîâ
ñîîòâåòñòâóþùåìðàçäåëå
3
1CDiadocDocumentation,Âûïóñê1
4Ãëàâà1.Îïèñàíèåâîçìîæíîñòåé
Ãëàâà
2
Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
v5.20.3-06.02.2018
ˆ
äîáàâëåíóíèâåðñàëüíûéìåòîäïîëó÷åíèÿêîììåíòàðèåâ-
5
1CDiadocDocumentation,Âûïóñê1
ˆ
Èñïðàâëåíûîøèáêè
v5.19.4-12.12.2017
ˆ
Èñïðàâëåíûîøèáêè
v5.19.3-11.12.2017
ˆ
Èñïðàâëåíûîøèáêè
v5.19.2-27.11.2017
ˆ
èñïðàâëåíàîøèáêà:ïðèîòïðàâêåøèôðîâàííîãîñ÷åòà-ôàêòóðûñïîìîùüþ
PackageSendTask
è
SendTask
íåçàïîëíÿëîñüñâîéñòâîDocumentNumber,÷òîïðèâîäèëîêèñêëþ÷åíèþIncorrect
-äîëæíîñòü
ˆ
âCOM-êîìïîíåíòåäîáàâëåíàïîääåðæêàòèïàUcdInvoiceCorrectionäëÿîáúåêòà
PackageSendTask
ˆ
Èñïðàâëåíûîøèáêè
6Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
v5.18.6-18.08.2017
ˆ
îïòèìèçàöèÿïîëó÷åíèÿïîëÿ
ResolutionStatus
îáúåêòîâ
Document
ˆ
Èñïðàâëåíûîøèáêè
v5.18.5-14.08.2017
ˆ
Èñïðàâëåíûîøèáêè
v5.18.4-03.08.2017
ˆ
Èñïðàâëåíàîøèáêà:ïîïûòêàïîëó÷åíèÿîáúåêòà
Counteragent
,äëÿóäàëåííîéîðãàíèçàöèè,ñ
ïîìîùüþ
2.11.v5.18.6-18.08.2017
7
1CDiadocDocumentation,Âûïóñê1
v5.18.0-29.05.2017
ˆ
Ïîääåðæêàêîððåêòèðîâî÷íûõñ÷åòîâ-ôàêòóð(
InvoiceCorrection
è
InvoiceCorrectionRevision

ÓÊÄ-êîíòåíòîì(
UcdSellerContent
)-íîâûéòèïêîíòåíòàïðèîòïðàâêå
UcdInvoiceCorrection
ˆ
Ê
OrganizationInfo
äîáàâëåíîïîëå
FnsParticipantId
-èäåíòèôèêàòîðó÷àñòíèêàÝÄÎ
ˆ
Ïîÿâèëàñüâîçìîæíîñòüçàäàâàòüàòðèáóòûïîäïèñàíòîâïðèîòïðàâêå÷åðíîâèêîâñîîáùåíèé:
íîâûéòèï
SendDraftTask
,àòàêæåìåòîä-êîíñòðóêòîð
CreateSendDraftTask
.
v5.17.1-18.05.2017
ˆ
Ïîääåðæêàäîêóìåíòîâñòàðûõòèïîâñóïä-êîíòåíòîì(UtdInvoice,UtdAcceptanceCerticate,
UtdTorg12)â
AddDocumentFromFileRaw
è
CreateSendTaskFromFileRaw
ˆ
ÏîääåðæêàøèôðîâàíèÿäëÿInvoiceCorrectionèInvoiceCorrectionRevision
Èñïðàâëåíûîøèáêè:
ˆ
ãåíåðàöèÿêîððåêòíûõìåòàäàííûõäëÿøèôðîâàííûõäîêóìåíòîâ
ˆ
êîððåêòíîåïîëó÷åíèåòèòóëàïîêóïàòåëÿäëÿøèôðîâàííûõäîêóìåíòîâ-ìåòîäû
8Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
v5.16-10.04.2017
ˆ
ÏîääåðæêàÓÊÄâêîìïîíåíòå:

Íîâûéòèïîòïðàâëÿåìîãîäîêóìåíòàäëÿ
CreateSendTask
:
UniversalCorrectionDocument

Íîâûåòèïûîòïðàâëÿåìûõäîêóìåíòîâäëÿ
AddDocument
:
UniversalCorrectionDocument
è
UniversalCorrectionDocumentRevision
.Ñî-
îòâåòñòâóþùèéíîâûéòèïâîçâðàùàåìîãîçíà÷åíèÿ-
UcdToSend

Íîâûéòèïêîíòåíòà
UcdSellerContent

Íîâûåòèïûäîêóìåíòîâ
Document
:
Ucd
è
UcdRevision

Èçìåíèëàñüñèãíàòóðà
-äîëæíîñòüñîòðóäíèêà
ˆ
Âîáúåêòåáàçîâîãîäîêóìåíòà
Document
ïîÿâèëîñüñâîéñòâî
PackageId
-èäåíòèôèêàòîðïàêåòà
ˆ
ÏîëíàÿïîääåðæêàèñïðàâèòåëüíûõÓÏÄ
ˆ
Èñïðàâëåíàðàáîòà
CreateReplySendTask
äëÿñòàðûõòèïîâäîêóìåíòîâñÓÏÄ-ñîäåðæèìûì
v5.14-20.01.2017
ˆ
ÏîääåðæêàÓÏÄ-ñîäåðæèìîãîäëÿñòàðûõòèïîâäîêóìåíòîâ(Òîðã12,Àêò,Ñ÷åò-ôàêòóðà):

Íîâûåòèïûäîêóìåíòîâäëÿ
SendTask
è
PackageSendTask
:UtdTorg12,
UtdAcceptanceCerticate,UtdInvoice.
2.20.v5.16-10.04.2017
9
1CDiadocDocumentation,Âûïóñê1

ÑîäåðæèìîåòèïàUniversalTransferDocumentâ
Invoice
,
XmlTorg12
è
XmlAcceptanceCerticate
.
ˆ
ÏîääåðæêàÓÏÄèÓÊÄïðèñêà÷èâàíèèôàéëîâïîäîêóìåíòîîáîðîòó-
SaveAllContent
è
SaveAllContentAsync
.
ˆ
Ðåàëèçîâàíàïîääåðæêàøèôðîâàíèÿäëÿàêòà,òîðã12èñ÷åòà-ôàêòóðû:

Ñïèñîêñåðòèôèêàòîâêîíòðàãåíòà
10Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1

ñâîéñòâî
IsRead
.

ìåòîä
MarkAsRead
.
ˆ
Èñïðàâëåíûîøèáêè
v5.9-17.11.2016
ˆ
Âîáúåêò
AcquireCounteragentTask
äîáàâëåíìåòîä
Send
äëÿñèíõðîííîéîòïðàâêèïðèãëàøåíèé.
ˆ
Èñïðàâëåíîïîâåäåíèåäëÿíåôîðìàëèçîâàííûõàêòîâ,íàêëàäíûõèñ÷åòîâíàîïëàòó:íàëîãîâàÿ
ñòàâêàóñòàíàâëèâàåòñÿâçíà÷åíèåáåçÍÄÑ,åñëèíåóêàçûâàòüååçíà÷åíèåâïîëåñîäåðæèìîãî
Vat.
ˆ
Èñïðàâëåíàïðîáëåìàïðèîòïðàâêåñ÷åòîâ-ôàêòóðñó÷àñòèåìàãåíòà.
ˆ
Èñïðàâëåíàîøèáêàïðèîòïðàâêåêîíòðàãåíòóïðèãëàøåíèÿêñîòðóäíè÷åñòâóñâëîæåíèåìôàé-
ëà.
v5.8-26.10.2016
ˆ
ÄîáàâëåíàâîçìîæíîñòüñîõðàíÿòüñîäåðæèìîåäîêóìåíòàâZIP-àðõèâ:

âîáúåêò
Document
äîáàâëåíìåòîä
SaveAllContentZip
è
SaveAllContentZipAsync
.
v5.7-15.09.2016
ˆ
Èñïðàâëåíûîøèáêèïðèðàáîòå÷åðåçïðîêñè
ˆ
ÈñïðàâëåíàîøèáêàâàëèäàöèèíîìåðàÃÒÄâñ÷åòå-ôàêòóðå.
v5.6-18.04.2016
ˆ
Äîáàâëåíàâîçìîæíîñòüïîäïèñàíèÿèîòïðàâêèèñõîäÿùèõäîêóìåíòîâñîòëîæåííîéîòïðàâêîé:

âîáúåêò
Document
äîáàâëåíìåòîä
CreateOutDocumentSignTask
èâîáúåêò
DocumentPackage
äîáàâëåíìåòîä
CreateOutDocumentSignTask
äëÿñîçäàíèÿçàäàíèÿíà
ïîäïèñàíèåèîòïðàâêóèñõîäÿùåãîäîêóìåíòàèëèïàêåòàäîêóìåíòîâñîîòâåòñòâåííî.
Ýòèìåòîäûâîçâðàùàþòîáúåêò
OutDocumentSignTask
.

äîáàâëåíîáúåêò
OutDocumentSignTask
,ïðåäñòàâëÿþùèéñîáîéçàäàíèåíàïîäïèñàíèå
èîòïðàâêóèñõîäÿùåãîäîêóìåíòà.Ñïîìîùüþåãîìåòîäîâ
Send
èëè
SendAsync
ìîæíî
ïîäïèñàòüèîòïðàâèòüèñõîäÿùèéäîêóìåíò,êîòîðûéïðåæäåáûëîòïðàâëåíñâûñòàâ-
ëåííûìôëàãîì
DelaySend
.
ˆ
Èñïðàâëåíûîøèáêè
2.24.v5.9-17.11.2016
11
1CDiadocDocumentation,Âûïóñê1
v5.5-08.04.2016
ˆ
Äîáàâëåíàâîçìîæíîñòüäëÿîòïðàâêèïàêåòàäîêóìåíòîâ:

âîáúåêòå
Organization
äîáàâëåíìåòîä
CreatePackageSendTask
äëÿñîçäàíèÿçàäàíèÿíà
îòïðàâêóïàêåòàäîêóìåíòîâ,êîòîðûéâîçâðàùàåòîáúåêò
PackageSendTask
.

äîáàâëåíîáúåêò
PackageSendTask
äëÿðàáîòûñçàäàíèåìíàîòïðàâêóïàêåòàäîêóìåí-
òîâ.

äîáàâëåíîáúåêò
DocumentToSend
èïðîèçâîäíûåîòíåãîîáúåêòû,ïðåäíàçíà÷åííûåäëÿ
ðàáîòûñäîêóìåíòàìèíàîòïðàâêó,âõîäÿùèìèâïàêåò.

äîáàâëåíîáúåêò
SentPackageContent
äëÿïåðåäà÷èâçàäàíèåíàîáëà÷íóþïîäïèñüñî-
äåðæèìîãîâñåõäîêóìåíòîâèçïàêåòàíàîòïðàâêó.
ˆ
Âîáúåêò
DiadocConnection
äîáàâëåíìåòîä
12Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1

äîáàâëåíûîáúåêòû:
CloudCerticateInfo
(äëÿèíôîðìàöèèîáîáëà÷íîìñåðòèôèêàòå),
CloudSignTask
(äëÿçàäàíèåíàïîäïèñàíèåäîêóìåíòîâîáëà÷íîéïîäïèñüþ).
ˆ
Èñïðàâëåíûîøèáêè
v5.1-28.10.2015
ˆ
Äîáàâëåíàâîçìîæíîñòüóêàçàíèÿîòðèöàòåëüíîãîêîëè÷åñòâàåäèíèöûòîâàðà(óñëóãè)âàêòàõ.
ˆ
ÄîáàâëåíàïîääåðæêàìíîæåñòâåííûõÃÒÄâñ÷åòàõ-ôàêòóðàõ.
ˆ
Äîáàâëåíàïîääåðæêàíóëåâûõçíà÷åíèéñóììûñó÷åòîìÍÄÑäëÿäîêóìåíòîâÒÎÐÃ-12.
ˆ
Èñïðàâëåíûîøèáêè
v5.0.0-03.07.2015
Ðåàëèçîâàíûíîâûåìîäåëèäëÿðàáîòûñäîêóìåíòàìèñ÷åò-ôàêòóðà,êîððåêòèðîâî÷íûéñ÷åò-
ôàêòóðà,ó÷èòûâàþùèåâñåîñîáåííîñòèôîðìàòà5.02
ˆ
äëÿîáúåêòà
InvoiceContent

âìåñòîðåêâèçèòà
AdditionalInfo
ñòèïîìñòðîêàââåäåíðåêâèçèò
StructedAdditionalInfos
,êîòîðûéïðåäñòàâëÿåòñîáîé
êîëëåêöèþ
îáúåêòîâ
StructedAdditionalInfo

íàëîãè÷íûåèçìåíåíèÿïðîèçâåäåíûäëÿ
InvoiceItem
ˆ
äëÿîáúåêòà
InvoiceCorrectionContent

âìåñòîðåêâèçèòà
AdditionalInfo
ñòèïîìñòðîêàââåäåíðåêâèçèò
StructedAdditionalInfos
,êîòîðûéïðåäñòàâëÿåòñîáîé
êîëëåêöèþ
îáúåêòîâ
StructedAdditionalInfo

íàëîãè÷íûåèçìåíåíèÿïðîèçâåäåíûäëÿ
InvoiceCorrectionItem

ñâîéñòâà
Date
,
Number
,
InvoiceRevisionDate
,
InvoiceRevisionNumber
óäàëåíûèç
îáúåêòà.Âìåñòîíèõäîáàâëåíîñâîéñòâî
OriginalInvoices
v4.2.0-13.04.2015
Ðåàëèçîâàíàðàáîòàñôîðìàòîì5.02äëÿäîêóìåíòîâñ÷åò-ôàêòóðà,êîððåêòèðîâî÷íûéñ÷åò-
ôàêòóðà:
ˆ
Äëÿîáúåêòîâ
InvoiceContent
,
InvoiceCorrectionContent
äîáàâëåíîñâîéñòâî
InvoiceVersion
,êîòî-
ðîåâîçâðàùàåòôîðìàòñ÷åòà-ôàêòóðû.
ˆ
Ïðèîòïðàâêåñ÷åòà-ôàêòóðû,êîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûñïîìîùüþîáúåêòà
CreateSendTask
,ïîóìîë÷àíèþäëÿîòïðàâëÿåìîãîñ÷åòà-ôàêòóðûóñòàíàâëèâàåòñÿôîðìàò,àê-
òóàëüíûéíàäàòóîòïðàâêè.Ïðèíåîáõîäèìîñòèîòïðàâêèñ÷åòà-ôàêòóðûâäðóãîìôîðìàòå,
íåîáõîäèìîåãîóêàçûâàòüâñâîéñòâå
InvoiceVersion
.
2.32.v5.1-28.10.2015
13
1CDiadocDocumentation,Âûïóñê1
v4.1.0-24.02.2014
ˆ
Ïîÿâèëàñüâîçìîæíîñòüîòïðàâêè÷åðíîâèêîâ
SendDraftAsync
v4.0.0-13.02.2014
ˆ
ÏîÿâèëàñüñáîðêàCOM-îáúåêòà,ñêîìïèëèðîâàííàÿäëÿ64-áèòíûõÎÑ
v3.10.0.27-08.09.2014
ˆ
ÎáúåêòóÄîêóìåíòäîáàâëåíîñâîéñòâî
HasCustomPrintForm
.
ˆ
14Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
v3.0.2-21.01.2014
ˆ
Âûïóùåíàðåäàêöèÿêîìïîíåíòû3.0.
2.41.v3.0.2-21.01.2014
15
1CDiadocDocumentation,Âûïóñê1
16Ãëàâà2.Èñòîðèÿèçìåíåíèéâíåøíåéêîìïîíåíòû
Ãëàâà
3
Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
ÊàêàâòîðèçîâàòüñÿâñèñòåìåÄèàäîê
ÄëÿðàáîòûññèñòåìîéÄèàäîêíåîáõîäèìî:-çàãðóçèòüâíåøíþþêîìïîíåíòó,-ñîçäàòüñîåäèíåíèåñ
ñåðâåðîìÄèàäîê-ñîçäàòüêîíòåêñòðàáîòûñîðãàíèçàöèåé:
Êàêçàãðóçèòüâíåøíþþêîìïîíåíòó
ˆ
ÇàãðóçêàêîìïîíåíòûèèíèöèàëèçàöèÿîáúåêòàèíòåðôåéñàÄèàäîêíàêëèåíòå1Ñ.
//Çàãðóçêàâíåøíåéêîìïîíåíòû
ÈìÿÔàéëà=
"C:\Temp\AddInDiadocAPI.dll"
;
ÇàãðóçèòüÂíåøíþþÊîìïîíåíòó(ÈìÿÔàéëà);
//ÑîçäàíèåîáúåêòàDiadocInvoiceAPI
ÄèàäîêÀÏÈ_=Íîâûé(
"AddIn.DiadocInvoiceAPI"
);
ÄèàäîêÀÏÈ=ÄèàäîêÀïè_.CreateObject();
//Çàäàåìïàðàìåòðûïîäëþ÷åíèÿêñåðâåðó
ÄèàäîêÀïè.ApiClientId=Êëþ÷Ðàçðàáîò÷èêà;
ÄèàäîêÀïè.ServerUrl=
"https://diadoc-api.kontur.ru:443"
;
ˆ
Çàãðóçêàâíåøíåéêîìïîíåíòûíàñåðâåðå1Ñ
Âñëó÷àå,êîãäàðåæèìçàïóñêà1Ñíåïîçâîëÿåòçàïóñêâíåøíèõêîìïîíåíò,èñïîëüçóþùèõòåõíî-
ëîãèþCOM,(íàïðèìåð,íàñòîðîíåñåðâåðà1Ñ8.2)íåîáõîäèìîèñïîëüçîâàòüñáîðêóêîìïîíåíòû,
êîòîðàÿðåàëèçîâàíàââèäåêëàññè÷åñêîãîCOM-îáúåêòà.Âýòîìñëó÷àåïåðåäèñïîëüçîâàíèåì
êîìïîíåíòûíóæíîçàðåãèñòðèðîâàòüôàéëDiadocComApi.dllñïîìîùüþêîìàíäûregsvr32.
Âñëó÷àåçàïóñêàêîìïîíåíòûíà64-õáèòíîìñåðâåðå1Ñ,íåîáõîäèìîèñïîëüçîâàòü64-áèòíóþ
ñáîðêóäàííîéêîìïîíåíòû.(64-áèòíûìäîëæíîáûòüèìåííîïðèëîæåíèåñåðâåð1Ñ)
Ïîñëåýòîãîçàãðóçêàèèíèöèàëèçàöèÿêîìïîíåíòûïðîèçâîäèòñÿñëåäóþùèìîáðàçîì:
//ñîçäàåìêîðíåâîéýëåìåíòCOM-îáúåêòà
ÄèàäîêÀïè=ÍîâûéComÎáúåêò(
"Diadoc.DiadocClient"
);
//Çàäàåìïàðàìåòðûïîäëþ÷åíèÿêñåðâåðó
ÄèàäîêÀïè.ApiClientId=Êëþ÷Ðàçðàáîò÷èêà;
ÄèàäîêÀïè.ServerUrl=
"https://diadoc-api.kontur.ru:443"
;
17
1CDiadocDocumentation,Âûïóñê1
Êëþ÷ðàçðàáîò÷èêàïðåäñòàâëÿåòñîáîéïîñëåäîâàòåëüíîñòüñèìâîëîâ,èäåíòèôèöèðóþùèéðàçðàáîò-
÷èêàèíòåãðàöèîííîãîðåøåíèÿ.Äëÿòîãî÷òîáûïîëó÷èòüêëþ÷ðàçðàáîò÷èêà,íåîáõîäèìîîòïðàâèòü
çàïðîñïîàäðåñó:
[email protected]
.
Êàêñîçäàòüñîåäèíåíèåèàâòîðèçîâàòüñÿ
ÄëÿàâòîðèçàöèèèïîñëåäóþùèõâûçîâîâìåòîäîâñåðâåðàÄèàäîêíåîáõîäèìîñîçäàòüîáúåêò
DiadocConnection
,êîòîðûéïðåäñòàâëÿåòñîáîéñîåäèíåíèåññåðâåðîì.Ñîåäèíåíèåñëåäóåòñîçäàâàòü
íàêàæäûéñåàíñðàáîòû.ßâíîîñâîáîæäàòüðåñóðñûïîñëåîêîí÷àíèÿðàáîòûñýòèìîáúåêòîìíå
íóæíî.
ÏðèñîçäàíèèîáúåêòàDiadocConnectioníåîáõîäèìîóêàçàòüîòïå÷àòîêñåðòèôèêàòàäëÿàâòîðèçà-
öèèíàñåðâåðå.Îòïå÷àòîêñåðòèôèêàòàìîæíîóçíàòü,ïîëó÷èâñïèñîêèîïèñàíèåâñåõäîñòóïíûõ
ñåðòèôèêàòîâìåòîäîì
//ñîçäàíèåîáúåêòàêîíòåêñòàAPI
ÄèàäîêÀÏÈ_=Íîâûé(
"AddIn.DiadocInvoiceAPI"
);
ÄèàäîêÀÏÈ=ÄèàäîêÀïè_.CreateObject();
//Ïîëó÷åíèåñïèñêàñåðòèôèêàòîâ
Ñîçäàòüêîíòåêñòðàáîòûñîðãàíèçàöèåé
Âñåäåéñòâèÿñäîêóìåíòàìè:îòïðàâêà,ïîëó÷åíèå,ïîäïèñàíèåèò.ä.âûïîëíÿþòñÿâêîíòåêñòåîðãà-
íèçàöèè,êêîòîðîéïîëüçîâàòåëüèìååòïðàâàäîñòóïàâñèñòåìåÄèàäîê.Äëÿðàáîòûñêîíòåêñòîì
îðãàíèçàöèèïðåäíàçíà÷åíîáúåêò
Organization
.Îíïîëó÷àåòñÿ÷åðåçîáúåêò
DiadocConnection
.Ïîëó-
÷èòüîáúåêòOrganizationìîæíîîäíèìèçäâóõñïîñîáîâ:
ˆ
Ïîëó÷èâîáúåêò
Organization
ïîèäåíòèôèêàòîðó.Ïðèìåð:
BoxId=
"[email protected]"
;
ˆ
Ïîëó÷èâìàññèââñåõîáúåêòîâ
Organization
âñåõäîñòóïíûõÿùèêîâ.Ïðèìåð:
Ïðèìåð
ÏðèìåðêîäàäëÿàâòîðèçàöèèèñîçäàíèÿêîíòåêñòàðàáîòûâñèñòåìåÄèàäîê:
Ôóíêöèÿçàãðóæàåòâíåøíþþêîìïîíåíòó,àâòîðèçóåòñÿíàñåðâåðåÄèàäîê,ïîëó÷àåòêîíòåêñòîðãàíè-
çàöèèèâñëó÷àåóñïåøíîãîâûïîëíåíèÿâñåõíåîáõîäèìûõäåéñòâèé-âîçâðàùàåòîáúåêò
Organization
18Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
ÔóíêöèÿÂåðíóòüÊîíòåêñòÐàáîòûÂÄèàäîêå()
//Çàãðóçêàâíåøíåéêîìïîíåíòû
ÈìÿÔàéëà=
"C:\Temp\AddInDiadocAPI.dll"
;
Ïîïûòêà
ÇàãðóçèòüÂíåøíþþÊîìïîíåíòó(ÈìÿÔàéëà);
Èñêëþ÷åíèå
ÂûçâàòüÈñêëþ÷åíèå(
"Îøèáêàçàãðóçêèâíåøíåéêîìïîíåíòû:"
+ÎïèñàíèåÎøèáêè());
ÊîíåöÏîïûòêè;
//ÑîçäàíèåîáúåêòàDiadocInvoiceAPI
ÄèàäîêÀÏÈ_=Íîâûé(
"AddIn.DiadocInvoiceAPI"
);
ÄèàäîêÀÏÈ=ÄèàäîêÀïè_.CreateObject();
//Çàäàåìïàðàìåòðûïîäëþ÷åíèÿêñåðâåðó
ÄèàäîêÀïè.ApiClientId=Êëþ÷Ðàçðàáîò÷èêà;
ÄèàäîêÀïè.ServerUrl=
"https://diadoc-api.kontur.ru:443"
;
//Ïîëó÷åíèåñïèñêàñåðòèôèêàòîâ
Êàêóñòàíîâèòüïàðòíåðñêèåîòíîøåíèÿ
Äëÿòîãî÷òîáûäâåîðãàíèçàöèèìîãëèîáìåíèâàòüñÿäîêóìåíòàìè,îíèäîëæíûóñòàíîâèòüïàðòíåð-
ñêèåîòíîøåíèÿâÄèàäîêå.
Îòïðàâëÿòüäîêóìåíòûîðãàíèçàöèè,ñêîòîðîéíåóñòàíîâëåíûïàðòíåðñêèåîòíîøåíèÿíåâîçìîæíî.
ÄëÿîòðàæåíèÿñóùíîñòèïðîèçâîëüíîéîðãàíèçàöèèâÄèàäîêåïðåäíàçíà÷åíîáúåêò
Counteragent
.
Êàêíàéòèêîíòðàãåíòà
ÍàéòèêîíòðàãåíòàâÄèàäîêåâîçìîæíîñïîìîùüþïîèñêàïîÈÍÍ/ÊÏÏ.Ñïîìîùüþêîìïîíåíòû
ìîæíîðåàëèçîâàòüíåñêîëüêîñïîñîáîâïîèñêàêîíòðàãåíòà.
ˆ
ÏîèñêïîÈÍÍ/ÊÏÏâñèíõðîííîìðåæèìå,äëÿýòîãîìîæíîèñïîëüçîâàòüìåòîä
3.2.Êàêóñòàíîâèòüïàðòíåðñêèåîòíîøåíèÿ19
1CDiadocDocumentation,Âûïóñê1
ßùèêèÊîíòðàãåíòîâ=ÍîâûéÌàññèâ;
ÈÍÍ=ÑîêðËÏ(Êîíòðàãåíò.ÈÍÍ);
ÊÏÏ=ÑîêðËÏ(Êîíòðàãåíò.ÊÏÏ);
//Ïîëó÷àåìñïèñîêêîíòðàãåíòîâñçàäàííûìèÈÍÍ/ÊÏÏ
ˆ
ÏîèñêïîñïèñêóÈÍÍ,äëÿïîëó÷åíèÿðåçóëüòàòàâàñèíõðîííîìðåæèìå,ìîæíîâîñïîëüçîâàòüñÿ
ìåòîäîì
GetCounteragentListByInnList
îáúåêòà
Organization
//Ïîëó÷àåìðåçóëüòàòàñèíõðîííîéîïåðàöèèïîñòðîêåñîäåðæàùåéñïèñîêÈÍÍ
Êàêóñòàíîâèòüïàðòíåðñòâî
ÄëÿóñòàíîâëåíèÿïàðòíåðñòâàìåæäóîðãàíèçàöèÿìèÀèÁâÄèàäîêå,îðãàíèçàöèÿÀäîëæíàîòïðà-
âèòü,àîðãàíèçàöèÿÁïðèíÿòüçàïðîñíàóñòàíîâëåíèåïàðòíåðñòâà.
Äëÿîòïðàâêè,ïðèíÿòèÿèëèîòêëîíåíèÿçàïðîñà,àòàêæåäëÿðàçðûâàïàðòíåðñêèõîòíîøåíèéèñ-
ïîëüçóþòñÿìåòîäûîáúåêòà
Counteragent
:
ˆ
AcquireCounteragentîòïðàâêàçàïðîñàèïîäòâåðæäåíèåâõîäÿùåãîçàïðîñàîòêîíòðàãåíòà.
//ÍàõîäèìêîíòðàãåíòàïîÈÍÍ/ÊÏÏ
ˆ
BreakWithCounteragentîòêëîíåíèåçàïðîñàèðàçðûâñóùåñòâóþùåãîïàðòíåðñòâà.
//ÍàõîäèìêîíòðàãåíòàïîÈÍÍ/ÊÏÏ
Äëÿïîëó÷åíèÿñïèñêàêîíòðàãåíòîââçàâèñèìîñòèîòñòàòóñàïàðòíåðñòâàïðåäíàçíà÷åíìåòîä
20Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
Äëÿïîëó÷åíèÿîáúåêòà
Counteragent
ïîèäåíòèôèêàòîðóÿùèêàîðãàíèçàöèèèñïîëüçóåòñÿìåòîä
//ÑîçäàåìîáúåêòDocumentsTask,çàïîëíÿåìñâîéñòâà,âûïîëíÿåììåòîäèïîëó÷àåìñïèñîêäîêóìåíòîâ
Êàêïîäïèñàòüèîòïðàâèòüäîêóìåíò
ÎòïðàâêàäîêóìåíòîââîçìîæíàòîëüêîòåìêîíòðàãåíòàìâÄèàäîêå,ñêîòîðûìèóñòàíîâëåíûïàðò-
íåðñêèåîòíîøåíèÿ(ñì.ðàçäåë
Êàêóñòàíîâèòüïàðòíåðñêèåîòíîøåíèÿ
).
3.3.Êàêðàáîòàòüñäîêóìåíòàìè21
1CDiadocDocumentation,Âûïóñê1
Îòïðàâêàäîêóìåíòàíàîñíîâàíèèñôîðìèðîâàííîãîôàéëà
Äàííûéñïîñîáäîñòóïåíäëÿâñåõòèïîâäîêóìåíòîâ:êàêñîñòàâëåííûõâôîðìàòåxml,òàêèñîñòàâ-
ëåííûõâïðîèçâîëüíîìôîðìàòå.
Äëÿîòïðàâêèçàðàíååñôîðìèðîâàííîãîäîêóìåíòàíåîáõîäèìîèñïîëüçîâàòüìåòîä
CreateSendTaskFromFile
îáúåêòà
Organization
.Âêà÷åñòâåïàðàìåòðîâïðèâûçîâåìåòîäàíåîáõî-
äèìîïóòüäîôàéëà,âêîòîðîìíàõîäèòñÿîòïðàâëÿåìûéäîêóìåíò,àòàêæåòèïîòïðàâëÿåìîãî
äîêóìåíòà.Äàííûéìåòîäâîçâðàùàåòîáúåêò
SendTask
,óñòàíàâëèâàÿñâîéñòâàêîòîðîãîìîæíî
çàäàòüðàçëè÷íûåïàðàìåòðûîòïðàâêèäîêóìåíòà.
Íàïðèìåð,ñëåäóþùàÿïðîöåäóðàïîçâîëÿåòîòïðàâèòüêîíòðàãåíòóñ÷åòíàîïëàòó:
ÏðîöåäóðàÎòïðàâèòüÑ÷åòÍàÎïëàòó()
SendTask=Organization.CreateSendTaskFromFile(ÏóòüÊÔàéëó,
"ProformaInvoiceContent"
);
SendTask.CounteràgentId=CounteragentId;
SendTask.Content.Date=ÄàòàÄîêóìåíòà;
SendTask.Content.Number=ÍîìåðÄîêóìåíòà;
SendTask.Content.Total=ÑóììàÄîêóìåíòà;
SendTask.Content.Vat=ÑóììàÍÄÑÄîêóìåíòà;
SendTask.Send();
ÊîíåöÏðîöåäóðû
Îòïðàâêàäîêóìåíòàíàîñíîâàíèèäàííûõó÷åòíîéñèñòåìû
Äàííûéñïîñîáïðèìåíèìòîëüêîäëÿäîêóìåíòîââôîðìàòåxml,óòâåðæäåííîìÔÍÑ.
Âñëó÷àå,êîãäàíåîáõîäèìîîòïðàâèòüäîêóìåíòâôîðìàòåÔÍÑ,ó÷åòíàÿñèñòåìà,êàêïðàâèëî,íå
óìååòôîðìèðîâàòüäîêóìåíòûòðåáóåìîãîôîðìàòà.Âêîìïîíåíòåðåàëèçîâàíìåõàíèçì,ïîçâîëÿþùèé
ïåðåëîæèòüçàáîòóîôîðìèðîâàíèèxml-ôàéëàíàâíåøíþþêîìïîíåíòó.Îòó÷åòíîéñèñòåìû,âýòîì
ñëó÷àå,òðåáóåòñÿòîëüêîïðåäîñòàâèòüèñõîäíûåäàííûå,íåîáõîäèìûåäëÿôîðìèðîâàíèÿôàéëà
×òîáûñôîðìèðîâàòüèîòïðàâèòüäîêóìåíòíóæíî:
ˆ
ÂûçâàòüìåòîäCreateSendTaskîáúåêòàOrganization,âêà÷åñòâåïàðàìåòðàóêàçàâòèïôîðìèðó-
åìîãîäîêóìåíòà
ˆ
Ïîëó÷èââðåçóëüòàòåâûçîâàìåòîäàîáúåêòSendTask,çàïîëíèòüïàðàìåòðûîòïðàâêèäîêóìåíòà
ˆ
çàïîëíèòüèíôîðìàöèþîäîêóìåíòå,çàïîëíèâñòðóêòóðó,êîòîðàÿñîäåðæèòñÿâ
SendTask.Content
ˆ
îòïðàâèòüäîêóìåíò
ÏðèìåðôîðìèðîâàíèÿèîòïðàâêèÓÏÄ
ÏðîöåäóðàÎòïðàâèòüÓÏÄ(Organization,CounterAgentId)
PackageSendTask=Organization.CreatePackageSendTask();
PackageSendTask.CounterAgentId=CounterAgentId;
DocumentToSend=PackageSendTask.AddDocument(
"UniversalTransferDocument"
);
Content=DocumentToSend.Content;
Content.Number=
"1"
;
Content.Date=ÒåêóùàÿÄàòà();
22Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
Content.Function=
"InvoiceAndBasic"
;
Content.Creator=
"ÎÎÎÏðîäàâåö,ÈÍÍ/ÊÏÏ:2012500001/111111111"
;
Content.Currency=
"643"
;
Content.CurrencyRate=
"1"
;
Content.Seller.Name=
"ÎÎÎÏðîäàâåö"
;
Content.Seller.Inn=
"2012500001"
;
Content.Seller.Kpp=
"111111111"
;
Content.Seller.type=
"LegalEntity"
;
Content.Seller.Address.RegionCode=
"66"
;
Content.Buyer.Name=
"ÎÎÎÏîêóïàòåëü"
;
Content.Buyer.Inn=
"2012600006"
;
Content.Buyer.Kpp=
"222222222"
;
Content.Buyer.type=
"LegalEntity"
;
Content.Buyer.Address.RegionCode=
"66"
;
Content.TransferInfo.OperationInfo=
"Ðåçóëüòàòûðàáîòïåðåäàíû(óñëóãèîêàçàíû)"
;
Content.TransferInfo.TransferDate=ÒåêóùàÿÄàòà();
Item.SubtotalWithVatExcluded=XMLÑòðîêà(100);
"Äèðåêòîð"
;
3.3.Êàêðàáîòàòüñäîêóìåíòàìè23
1CDiadocDocumentation,Âûïóñê1
Êàêôîðìèðîâàòüèîòïðàâëÿòüïàêåòûäîêóìåíòîâ
ÎòïðàâêàïàêåòîâäîêóìåíòîââîçìîæíàòîëüêîòåìêîíòðàãåíòàìâÄèàäîêå,ñêîòîðûìèóñòàíîâëåíû
ïàðòíåðñêèåîòíîøåíèÿ(ñì.ðàçäåë
Êàêóñòàíîâèòüïàðòíåðñêèåîòíîøåíèÿ
).
Äëÿîòïðàâêèïàêåòàíåîáõîäèìîèñïîëüçîâàòüìåòîä
CreatePackageSendTask
îáúåêòà
Organization
.
Äàííûéìåòîäâîçâðàùàåòîáúåêò
PackageSendTask
,êîòîðûéïîçâîëÿåòäîáàâëÿòüäîêóìåíòûâïàêåò
èçàäàâàòüðàçëè÷íûåïàðàìåòðûîòïðàâêèïàêåòà.
Îáúåêò
PackageSendTask
,ïîçâîëÿåòäîáàâèòüäîêóìåíòûâïàêåòâñëåäóþùèõâàðèàíòàõ:
ˆ
AddDocument
-äîáàâëÿåòôîðìàëèçîâàííûéäîêóìåíò,âîçâðàùàåòîáúåêòòèòóëàäîêóìåíòà
ˆ
AddDocumentFromFile
-äîáàâëÿåòôîðìàëèçîâàííûéèëèíåôîðìàëèçîâàííûéäîêóìåíòèçôàé-
ëà.Äëÿôîðìàëèçîâàííûõäîêóìåíòîââîçâðàùàåòîáúåêòòèòóëà.Äëÿíåôîðìàëëèçîâàííûõ
âîçâðàùàåòîáúåêòïîçâîëÿþùèéçàäàòüìåòàäàííûå.
ˆ
AddDocumentFromFileRaw
-äîáàâëÿåòôîðìàëèçîâàííûéèëèíåôîðìàëèçîâàííûéäîêóìåíòèç
ôàéëà.Äîêóìåíòäîáàâëÿåòüñÿêàêåñòü.Âîçâðàùàåòîáúåêòïîçâîëÿþùèéçàäàòüáàçîâûåìå-
òàäàííûå.
Íàïðèìåð,ñëåäóþùàÿïðîöåäóðàïîçâîëÿåòîòïðàâèòüíàêëàäíóþèíåôîðìàëèçîâàííûéñ÷åò:
ÏðîöåäóðàÎòïðàâèòüÏàêåòÄîêóìåíòîâ(Organization,CounteragentId,PackageOperationId,CustomIdXmlTorg12,CustomIdNonformalizedProforma)
PackageSendTask=Organization.CreatePackageSendTask();
PackageSendTask.CounteragentId=CounteragentId;
PackageSendTask.DelaySend=Ëîæü;
PackageSendTask.OperationId=PackageOperationId;
//äîáàâëÿåìâñîîáùåíèåðàñõîäíóþíàêëàäíóþ
DocumentXmlTorg12=PackageSendTask.AddDocument("XmlTorg12");
DocumentXmlTorg12.CustomDocumentId=CustomIdXmlTorg12;
DocumentXmlTorg12.Content.Date=
'
20170606
'
;
DocumentXmlTorg12.Content.Number="ÐÍ1";
DocumentXmlTorg12.Content.WaybillDate=
'
20170606
'
;
DocumentXmlTorg12.Content.WaybillNumber="ÒÍ1";
DocumentXmlTorg12.Content.GroundName="Çàêàçïîêóïàòåëÿ";
DocumentXmlTorg12.Content.GroundDate=
'
20170606
'
;
DocumentXmlTorg12.Content.GroundNumber="ÇÏ1";
DocumentXmlTorg12.Content.Seller.Name="ÎÎÎÏðîäàâåö";
DocumentXmlTorg12.Content.Seller.Inn="2012600006";
DocumentXmlTorg12.Content.Seller.Kpp="111111111";
DocumentXmlTorg12.Content.Seller.Address.RegionCode="66";
DocumentXmlTorg12.Content.Buyer.Name="ÎÎÎÏîêóïàòåëü";
DocumentXmlTorg12.Content.Buyer.Inn="2012600006";
DocumentXmlTorg12.Content.Buyer.Kpp="222222222";
DocumentXmlTorg12.Content.Buyer.Address.RegionCode="66";
//DocumentXmlTorg12.Content.ShipperèDocumentXmlTorg12.Content.Consignee
//çàïîëíÿþòñÿïîàíàëîãèè
Item=DocumentToSend.Content.AddItem();
Item.Product="Òîâàð";
24Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
Item.UnitCode="166";
Item.Quantity=10;
Item.Price=100;
Item.TotalWithVatExcluded=1000;
Item.TaxRate="18";
Item.Vat=180;
Item.Total=1180;
DocumentXmlTorg12.Content.Totals.Quantity=10;
DocumentXmlTorg12.Content.Totals.TotalWithVatExcluded=1000;
DocumentXmlTorg12.Content.Totals.Vat=180;
DocumentXmlTorg12.Content.Totals.Total=1180;
DocumentXmlTorg12.Content.SupplyAllowedBy.Surname="Èâàíîâ";
DocumentXmlTorg12.Content.SupplyAllowedBy.FirstName="Èâàí";
DocumentXmlTorg12.Content.SupplyAllowedBy.Patronymic="Èâàíîâè÷";
DocumentXmlTorg12.Content.SupplyAllowedBy.JobTitle="Ðóêîâîäèòåëüñêëàäñêîéñëóæáû";
DocumentXmlTorg12.Content.Signer.Surname.Surname="Ïåòðîâ";
DocumentXmlTorg12.Content.Signer.Surname.FirstName="Ïåòð";
DocumentXmlTorg12.Content.Signer.Surname.Patronymic="Ïåòðîâè÷";
DocumentXmlTorg12.Content.Signer.Surname.JobTitle="Ãëàâíûé(ñòàðøèé)áóõãàëòåð";
//äîáàâëÿåìâñîîáùåíèåñ÷åòíàîïëàòó
DocumentNonformalizedProforma=PackageSendTask.AddDocumentFromFile("NonformalizedProforma","Ñ:\\Ñ÷åò12îò06062017.pdf");
DocumentNonformalizedProforma.CustomDocumentId=CustomIdNonformalizedProforma;
DocumentNonformalizedProforma.DocumentDate=
'
20170606
'
;
DocumentNonformalizedProforma.DocumentNumber="Ñ÷1";
DocumentNonformalizedProforma.Total=1180;
DocumentNonformalizedProforma.Vat=180;
DocumentNonformalizedProforma.Filename="Ñ÷åò12îò06062017.pdf";
//óñòàíàâëèâàåìñâÿçèìåæäóäîêóìåíòàìèñîîáùåíèÿ
DocumentXmlTorg12.AddSubordinateDocumentFromPackage(CustomIdNonformalizedProforma);
DocumentNonformalizedProforma.AddInitialDocumentFromPackage(CustomIdXmlTorg12);
PackageSendTask.Send();
ÊîíåöÏðîöåäóðû
Êàêïîäïèñàòüâõîäÿùèéäîêóìåíò
Âõîäÿùèåýëåêòðîííûåäîêóìåíòû,êîòîðûéòðåáóþòîòâåòíîéïîäïèñè,ìîæíîîáðàáîòàòüíåñêîëüêè-
ìèñïîñîáàìè
1.
Ïîäïèñàòüäîêóìåíò
ˆ
Äëÿôîðìàëèçîâàííûõäîêóìåíòîâòðåáóåòñÿñíà÷àëàñôîðìèðîâàòüò.í.òèòóëïîêóïàòåëÿ
Torg12BuyerContent
èëè
AcceptanceCerticateBuyerContent
èëè
UtdBuyerContent
,èñîçäàòü
çàäàíèåìåòîäîì
CreateReplySendTask
Ïðèìåðêîäà,ôîðìèðóþùèéçàäàíèåíàïîäïèñàíèåòîðã-12:
3.3.Êàêðàáîòàòüñäîêóìåíòàìè25
1CDiadocDocumentation,Âûïóñê1
ReplySendTask=Document.CreateReplySendTask();
ReplySendTask.Content.ShipmentReceiptDate=ÒåêóùàÿÄàòà();
"Äèðåêòîð"
;
ReplySendTask.Content.Signer.INN=
"123456789"
;
ˆ
ÍåôîðìàëèçîâàííûåäîêóìåíòûïîäïèñûâàþòñÿìåòîäîìAccept(
Acceptîáúåêòà
NonformalizedTorg12
,
AcceptîáúåêòàNonformalized
èò.ä.)
Ïðèìåð:
Document.Accept();
2.
Îòêàçàòüâïîäïèñè
ÄëÿâñåõòèïîâäîêóìåíòîâïðèìåíÿòñÿìåòîäReject(
RejectîáúåêòàNonformalizedTorg12
,
Reject
îáúåêòà:doc:XmlTorg12Reject-(XmlTor&#xR51e;&#xje51; t-X;&#xmlT7;or5;g12;g12)
èò.ä.),ãäåïàðàìåòðîììîæíîïåðåäàòüñâîéêîì-
ìåíòàðèéîòêàçàâïîäïèñè
Ïðèìåð:
ÑâîéÊîììåíòàðèéÊÎòêàçó=
"Íåóäîâëåòâîðÿåòóñëîâèÿìäîãîâîðà"
;
Document.Reject(ÑâîéÊîììåíòàðèéÊÎòêàçó);
Êàêàííóëèðîâàòüäîêóìåíò
Âçàâèñèìîñòèîòñòàòóñàäîêóìåíòàïðîöåññàííóëèðîâàíèÿäîêóìåíòàìîæåòâûïîëíÿòüñÿðàçíûìè
ñïîñîáàìè:
ˆ
Åñëèäîêóìåíòïîäïèñàíîáîèìèñòîðîíàìè,òîòðåáóåòñÿîòïðàâèòüçàïðîñíààííóëèðîâàíèå
äîêóìåíòà.
ÑâîéÊîììåíòàðèéÊÀííóëèðîâàíèþ=
"Íåóäîâëåòâîðÿåòóñëîâèÿìäîãîâîðà"
;
Document.SendRevocationRequest(ÑâîéÊîììåíòàðèéÊÀííóëèðîâàíèþ);
ˆ
Åñëèäîêóìåíòíåïîäïèñàíïðèíèìàþùåéñòîðîíîé,òîñòîðîíàîòïðàâèòåëüìîæåòåãîàííóëè-
ðîâàòüáåççàïðîñàâûïîëíèâòîòæåìåòîä,íîäîêóìåíòáóäåòàííóëèðîâàíñðàçóæå.
ÑâîéÊîììåíòàðèéÊÀííóëèðîâàíèþ=
"Íåóäîâëåòâîðÿåòóñëîâèÿìäîãîâîðà"
;
Document.SendRevocationRequest(ÑâîéÊîììåíòàðèéÊÀííóëèðîâàíèþ);
ˆ
Åñëèäîêóìåíòòðåáóåòàííóëèðîâàíèåòîìîæíîëèáîñîãëàñèòüñÿèïðèíÿòüçàïðîñíààííóëè-
ðîâàíèå,ëèáîîòêëîíèòüçàïðîñíààííóëèðîâàíèå.Âñëó÷àåîòêàçàîòàííóëèðîâàíèÿ,ìîæíî
áóäåòïîâòîðîíîçàïóñòèòüïðîöåññîòïðàâèâíîâûéçàïðîñíààííóëèðîâàíèå.
1.
Îòêàçîòàííóëèðîâàíèÿ
ÑâîéÊîììåíòàðèéÊÎòêàçó=
"Óäîâëåòâîðÿåòóñëîâèÿìäîãîâîðà"
;
Document.RejectRevocationRequest(ÑâîéÊîììåíòàðèéÊÎòêàçó);
2.
Ïðèíÿòèåàííóëèðîâàíèÿ
26Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
Document.AcceptRevocationRequest();
Êàêðàáîòàòüñîáëà÷íîéïîäïèñüþ
Åñëèóïîëüçîâàòåëÿèìååòñÿîáëà÷íàÿïîäïèñü,îíìîæåòèñïîëüçîâàòüååäëÿïîäïèñàíèÿèñõîäÿùèõ
èâõîäÿùèõäîêóìåíòîâ(îïîëó÷åíèèñïèñêàîáëà÷íûõñåðòèôèêàòîâñì.
ÏðîöåäóðàÎòïðàâèòüÑ÷åòÔàêòóðó(Organization,CounteragentId)
SendTask=Organization.CreateSendTask("InvoiceContent");
SendTask.CounterAgentId=CounteragentId;
InvoiceContent=SendTask.Content;
InvoiceContent.Date=
'
20130101
'
;
InvoiceContent.Number="1";
InvoiceContent.Currency="643";
InvoiceContent.Seller.Name="ÎÎÎÏðîäàâåö";
InvoiceContent.Seller.Inn="2012500001";
InvoiceContent.Seller.Kpp="111111111";
InvoiceContent.Seller.Address.RegionCode="66";
InvoiceContent.Buyer.Name="ÎÎÎÏîêóïàòåëü";
InvoiceContent.Buyer.Inn="2012600006";
InvoiceContent.Buyer.Kpp="222222222ID";
InvoiceContent.Buyer.Address.RegionCode="66";
Item=InvoiceContent.AddItem();
Item.Product="Òîâàð";
Item.UnitCode="166";
Item.Quantity=10;
Item.Price=100;
Item.TotalWithVatExcluded=1000;
3.3.Êàêðàáîòàòüñäîêóìåíòàìè27
1CDiadocDocumentation,Âûïóñê1
Item.TaxRate="18";
Item.Vat=180;
Item.Total=1180;
Êàêïîäïèñàòüâõîäÿùèåäîêóìåíòûîáëà÷íîéïîäïèñüþ
Äëÿïîäïèñàíèÿâõîäÿùåãîäîêóìåíòàîáëà÷íîéïîäïèñüþ,íóæíî:
ˆ
ñîçäàòüîòâåòíîåçàäàíèåíàîòïðàâêóìåòîäîì
CreateReplySendTask
îáúåêòà
Document
èëèìåòî-
äîì
CreateReplySendTask
îáúåêòà
DocumentPackage
èçàïîëíèòüïàðàìåòðûîòïðàâêèîòâåòíîãî
äîêóìåíòà;
ˆ
ïîëó÷èòüñïèñîêîáëà÷íûõñåðòèôèêàòîâïîëüçîâàòåëÿìåòîäîì
ÏðîöåäóðàÏîäïèñàòüÀêò(Document,Organization,CounteragentId)
ReplySendTask=Document.CreateReplySendTask(
"AcceptDocument"
);
ReplySendTaskContent=ReplySendTask.Content;
ReplySendTaskContent.ShipmentReceiptDate=ÒåêóùàÿÄàòà();
ReplySendTaskContent.Signer.Inn=
"2012600006"
;
ReplySendTaskContent.Signer.FirstName=
"Signer.FirstName"
;
ReplySendTaskContent.Signer.Surname=
"Signer.Surname"
;
CloudCerts=Connection.CloudCertificates();
28Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
1CDiadocDocumentation,Âûïóñê1
SignTask.Confirm(pin);
ReplySendTask.Send();
ÊîíåöÏðîöåäóðû
Âñèñòåìåäîñòóïíûðàçëè÷íûå
òèïûäîêóìåíòîâ
Òèïûäîêóìåíòîâ
Ñóùåñòóþòñëåäóþùèåòèïûäîêóìåíòîâ:
1.
Ôîðìàëèçîâàííûåäîêóìåíòû-xmlôàéëâôîðìàòåÔÍÑ.
ˆ
Ñ÷åò-ôàêòóðà
ˆ
Èñïðàâëåíèåñ÷åòà-ôàêòóðû
ˆ
Êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
ˆ
Èñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
ÔîðìàëèçîâàííûéÒîðã-12
ˆ
ÔîðìàëèçîâàííûéÀêòâûïîëíåííûõðàáîò
2.
Íåôîðìàëèçîâàííûåäîêóìåíòû-ôàéëûâïðîèçâîëüíîìôîðìàòå:PDF,XLSX,DOCXèäð.
ˆ
ÍåôîðìàëèçîâàííûéÒîðã-12
ˆ
ÍåôîðìàëèçîâàííûéÀêòâûïîëíåííûõðàáîò
ˆ
Ñ÷åòíàîïëàòó
ˆ
Çàïðîñíàèíèöèàöèþêàíàëàîáìåíàäîêóìåíòàìè÷åðåçÄèàäîê
ˆ
Äîãîâîð
ˆ
Ïðîèçâîëüíûéíåôîðìàëèçîâàííûéäîêóìåíò
Äëÿäîêóìåíòîâñ÷åò-ôàêòóðà,êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðàñîñòîðîíûïîëó÷àòåëÿòðåáóåòñÿ
ôîðìèðîâàíèåêâèòàíöèèîïîëó÷åíèèäîêóìåíòàâñîîòâåòñòâèèñ
ðåãëàìåíòîìäîêóìåíòîîáîðîòà
ýëåêòðîííûõ:doc:ñ÷åòîâ-ôàêòóðhttps://diado&#xhttp;&#xs://; iad;&#xo52c;&#x.kon;&#xtur.;&#xru/s; k/0;c.kontur.ru/sdk/
.
Äëÿäîêóìåíòîâôîðìàëèçîâàííûéòîðã-12èôîðìàëèçîâàííûéàêòïîäïèñàíèåíàñòîðîíåïîëó-
÷àòåëÿïðîèçâîäèòñÿïóòåìôîðìèðîâàíèÿîòäåëüíîãîôàéëà(òèòóëïîêóïàòåëÿ),êîòîðûûéïðèñî-
åäèíÿåòñÿêîñíîâíîìóäîêóìåíòó
Äëÿâñåõîñòàëíûõäîêóìåíòîâïîäïèñàíèåíàñòîðîíåïîëó÷àòåëÿïðîèñõîäèòïóòåìôîðìèðîâàíèÿ
ïîäïèñèïîäïîëó÷åííûìîòîòïðàâèòåëÿäîêóìåíòîì
Ðåãëàìåíòíûéäîêóìåíòîîáîðîòïîýëåêòðîííûìñ÷åòàìôàêòó-
ðàì
Äëÿóäîáñòâàðàáîòûîáúåêò
Organization
ñîäåðæèòìåõàíèçìàâòîìàòèçèðîâàííîãîôîðìèðîâàíèÿè
îòïðàâêèâñåõòåõíîëîãè÷åñêèõäîêóìåíòîâ,êîòîðûåòðåáóåò
ðåãëàìåíòäîêóìåíòîîáîðîòà:doc:ÝÑÔ
#InvoiceDo&#x#Inv;&#xoic5;ǭo;Ԝo;&#xw000;cow
.Ýòîòìåõàíèçìèíêàïñóëèðîâàíâîáúåêòå
ReceiptGenerationProcess
.
3.4.Ðåãëàìåíòíûéäîêóìåíòîîáîðîòïîýëåêòðîííûìñ÷åòàìôàêòóðàì29
1CDiadocDocumentation,Âûïóñê1
Îáúåêò
ReceiptGenerationProcess
èìååòìåòîäûStart,Stop,ïðåäíàçíà÷åííûåäëÿçàïóñêàèîñòàíîâêè
ïðîöåññà,ñîîòâåòñòâåííî.Ïðîöåññôîðìèðîâàíèÿòåõíîëîãè÷åñêèõäîêóìåíòîâðàáîòàåòâôîíîâîì
ïîòîêåèíåâíîñèòçàäåðæåêâðàáîòóèíòåðôåéñà.Ïðèìåð:
Ðàáîòàñèñêëþ÷åíèÿìè
Ìåòîäûáèáëèîòåêèìîãóòâîçâðàùàòüðàçëè÷íûåèñêëþ÷åíèÿ.
Ñòðîêàèñêëþ÷åíèÿèìååòñëåäóþùèéôîðìàò:
##ÊÎÄ_ÎØÈÁÊÈ[ÐÀÑØÈÔÐÎÂÊÀ_ÊÎÄÀ]ÎÏÈÑÀÍÈÅ_ÎØÈÁÊÈ
Êîäîøèáêèìîæåòïðèíèìàòüñëåäóþùèåçíà÷åíèÿ:
ˆ
100[ÎøèáêàñåðâåðàÄèàäîê]:ÎøèáêàïðîèçîøëàâîâðåìÿîáðàáîòêèäàííûõíàñåðâåðåÄèàäîê
ˆ
101[ÍåâåðíûéÑÌÑêîä]:ÍåâåðíûéÑÌÑêîääëÿïîäòâåðæäåíèÿîïåðàöèè
ˆ
200[Îøèáêàïåðåäà÷èäàííûõ÷åðåçèíòåðíåò]:Îøèáêàðàáîòûñèíòåðíåòñîåäèíåíèåì
ˆ
300[ÎøèáêàCryptoPro]:Îøèáêèñâÿçàííûåñêðèïòî-ïðîâàéäåðîìÊðèïòîÏðî
ˆ
301[ÎøèáêàCryptoPro]:Íåíàéäåíêîíòåéíåðçàêðûòîãîêëþ÷à
ˆ
302[ÎøèáêàCryptoPro]:Íåíàéäåíñåðòèôèêàò
ˆ
400[Îøèáêàâðåìåíèâûïîëíåíèÿwindows]:Îøèáêàëîãèêèðàáîòûêîìïîíåíòû
Ïðèìåð:
##300[ÎøèáêàCryptoPro]:Íåóñòàíîâëåíçàêðûòûéêëþ÷äëÿñåðòèôèêàòà
30Ãëàâà3.Ïðèìåðûèñïîëüçîâàíèÿêîìïîíåíòû
Ãëàâà
4
Ññûëêèäëÿñêà÷èâàíèÿ
RSS
Òåêóùèåâåðñèèâíåøíåéêîìïîíåíòû
Âíåøíÿÿêîìïîíåíòàäëÿ1Ñ
-âåðñèÿ5.20.3.304
Âíåøíÿÿêîìïîíåíòàäëÿ1Ñ,äëÿ64-õáèòíûõïðèëîæåíèé
-âåðñèÿ5.20.3.304
COM-êîìïîíåíòàäëÿâñòðàèâàíèÿâïðîèçâîëüíûåñèñòåìû
-âåðñèÿ5.20.3.304
COM-êîìïîíåíòàäëÿâñòðàèâàíèÿâïðîèçâîëüíûåñèñòåìû,äëÿ64-õáèòíûõïðèëîæåíèé
-5.20.3.304
Ðåäàêöèèêîìïîíåíòû,ïîääåðæêàêîòîðûõïðåêðàùåíà
v4.0
ïîääåðæêàïðåêðàùåíàñ31.06.2017
v3.0
ïîääåðæêàïðåêðàùåíàñ21.04.2016
v2.3
ïîääåðæêàïðåêðàùåíàñ21.10.2015
v2.2
ïîääåðæêàïðåêðàùåíàñ21.10.2015
31
1CDiadocDocumentation,Âûïóñê1
32Ãëàâà4.Ññûëêèäëÿñêà÷èâàíèÿ
Ãëàâà
5
ÑåðâåðÄèàäîê
Ðàçäåëñîäåðæèòáàçîâûåîáúåêòû,ñïîìîùüþêîòîðûõìîæíîâçàèìîäåéñòâîâàòüññåðâåðîìÄèàäîê
ÎáúåêòèíòåðôåéñàÄèàäîê
ÎáúåêòDiadocInvoiceAPIïðåäíàçíà÷åíäëÿ:
ˆ
óïðàâëåíèÿïàðàìåòðàìèïîäêëþ÷åíèÿêñåðâåðóÄèàäîê;
ˆ
àâòîðèçàöèèíàñåðâåðåÄèàäîê.
Ñâîéñòâàîáúåêòà
ˆ
ApiClientId
(còðîêà,÷òåíèå/çàïèñü)-òåêóùèéêëþ÷ðàçðàáîò÷èêà
ˆ
ServerUrl
(ñòðîêàá÷òåíèå/çàïèñü)-òåêóùèéURLñåðâåðàÄèàäîê
ˆ
33
1CDiadocDocumentation,Âûïóñê1
ˆ
CreateConnectionByCerticate
-ïðîèçâîäèòàâòîðèçàöèþèñîçäàíèåëîãè÷åñêîãîñîåäèíåíèÿïî
ñåðòèôèêàòóñóêàçàííûìîòïå÷àòêîì
Êëþ÷ðàçðàáîò÷èêàèñïîëüçóåòñÿäëÿèäåíòèôèêàöèèèíòåãðàòîðà,èñïîëüçóþùåãîâíåø-
íþþêîìïîíåíòó.Äëÿïîëó÷åíèÿêëþ÷àðàçðàáîò÷èêàíóæíîîòïðàâèòüçàïðîñ÷åðåçôîðìó
https://www.diadoc.ru/integrations/api#order-api
.Èíòåãðàòîðíåäîëæåíïåðåäàâàòüñâîéêëþ÷ðàç-
ðàáîò÷èêàòðåòüèìëèöàì.
Âêà÷åñòâåURLñåðâåðàÄèàäîêíåîáõîäèìîïåðåäàâàòüñòðîêó
https://diadoc-api.kontur.ru:443

TestConnection
Ìåòîä
îáúåêòàèíòåðôåéñàÄèàäîê
.
Ñèíòàêñèñ
TestConnection()
Âîçâðàùàåìîåçíà÷åíèå
Áóëåâî.
Îïèñàíèå
ÏðîèñõîäèòïîïûòêàñîåäèíåíèÿññåðâåðîìÄèàäîê:
Âñëó÷àåóñïåøíîãîñîåäèíåíèÿ,âîçâðàùàåòñÿÈñòèíà,âïðîòèâíîìñëó÷àå,âîçâðàùàåòñÿËîæü.
34
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Êîëëåêöèÿ
Collection
îáúåêòîâòèïà
PersonalCerticate
.
Îïèñàíèå
Âîçâðàùàåòçàðåãèñòðèðîâàííûåíàêëèåíòñêîéìàøèíåëè÷íûåñåðòèôèêàòûïîëüçîâàòåëÿ.
VerifyThatUserHasAccessToAnyBox
Ìåòîä
îáúåêòàèíòåðôåéñàÄèàäîê.
Ñèíòàêñèñ
VerifyThatUserHasAccessToAnyBox(Thumbprin&#xTh27;&#xum28; pri;&#xn28t;t).
Ïàðàìåòðû
ˆ
Thumbprin&#xTh28;&#xum27; pri;&#xn28t;t(ñòðîêà,îáÿçàòåëüíûé)-îòïå÷àòîêñåðòèôèêàòà
Âîçâðàùàåìîåçíà÷åíèå
Áóëåâî.
Îïèñàíèå
ÄëÿóêàçàííîãîñåðòèôèêàòàïûòàåòñÿíàéòèïîëüçîâàòåëÿÄèàäîêàèïðîâåðÿåòåñòü-ëèóýòîãîïîëü-
çîâàòåëÿäîñòóïâêàêîé-ëèáîÿùèê.ÂîçâðàùàåòÈñòèíà,åñëèåñòüäîñòóï,Ëîæüâèíîìñëó÷àå.
CreateConnectionByLogin
Ìåòîä
îáúåêòàèíòåðôåéñàÄèàäîê
.
Ñèíòàêñèñ
&#xLogi;&#xn000;CreateConnectionByLogin(Login,Passw&#xP27a;&#xssw2;ord;ord)
Ïàðàìåòðû
ˆ
&#xLogi;&#xn000;Login(ñòðîêà,îáÿçàòåëüíûé)-ëîãèíïîëüçîâàòåëÿ
ˆ
Password&#xP28a;&#xssw2;or1; -10;(ñòðîêà,îáÿçàòåëüíûé)-ïàðîëüïîëüçîâàòåëÿ
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
DiadocConnection
.
Îïèñàíèå
Ïðîèñõîäèòàâòîðèçàöèÿèñîçäàíèåëîãè÷åñêîãîñîåäèíåíèÿïîëîãèíóèïàðîëþïîëüçîâàòåëÿ.
CreateConnectionByCerticate
Ìåòîä
îáúåêòàèíòåðôåéñàÄèàäîê
.
Ñèíòàêñèñ
CreateConnectionByCerticate(Thumbprin&#xTh27;&#xum28; pri;&#xn28t;t,&#xPin0;Pin)
Ïàðàìåòðû
ˆ
Thumbprin&#xTh28;&#xum27; pri;&#xn28t;t(ñòðîêà,îáÿçàòåëüíûé)-îòïå÷àòîêñåðòèôèêàòà
ˆ
&#xPin0;Pin(ñòðîêà)-Ïèíêîäîòñåðòèôèêàòà/ñìàðòêàðòû
5.1.ÎáúåêòèíòåðôåéñàÄèàäîê35
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
DiadocConnection
.
Îïèñàíèå
Ïðîèñõîäèòàâòîðèçàöèÿèñîçäàíèåëîãè÷åñêîãîñîåäèíåíèÿïîñåðòèôèêàòóñóêàçàííûìîòïå÷àòêîì.
Ñîåäèíåíèå
ÎáúåêòDiadocConnectionïðåäíàçíà÷åíäëÿóïðàâëåíèÿëîãè÷åñêèìñîåäèíåíèåìññåðâåðîìÄèàäîêà.
Ñâîéñòâàîáúåêòà
ˆ
Login
(ñòðîêà,÷òåíèå)-èìÿïîëüçîâàòåëÿ,ïîêîòîðîìóïðîèçîøëààâòîðèçàöèÿ
ˆ
36
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
5.2.Ñîåäèíåíèå
37
1CDiadocDocumentation,Âûïóñê1
Êîëëåêöèÿ
Collection
îáúåêòîâ
CloudCerticateInfo
Îïèñàíèå
Âîçâðàùàåòñïèñîêîáëà÷íûõñåðòèôèêàòîâ,êîòîðûåäîñòóïíûòåêóùåìóïîëüçîâàòåëþ.Äîñòóïíû
òîëüêîâñëó÷àå,åñëèñîåäèíåíèåâûïîëíåíîïîëîãèíóèïàðîëþ.
38
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
ˆ
FnsRegistrationDate
(äàòà,÷òåíèå)-äàòàïîäà÷èçàÿâëÿåíèÿâÔÍÑíàðåãèñòðàöèþäàííîéîð-
ãàíèçàöèèâêà÷åñòâåó÷àñòíèêàäîêóìåíòîîáîðîòàÝÑÔ.Âñëó÷àå,åñëèîðãàíèçàöèÿíåïîäàâàëà
çàÿâëåíèÿ,âîçâðàùàåòñÿïóñòàÿäàòà
ˆ
IsTest
(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîîðãàíèçàöèÿðàáîòàåòâòåñòîâîìðåæèìå
ˆ
IsPilot
(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîîðãàíèçàöèÿðàáîòàåòâïèëîòíîìðåæèìå
ˆ
EncryptedDocumentsAllowed
(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîäëÿîðãàíèçàöèèðàçðåøåíà
îòïðàâêàçàøèôðîâàííûõäîêóìåíòîâ
Ìåòîäûîáúåêòà
ˆ
5.3.Îðãàíèçàöèÿ
39
1CDiadocDocumentation,Âûïóñê1
ˆ
40
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
5.3.Îðãàíèçàöèÿ
41
1CDiadocDocumentation,Âûïóñê1
42
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêòïðîèçâîäíîãîîò
Document
òèïà.
Îïèñàíèå
Âîçâðàùàåòîáúåêò,ñîîòâåòñòâóþùèéäîêóìåíòóñçàäàííûìèäåíòèôèêàòîðîì,ïðèóñëîâèè,÷òîîí
íàõîäèòñÿòåêóùåìÿùèêå.
5.3.Îðãàíèçàöèÿ
43
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
SendTask
.
Îïèñàíèå
ÏîçâîëÿåòñîçäàòüçàäàíèåäëÿîòïðàâêèôîðìàëèçîâàííîãîäîêóìåíòàíàñåðâåðÄèàäîê.
CreateSendTaskFromFile
Ìåòîäîáúåêòà
Organization
Ñèíòàêñèñ
CreateSendTaskFromFile(P&#xP28a;&#xth00;ath,Typ&#xT28y;&#xp-28;e)
Ïàðàìåòðû
ˆ
P&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäîôàéëà
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-òèïîòïðàâëÿåìîãîäîêóìåíòà
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
InvoiceContent-îòïðàâêàñ÷åòà-ôàêòóðû,èñïðàâëåíèÿñ÷åòà-ôàêòóðû
ˆ
InvoiceCorrectionContent-îòïðàâêàêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû,èñïðàâëåíèÿêîððåêòè-
ðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
XmlAcceptanceCerticateContent-îòïðàâêàôîðìàëèçîâàííîãîàêòàîâûïîëíåíèèðàáîòâôîð-
ìàòåxml
ˆ
XmlTorg12Content-îòïðàâêàôîðìàëèçîâàííîéÒÎÐÃ-12âôîðìàòåxml
ˆ
UniversalTransferDocument-îòïðàâêàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
NonformilizedDocumentContent-îòïðàâêàïðîèçâîëüíîãîíåôîðìàëèçîâàííîãîäîêóìåíòà
ˆ
AcceptanceCerticateContent-îòïðàâêàíåôîðìàëèçîâàííîãîàêòàîâûïîëíåíèèðàáîò
ˆ
Torg12Content-îòïðàâêàíåôîðìàëèçîâàííîéÒÎÐÃ-12
ˆ
ProformaInvoiceContent-îòïðàâêàíåôîðìàëèçîâàííîãîñ÷åòàíàîïëàòó
ˆ
XmlContent-îòïðàâêàïðîèçâîëüíîãîôîðìàëèçîâàííîãîäîêóìåíòàâôîðìàòåxml
ˆ
Contract-îòïðàâêàäîãîâîðà
ˆ
CerticateRegistry-îòïðàâêàðååñòðàñåðòèôèêàòîâ
ˆ
PriceListAgreement-îòïðàâêàïðîòîêîëàñîãëàñîâàíèÿöåíû
ˆ
ReconciliationAct-îòïðàâêààêòàñâåðêè
ˆ
44
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
Óíèâåðñàëüíûéòèïäîêóìåíòà-Documentïîääåðæèâàåòüñÿòîëüêîîáúåêòîì
PackageSendTask
.
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
SendTask
.
Îïèñàíèå
ÏîçâîëÿåòñîçäàòüçàäàíèåäëÿîòïðàâêèäîêóìåíòàíàñåðâåðÄèàäîêíàîñíîâåñôîðìèðîâàííîãî
ôàéëà.
CreateSendTaskFromFileRaw
Ìåòîäîáúåêòà
Organization
Ñèíòàêñèñ
CreateSendTaskFromFileRaw(P&#xP28a;&#xth00;ath,Typ&#xT27y;&#xp-27;e)
Ïàðàìåòðû
ˆ
P&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäîôàéëà
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-òèïîòïðàâëÿåìîãîäîêóìåíòà
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
InvoiceContent-îòïðàâêàñ÷åòà-ôàêòóðû,èñïðàâëåíèÿñ÷åòà-ôàêòóðû
ˆ
InvoiceCorrectionContent-îòïðàâêàêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû,èñïðàâëåíèÿêîððåêòè-
ðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
XmlAcceptanceCerticateContent-îòïðàâêàôîðìàëèçîâàííîãîàêòàîâûïîëíåíèèðàáîòâôîð-
ìàòåxml
ˆ
XmlTorg12Content-îòïðàâêàôîðìàëèçîâàííîéÒÎÐÃ-12âôîðìàòåxml
ˆ
UniversalTransferDocument-îòïðàâêàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
NonformilizedDocumentContent-îòïðàâêàïðîèçâîëüíîãîíåôîðìàëèçîâàííîãîäîêóìåíòà
ˆ
AcceptanceCerticateContent-îòïðàâêàíåôîðìàëèçîâàííîãîàêòàîâûïîëíåíèèðàáîò
ˆ
Torg12Content-îòïðàâêàíåôîðìàëèçîâàííîéÒÎÐÃ-12
ˆ
ProformaInvoiceContent-îòïðàâêàíåôîðìàëèçîâàííîãîñ÷åòàíàîïëàòó
ˆ
XmlContent-îòïðàâêàïðîèçâîëüíîãîôîðìàëèçîâàííîãîäîêóìåíòàâôîðìàòåxml
ˆ
Contract-îòïðàâêàäîãîâîðà
ˆ
CerticateRegistry-îòïðàâêàðååñòðàñåðòèôèêàòîâ
ˆ
PriceListAgreement-îòïðàâêàïðîòîêîëàñîãëàñîâàíèÿöåíû
ˆ
ReconciliationAct-îòïðàâêààêòàñâåðêè
ˆ
5.3.Îðãàíèçàöèÿ
45
1CDiadocDocumentation,Âûïóñê1
ˆ
TovTorg-Òîðã-12âôîðìàòå551ïðèêàçàÔÍÑ
ˆ
XmlAcceptanceCerticate552-àêòâôîðìàòå552-ãîïðèêàçàÔÍÑ
Óíèâåðñàëüíûéòèïäîêóìåíòà-Documentïîääåðæèâàåòüñÿòîëüêîîáúåêòîì
PackageSendTask
.
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
SendTask
.
Îïèñàíèå
ÏîçâîëÿåòñîçäàòüçàäàíèåäëÿîòïðàâêèäîêóìåíòàíàñåðâåðÄèàäîêíàîñíîâåñôîðìèðîâàííîãî
ôàéëà.Åñëèîòïðàâêàîñóùåñòâëÿåòüñÿäëÿôîðìàëèçîâàííûõäîêóìåíòîâ,òîîòïðàâëÿåòèñõîäíûé
ôàéëêàêåñòü.
46
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Êîëëåêöèÿ
Collection
îáúåêòîâ
DocumentEvent
.
Îïèñàíèå
Âîçâðàùàåòñïèñîêñîáûòèé,ñëåäóþùèõçàñîáûòèåìñèäåíòèôèêàòîðîìEventIdâõðîíîëîãè÷åñêîì
ïîðÿäêå,ïðèýòîìñàìîñîáûòèåñèäåíòèôèêàòîðîìEventIdâýòîòñïèñîêíåâêëþ÷àåòñÿ.Åñëèâêà-
÷åñòâåEventIdïåðåäàíàïóñòàÿñòðîêà,òîìåòîäâåðíåòñàìûåñòàðûåñîáûòèÿèçÿùèêàîðãàíèçàöèè
(íà÷àëîèñòîðèèèçìåíåíèéâÿùèêå).Åñëèñïèñîêñîáûòèéñîäåðæèòáîëåå100ýëåìåíòîâ,òîâîòâå-
òåâîçâðàùàþòñÿïåðâûå100ýëåìåíòîâ.Ïðåäïîëàãàåòñÿ,÷òîèíòåãðàöèîííîåðåøåíèåáóäåòõðàíèòü
èäåíòèôèêàòîðïîñëåäíåãîïîëó÷åííîãîñîáûòèÿEventIdäëÿïîëó÷åíèÿñïèñêàñëåäóþùèõñîáûòèé.
5.3.Îðãàíèçàöèÿ
47
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
ÄîáàâëåíèåâñîîáùåíèåÔÍÑíîâîãîñåðòèôèêàòà.
SendDraftAsync
Ìåòîäîáúåêòà
Organization
.
Ñèíòàêñèñ
&#xMess; geI;퀀SendDraftAsync(MessageId)
Ïàðàìåòðû
ˆ
&#xMess; geI;퀀MessageId(Ñòðîêà,îáÿçàòåëüíûé)Óíèêàëüíûéèäåíòèôèêàòîð÷åðíîâèêà.
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
Èíèöèèðóåòàñèíõðîííóþîïåðàöèþîòïðàâêè÷åðíîâèêàïîåãîóíèêàëüíîìóèäåíòèôèêàòîðó.Ðåçóëü-
òàòîìàñèíõðîííîéîïåðàöèèÿâëÿåòñÿêîëëåêöèÿ
Collection
îáúåêòîâ,ïðîèçâîäíûõîò
Document
.
CreateAcquireCounteragentTask
Ìåòîäîáúåêòà
Organization
.
Ñèíòàêñèñ
CreateAcquireCounteragentTask(P&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
P&#xP28a;&#xth00;ath(Ñòðîêà,îáÿçàòåëüíûé)Ïóòüêôàéëóñïðèãëàøåíèåì.Ýòîòïàðàìåòðìîæåòáûòü
ïóñòûì,âòàêîìñëó÷àåçàïðîñáóäåòîòïðàâëåíáåçïðèêðåïëåííîãîôàéëà.
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AcquireCounteragentTask
.
Îïèñàíèå
Ñîçäàåòçàäàíèåäëÿîòïðàâêèïðèãëàøåíèÿêîíòðàãåíòàêïàðòíåðñòâó.
CreatePackageSendTask
Ìåòîäîáúåêòà
Organization
Ñèíòàêñèñ
CreatePackageSendTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
PackageSendTask
.
Îïèñàíèå
48
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
ÏîçâîëÿåòñîçäàòüçàäàíèåäëÿîòïðàâêèïàêåòàäîêóìåíòîâíàñåðâåðÄèàäîê.
5.3.Îðãàíèçàöèÿ
49
1CDiadocDocumentation,Âûïóñê1
Ïàðàìåòðû
ˆ
50
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
ˆ
&#xKey0;Key(ñòðîêà,îáÿçàòåëüíûé)-óíèêàëüíûéêëþ÷ïàðûâõðàíèëèùå
Âîçâðàùàåìîåçíà÷åíèå
Ñòðîêà.Çíà÷åíèåíàéäåííîéïîêëþ÷óïàðû.
Îïèñàíèå
Èçâëåêàåòçíà÷åíèåïàðûêëþ÷-çíà÷åíèåèçõðàíèëèùàïîçàäàííîìóêëþ÷ó.
5.3.Îðãàíèçàöèÿ
51
1CDiadocDocumentation,Âûïóñê1
52
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
CreateSendDraftTask
Ìåòîäîáúåêòà
Organization
Ñèíòàêñèñ
CreateSendDraftT&#xmess; geI;퀀ask(messageId)
Ïàðàìåòðû
ˆ
&#xmess; geI;퀀messageId(ñòðîêà,îáÿçàòåëüíûé)-èä÷åðíîâèêàñîîáùåíèÿêîòïðàâêå
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
SendDraftTask
.
Îïèñàíèå
Ïîçâîëÿåòñîçäàòüçàäàíèåäëÿîòïðàâêè÷åðíîâèêàäîêóìåíòà.
5.4.Counteragent
53
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Id
(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðêîíòðàãåíòàâÄèàäîêå
ˆ
Name
(ñòðîêà,÷òåíèå)-íàèìåíîâàíèåêîíòðàãåíòà
ˆ
Inn
(ñòðîêà,÷òåíèå)-ÈÍÍêîíòðàãåíòà
ˆ
Kpp
(ñòðîêà,÷òåíèå)-ÊÏÏêîíòðàãåíòà
ˆ
Address
(îáúåêò
Address
,÷òåíèå)-þðèäè÷åñêèéàäðåñêîíòðàãåíòà
ˆ
Departments
(
êîëëåêöèÿ
îáúåêòîâ
Department
,÷òåíèå)-ñïèñîêïîäðàçäåëåíèéêîíòðàãåíòà.
Âîçâðàùàþòñÿïîäðàçäåëåíèÿ,íåèìåþùèåðîäèòåëüñêèõïîäðàçäåëåíèé.Ñïèñîêäî÷åðíèõïîä-
ðàçäåëåíèéìîæíîïîëó÷èòü,èñïîëüçóÿñâîéñòâîSubdepartmentsîáúåêòàDepartment
ˆ
LastEventTimestampTicks
(äàòàèâðåìÿ,÷òåíèå)-ìåòêàâðåìåíèïîñëåäíåãîñîáûòèÿèçèñ-
òîðèèâçàèìîäåéñòâèÿñäàííûìêîíòðàãåíòîì
ˆ
FnsParticipantId
(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðêîíòðàãåíòàêàêó÷àñòíèêàäîêóìåíòîîáî-
ðîòà
ˆ
MessageFromCounteragent
(ñòðîêà,÷òåíèå)-òåêñòïîñëåäíåãîêîììåíòàðèÿ,ïîëó÷åííîãîîò
êîíòðàãåíòà,èçèñòîðèèâçàèìîäåéñòâèÿíèì
ˆ
54
Ãëàâà5.ÑåðâåðÄèàäîê
1CDiadocDocumentation,Âûïóñê1
ÂîçâðàùàåòòåêóùèéñòàòóñïàðòíåðñêèõîòíîøåíèéñêîíòðàãåíòîìâÄèàäîêå.
Âîçìîæíûåçíà÷åíèÿ:
ˆ
InvitesMeäàííûéêîíòðàãåíòïðèñëàëçàïðîñíàóñòàíîâëåíèåîòíîøåíèÿïàðòíåðñòâà
ˆ
IsInvitedByMeâàäðåñäàííîãîêîíòðàãåíòàáûëîòïðàâëåíçàïðîñíàóñòàíîâëåíèåîòíîøåíèÿ
ïàðòíåðñòâà
ˆ
IsMyCounteragentîòíîøåíèåïàðòíåðñòâàóñòàíîâëåíîèäåéñòâóåò
ˆ
IsRejectedByMeîòíîøåíèåïàðòíåðñòâàáûëîðàçîâàðâàíîñîñòîðîíûòåêóùåéîðãàíèçàöèè,
ëèáîçàïðîñíàóñòàíîâëåíèåîòíîøåíèÿïàðòíåðñòâàáûëîòêëîíåíòåêóùåéîðãàíèçàöèåé
ˆ
NotInCounteragentListñïåöèàëüíîåçíà÷åíèå,âûäàâàåìîåäëÿîðãàíèçàöèé,êîòîðûåîòñóòñòâó-
þòâñïèñêåêîíòðàãåíòîâòåêóùåéîðãàíèçàöèè
ˆ
RejectsMeîòíîøåíèåïàðòíåðñòâàáûëîðàçîâàðâàíîñîñòîðîíûêîíòðàãåíòà,ëèáîçàïðîñíà
óñòàíîâëåíèåîòíîøåíèÿïàðòíåðñòâàáûëîòêëîíåíêîíòðàãåíòîì
ˆ
UnknownCounteragentStatusíåèçâåñòíûéñòàòóñ
AcquireCounteragent
Ìåòîäîáúåêòà
Counteragent
.
Ñèíòàêñèñ
AcquireCounteragent(Commen omm;n28;&#xt000;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,îáÿçàòåëüíûé)-êîììåíòàðèéêñîáûòèþ
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ïîçâîëÿåòäîáàâèòüêîíòðàãåíòàâñïèñîêêîíòðàãåíòîâ.
Ïðèâûçîâåìåòîäàïðîèñõîäèòîäíîèçñëåäóþùèõäåéñòâèé:
ˆ
Åñëèìåæäóíàøåéîðãàíèçàöèåéèêîíòðàãåíòîìíåòäåéñòâóþùèõîòíîøåíèéïàðòíåðñòâà,òîãäà
ïðîèñõîäèòîòïðàâêàçàïðîñàíàóñòàíîâëåíèåóêàçàííûõîòíîøåíèé.
ˆ
Åñëèîòäàííîãîêîíòðàãåíòàèìååòñÿçàïðîñíàóñòàíîâëåíèåïàðòíåðñêèõîòíîøåíèé,òîãäàçà-
ïðîñïîäòâåðæäàåòñÿèìåæäóêîíòðàãåíòîìèíàøåéîðãàíèçàöèåéóñòàíàâëèâàåòñÿäåéñòâóþùåå
îòíîøåíèåïàðòíåðñòâà.
ˆ
Åñëèóæåñóùåñòâóåòîòíîøåíèåïàðòíåðñòâàìåæäóêîíòðàãåíòîìèíàøåéîðãàíèçàöèåé,òîãäà
íè÷åãîíåïðîèñõîäèò.
BreakWithCounteragent
Ìåòîäîáúåêòà
Counteragent
.
Ñèíòàêñèñ
BreakWithCounteragent(Commen omm;n27;&#xt000;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,îáÿçàòåëüíûé)-êîììåíòàðèéêñîáûòèþ
5.4.Counteragent
55
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ïîçâîëÿåòðàçîðâàòüäåéñòâóþùååîòíîøåíèåïàðòíåðñòâàìåæäóêîíòðàãåíòîìèíàøåéîðãàíèçàöèåé.
Ïðèâûçîâåìåòîäàïðîèñõîäèòîäíîèçñëåäóþùèõäåéñòâèé:
ˆ
Åñëèìåæäóíàøåéîðãàíèçàöèåéèêîíòðàãåíòîìåñòüäåéñòâóþùååîòíîøåíèå,òîãäàîíîðàçðû-
âàåòñÿ.
ˆ
Åñëèîòäàííîãîêîíòðàãåíòàèìååòñÿçàïðîñíàóñòàíîâëåíèåïàðòíåðñêèõîòíîøåíèé,òîãäàýòîò
çàïðîñîòêëîíÿåòñÿ.
ˆ
Åñëèâàäðåñäàííîãîêîíòðàãåíòàóæåíàïðàâëåíçàïðîñíàóñòàíîâëåíèåîòíîøåíèé,òîãäàýòîò
çàïðîñîòçûâàåòñÿ
ˆ
Åñëèíåòäåéñòâóþùèõîòíîøåíèéïàðòíåðñòâàìåæäóêîíòðàãåíòîìèíàøåéîðãàíèçàöèåé,òîãäà
íè÷åãîíåïðîèñõîäèò.
56
Ãëàâà5.ÑåðâåðÄèàäîê
Ãëàâà
6
Äîêóìåíòû
ÎáúåêòDocumentÿâëÿåòñÿáàçîâûìîáúåêòîìäëÿâñåõòèïîâäîêóìåíòîâ.Îíîáëàäàåòáàçîâûìíà-
áîðîìñâîéñòâèìåòîäîâ,êîòîðûåòàêæåðàáîòàþòäëÿâñåõïðîèçâîäíûõòèïîâäîêóìåíòîâ.Îáúåêòû
âñåõïðîèçâîäíûõòèïîâïðåäíàçíà÷åíûäëÿ:
ˆ
ïîëó÷åíèÿäàííûõîäîêóìåíòåâñèñòåìåÄèàäîê
ˆ
âûïîëíåíèåìäåéñòâèé,ïîäðàçóìåâàåìûõäîêóìåíòîîáîðîòîìïîêîíêðåòíîìóòèïóäîêóìåíòà.
ÒèïConnectionRequestèìååòòåæåñâîéñòâàèìåòîäû,÷òîèòèïDocument.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà
ˆ
OrganizationId
(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðîðãàíèçàöèè,êîòîðîéïðèíàäëåæèòäîêóìåíò
ˆ
DocumentId
(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðäîêóìåíòà
ˆ
PathURL
(ñòðîêà,÷òåíèå)-URLäîêóìåíòà,ïîêîòîðîìóîíäîñòóïåíâweb-èíòåðôåéñå
ˆ
Direction
(ñòðîêà,÷òåíèå)-íàïðàâëåíèåäîêóìåíòà
ˆ
Organization
(îáúåêò
Organization
,÷òåíèå)-îðãàíèçàöèÿ,êîòîðàÿîòïðàâèëàèñõîäÿùèéäîêó-
ìåíò,ëèáîïîëó÷èëàâõîäÿùèéäîêóìåíò
ˆ
Department
(îáúåêò
Department
,÷òåíèå)-ïîäðàçäåëåíèåîðãàíèçàöèè,êêîòîðîìóïðèâÿçàí
äîêóìåíò
ˆ
FromDepartment
(îáúåêò
Department
,÷òåíèå)-ïîäðàçäåëåíèåîðãàíèçàöèè,èçêîòîðîãîáûë
îòïðàâëåíäîêóìåíò
ˆ
ToDepartment
(îáúåêò
Department
,÷òåíèå)-ïîäðàçäåëåíèåîðãàíèçàöèè,âêîòîðîåáûëîò-
ïðàâëåíäîêóìåíò
ˆ
Counteragent
(îáúåêò
Counteragent
,÷òåíèå)-êîíòðàãåíòäîêóìåíòà
ˆ
Timestamp
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿîòïðàâêèäîêóìåíòà(âòåêóùåì÷àñîâîìïîÿñå)
ˆ
TimestampSeconds
(÷èñëî,÷òåíèå)-äàòàèâðåìÿîòïðàâêèäîêóìåíòàâñåêóíäàõ
ˆ
FileName
(ñòðîêà,÷òåíèå)-èìÿäîêóìåíòàâÄèàäîêå
ˆ
DocumentDate
(äàòà,÷òåíèå)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðäîêóìåíòà
57
1CDiadocDocumentation,Âûïóñê1
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå.Ïåðå÷åíüâîçìîæíûõçíà÷åíèé
çàâèñèòîòòèïàäîêóìåíòàèîïèñàíâñïåöèôèêàöèèñîîòâåòñòâóþùåãîïðîèçâîäíîãîîáúåêòà.
ˆ
InitialDocumentIds
(îáúåêò
Collection
,÷òåíèå)-êîëëåêöèÿèäåíòèôèêàòîðîâäîêóìåíòîâ,íà
êîòîðûéññûëàåòñÿäàííûéäîêóìåíò(ò.å.äîêóìåíòû,êîòîðûåïîîòíîøåíèþêäàííîìóäîêó-
ìåíòûÿâëÿþòñÿðîäèòåëüñêèìè
ˆ
SubordinateDocumentIds
(îáúåêò
Collection
,÷òåíèå)-êîëëåêöèÿèäåíòèôèêàòîðîâäîêóìåí-
òîâ,êîòîðûåññûëàþòñÿíàäàííûéäîêóìåíò(ò.å.äîêóìåíòû,êîòîðûåïîîòíîøåíèþêäàííîìó
äîêóìåíòóÿâëÿþòñÿäî÷åðíèìè)
ˆ
58
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Internal-âíóòðåííèéäîêóìåíò
Ñâîéñòâî
RevocationStatus
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
RevocationStatusNone-äîêóìåíòíåàííóëèðîâàí,èíåáûëîïðåäëîæåíèéîáàííóëèðîâàíèè
ˆ
RevocationIsRequestedByMe-îòïðàâëåíîèñõîäÿùååïðåäëîæåíèåîáàííóëèðîâàíèèäîêóìåíòà
ˆ
RequestsMyRevocation-ïîëó÷åíîâõîäÿùååïðåäëîæåíèåîáàííóëèðîâàíèèäîêóìåíòà
ˆ
RevocationAccepted-äîêóìåíòàííóëèðîâàí
ˆ
RevocationRejected-ïîëó÷åíèëèîòïðàâëåíîòêàçîòïðåäëîæåíèÿîáàííóëèðîâàíèèäîêóìåíòà
ˆ
UnknownRevocationStatus-íåèçâåñòíûéñòàòóñàííóëèðîâàíèÿäîêóìåíòà
Ñâîéñòâî
RoamingNoticationStatus
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
RoamingNoticationStatusNone-äîêóìåíòíåðîóìèíãîâûéèëèäîêóìåíòáåçïîäòâåðæäåíèÿ
äîñòàâêèâðîóìèíã
ˆ
RoamingNoticationStatusSuccess-äîêóìåíòñïîäòâåðæäåíèåìóñïåøíîéäîñòàâêèâðîóìèíã
ˆ
RoamingNoticationStatusError-äîêóìåíòñîøèáêîéäîñòàâêèâðîóìèíã
ˆ
UnknownRoamingNoticationStatus-íåèçâåñòíûéðîóìèíãîâûéñòàòóñäîêóìåíòà
Ñâîéñòâî
SenderSignatureStatus
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
WaitingForSenderSignature-îæèäàåòñÿïîäïèñüîòïðàâèòåëÿ
ˆ
SenderSignatureUnchecked-ïîäïèñüîòïðàâèòåëÿåùåíåïðîâåðåíà
ˆ
SenderSignatureCheckedAndValid-ïîäïèñüîòïðàâèòåëÿïðîâåðåíàèâàëèäíà
ˆ
SenderSignatureCheckedAndInvalid-ïîäïèñüîòïðàâèòåëÿïðîâåðåíàèíåâàëèäíà
ˆ
UnknownSenderSignatureStatus-íåèçâåñòíûéñòàòóñïðîâåðêèïîäïèñè
Ìåòîäûîáúåêòà
ˆ
SaveAllContent
-ñîõðàíÿåòâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.ýëåêòðîííûåïîäïèñè),â
óêàçàííóþäèðåêòîðèþ
ˆ
SaveAllContentAsync
-àñèíõðîííîñîõðàíÿåòâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.ýëåê-
òðîííûåïîäïèñè),âóêàçàííóþäèðåêòîðèþ
ˆ
SaveAllContentZip
-ôîðìèðóåòàðõèâ,ñîäåðæàùèéâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.
ýëåêòðîííûåïîäïèñè),èñîõðàíÿåòåãîâóêàçàííóþäèðåêòîðèþ
ˆ
SaveAllContentZipAsync
-àñèíõðîííîôîðìèðóåòàðõèâ,ñîäåðæàùèéâñåôàéëû,îòíîñÿùèåñÿê
äîêóìåíòó(âò.÷.ýëåêòðîííûåïîäïèñè),èñîõðàíÿåòåãîâóêàçàííóþäèðåêòîðèþ
ˆ
6.2.Ìåòîäûîáúåêòà
59
1CDiadocDocumentation,Âûïóñê1
ˆ
60
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
SaveAllContentAsync
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
SaveAllContentAsync(DirectoryP ire; tor;&#xyP28; th0;ath,WithProto&#xWith;&#xProt;&#xo-27; ol0;col)
Ïàðàìåòðû
ˆ
DirectoryP ire; tor;&#xyP28; th0;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäîäèðåêòîðèè,êóäàáóäóòñîõðàíÿòüñÿôàéëû
ˆ
WithProto&#xWith;&#xProt;&#xo-28; ol0;col(áóëåâûé,íåîáÿçàòåëüíûé)-ñîõðàíèòüïðîòîêîëïåðåäà÷èäîêóìåíòà
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
Àñèíõðîííîñîõðàíÿåòâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.ýëåêòðîííûåïîäïèñè),âóêàçàííóþ
äèðåêòîðèþ.
SaveAllContentZip
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
SaveAllContentZip(FilePile;&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
FilePile;&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüêàðõèâó,ñîäåðæàùåìóäîêóìåíòû(âêëþ÷àÿèìÿàð-
õèâà)
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ôîðìèðóåòàðõèâ,ñîäåðæàùèéâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.ýëåêòðîííûåïîäïèñè),è
ñîõðàíÿåòåãîâóêàçàííóþäèðåêòîðèþ
SaveAllContentZipAsync
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
SaveAllContentZip(FilePile;&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
FilePile;&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüêàðõèâó,ñîäåðæàùåìóäîêóìåíòû(âêëþ÷àÿèìÿàð-
õèâà)
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
6.2.Ìåòîäûîáúåêòà
61
1CDiadocDocumentation,Âûïóñê1
Àñèíõðîííîôîðìèðóåòàðõèâ,ñîäåðæàùèéâñåôàéëû,îòíîñÿùèåñÿêäîêóìåíòó(âò.÷.ýëåêòðîííûå
ïîäïèñè),èñîõðàíÿåòåãîâóêàçàííóþäèðåêòîðèþ
62
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
SaveContent
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
SaveContent(FilePile;&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
FilePile;&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäëÿñîõðàíåíèÿäîêóìåíòà
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñîõðàíÿåòäîêóìåíòââèäåôàéëàïîóêàçàííîìóïóòè.
Approve
Ìåòîäîáúåêòà
Document
Ñèíòàêñèñ
Approve(Commen om-;men;(t0;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,íåîáÿçàòåëüíûé)-êîììåíòàðèéêñîãëàñîâàíèþ
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñòàâèòïðèçíàêñîãëàñîâàíèÿäîêóìåíòà.
Disapprove
Ìåòîäîáúåêòà
Document
Ñèíòàêñèñ
Disapprove(Commen -1o;m-1;&#xmen2;t00;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,íåîáÿçàòåëüíûé)-êîììåíòàðèéêîòêàçóîòñîãëàñîâàíèÿ
6.2.Ìåòîäûîáúåêòà
63
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñòàâèòïðèçíàêîòêàçàâñîãëàñîâàíèèäîêóìåíòà.
64
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
RemoveSubordinateOneSDocumentId
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
RemoveSubordinateOneSDocumen&#xId00;tId(Id)
Ïàðàìåòðû
ˆ
&#xId00;Id(ñòðîêà,îáÿçàòåëüíûé)-äîïîëíèòåëüíûéèäåíòèôèêàòîð1Ñ
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Óäàëÿåòóêàçàííûéäîïîëíèòåëüíûéèäåíòèôèêàòîð1Ñäëÿäîêóìåíòà.
CreateResolutionRequestTask
Ìåòîäîáúåêòà
Document
Ñèíòàêñèñ
CreateResolutionRequestTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ResolutionRequestTask
.
Îïèñàíèå
Ñîçäàåòçàäàíèåäëÿîòïðàâêèçàïðîñàíàñîãëàñîâàíèå.
6.2.Ìåòîäûîáúåêòà
65
1CDiadocDocumentation,Âûïóñê1
Îïèñàíèå
Ïîëó÷àåòïîäïèñüïîëó÷àòåëÿ,ïðèëîæåííóþêäîêóìåíòó.
66
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
RejectRevocationRequest
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
RejectRevocationRequest(Commen omm;n27;&#xt000;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,íåîáÿçàòåëüíûé)-êîììåíòàðèéêîòêàçóíààííóëèðîâàíèåäîêóìåíòà
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Îòêëîíÿåòçàïðîñîáàííóëèðîâàíèèäîêóìåíòà.
6.2.Ìåòîäûîáúåêòà
67
1CDiadocDocumentation,Âûïóñê1
CreateReplySendTask
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
CreateReplySendTask(Typ&#xT28y;&#xp-28;e)
Ïàðàìåòðû
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-òèïîòâåòíîãîäåéñòâèÿ.Âñëó÷àå,åñëèòèïíåóêàçàí,ïîóìîë-
÷àíèþáóäåòâûïîëíÿòüñÿäåéñòâèåAcceptDocument.
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
AcceptDocument-ïîäïèñàíèåäîêóìåíòà
ˆ
RejectDocument-îòêàçâïîäïèñèäîêóìåíòà
ˆ
CorrectionRequest-çàïðîcíàóòî÷íåíèåäîêóìåíòîâñ÷åò-ôàêòóðàèèñïðàâëåíèåñ÷åòà-
ôàêòóðû
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ReplySendTask
.
Îïèñàíèå
Ôîðìèðóåòçàäàíèåäëÿîòâåòíîãîäåéñòâèÿñäîêóìåíòîì.Âäàííîìñëó÷àåñîäåðæèìûìîáúåêòà
ReplySendTask
(ñâîéñòâî
Content
)áóäåòîáúåêò,ïðîèçâîäíûéîò
BaseContent
,ñîîòâåòñòâóþùèéòèïó
âûïîëíÿåìîãîäåéñòâèÿ:
ˆ
äëÿäåéñòâèÿAcceptDocument:

Torg12BuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòåÔÍÑ

AcceptanceCerticateBuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòààêòîâûïîëíåíèèðà-
áîòâôîðìàòåÔÍÑ

UtdBuyerContent
-òèòóëïîêóïàòåëÿäëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà

AcceptanceContent
-äëÿäðóãèõäîêóìåíòîâ
ˆ
äëÿäåéñòâèÿòèïàRejectDocument:

FormalizedRejectionContent
-äëÿôîðìàëèçîâàííûõäîêóìåíòîâ

RejectionContent
-äëÿíåôîðìàëèçîâàííûõäîêóìåíòîâ
ˆ
äëÿäåéñòâèÿòèïàCorrectionRequest:

CorrectionRequestContent
-äëÿëþáûõäîêóìåíòîâ
CreateOutDocumentSignTask
Ìåòîäîáúåêòà
Document
Ñèíòàêñèñ
CreateOutDocumentSignTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
OutDocumentSignTask
.
Îïèñàíèå
68
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñîçäàåòçàäàíèåäëÿïîäïèñàíèÿèîòïðàâêèèñõîäÿùåãîäîêóìåíòàñîòëîæåííîéîòïðàâêîé.
MarkAsRead
Ìåòîäîáúåêòà
Document
.
Ñèíòàêñèñ
MarkAsRead()
Ïàðàìåòðû
Îòñóòñòâóþò
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Óñòàíàâëèâàåòîòìåòêó,÷òîäîêóìåíòáûëïðî÷èòàíñîòðóäíèêîìîðãàíèçàöèè.
CreateCustomDataPatchTask
Ìåòîäîáúåêòà
Document
Ñèíòàêñèñ
CreateCustomDataPatchTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
CustomDataPatchTask
.
Îïèñàíèå
Ïîçâîëÿåòñîçäàòüçàäàíèåäëÿðåäàêòèðîâàíèÿêîëëåêöèè
CustomData
îáúåêòà
Document
6.2.Ìåòîäûîáúåêòà
69
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåòðàçëè÷íûåòèïûêîììåíòàðèåâäëÿäîêóìåíòà.
Åñëèêîìåíòàðèÿçàïðîøåííîãîòèïàíåòâäîêóìåíòå,òîìåòîäâîçâðàùàåòïóñòóþñòðîêó.
Ïðîèçâîäíûåîáúåêòû
ÑëåäóþùèåîáúåêòûÿâëÿþòñÿïðîèçâîäíûìèîòDocument:
Contract
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàäîãîâîðâíåôîðìàëèçîâàííîìôîð-
ìàòå,èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Price
(ñòðîêà,÷òåíèå)-öåíà,óêàçàííàÿâäîãîâîðå
ˆ
ContractType
(ñòðîêà,÷òåíèå)-òèïäîãîâîðà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownBilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
70
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû71
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ôîðìèðóåòîòêàçâïîäïèñàíèèäîêóìåíòà.
Invoice
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàñ÷åò-ôàêòóðà,èÿâëÿåòñÿïðîèçâîäíûì
îáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿñïåö.îïåðàòîðàïåðå-
äà÷èÝÑÔ
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîÝÑÔ
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîÝÑÔ
ˆ
Total
(÷èñëî,÷òåíèå)-ñóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-ñóììàÍÄÑïîäîêóìåíòó
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownInvoiceStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèîò
ïîêóïàòåëÿ
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèîòïîêóïàòåëÿóæååñòü,íî
äîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundNotFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí
ˆ
InboundFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
Ìåòîäûîáúåêòà
ˆ
72
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
SendReceiptsAsync
-ôîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòó
ñ÷åòîâ-ôàêòóð
6.3.Ïðîèçâîäíûåîáúåêòû73
1CDiadocDocumentation,Âûïóñê1
SendReceiptsAsync
Ìåòîäîáúåêòà
Invoice
.
Ñèíòàêñèñ
SendReceiptsAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
Ôîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòóñ÷åòîâ-ôàêòóð
InvoiceRevision
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàèñïðàâëåíèåñ÷åòà-ôàêòóðû,èÿâëÿ-
åòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿñïåö.îïåðàòîðàïåðå-
äà÷èÝÑÔ
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîÝÑÔ
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîÝÑÔ
ˆ
Total
(÷èñëî,÷òåíèå)-ñóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-ñóììàÍÄÑïîäîêóìåíò
ˆ
OriginalDocumentDate
(äàòà,÷òåíèå)-äàòàïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
OriginalDocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownInvoiceStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèîò
ïîêóïàòåëÿ
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèîòïîêóïàòåëÿóæååñòü,íî
äîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundNotFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí
74
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InboundFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû75
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Îòïðàâëÿåòóâåäîìëåíèåîáóòî÷íåíèèñ÷åòà-ôàêòóðûñóêàçàííûìêîììåíòàðèåì,ñîãëàñíîïîðÿäêà
îáìåíàÝÑÔ
SendReceiptsAsync(InvoiceRevision)
Ìåòîäîáúåêòà
InvoiceRevision
.
Ñèíòàêñèñ
SendReceiptsAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
,ñèãíàëèçèðóþùèéîáîêîí÷àíèèïðîöåññàôîðìèðîâàíèèêâèòàíöèé(çíà÷åíèå
true),ëèáîîåãîïðîäîëæåíèè(çàí÷åíèåfalse).
Îïèñàíèå
Ôîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòóñ÷åòîâ-ôàêòóð
InvoiceCorrection
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà,è
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿñïåö.îïåðàòîðàïåðå-
äà÷èÝÑÔ
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîÝÑÔ
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîÝÑÔ
ˆ
TotalInc
(÷èñëî,÷òåíèå)-ñóììàêóâåëè÷åíèþïîäîêóìåíòó
ˆ
TotalDec
(÷èñëî,÷òåíèå)-ñóììàêóìåíüøåíèþïîäîêóìåíòó
ˆ
VatInc
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóâåëè÷åíèþïîäîêóìåíòó
ˆ
VatDec
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóìåíüøåíèþïîäîêóìåíòó
ˆ
OriginalDocumentDate
(äàòà,÷òåíèå)-äàòàïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
OriginalDocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
OriginalInvoiceRevisionDate
(äàòà,÷òåíèå)-äàòàèñïðàâëåíèÿïåðâîíà÷àëüíîãîñ÷åòà-
ôàêòóðû
ˆ
OriginalInvoiceRevisionNumber
(ñòðîêà,÷òåíèå)-íîìåðèñïðàâëåíèÿïåðâîíà÷àëüíîãîñ÷åòà-
ôàêòóðû
76
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownInvoiceStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèîò
ïîêóïàòåëÿ
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèîòïîêóïàòåëÿóæååñòü,íî
äîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundNotFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí
ˆ
InboundFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû77
1CDiadocDocumentation,Âûïóñê1
Îïèñàíèå
Âîçâðàùàåòêîììåíòàðèéêóâåäîìëåíèþîáóòî÷íåíèè.
SendCorrectionRequest(InvoiceCorrection)
Ìåòîäîáúåêòà
InvoiceCorrection
.
Ñèíòàêñèñ
SendCorrectionRequest(Commen omm;n28;&#xt000;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(Ñòðîêà,îáÿçàòåëüíûé)Êîììåíòàðèéêóâåäîìëåíèþîáóòî÷íåíèè.
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Îòïðàâëÿåòóâåäîìëåíèåîáóòî÷íåíèèñ÷åòà-ôàêòóðûñóêàçàííûìêîììåíòàðèåì,ñîãëàñíîïîðÿäêà
îáìåíàÝÑÔ
SendReceiptsAsync(InvoiceCorrection)
Ìåòîäîáúåêòà
InvoiceCorrection
.
Ñèíòàêñèñ
SendReceiptsAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
Ôîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòóñ÷åòîâ-ôàêòóð
InvoiceCorrectionRevision
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàèñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-
ôàêòóðû,èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿñïåö.îïåðàòîðàïåðå-
äà÷èÝÑÔ
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîÝÑÔ
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîÝÑÔ
ˆ
TotalInc
(÷èñëî,÷òåíèå)-ñóììàêóâåëè÷åíèþïîäîêóìåíòó
78
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
TotalDec
(÷èñëî,÷òåíèå)-ñóììàêóìåíüøåíèþïîäîêóìåíòó
ˆ
VatInc
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóâåëè÷åíèþïîäîêóìåíòó
ˆ
VatDec
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóìåíüøåíèþïîäîêóìåíòó
ˆ
OriginalDocumentDate
(äàòà,÷òåíèå)-äàòàïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
OriginalDocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðïåðâîíà÷àëüíîãîñ÷åòà-ôàêòóðû
ˆ
OriginalInvoiceRevisionDate
(äàòà,÷òåíèå)-äàòàèñïðàâëåíèÿïåðâîíà÷àëüíîãîñ÷åòà-
ôàêòóðû
ˆ
OriginalInvoiceRevisionNumber
(ñòðîêà,÷òåíèå)-íîìåðèñïðàâëåíèÿïåðâîíà÷àëüíîãîñ÷åòà-
ôàêòóðû
ˆ
OriginalInvoiceCorrectionDate
(äàòà,÷òåíèå)-äàòàïåðâîíà÷àëüíîãîêîððåêòèðîâî÷íîãî
ñ÷åòà-ôàêòóðû
ˆ
OriginalInvoiceCorrectionNumber
(ñòðîêà,÷òåíèå)-íîìåðïåðâîíà÷àëüíîãîêîððåêòèðîâî÷-
íîãîñ÷åòà-ôàêòóðû
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownInvoiceStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèîò
ïîêóïàòåëÿ
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèîòïîêóïàòåëÿóæååñòü,íî
äîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundNotFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí
ˆ
InboundFinished-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû79
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceCorrectionContent
.
Îïèñàíèå
Âîçâðàùàåòñîäåðæàíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûââèäåîáúåêòíîéìîäåëè.
80
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Nonformalized
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèâíåôîðìàëèçîâàííîìôîðìàòå(âòîì÷èñëå
àêòñâåðêè,äåòàëèçàöèÿ,äîïîëíèòåëüíîåñîãëàøåíèåêäîãîâîðó,ïðîòîêîëñîãëàñîâàíèÿöåíû,ðååñòð
ñåðòèôèêàòîâ,öåíîâîéëèñò),èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownNonformalizedDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundNoRecipientSignatureRequest-äîêóìåíòèñõîäÿùèé,áåççàïðîñàîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundNoRecipientSignatureRequest-äîêóìåíòâõîäÿùèé,áåççàïðîñàîòâåòíîéïîäïèñè
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalNoRecipientSignatureRequest-äîêóìåíòâíóòðåííèé,äîêóìåíòáåççàïðîñàîòâåòíîéïîä-
ïèñè
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
6.3.Ïðîèçâîäíûåîáúåêòû81
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
82
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
NonformalizedAcceptanceCerticate
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïààêòîâûïîëíåíèèðàáîòâïðîèçâîëü-
íîìôîðìàòå,èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownBilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
6.3.Ïðîèçâîäíûåîáúåêòû83
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
84
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
NonformalizedTorg12
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàÒÎÐÃ-12âïðîèçâîëüíîìôîðìàòåè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownBilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
6.3.Ïðîèçâîäíûåîáúåêòû85
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
86
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
NonformalizedProforma
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûäîêóìåíòàìèòèïàñ÷åòíàîïëàòóèÿâëÿåòñÿïðîèçâîäíûì
îáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownUnilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
Outbound-äîêóìåíòèñõîäÿùèé
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
Inbound-äîêóìåíòâõîäÿùèé
ˆ
Internal-äîêóìåíòâíóòðåííèé
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
Ìåòîäûîòñóòñòâóþò
XmlAcceptanceCerticate
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïààêòîâûïîëíåíèèðàáîòâôîðìàòå
ÔÍÑ,èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownBilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
6.3.Ïðîèçâîäíûåîáúåêòû87
1CDiadocDocumentation,Âûïóñê1
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
Ìåòîäûîáúåêòà
ˆ
88
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Reject
Ìåòîäîáúåêòà
XmlAcceptanceCerticate
.
Ñèíòàêñèñ
Reject(Commen omm;n28;&#xt000;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,îáÿçàòåëüíûé)-êîììåíòàðèéêîòêàçóâïîäïèñàíèè
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ôîðìèðóåòîòêàçâïîäïèñàíèèäîêóìåíòà.
6.3.Ïðîèçâîäíûåîáúåêòû89
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñîõðàíÿåòîòâåòíûéäîêóìåíòââèäåôàéëàïîóêàçàííîìóïóòè.
XmlTorg12
Äàííûéîáúåêòïðåäíàçíà÷åíäëÿðàáîòûñäîêóìåíòàìèòèïàÒÎÐÃ-12âôîðìàòåÔÍÑ,èÿâëÿåòñÿ
ïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
Çíà÷åíèÿñâîéñòâà
Status
ˆ
UnknownBilateralDocumentStatus-íåèçâåñòíîåñîñòîÿíèåäîêóìåíòà
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InboundWaitingForRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû
ˆ
InboundWithRecipientSignature-äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InboundRecipientSignatureRequestRejected-äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
InboundInvalidRecipientSignature-äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalWaitingForRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñü
ˆ
InternalWithRecipientSignature-äîêóìåíòâíóòðåííèé,îòâåòíàÿïîäïèñüïîñòàâëåíà
ˆ
InternalRecipientSignatureRequestRejected-äîêóìåíòâíóòðåííèé,îòïðàâëåíîòêàçîòôîðìèðî-
âàíèÿîòâåòíîéïîäïèñè
ˆ
InternalWaitingForSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
90
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InternalInvalidSenderSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîäïèñü
îòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
InternalInvalidRecipientSignature-äîêóìåíòâíóòðåííèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëü-
êóïîäïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû91
1CDiadocDocumentation,Âûïóñê1
92
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå)-ôóíêöèÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿîïåðàòîðàïåðåäà÷è
äîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîäîêóìåíòà
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîäîêóìåíòà
Çíà÷åíèÿñâîéñòâà
Function
ˆ
Ñ×Ô
ˆ
ÄÎÏ
ˆ
Ñ×ÔÄÎÏ
Çíà÷åíèÿñâîéñòâà
Status
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundWaitingForInvoiceReceiptAndRecipientSignature-äîêóìåíòèñõîäÿùèé,îòïîêóïàòåëÿ
îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ,îòâåòíàÿïîäïèñü,ëèáîîòêàçîò
ååôîðìèðîâàãèÿ
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèè
ÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄîòïîêóïàòåëÿ
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ
îòïîêóïàòåëÿóæååñòü,íîäîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
InboundWaitingForRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû)
ˆ
InboundWithRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà)
ˆ
InboundRecipientSignatureRequestRejected(äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè)
6.3.Ïðîèçâîäíûåîáúåêòû93
1CDiadocDocumentation,Âûïóñê1
ˆ
InboundInvalidRecipientSignature(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüïîëóàòåëÿíåÿâëÿåòñÿêîððåêòíîé)
ˆ
InboundNotFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí)
ˆ
InboundFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí)
ˆ
UnknownDocumentStatus-íåèçâåñòíûéñòàòóñ;ìîæåòâûäàâàòüñÿëèøüâñëó÷àå,êîãäàêëèåíò
èñïîëüçóåòóñòàðåâøóþâåðñèþSDKèíåìîæåòèíòåðïðåòèðîâàòüñòàòóñäîêóìåíòà,ïåðåäàííûé
ñåðâåðîì
Ìåòîäûîáúåêòà
ˆ
94
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
SendReceiptsAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
ÔîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòóÓÏÄñôóíêöèåéÑ×Ô
UtdRevision
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñèñïðàâëåíèåìóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòàèÿâëÿåòñÿ
ïðîèçâîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå)-ôóíêöèÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
Total
(÷èñëî,÷òåíèå)-cóììàïîäîêóìåíòó
ˆ
Vat
(÷èñëî,÷òåíèå)-cóììàÍÄÑïîäîêóìåíòó
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿîïåðàòîðàïåðåäà÷è
äîêóìåíòà
ˆ
OriginalDocumentDate
(äàòà,÷òåíèå)-äàòàïåðâîíà÷àëüíîãîäîêóìåíòà
ˆ
OriginalDocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðïåðâîíà÷àëüíîãîäîêóìåíòà
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
Çíà÷åíèÿñâîéñòâà
Function
ˆ
Ñ×Ô
ˆ
ÄÎÏ
ˆ
Ñ×ÔÄÎÏ
Ìåòîäûîáúåêòà
ˆ
6.3.Ïðîèçâîäíûåîáúåêòû95
1CDiadocDocumentation,Âûïóñê1
96
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ucd
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñóíèâåðñàëüíûìêîððåêòèðîâî÷íûìäîêóìåíòîìèÿâëÿåòñÿïðîèç-
âîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå)-ôóíêöèÿóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
TotalInc
(÷èñëî,÷òåíèå)-ñóììàêäîïëàòå
ˆ
TotalDec
(÷èñëî,÷òåíèå)-ñóììàêóìåíüøåíèþ
ˆ
VatInc
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêäîïëàòå
ˆ
VatDec
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóìåíüøåíèþ
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿîïåðàòîðàïåðåäà÷è
äîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
ˆ
Revised
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëîëèèñïðàâëåíèåäàííîãîäîêóìåíòà
ˆ
Corrected
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëàëèêîððåêòèðîâêàäàííîãîäîêóìåíòà
Çíà÷åíèÿñâîéñòâà
Function
ˆ
ÊÑ×Ô
ˆ
ÊÑ×ÔÄÈÑ
ˆ
ÄÈÑ
Çíà÷åíèÿñâîéñòâà
Status
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
ˆ
OutboundWaitingForInvoiceReceiptAndRecipientSignature-äîêóìåíòèñõîäÿùèé,îòïîêóïàòåëÿ
îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ,îòâåòíàÿïîäïèñü,ëèáîîòêàçîò
ååôîðìèðîâàãèÿ
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèè
ÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄîòïîêóïàòåëÿ
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
6.3.Ïðîèçâîäíûåîáúåêòû97
1CDiadocDocumentation,Âûïóñê1
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ
îòïîêóïàòåëÿóæååñòü,íîäîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
InboundWaitingForRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû)
ˆ
InboundWithRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà)
ˆ
InboundRecipientSignatureRequestRejected(äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè)
ˆ
InboundInvalidRecipientSignature(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüïîëóàòåëÿíåÿâëÿåòñÿêîððåêòíîé)
ˆ
InboundNotFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí)
ˆ
InboundFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí)
ˆ
UnknownDocumentStatus-íåèçâåñòíûéñòàòóñ;ìîæåòâûäàâàòüñÿëèøüâñëó÷àå,êîãäàêëèåíò
èñïîëüçóåòóñòàðåâøóþâåðñèþSDKèíåìîæåòèíòåðïðåòèðîâàòüñòàòóñäîêóìåíòà,ïåðåäàííûé
ñåðâåðîì
Ìåòîäûîáúåêòà
ˆ
98
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåòñîäåðæàíèåòèòóëàïîêóïàòåëÿóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà.
SendReceiptsAsync
Ìåòîäîáúåêòà
Ucd
.
Ñèíòàêñèñ
SendReceiptsAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
ÔîðìèðóåòèïîäïèñûâàåòäîêóìåíòûïîðåãëàìåíòíîìóäîêóìåíòîîáîðîòóÓÊÄñôóíêöèåéÊÑ×Ô
UcdRevision
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñóíèâåðñàëüíûìêîððåêòèðîâî÷íûìäîêóìåíòîìèÿâëÿåòñÿïðîèç-
âîäíûìîáúåêòîìîò
Document
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå)-ôóíêöèÿóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå)-îñíîâàíèåäîêóìåíòà
ˆ
Currency
(÷èñëî,÷òåíèå)-êîäâàëþòû
ˆ
TotalInc
(÷èñëî,÷òåíèå)-ñóììàêäîïëàòå
ˆ
TotalDec
(÷èñëî,÷òåíèå)-ñóììàêóìåíüøåíèþ
ˆ
VatInc
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêäîïëàòå
ˆ
VatDec
(÷èñëî,÷òåíèå)-ñóììàÍÄÑêóìåíüøåíèþ
ˆ
ConrmationDate
(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿïîäòâåðæäåíèÿîïåðàòîðàïåðåäà÷è
äîêóìåíòà
ˆ
Status
(ñòðîêà,÷òåíèå)-òåêóùèéñòàòóñäîêóìåíòàâÄèàäîêå
ˆ
OriginalDocumentDate
(äàòà,÷òåíèå)-äàòàèñõîäíîãîÓÏÄ
ˆ
OriginalDocumentNumber
(ñòðîêà,÷òåíèå)-íîìåðèñõîäíîãîÓÏÄ
ˆ
AmendmentRequested
(áóëåâî,÷òåíèå)-ïðèçíàê,áûëëèçàïðîñíàóòî÷íåíèå
Çíà÷åíèÿñâîéñòâà
Function
ˆ
ÊÑ×Ô
ˆ
ÊÑ×ÔÄÈÑ
ˆ
ÄÈÑ
Çíà÷åíèÿñâîéñòâà
Status
ˆ
OutboundWaitingForSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóíå
ïîäïèñàíîòïðàâèòåëåì
6.3.Ïðîèçâîäíûåîáúåêòû99
1CDiadocDocumentation,Âûïóñê1
ˆ
OutboundWaitingForInvoiceReceiptAndRecipientSignature-äîêóìåíòèñõîäÿùèé,îòïîêóïàòåëÿ
îæèäàåòñÿèçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ,îòâåòíàÿïîäïèñü,ëèáîîòêàçîò
ååôîðìèðîâàãèÿ
ˆ
OutboundWaitingForInvoiceReceipt-äîêóìåíòèñõîäÿùèé,îæèäàåòñÿèçâåùåíèåîïîëó÷åíèè
ÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄîòïîêóïàòåëÿ
ˆ
OutboundWaitingForRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåïîëó÷åíû
ˆ
OutboundWithRecipientSignature-äîêóìåíòèñõîäÿùèé,îòâåòíàÿïîäïèñüïîëó÷åíà
ˆ
OutboundRecipientSignatureRequestRejected-äîêóìåíòèñõîäÿùèé,ïîëó÷åíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè
ˆ
OutboundInvalidSenderSignature-äîêóìåíòèñõîäÿùèé,äîêóìåíòíåîòïðàâëåí,ïîñêîëüêóïîä-
ïèñüîòïðàâèòåëÿíåÿâëÿåòñÿêîððåêòíîé
ˆ
OutboundFinished-äîêóìåíòèñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí
ˆ
OutboundNotFinished-äîêóìåíòèñõîäÿùèé,èçâåùåíèåîïîëó÷åíèèÓÏÄ/ÈÓÏÄ/ÓÊÄ/ÈÓÊÄ
îòïîêóïàòåëÿóæååñòü,íîäîêóìåíòîîáîðîòåùåíåçàâåðøåí
ˆ
InboundWaitingForRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñü,ëèáîîòêàçîòåå
ôîðìèðîâàíèÿåùåíåîòïðàâëåíû)
ˆ
InboundWithRecipientSignature(äîêóìåíòâõîäÿùèé,îòâåòíàÿïîäïèñüïîñòàâëåíà)
ˆ
InboundRecipientSignatureRequestRejected(äîêóìåíòâõîäÿùèé,îòïðàâëåíîòêàçîòôîðìèðîâà-
íèÿîòâåòíîéïîäïèñè)
ˆ
InboundInvalidRecipientSignature(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí,ïîñêîëüêó
ïîäïèñüïîëóàòåëÿíåÿâëÿåòñÿêîððåêòíîé)
ˆ
InboundNotFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí)
ˆ
InboundFinished(äîêóìåíòâõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí)
ˆ
UnknownDocumentStatus-íåèçâåñòíûéñòàòóñ;ìîæåòâûäàâàòüñÿëèøüâñëó÷àå,êîãäàêëèåíò
èñïîëüçóåòóñòàðåâøóþâåðñèþSDKèíåìîæåòèíòåðïðåòèðîâàòüñòàòóñäîêóìåíòà,ïåðåäàííûé
ñåðâåðîì
Ìåòîäûîáúåêòà
ˆ
100
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Îáúåêò
UñdSellerContent
Îïèñàíèå
Âîçâðàùàåòñîäåðæàíèåòèòóëàïðîäàâöàóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà.
6.3.Ïðîèçâîäíûåîáúåêòû101
1CDiadocDocumentation,Âûïóñê1
ˆ
Nonformalized
-íåôîðìàëèçîâàííûéäîêóìåíò(âòîì÷èñëåàêòñâåðêè,äåòàëèçàöèÿ,äîïîëíè-
òåëüíîåñîãëàøåíèåêäîãîâîðó,ïðîòîêîëñîãëàñîâàíèÿöåíû,ðååñòðñåðòèôèêàòîâ,öåíîâîéëèñò)
ˆ
NonformalizedAcceptanceCerticate
-àêòîâûïîëíåíèèðàáîòâíåôîðìàëèçîâàííîìâèäå
ˆ
NonformalizedTorg12
-ÒÎÐÃ-12âíåôîðìàëèçîâàííîìâèäå
ˆ
NonformalizedProforma
-ñ÷åòíàîïëàòó
ˆ
XmlAcceptanceCerticate
-àêòîâûïîëíåíèèðàáîòâôîðìàëèçîâàííîìâèäå
ˆ
XmlTorg12
-ÒÎÐÃ-12âôîðìàëèçîâàííîìâèäå
ˆ
Utd
-óíèâåðñàëüíûéïåðåäàòî÷íûéäîêóìåíò
ˆ
UtdRevision
-èñïðàâëåíèåóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
Ucd
-óíèâåðñàëüíûéêîððåêòèðîâî÷íûéäîêóìåíò
ˆ
UcdRevision
-èñïðàâëåíèåóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà
Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ
Äëÿðàáîòûññîäåðæèìûìôîðìàëèçîâàííûõäîêóìåíòîâìîæíîèñïîëüçîâàòüñïåöèàëüíûåîáúåêòû,
êîòîðûåïðåäñòàâëÿþòäàííûåxml-ôàéëàââèäåîáúåêòíîéìîäåëè.
Îáúåêòíûåìîäåëèäîêóìåíòîâ
Âêîìïîíåíòåðåàëèçîâàíûñëåäóþùèåîáúåêòû:
ˆ
AcceptanceCerticateContent
-äëÿðàáîòûñíåôîðìàëèçîâàííûìàêòîìâûïîëíåííûõðàáîò
ˆ
AcceptanceCerticateSellerContent
,
AcceptanceCerticateBuyerContent
-äëÿðàáîòûñôîðìàëèçî-
âàííûì
àêòîìâûïîëíåííûõðàáîò
ˆ
ContractContent
-äëÿðàáîòûñäîêóìåíòîì
äîãîâîð
ˆ
InvoiceContent
-äëÿðàáîòûñäîêóìåíòàìè
ñ÷åò-ôàêòóðà
,
èñïðàâëåíèåñ÷åòà-ôàêòóðû
ˆ
InvoiceCorrectionContent
-äëÿðàáîòûñäîêóìåíòàìè
êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
,
èñïðàâ-
ëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
NonformilizedContent
-äëÿðàáîòûñ
íåôîðìàëèçîâàííûìäîêóìåíòîì
ˆ
ProformaInvoiceContent
-äëÿðàáîòûñ
ñ÷åòîìíàîïëàòó
ˆ
Torg12Content
-äëÿðàáîòûñíåôîðìàëèçîâàííîéÒîðã-12
ˆ
Torg12SellerContent
,
Torg12BuyerContent
-äëÿðàáîòûñôîðìàëèçîâàííîé
Òîðã-12
ˆ
UtdSellerContent
,
UcdSellerContent
,
UtdBuyerContent
-äëÿðàáîòûñ
ÓÏÄ
è
ÓÊÄ
ˆ
TovTorgSellerContent
è
TovTorgBuyerContent
-äëÿðàáîòûñÒîðã-12âôîðìàòå551-ãîïðèêàçà
ˆ
Act552SellerContent
è
Act552BuyerContent
-äëÿðàáîòûñàêòàìèâôîðìàòå552-ãîïðèêàçà
AcceptanceCerticateContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèàêòàîâûïîëíåíèèðàáîò/îêàçàíèèóñëóãâíåôîð-
ìàëèçîâàííîìâèäå.
102
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèÿäëÿäîêóìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàäîêóìåíòà
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑäîêóìåíòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
AcceptanceCerticateSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïààêòîâûïîëíåíèèðàáîòâôîðìàòå
ÔÍÑ(òèòóëèñïîëíèòåëÿ)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòààêòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðàêòà
ˆ
Title
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå2000ñèìâî-
ëîâ)-çàãîëîâîêàêòà
ˆ
SignatureDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïîäïèñèàêòàèñïîëíèòåëåì
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-èñïîëíèòåëü(îðãàíèçàöèÿ,
âûïîëíèâøàÿðàáîòûëèáîîêàçàâøàÿóñëóãè)
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
AcceptanceCerticateItem
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàá-
ëè÷íàÿ÷àñòüàêòàâûïîëíåííûõðàáîò
ˆ
Ocial
(îáúåêò
Ocial
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ëèöî,ïîäïèñûâàþùååñîñòîðîíû
èñïîëíèòåëÿ
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòèïîäïèñûâàþùåãîñîñòîðîíûèñ-
ïîëíèòåëÿ
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticateContent)
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòñòðîêóâòàáëè÷íóþ÷àñòüÀêòà
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ103
1CDiadocDocumentation,Âûïóñê1
AddItem
Ìåòîäîáúåêòà
AcceptanceCerticateSellerContent
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AcceptanceCerticateItem
.
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿîïðîèçâåäåííîéðàáîòåâêîëëåêöèþñòðîêàêòà.
AcceptanceCerticateItem
Ñâåäåíèÿîðàáîòåâàêòåâûïîëíåííûõðàáîò
Ñâîéñòâàîáúåêòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-íàèìåíîâàíèåðàáîòû
ˆ
Description
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå10000ñèìâîëîâ)-îïèñàíèåðàáîòû
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ.)-êîäåäèíèöûèçìåðåíèÿ
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ.)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿ
ˆ
Quantity
(÷èñëî,÷òåíèå/çàïèñü,)-êîëè÷åñòâî
ˆ
Price
(÷èñëî,÷òåíèå/çàïèñü,)-öåíà
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàñó÷åòîìÍÄÑ
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
Ìåòîäûîòñóòñòâóþò
AcceptanceCerticateBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿäîêóìåíòààêòîâûïîëíåíèè
ðàáîòâôîðìàòåÔÍÑèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Complaints
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-ïðåòåíçèè
ˆ
SignatureDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàïîäïèñèàêòàçàêàç÷è-
êîì
ˆ
Ocial
(îáúåêò
Ocial
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ëèöî,ïîäïèñûâàþùååñîñòîðîíû
çàêàç÷èêà
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòèïîäïèñûâàþùåãîñîñòîðîíûçàê-
çà÷èêà
104
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticateBuyerTitle)
Ìåòîäûîòñóòñòâóþò
ContractContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèäîãîâîðîâèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà
ˆ
Price
(ñòðîêà,÷òåíèå/çàïèñü)-öåíà,óêàçàííàÿâäîãîâîðå
ˆ
ContractType
(ñòðîêà,÷òåíèå/çàïèñü)-òèïäîãîâîðà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóContract)
Ìåòîäûîòñóòñòâóþò
InvoiceContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâñ÷åò-ôàêòóðàèèñïðàâëåíèåñ÷åòà-
ôàêòóðûèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
InvoiceVersion
(ñòðîêà,÷òåíèå/çàïèñü)-âåðñèÿôîðìàòàñ÷åòà-ôàêòóðû.Ìîæåòïðèíèìàòüçíà-
÷åíèÿ5.01,5.02
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàñ÷åòà-ôàêòóðû
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåííèÿñ÷åòà-ôàêòóðû(îáÿçàòåëüíî
ïðèôîðìèðîâàíèèInvoiceRevision)
ˆ
InvoiceRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåðèñïðàâëå-
íèÿñ÷åòà-ôàêòóðû(îáÿçàòåëüíîïðèôîðìèðîâàíèèInvoiceRevision)
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.×èñëîâàÿñòðîêàäëèíîé3ñèì-
âîëà.Êîääîëæåíñîäåðæàòüñÿâîáùåðîññèéñêîìêëàññèôèêàòîðåâàëþò.)-êîäâàëþòû
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Shipper
(îáúåêò
ShipperOrConsigneeInfo
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ
ˆ
Consignee
(îáúåêò
ShipperOrConsigneeInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ105
1CDiadocDocumentation,Âûïóñê1
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Totals
(
106
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîåäèíèöòîâàðà
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíàçàåäèíèöóòîâàðà(áåçÍÄÑ)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàâêàÍÄÑ
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
CountriesOfOrigin
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàèç3ñèìâîëîâ.Êîääîëæåíñîäåð-
æàòüñÿâÎáùåðîññèéñêîìêëàññèôèêàòîðåñòðàíìèðà)-êîäñòðàíûïðîèñõîæäåíèÿòîâàðà
ˆ
CustomsDeclarationNumbers
(ñòðîêà,÷òåíèå/çàïèñü,ìàêñèìàëüíàÿäëèíàÃÒÄ-29ñèìâîëîâ)
-íîìåðÃÒÄ.Âñëó÷àåíåñêîëüêèìõÃÒÄîíèïåðå÷èñëÿþòñÿ÷åðåççàïÿòóþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
ˆ
20-ñòàâêàíàëîãà20%
Ìåòîäûîòñóòñòâóþò
InvoiceItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)ñ÷åòà-ôàêòóðû
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ107
1CDiadocDocumentation,Âûïóñê1
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîåäèíèöòîâàðà
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíàçàåäèíèöóòîâàðà(áåçÍÄÑ)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàâêàÍÄÑ
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
CountriesOfOrigin
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàèç3ñèìâîëîâ.Êîääîëæåíñîäåð-
æàòüñÿâÎáùåðîññèéñêîìêëàññèôèêàòîðåñòðàíìèðà)-êîäñòðàíûïðîèñõîæäåíèÿòîâàðà
ˆ
CustomsDeclarationNumbers
(ñòðîêà,÷òåíèå/çàïèñü,ìàêñèìàëüíàÿäëèíàÃÒÄ-29ñèìâîëîâ)
-íîìåðÃÒÄ.Âñëó÷àåíåñêîëüêèìõÃÒÄîíèïåðå÷èñëÿþòñÿ÷åðåççàïÿòóþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
ˆ
20-ñòàâêàíàëîãà20%
Ìåòîäûîòñóòñòâóþò
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèñ÷åòà-
ôàêòóðû.
108
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàâñåãî
Ìåòîäûîòñóòñòâóþò
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceContent
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéñ÷åòà-ôàêòóðû.
InvoiceCorrectionContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðàèèñ-
ïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
InvoiceVersion
(ñòðîêà,÷òåíèå/çàïèñü)-âåðñèÿôîðìàòàêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû.
Ìîæåòïðèíèìàòüçíà÷åíèÿ5.01,5.02
ˆ
OriginalInvoices
(
êîëëåêöèÿ
îáúåêòîâ
OriginalInvoice
,÷òåíèå)-äàííûåîáñ÷åò-ôàêòóðàõ,íà
îñíîâàíèèêîòîðûõáûëâûñòàâëåíêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
ˆ
InvoiceCorrectionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàÊÑÔ
ˆ
InvoiceCorrectionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðÊÑÔ
ˆ
InvoiceCorrectionRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿÊÑÔ
ˆ
InvoiceCorrectionRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåð
èñïðàâëåíèÿÊÑÔ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.×èñëîâàÿñòðîêàäëèíîé3ñèì-
âîëà.Êîääîëæåíñîäåðæàòüñÿâîáùåðîññèéñêîìêëàññèôèêàòîðåâàëþò.)-êîäâàëþòû
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionContent)
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
InvoiceCorrectionItem
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàáëè÷-
íàÿ÷àñòüêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
TotalsInc
(îáúåêò
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ109
1CDiadocDocumentation,Âûïóñê1
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòñòðîêóâòàáëè÷íóþ÷àñòüêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
ˆ
AddOriginalInvoice
-äîáàâëÿåòñòðîêócäàííûìèîñ÷åò-ôàêòóðå,íàîñíîâàíèèêîòîðîãîáûë
âûñòàâëåíêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
AddItem
Ìåòîäîáúåêòà
InvoiceCorrectionContent
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceCorrectionItem
.
Îïèñàíèå
Ïîçâîëÿåòäîáàâèòüñâåäåíèÿîòîâàðåâêîëëåêöèþñòðîêêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû.
InvoiceCorrectionItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)êîððåêòèðîâî÷íîéñ÷åòà-ôàêòóðû
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêàíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
OriginalValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿäî
êîððåêòèðîâêè
ˆ
CorrectedValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿïî-
ñëåêîððåêòèðîâêè
ˆ
AmountsInc
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóâåëè÷åíèþ
ˆ
AmountsDec
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóìåíüøåíèþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceCorrectionItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
110
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèèñïðàâëåíèÿ
ñ÷åòà-ôàêòóðû.
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ111
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
Ìåòîäûîòñóòñòâóþò
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceCorrectionContent
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéèñïðàâëåíèÿñ÷åòà-ôàêòóðû.
OriginalInvoice
Îáúåêòïðåäíàçíà÷åíäëÿçàäàíèÿðåêâèçèòîâîðèãèíàëüíîãîñ÷åòà-ôàêòóðû,íà
îñíîâàíèèêîòîðîãîâûñòàâëÿåòñÿêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàñ÷åòà-ôàêòóðû
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåííèÿñ÷åòà-ôàêòóðû(çàïîëíÿåòñÿ,
åñëèÊÑÔ/ÈÊÑÔôîðìèðóåòñÿíàèñïðàâëåííûéÑÔ)
ˆ
InvoiceRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåðèñïðàâëå-
íèÿñ÷åòà-ôàêòóðû(çàïîëíÿåòñÿ,åñëèÊÑÔ/ÈÊÑÔôîðìèðóåòñÿíàèñïðàâëåííûéÑÔ)
Ìåòîäûîòñóòñòâóþò
AddOriginalInvoice
Ìåòîäîáúåêòà
InvoiceCorrectionContent
Ñèíòàêñèñ
AddOriginalInvoice()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
OriginalInvoice
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêñ÷åòîâ-ôàêòóð,íàîñíîâàíèèêîòîðûõáûëâûñòàâëåíêîððåêòèðî-
âî÷íûéñ÷åò-ôàêòóðà
112
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
NonformilizedContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìíåôîðìàëèçîâàííîãîäîêóìåíòà,ðååñòðàñåðòèôèêà-
òîâ,àêòàñâåðêè,äåòàëèçàöèè,ïðîòîêîëàñîãëàñîâàíèÿöåíû,äîïîëíèòåëüíîãîñîãëàøåíèåêäîãîâîðó,
öåíîâîãîëèñòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäîêóìåíòà,
àêòàñâåðêè.
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäî-
êóìåíòà,àêòàñâåðêè.
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó÷à-
òåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäîêóìåíòà,ðååñòðà
ñåðòèôèêàòîâ,ïðîòîêîëàñîãëàñîâàíèÿöåíû.
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà.Èñïîëüçóåòñÿâñåìèòèïàìèñîäåðæèìîãî.Ìîæåòâîç-
âðàùàòüçíà÷åíèÿ:

CerticateRegistryäëÿðååñòðàñåðòèôèêàòîâ

PriceListäëÿöåíîâîãîëèñòà

PriceListAgreementäëÿïðîòîêîëàñîãëàñîâàíèÿöåíû

ReconciliationActäëÿàêòàñâåðêè

6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ113
1CDiadocDocumentation,Âûïóñê1
Torg12Content
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèòîâàðíîéíàêëàäíîéÒÎÐÃ-12âíåôîðìàëèçîâàííîì
âèäå.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèÿäëÿäîêóìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàäîêóìåíòà
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍËÑäîêóìåíòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
Torg12SellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÒÎÐÃ-12âôîðìàòåÔÍÑ(òèòóë
ïðîäàâöà)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðäîêóìåíòà
ˆ
WaybillDate
(äàòà,÷òåíèå/çàïèñü)-äàòàòðàíñïîðòíîéíàêëàäíîé
ˆ
WaybillNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðòðàíñïîðòíîé
íàêëàäíîé
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå255ñèìâîëîâ)-êîäâèäàîïåðàöèè
ˆ
GroundName
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåäîêóìåíòà-
îñíîâàíèÿ
ˆ
GroundDate
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà-îñíîâàíèÿ
ˆ
GroundNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðäîêóìåíòà-
îñíîâàíèÿ
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Shipper
(îáúåêò
OrganizationInfo
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ
ˆ
ShipperDepartment
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå1000ñèìâîëîâ)-ñòðóêòóðíîåïîä-
ðàçäåëåíèåãðóçîîòïðàâèòåëÿ
ˆ
ShipperOkdp
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå7ñèìâîëîâ)-êîäîñíîâíîãîâèäàäåÿòåëü-
íîñòèïîÎÊÄÏãðóçîîòïðàâèòåëÿ
ˆ
Consignee
(îáúåêò
OrganizationInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ
114
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
Torg12Item
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàáëè÷íàÿ÷àñòü
Òîðã-12
ˆ
Totals
(îáúåêò
Torg12Totals
,÷òåíèå)-èòîãèïîíàêëàäíîé
ˆ
Commons
(îáúåêò
Torg12Commons
,÷òåíèå)-îáùèåñâåäåíèÿïîíàêëàäíîé
ˆ
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ115
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
ProductCode
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå100ñèìâîëîâ)-êîäòîâàðà
ˆ
Feature
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå1000ñèìâîëîâ)-õàðàêòåðèñòèêàòîâàðà
ˆ
Sort
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå10ñèìâîëîâ)-ñîðòòîâàðà
ˆ
Article
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå50ñèìâîëîâ)-àðòèêóëòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿ
ˆ
ParcelsQuantity
(÷èñëî,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñò
ˆ
ParcelType
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-âèäóïàêîâêè
ˆ
ParcelCapacity
(÷èñëî,÷òåíèå/çàïèñü)-êîëè÷åñòâîâîäíîììåñòå
ˆ
GrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòî
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-êîëè÷åñòâî
(ìàññàíåòòî)
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíà
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-ïðîèçâîëüíàÿ
äîïîëíèòåëüíàÿèíôîðìàöèÿ
ˆ
ExternalCode
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðòîâàðà.Ìîæåòáûòüóñòàíîâ-
ëåíòîëüêîïîêóïàòåëåìòîâàðà.
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
-áåçÍÄÑ
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäûîòñóòñòâóþò
Torg12Totals
Èòîãèïîíàêëàäíîé
116
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
ParcelsQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-êîëè÷åñòâîìåñò
ˆ
GrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ìàññàáðóòòî
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-êîëè÷åñòâî(ìàññàíåòòî)
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàñó÷åòîìÍÄÑ
Ìåòîäûîòñóòñòâóþò
Torg12Commons
Îáùèåñâåäåíèÿòîâàðíîéíàêëàäíîé
Ñâîéñòâàîáúåêòà
ˆ
TotalParcelsQuantity
(÷èñëî,÷òåíèå)-êîëè÷åñòâîìåñò,øòóê
ˆ
TotalGrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòî
ˆ
TotalQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàíåòòî
ˆ
TotalSum
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàñó÷åòîìÍÄÑ
ˆ
TotalParcelsQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñò,øòóê,ïðîïèñüþ
ˆ
TotalGrossQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ìàññàáðóòòî,ïðîïèñüþ
ˆ
TotalQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ìàññàíåòòî,ïðîïèñüþ
ˆ
TotalSumInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ,ïðîïèñüþ
Ìåòîäûîòñóòñòâóþò
Torg12BuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòå
ÔÍÑèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
ShipmentReceiptDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàïîëó÷åíèÿãðó-
çà
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòè
ˆ
Receiver
(îáúåêò
Ocial
,÷òåíèå)-ëèöî,ïîëó÷èâøååãðóç
ˆ
Accepter
(îáúåêò
Ocial
,÷òåíèå)-ëèöî,ïðèíÿâøååãðóç
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü)-äîïîëíèòåëüíûåñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlTorg12BuyerTitle)
Ìåòîäûîòñóòñòâóþò
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ117
1CDiadocDocumentation,Âûïóñê1
UtdSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïðîäàâöàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäî-
êóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ôóíêöèÿäîêóìåíòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåïåðâè÷íîãî
äîêóìåíòà,îïðåäåëåííîåîðãàíèçàöèåé
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàÓÏÄ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-íîìåðÓÏÄ
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïðîäàâöà.
Âñëó÷àåÓÏÄñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿïðîäàâöàäîëæåíáûòüóêàçàíàäðåñ
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïîêóïà-
òåëÿ.Âñëó÷àåÓÏÄñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿïîêóïàòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
Shipper
(îáúåêò
Shipper
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ.Âñëó÷àåÓÏÄñôóíêöèåéÑ×Ô
èÑ×ÔÄÎÏäëÿãðóçîîòïðàâèòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
Consignee
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ.Âñëó÷àåÓÏÄ
ñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿãðóçîïîëó÷àòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
118
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
PaymentDocuments
(
êîëëåêöèÿ
îáúåêòîâ
PaymentDocument
,÷òåíèå)-ïëàòåæíî-ðàñ÷åòíûåäî-
êóìåíòû
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóUniversalTransferDocument)
Ñâîéñòâî
Function
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
Invoice-Ñ×Ô
ˆ
Basic-ÄÎÏ
ˆ
InvoiceAndBasic-Ñ×ÔÄÎÏ
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
ˆ
AddPaymentDocument
-äîáàâëÿåòñâåäåíèÿîïëàòåæíî-ðàñ÷åòíîìäîêóìåíòå
AddSigner
Ìåòîäîáúåêòà
UtdSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÓÏÄ.
AddPaymentDocument
Ìåòîäîáúåêòà
UtdSellerContent
Ñèíòàêñèñ
AddPaymentDocument()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
PaymentDocument
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿâêîëëåêöèþïëàòåæíî-ðàñ÷åòíûõäîêóìåíòîâ.
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ119
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòñòðîêóâòàáëè÷íóþ÷àñòüñ÷åòà-ôàêòóðû
AddItem
Ìåòîäîáúåêòà
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Subtotal
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàâñåãî
ˆ
ItemMark
(ñòðîêà,÷òåíèå/çàïèñü)-ïðèçíàêòîâàð-ðàáîòà-óñëóãà
ˆ
AdditionalProperty
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå4ñèìâîëîâ)-äîïîëíèòåëü-
íàÿèíôîðìàöèÿîïðèçíàêå
ˆ
VendorCode
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-õàðàêòåðèñòè-
êà/êîä/àðòèêóë/ñîðòòîâàðà
ˆ
ToRelease
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîòîâàðà,êîòîðîåíàäëåæèò
îòïóñòèòü
ˆ
AccountDebit
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîéíåáîëåå9ñèìâîëîâ)-êîððå-
ñïîíäèðóþùèåñ÷åòà:äåáåò
120
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
AccountCredit
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîéíåáîëåå9ñèìâîëîâ)-êîððå-
ñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
CustomDeclarations
(
êîëëåêöèÿ
îáúåêòîâ
CustomDeclaration
,÷òåíèå)-íîìåðàòàìîæåííûõ
äåêëàðàöèé
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå)-èíôîðìàöèîí-
íîåïîëåäîêóìåíòà
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ñâîéñòâî
ItemMark
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
NotSpecied-íåóêàçàíî
ˆ
Property-èìóùåñòâî
ˆ
Job-ðàáîòà
ˆ
Service-óñëóãà
ˆ
PropertyRights-èìóùåñòâåííûåïðàâà
ˆ
Other-èíîå
Ìåòîäûîáúåêòà
ˆ
AddCustomDeclaration
-äîáàâëÿåòîñíîâàíèåîòãðóçêè
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddCustomDeclaration
Ìåòîäîáúåêòà
ExtendedInvoiceItem
Ñèíòàêñèñ
AddCustomDeclaration()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
CustomDeclaration
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêîñíîâàíèéîòãðóçêè
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
ExtendedInvoiceItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ121
1CDiadocDocumentation,Âûïóñê1
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèñ÷åòà-
ôàêòóðû.
TransferInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿñâåäåíèéîïåðåäà÷å.
Ñâîéñòâàîáúåêòà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå255
ñèìâîëîâ)-ñîäåðæàíèåîïåðàöèè
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-âèäîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàîòãðóçêè
ˆ
TransferTextInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-ñâåäåíèÿî
òðàíñïîðòèðîâêåèãðóçå
ˆ
Carrier
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïåðåâîç÷èê
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïðîäàâöà
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
CreatedThingTransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èâåùè,èçãîòîâëåííîéïîäî-
ãîâîðó
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïåðåäà÷åâåùè,èçãîòîâëåííîéïîäîãî-
âîðó
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
TransferBases
(
êîëëåêöèÿ
îáúåêòîâ
TransferBase
,÷òåíèå)-îñíîâàíèåîòãðóçêè
ˆ
Waybills
(
êîëëåêöèÿ
îáúåêòîâ
Waybill
,÷òåíèå)-òðàíñïîðòíàÿíàêëàäíàÿ
Ìåòîäûîáúåêòà
ˆ
AddTransferBase
-äîáàâëÿåòîñíîâàíèåîòãðóçêè
ˆ
AddWaybill
-äîáàâëÿåòòðàíñïîðòíóþíàêëàäíóþ
AddTransferBase
Ìåòîäîáúåêòà
TransferInfo
Ñèíòàêñèñ
AddTransferBase()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
TransferBase
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêîñíîâàíèéîòãðóçêè
122
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
AddWaybill
Ìåòîäîáúåêòà
TransferInfo
Ñèíòàêñèñ
AddWaybill()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Waybill
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
TransferBase
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîäîêóìåíòå-îíîâàíèèîòãðóç-
êè.
Ñâîéñòâàîáúåêòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íàèìåíîâàíèåäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íîìåðäîêóìåíòà
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
DocumentInfo
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ)-äîïîëíèòåëüíûåñâåäåíèÿäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
Waybill
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîòðàíñïîðòíîéíàêëàäíîé.
Ñâîéñòâàîáúåêòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íîìåðäîêóìåíòà
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàòàäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
UtdBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãî
äîêóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Creator
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-ñîñòàâèòåëüôàéëàîáìåíàñ÷åòà-ôàêòóðû(èíôîðìàöèèïîêóïàòåëÿ)
ˆ
CreatorBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå120ñèìâîëîâ)-îñíîâàíèå,ïîêî-
òîðîìóýêîíîìè÷åñêèéñóáúåêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíàñ÷åòà-ôàêòóðû
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-âèäîïåðàöèè
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ123
1CDiadocDocumentation,Âûïóñê1
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèíÿòèÿòîâàðîâ(ðåçóëüòàòîââûïîëíåííûõðà-
áîò)èëèèìóùåñòâåííûõïðàâ(ïîäòâåðæäåíèÿôàêòàîêàçàíèÿóñëóã)
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïîêóïàòåëÿ
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêó
UniversalTransferDocumentBuyerTitle)
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
AddSigner
Ìåòîäîáúåêòà
UtdBuyerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïîêóïàòåëÿÓÏÄ.
UcdSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïðîäàâöàóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãî
äîêóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ôóíêöèÿäîêóìåíòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåïåðâè÷íîãî
äîêóìåíòà,îïðåäåëåííîåîðãàíèçàöèåé
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàòàÓÊÄ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-íîìåðÓÊÄ
ˆ
Invoices
(êîëëåêöèÿ
Collection
îáúåêòîâòèïà
InvoiceForCorrectionInfo
)-ñ÷åò-ôàêòóðà(ïåðâè÷-
íûéäîêóìåíò),êêîòîðîìóñîñòàâëåíÓÊÄ
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïðîäàâöà.
Âñëó÷àåÓÊÄñôóíêöèåéÊÑ×ÔèÊÑ×ÔÄÈÑäëÿïðîäàâöàäîëæåíáûòüóêàçàíàäðåñ
124
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïîêóïà-
òåëÿ.Âñëó÷àåÓÊÄñôóíêöèåéÊÑ×ÔèÊÑ×ÔÄÈÑäëÿïîêóïàòåëÿäîëæåíáûòüóêàçàí
àäðåñ
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
ˆ
EventContent
(îáúåêò
EventContent
)-ñîäåðæàíèåñîáûòèÿ
ˆ
InvoiceCorrectionTable
(îáúåêò
InvoiceCorrectionTable
)-ñâåäåíèÿòàáëèöûêîððåêòèðîâî÷íîãî
ñ÷åòà-ôàêòóðû
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-êîäâàëþòûïîÎáùåðîññèéñêîìó
êëàññèôèêàòîðóâàëþò
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿ
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðèñïðàâ-
ëåíèÿ
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Creator
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-ñîñòàâèòåëüôàéëàîáìåíàñ÷åòà-ôàêòóðû(èíôîðìàöèèïðîäàâöà)
ˆ
CreatorBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå120ñèìâîëîâ)-îñíîâàíèå,ïîêî-
òîðîìóýêîíîìè÷åñêèéñóáúåêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíàñ÷åòà-ôàêòóðû
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-èäåí-
òèôèêàòîðãîñóäàðñòâåííîãîêîíòðàêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóUniversalCorrectionDocument)
Ñâîéñòâî
Function
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
Invoice-ÊÑ×Ô
ˆ
Basic-ÄÈÑ
ˆ
InvoiceAndBasic-ÊÑ×ÔÄÈÑ
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
ˆ
AddInvoice
-äîáàâëÿåòñ÷åò-ôàêòóðó(ïåðâè÷íûéäîêóìåíò),êêîòîðîìóñîñòàâëåíÓÊÄ
AddSigner
Ìåòîäîáúåêòà
UcdSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÓÊÄ.
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ125
1CDiadocDocumentation,Âûïóñê1
AddInvoice
Ìåòîäîáúåêòà
UcdSellerContent
Ñèíòàêñèñ
AddInvoice()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceForCorrectionInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêñ÷åòîâ-ôàêòóð,êêîòîðûìñîñòàâëåíÓÊÄ.
InvoiceForCorrectionInfo
Ñâåäåíèÿîc÷åòå-ôàêòóðå(ïåðâè÷íîìäîêóìåíòå),êêîòîðîìóñîñòàâëåí
êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
Ñâîéñòâàîáúåêòà
ˆ
InvoiceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñ÷åòà-ôàêòóðû
ˆ
InvoiceNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisions
(êîëëåêöèÿ
Collection
îáúåêòîâ
InvoiceRevisionInfo
)-ñó÷åòîìèñïðàâëåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddInvoiceRevision
-äîáàâëÿåòñòðîêóñó÷åòîìèñïðàâëåíèÿ
InvoiceRevisionInfo
Èíôîðìàöèÿèñïðàâèòåëüíîãîñ÷åòà-ôàêòóðûêêîòîðîìóñîñòàâëåíÓÊÄ
Ñâîéñòâàîáúåêòà
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿñ÷åòà-ôàêòóðû
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿñ÷åòà-ôàêòóðû
ÂñîîòâåòñòâèèñôîðìàòîìÔÍÑíîìåðèñïðàâëåíèÿäîëæåíñîñòîÿòüòîëüêîèçöèôð(îò1äî3öèôð).
Íàïðèìåð,1,29,345.
Ìåòîäûîòñóòñòâóþò.
AddInvoiceRevision
Ìåòîäîáúåêòà
InvoiceForCorrectionInfo
Ñèíòàêñèñ
AddInvoiceRevision
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceRevisionInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêèñïðàâèòåëüíûõñ÷åòîâ-ôàêòóð,êêîòîðûìñîñòàâëåíÓÊÄ.
EventContent
Ñîäåðæàíèåñîáûòèÿ
126
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
CostChangeInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èíûåñâåäåíèÿîáèçìåíåíèèñòîèìîñòè
ˆ
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ127
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòýëåìåíòèíôîðìàöèèîòîâàðàõ
ExtendedInvoiceCorrectionItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)óíèâåðñàëüíîãîêîððåêòèðî-
âî÷íîãîäîêóìåíòà
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêàíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
OriginalValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿäî
êîððåêòèðîâêè
ˆ
CorrectedValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿïî-
ñëåêîððåêòèðîâêè
ˆ
AmountsInc
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóâåëè÷åíèþ
ˆ
AmountsDec
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóìåíüøåíèþ
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
ExtendedInvoiceCorrectionItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèÓÊÄ.
AddItem
Ìåòîäîáúåêòà
InvoiceCorrectionTable
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedInvoiceCorrectionItem
.
Îïèñàíèå
ÏîçâîëÿåòäîáàâèòüñâåäåíèÿîòîâàðåâêîëëåêöèþñòðîêÓÊÄ
128
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
TovTorgSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÒÎÐÃ-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ(òèòóëïðîäàâöà)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïðîäàâåö
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïîêóïàòåëü
ˆ
Shipper
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ãðóçîîòïðàâèòåëü
ˆ
Consignee
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ãðóçîïîëó÷àòåëü
ˆ
Carrier
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïåðåâîç÷èê
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòû
ˆ
Grounds
(êîëëåêöèÿ
Collection
îáúåêòîâ
GroundInfo
,÷òåíèå)-îñíîâàíèÿ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü)-âàëþòà(êîä)
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñîñòàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionDate
(äàòà,÷òåíè/çàïèñü)-äàòàèñïðàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
TransferInfo
(îáúåêò
TovTorgTransferInfo
,÷òåíèå)-ñâåäåíèÿîôàêòåïåðåäà÷è(îáîòïóñêåãðóçà)
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðãîñóäàðñòâåííîãîêîíòðàê-
òà
ˆ
Table
(îáúåêò
TovTorgTable
,÷òåíèå)-ñâåäåíèÿîáàññîðòèìåíòå,êîëè÷åñòâå,ñòîèìîñòèèäðóãîé
èíôîðìàöèèîòîâàðíûõïîçèöèÿõ
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåïåðâè÷íîãîäîêóìåíòà,îïðåäåëåííîå
îðãàíèçàöèåé
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâ
ˆ
AddGround
-äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ129
1CDiadocDocumentation,Âûïóñê1
AddSigner
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
AddGround
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
TovTorgTable
ÑâåäåíèÿòàáëèöûÒîðã-12-ñâåäåíèÿîáàññîðòèìåíòå,êîëè÷åñòâå,ñòîèìîñòèèäðó-
ãîéèíôîðìàöèèîòîâàðíûõïîçèöèÿõ
Ñâîéñòâàîáúåêòà
ˆ
Items
(êîëëåêöèÿ
Collection
îáúåêòîâòèïà
TovTorgItem
)-èíôîðìàöèÿîòîâàðàõ
ˆ
TotalQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñòâñåãîïîäîêóìåíòó
ˆ
TotalGross
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòîâñåãîïîäîêóìåíòó
ˆ
130
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
AddGround
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
TovTorgItem
Ñâåäåíèÿîòîâàðåòîðã-12âôîðìàòå551-ãîïðèêàçà
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåòîâàðà
ˆ
Feature
(ñòðîêà,÷òåíèå/çàïèñü)-õàðàêòåðèñòèêàòîâàðà
ˆ
Sort
(ñòðîêà,÷òåíèå/çàïèñü)-ñîðòòîâàðà
ˆ
VendorCode
(ñòðîêà,÷òåíèå/çàïèñü)-àðòèêóëòîâàðà
ˆ
ProductCode
(ñòðîêà,÷òåíèå/çàïèñü)-êîäòîâàðà
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿòîâàðà
ˆ
Unit
(ñòðîêà,÷òåíèå/çàïèñü)-åäèíèöûèçìåðåíèÿòîâàðà(êîä)
ˆ
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàíàëîãà
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàíàëîãà
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàíàëîãà
ˆ
Subtotal
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàâñåãî
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-Êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-Êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Colection
îáúåêòîâ
StructedAdditionalInfo
)-Èíôîðìàöè-
îííîåïîëåäîêóìåíòà
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ131
1CDiadocDocumentation,Âûïóñê1
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéèíôîð-
ìàöèîííîãîïîëÿäîêóìåíòà
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
TovTorgItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé.
TovTorgTransferInfo
Ñâåäåíèÿîôàêòåïåðåäà÷è(îáîòïóñêåãðóçà)
Ñâîéñòâàîáúåêòà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàîòãðóçêè
ˆ
Attachment
(ñòðîêà,÷òåíèå/çàïèñü)-ïðèëîæåíèå,ñåðòèôèêàòûèïðî÷åå
ˆ
Waybills
(êîëëåêöèÿ
Collection
îáúåêòîâ
Waybill
)-òðàíñïîðòíûíàêëàäíûå
ˆ
Employee
(îáúåêò
Employee
)-ðàáîòíèêîðãàíèçàöèèïðîäàâöà
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
)-èíîåëèöî
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAditionalInfo
)-èíôîðìàöèîí-
íûåïîëÿäîêóìåíòà
Ìåòîäûîáúåêòà
ˆ
AddWaybill
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé
132
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
AddWaybill
Ìåòîäîáúåêòà
TovTorgTransferInfo
Ñèíòàêñèñ
AddWaybill()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Waybill
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
TovTorgTransferInfo
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé.
GroundInfo
Äîêóìåíò-îñíîâàíèå
Ñâîéñòâàîáúåêòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåäîêóìåíòà-îñíîâàíèÿ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà-îñíîâàíèÿ
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà-îñíîâàíèÿ
ˆ
Info
(ñòðîêà,÷òåíèå/çàïèñü)-äîïîëíèòåëüíûåñâåäåíèÿ
Óîáúåêòàíåòäîñòóïíûõìåòîäîâ
TovTorgBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìîòâåòíîãîòèòóëàäîêóìåíòîâòèïàÒÎÐÃ-12âôîð-
ìàòå551-ãîïðèêàçàÔÍÑ
Ñâîéñòâàîáúåêòà
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàîáìåíà(èíôîðìàöèèïîêóïàòå-
ëÿ)
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíà
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèíÿòèÿòîâàðîâ(ðåçóëüòàòîââûïîëíåííûõðà-
áîò)èëèèìóùåñòâåííûõïðàâ(ïîäòâåðæäåíèÿôàêòàîêàçàíèÿóñëóã)
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ133
1CDiadocDocumentation,Âûïóñê1
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïîêóïàòåëÿ
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
AdditionalInfo
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
AddSigner
Ìåòîäîáúåêòà
TovTorgBuyerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïîêóïàòåëÿÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
Act552SellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÀêòâôîðìàòå552-ãîïðèêàçà
ÔÍÑ
Ñâîéñòâà
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-èñïîëíèòåëü(ïðîäàâåöóñëóã)
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-çàêàç÷èê(ïîêóïàòåëüóñëóã)
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòû
ˆ
Grounds
(êîëëåêöèÿ
Collection
îáúåêòîâ
GroundInfo
,÷òåíèå)-îñíîâàíèÿ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü)-âàëþòà(êîä)
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
Works
(êîëëåêöèÿ
Collection
îáúåêòîâ
Act552WorkDescription
)-îïèñàíèåâûïîëíåííûõðàáîò
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñîñòàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿäîêóìåíòà
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿäîêóìåíòà
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
134
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationTitle
(ñòðîêà,÷òåíèå/çàïèñü)-çàãîëîâîêñîäåðæàíèÿîïåðàöèè
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðãîñóäàðñòâåííîãîêîíòðàê-
òà
ˆ
AdditionalInfo
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåïåðâè÷íîãîäîêóìåíòà,îïðåäåëåííîå
îðãàíèçàöèåé
ˆ
TransferInfo
(îáúåêò
Act552TransferInfo
)-ñîäåðæàíèåôàêòàõîçÿéñòâåííîéæèçíè-ñâåäåíèÿî
ïåðåäà÷åðåçóëüòàòîâðàáîò(îïðåäúÿâëåíèèîêàçàííûõóñëóã)
Ìåòîäû
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâêîëëåêöèþïîäïèñàíòîâ
ˆ
AddGround
-äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé
ˆ
AddWork
-äîáàâëÿåòýëåìåíòâêîëëåêöèþîïèñàíèéâûïîëíåííûõðàáîò
AddSigner
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâêîëëåêöèþïîäïèñàíòîâòèòóëàïðîäàâöààêòàâôîðìàòå552-ãîïðèêàçà.
AddGround
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
AddWork
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddWork()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Act552WorkDescription
Îïèñàíèå
Äîáàâëÿåòýëåìåíòâêîëëåêöèþîïèñàíèéâûïîëíåííûõðàáîò
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ135
1CDiadocDocumentation,Âûïóñê1
Act552WorkDescription
ÎïèñàíèåâûïîëíåííûõðàáîòäëÿäîêóìåíòàòèïàÀêòâôîðìàòå552-ãî
ïðèêàçàÔÍÑ.
Ñâîéñòâà
ˆ
StartingDate
(äàòà,÷òåíèå/çàïèñü)-íà÷àëîïåðèîäàâûïîëíåíèÿðàáîò
ˆ
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Subtotal
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)
-èíôîðìàöèîííîåïîëåñâåäåíèéîðàáîòå(óñëóãå)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàíàëîãà
136
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäû
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòýëåìåíòâêîëëåêöèþèíôîðìàöèîííûõïîëåé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
Act552WorkItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéäëÿñâåäåíèéîïðîèçâåäåííîéðàáîòå
äîêóìåíòàòèïàÀêòâôîðìàòå552-ãîïðèêàçàÔÍÑ.
Act552TransferInfo
Ñîäåðæàíèåôàêòàõîçÿéñòâåííîéæèçíè-ñâåäåíèÿîïåðåäà÷åðåçóëüòàòîâðà-
áîò(îïðåäúÿâëåíèèîêàçàííûõóñëóã)äëÿäîêóìåíòàòèïà
Ñâîéñòâà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èðåçóëüòàòîâðàáîò
ˆ
CreatedThingTransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èâåùè,èçãîòîâëåííîéïîäî-
ãîâîðóïîäðÿäà
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïåðåäà÷å
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAdditionalInfo
)-èíôîðìàöè-
îííîåïîëåäîêóìåíòà
Ìåòîäû
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòýëåìåíòâêîëëåêöèþèíôîðìàöèîííûõïîëåé
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ137
1CDiadocDocumentation,Âûïóñê1
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
Act552TransferInfo
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéñîäåðæàíèÿôàêòàõîçÿéñòâåííîéæèçíè
âäîêóìåíòåòèïàÀêòâôîðìàòå552-ãîïðèêàçàÔÍÑ
Act552BuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìîòâåòíîãîòèòóëàäîêóìåíòîâòèïàÀêòâôîðìàòå
552-ãîïðèêàçàÔÍÑ
Ñâîéñòâà
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-äàííûåïîäïèñàíòîâ
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-cîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèåìêèðåçóëüòàòîâðàáîò
ˆ
CreatedThingAcceptDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïîëó÷åíèÿâåùè,èçãîòîâëåííîéïîäî-
ãîâîðóïîäðÿäà
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïîëó÷åíèè
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
)-èíôîðìàöèîííîåïîëåäîêóìåíòà
Ìåòîäû
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâ
Âñïîìîãàòåëüíûåîáúåêòû
Äëÿðàáîòûññîäåðæèìûìòàêæåèñïîëüçóþòñÿñëåäóþùèåâñïîìîãàòåëüíûåîáúåêòû:
ˆ
AdditionalInfoId
-äëÿðàáîòûñèíôîðìàöèîííûìïîëåìäîêóìåíòà
ˆ
AddressInfo
-äëÿðàáîòûñäàííûìèîáàäðåñå
ˆ
Attorney
-äëÿðàáîòûñäàííûìèîäîâåðåííîñòè
ˆ
Employee
-äëÿðàáîòûñäàííûìèîðàáîòíèêåîðãàíèçàöèèïðîäàâöàèëèïîêóïàòåëÿ
ˆ
ExtendedOrganizationInfo
-äëÿðàáîòûñäàííûìèîáîðãàíèçàöèè
ˆ
ExtendedSigner
-äëÿðàáîòûñäàííûìèîëèöå,ïîäïèñàâøåìäîêóìåíò
138
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
OrganizationInfo
-äëÿðàáîòûñäàííûìèîáîðãàíèçàöèè
ˆ
OtherIssuer
-äëÿðàáîòûñäàííûìèîòðåòüåìëèöå
ˆ
PaymentDocument
-äëÿðàáîòûñäàííûìèîïëàòåæíî-ðàñ÷åòíîìäîêóìåíòå
ˆ
Signer
-äëÿðàáîòûñäàííûìèîëèöå,ïîäïèñàâøåìäîêóìåíò
ˆ
Shipper
-äëÿðàáîòûñäàííûìèîáãðóçîîòïðàâèòåëå
ˆ
ShipperOrConsigneeInfo
-äëÿðàáîòûñäàííûìèîáãðóçîîòïðàâèòåëåèãðóçîïîëó÷àòåëå
ˆ
StructedAdditionalInfo
-äëÿðàáîòûñäîïîëíèòåëüíûìèñâåäåíèÿìè
ˆ
Ocial
-äëÿðàáîòûñäàííûìèîäîëæíîñòíîìëèöå
ˆ
GroundInfo
-äëÿðàáîòûñäîêóìåíòîì-îñíîâàíèåì
ˆ
CustomDataItem
-çàïèñüêëþ÷-çíà÷åíèå
AdditionalInfoId
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñèíôîðìàöèîííûìïîëåìäîêóìåíòà.
Ñâîéñòâàîáúåêòà
ˆ
InfoFileId
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå36ñèìâîëîâ)-èäåíòèôèêàòîðôàéëà
èíôîðìàöèîííîãîïîëÿ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
AdditionalInfoId
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéèíôîðìàöèîííîãîïîëÿäîêóìåíòà.
AddressInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿàäðåñíîéèíôîðìàöèèîðãàíèçàöèé.
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ139
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
IsForeign
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîàäðåñÿâëÿåòñÿèíîñòðàííûì(çàïðåäåëàìè
ÐÔ)
ˆ
ZipCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé6ñèìâîëîâ)-èíäåêñ
ˆ
RegionCode
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ(äëÿðîññèéñêîãîàäðåñà).×èñ-
ëîâàÿñòðîêàäëèíîé2ñèìâîëà.)-êîäðåãèîíàÐÔ
ˆ
Territory
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå50ñèìâîëîâ)-ðàéîí
ˆ
City
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå50ñèìâîëîâ)-ãîðîä
ˆ
Locality
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå50ñèìâîëîâ)-íàñåëåííûéïóíêò
ˆ
140
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
IssuerOrganizationName
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-íà-
èìåíîâàíèåîðãàíèçàöèè,ïðåäñòàâèòåëüêîòîðîéâûäàëäîâåðåííîñòü
ˆ
Recipient
(îáúåêò
Ocial
,÷òåíèå)-ëèöî,ïîëó÷èâøååäîâåðåííîñòü
ˆ
RecipientAdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-äî-
ïîëíèòåëüíàÿèíôîðìàöèÿîëèöå,ïîëó÷èâøåìäîâåðåííîñòü
Ìåòîäûîòñóòñòâóþò
ExtendedOrganizationInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîðåêâèçèòàõîðãàíèçàöèè.
Ñâîéñòâàîáúåêòà
ˆ
BoxId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðÿùèêàîðãàíèçàöèèâÄèàäîê.Åñëèóêàçàíèäåí-
òèôèêàòîðÿùèêàîðãàíèçàöèèèòèïîðãàíèçàöèè,çàïîëíÿòüâñåîñòàëüíûåïîëÿíåíóæíî.
ˆ
Name
(ñòðîêà,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,÷òåíèå/çàïèñü)-íàèìåíîâàíèåîðãàíèçàöèè.Äëÿ
èíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿíàèìåíîâàíèåçàäàåòñÿâôîðìàòåÔàìèëèÿÈìÿÎò÷åñòâî
ˆ
Inn
(ñòðîêà,÷òåíèå/çàïèñü.Äîëæåíñîîòâåòñòâîâàòüòðåáîâàíèÿì,ïðåäúÿâëÿåìûìêÈÍÍîð-
ãàíèçàöèèèëèèíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿ)-ÈÍÍîðãàíèçàöèè.Îáÿçàòåëüíîäëÿçàïîë-
íåíèÿâñëó÷àå,åñëèíåóêàçàíèäåíòèôèêàòîðó÷àñòíèêàÝÄÎ(ïîëå
FnsParticipantId
).
ˆ
Kpp
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé9ñèìâîëîâ)-ÊÏÏîðãàíèçàöèè
ˆ
Address
(îáúåêò
AddressInfo
,÷òåíèå)-þðèäè÷åñêèéàäðåñîðãàíèçàöèè
ˆ
FnsParticipantId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðó÷àñòíèêàÝÄÎ.Îáÿçàòåëüíîäëÿ
çàïîëíåíèÿâñëó÷àå,åñëèíåóêàçàíÈÍÍ(ïîëå
Inn
)
ˆ
Type
(ñòðîêà,÷òåíèå/çàïèñü)-òèïîðãàíèçàöèè
ˆ
Okopf
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2ñèìâîëîâ)-êîäîðãàíèçàöèîííî-
ïðàâîâîéôîðìûïîÎÊÎÏÔ
ˆ
Okpo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå10ñèìâîëîâ)-êîäâîáùåðîññèéñêîìêëàñ-
ñèôèêàòîðåïðåäïðèÿòèéèîðãàíèçàöèé
ˆ
Okdp
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå7ñèìâîëîâ)-êîäîñíîâíîãîâèäàäåÿòåëü-
íîñòèïîÎÊÄÏ
ˆ
Phone
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-íîìåðêîíòàêòíîãîòåëå-
ôîíà
ˆ
Email
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-àäðåñýëåêòðîííîéïî÷òû
ˆ
CorrespondentAccount
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå20ñèìâîëîâ)-êîððå-
ñïîíäåíòñêèéñ÷åò
ˆ
BankAccountNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå20ñèìâîëîâ)-íîìåð
áàíêîâñêîãîñ÷åòàîðãàíèçàöèè
ˆ
BankName
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-íàèìåíîâàíèåáàíêà
ˆ
BankId
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé9ñèìâîëîâ)-ÁÈÊáàíêà
ˆ
Department
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-ñòðóêòóðíîåïîä-
ðàçäåëåíèå
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ141
1CDiadocDocumentation,Âûïóñê1
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-èíôîðìàöèÿäëÿ
ó÷àñòíèêà
ˆ
OrganizationOrPersonInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-èíûå
ñâåäåíèÿ,èäåíòèôèöèðóþùèåôèçè÷åñêîåèëèþðèäè÷åñêîåëèöî
ˆ
IndividualEntityRegistrationCerticate
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå100
ñèìâîëîâ)-ðåêâèçèòûñâèäåòåëüñòâàîãîñóäàðñòâåííîéðåãèñòðàöèèÈÏ
Ñâîéñòâî
Inn
îáÿçàòåëüíîäëÿçàïîëíåíèÿâñëó÷àå,åñëèíåóêàçàíèäåíòèôèêàòîðó÷àñòíèêàÝÄÎ
(ïîëåFnsParticipantId).
FnsParticipantId
îáÿçàòåëüíîäëÿçàïîëíåíèÿâñëó÷àå,åñëèíåóêàçàíÈÍÍ
(ïîëåInn).Åñëè
Inn
è
FnsParticipantId
ïðèíàäëåæàòðàçíûìîðãàíèçàöèÿì(íàïðèìåð,ïðèàãåíò-
ñêîéñõåìåðàáîòû),òîãäàíóæíîóêàçàòüèInn,èFnsParticipantId.
Ñâîéñòâî
Type
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
LegalEntity-ñâåäåíèÿîþðèäè÷åñêîìëèöå,ñîñòîÿùåìíàó÷åòåâíàëîãîâûõîðãàíàõ
ˆ
IndividualEntity-ñâåäåíèÿîáèíäèâèäóàëüíîìïðåäïðèíèìàòåëå(çíà÷åíèåïî-óìîë÷àíèþ)
ˆ
ForeignEntity-ñâåäåíèÿîáèíîñòðàííîìëèöå,íåñîñòîÿùåìíàó÷åòåâíàëîãîâûõîðãàíàõ
Âñâîéñòâàõîáúåêòàíóæíîóêàçàòüëèáîèäåíòèôèêàòîðÿùèêàîðãàíèçàöèè,ëèáîâñþîñòàëüíóþ
èíôîðìàöèþ,îáÿçàòåëüíóþäëÿçàïîëíåíèÿ.Ýòàèíôîðìàöèÿèñïîëüçóåòñÿäëÿïîèñêàîðãàíèçàöèè
âÄèàäîê.Âñâîéñòâàõîáúåêòàíóæíîóêàçàòüëèáîèäåíòèôèêàòîðó÷àñòíèêàÝÄÎ,ëèáîÈÍÍ.Ýòà
èíôîðìàöèÿèñïîëüçóåòñÿäëÿïîèñêàó÷àñòíèêàÝÄÎâÄèàäîê.
Ìåòîäûîòñóòñòâóþò
ExtendedSigner
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîëèöå,ïîäïèñàâøåìäîêóìåíò.
Ñâîéñòâàîáúåêòà
ˆ
BoxId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðÿùèêàîðãàíèçàöèè,êîòîðóþïðåäñòàâëÿåòïîä-
ïèñàíò
ˆ
142
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Patronymic
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå60ñèìâîëîâ)-îò÷åñòâî
ˆ
JobTitle
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå128ñèìâîëîâ)-äîëæíîñòü
ˆ
Inn
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äîëæåíñîîòâåòñòâîâàòüòðåáîâàíèÿì,
ïðåäúÿâëÿåìûìêÈÍÍîðãàíèçàöèèèëèèíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿ)-ÈÍÍþðèäè÷å-
ñêîãîëèöàèëèèíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿ
ˆ
RegistrationCerticate
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå128ñèìâîëîâ)-ðåêâè-
çèòûñâèäåòåëüñòâàîðåãèñòðàöèèÈÏ
ˆ
SignerType
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òèïïîäïèñàíòà
ˆ
OrganizationName
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-íàèìåíî-
âàíèåîðãàíèçàöèè
ˆ
SignerInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå100ñèìâîëîâ)-èíûåñâåäåíèÿ,èäåí-
òèôèöèðóþùèåôèçè÷åñêîåëèöî
ˆ
Powers
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-îáëàñòüïîëíîìî÷èé
ˆ
Status
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàòóñ
ˆ
PowersBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-îñíîâàíèÿïîëíî-
ìî÷èé(äîâåðèÿ)
ˆ
OrganizationPowersBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-îñ-
íîâàíèÿïîëíîìî÷èé(äîâåðèÿ)îðãàíèçàöèè.Îáÿçàòåëüíîäëÿçàïîëíåíèÿâñëó÷àå,åñëèïîëå
Status
èìååòçíà÷åíèåOtherOrganizationEmployee
Ñâîéñòâî
SignerType
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
LegalEntity-ïðåäñòàâèòåëüþðèäè÷åñêîãîëèöà
ˆ
IndividualEntity-èíäèâèäóàëüíûéïðåäïðèíèìàòåëü
ˆ
PhysicalPerson-ôèçè÷åñêîåëèöî
Ñâîéñòâî
Powers
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
InvoiceSigner-ëèöî,îòâåòñòâåííîåçàïîäïèñàíèåñ÷åòîâ-ôàêòóð
ˆ
PersonMadeOperation-ëèöî,ñîâåðøèâøååñäåëêó,îïåðàöèþ
ˆ
MadeAndSignOperation-ëèöî,ñîâåðøèâøååñäåëêó,îïåðàöèþèîòâåòñòâåííîåçàå¼îôîðìëåíèå
ˆ
PersonDocumentedOperation-ëèöî,îòâåòñòâåííîåçàîôîðìëåíèåñâåðøèâøåãîñÿñîáûòèÿ
ˆ
MadeOperationAndSignedInvoice-ëèöî,ñîâåðøèâøååñäåëêó,îïåðàöèþèîòâåòñòâåííîåçàïîä-
ïèñàíèåñ÷åòîâ-ôàêòóð
ˆ
MadeAndResponsibleForOperationAndSignedInvoice-ëèöî,ñîâåðøèâøååñäåëêó,îïåðàöèþèîò-
âåòñòâåííîåçàå¼îôîðìëåíèåèçàïîäïèñàíèåñ÷åòîâ-ôàêòóð
ˆ
ResponsibleForOperationAndSignerForInvoice-ëèöî,îòâåòñòâåííîåçàîôîðìëåíèåñâåðøèâøå-
ãîñÿñîáûòèÿèçàïîäïèñàíèåñ÷åòîâ-ôàêòóð
Ñâîéñòâî
Status
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
SellerEmployee-ðàáîòíèêîðãàíèçàöèèïðîäàâöàòîâàðîâ(ðàáîò,óñëóã,èìóùåñòâåííûõïðàâ)
ˆ
InformationCreatorEmployee-ðàáîòíèêîðãàíèçàöèè-ñîñòàâèòåëÿèíôîðìàöèèïðîäàâöà
ˆ
OtherOrganizationEmployee-ðàáîòíèêèíîéóïîëíîìî÷åííîéîðãàíèçàöèè
ˆ
AuthorizedPerson-óïîëíîìî÷åííîåôèçè÷åñêîåëèöî(âòîì÷èñëåèíäèâèäóàëüíûéïðåäïðèíè-
ìàòåëü)
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ143
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîòñóòñòâóþò
OrganizationInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîðåêâèçèòàõîðãàíèçàöèèèêîíòðàãåíòîâ.
Ñâîéñòâàîáúåêòà
ˆ
144
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå30ñèìâîëîâ)-
íîìåðïëàòåæíî-ðàñ÷åòíîãîäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
Signer
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîëèöå,ïîäïèñàâøåìäîêóìåíò.
Ñâîéñòâàîáúåêòà
ˆ
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå128ñèìâîëîâ)-äîëæíîñòüïîäïèñàíòà
Îáÿçàòåëüíîêçàïîëíåíèþïðèèñïîëüçîâàíèè:

äëÿîòêàçàâïîäïèñè,íàïðèìåðñïîìîùüþ
CreateReplySendTask
ñïàðàìåòðîì
RejectDocument

ïðèôîðìèðîâàíèèóâåäîìëåíèÿîáóòî÷íåíèè,íàïðèìåðñïîìîùüþ
CreateReplySendTask
ñïàðàìåòðîìCorrectionRequest

ïðèôîðìèðîâàíèèçàïðîñàíààííóëèðîâàíèåäîêóìåíòà-
SendRevocationRequest
ˆ
INN
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äîëæåíñîîòâåòñòâîâàòüòðåáîâàíèÿì,
ïðåäúÿâëÿåìûìêÈÍÍîðãàíèçàöèèèëèèíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿ.)-ÈÍÍþðèäè÷å-
ñêîãîëèöàïîäïèñàíòàèëèèíäèâèäóàëüíîãîïðåäïðèíèìàòåëÿ
ˆ
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ145
1CDiadocDocumentation,Âûïóñê1
ShipperOrConsigneeInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîãðóçîîòïðàâèòåëå/ãðóçîïîëó÷àòåëå.
Ñâîéñòâàîáúåêòà
ˆ
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêà,äëèíîéíåáîëåå128ñèì-
âîëîâ)-äîëæíîñòü
Ìåòîäûîòñóòñòâóþò
ResolutionRequest
Îáúåêòñîîòâåòñòâóþùèéçàïðîñóñîãëàñîâàíèÿ.
146
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâà
ˆ
Author(ñòðîêà,÷òåíèå)-ÔÈÎñîãëàñîâàòåëÿ
ˆ
CreationDate(äàòàèâðåìÿ,÷òåíèå)-äàòà-âðåìÿñîçäàíèÿñîãëàñîâàíèÿ
ˆ
Comment(ñòðîêà,÷òåíèå)-êîììåíòàðèéêñîãëàñîâàíèþ
ˆ
ResolutionType(ñòðîêà,÷òåíèå)-òèïäåéñòâèÿïîñîãëàñîâàíèþ
ˆ
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ147
1CDiadocDocumentation,Âûïóñê1
Îòìåíàçàïðîñàíàñîãëàñîâàíèåäîêóìåíòà.
ResolutionRequestDenial
Îáúåêòïðåäñòàâëÿþùèéîòêàçîòçàïðîñàïîäïèñèêäîêóìåíòó.
Ñâîéñòâà
ˆ
InitialRequestId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðñóùíîñòèîáúåêòà
ResolutionRequest
Ìåòîäû
ˆ
Cancel
-îòìåíàîòêàçàîòçàïðîñàïîäïèñè.
Cancel
Ìåòîäîáúåêòà
ResolutionRequestDenial
.
Ñèíòàêñèñ
Cancel()
Ïàðàìåòðû
Îòñóòñòâóþò
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Îòìåíàîòêàçàîòçàïðîñàïîäïèñè.
GroundInfo
Äîêóìåíò-îñíîâàíèå
Ñâîéñòâàîáúåêòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåäîêóìåíòà-îñíîâàíèÿ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà-îñíîâàíèÿ
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà-îñíîâàíèÿ
ˆ
Info
(ñòðîêà,÷òåíèå/çàïèñü)-äîïîëíèòåëüíûåñâåäåíèÿ
Óîáúåêòàíåòäîñòóïíûõìåòîäîâ
CustomDataItem
Ýëåìåíòêîëëåêöèèêëþ÷-çíà÷åíèå
Document.CustomData
148
Ãëàâà6.Äîêóìåíòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Key
(ñòðîêà,÷òåíèå/çàïèñü)-êëþ÷
ˆ
Value
(ñòðîêà,÷òåíèå/çàïèñü)-çíà÷åíèå
6.4.Ñòðóêòóðûäëÿðàáîòûññîäåðæèìûìäîêóìåíòîâ149
1CDiadocDocumentation,Âûïóñê1
150
Ãëàâà6.Äîêóìåíòû
Ãëàâà
7
Ïðî÷èåîáúåêòû
Ñîäåðæàíèåäîêóìåíòà
ÎáúåêòBaseContentÿâëÿåòñÿáàçîâûìîáúåêòîìäëÿâñåõòèïîâêîíòåíòîâäîêóìåíòîâ.Îíîáëàäàåò
áàçîâûìíàáîðîìñâîéñòâèìåòîäîâ,êîòîðûåòàêæåðàáîòàþòäëÿâñåõïðîèçâîäíûõòèïîâêîíòåíòîâ.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà
Óáàçîâîãîîáúåêòàíåòäîñòóïíûõìåòîäîâ.
Ïðîèçâîäíûåîáúåêòû
ÑëåäóþùèåîáúåêòûÿâëÿþòñÿïðîèçâîäíûìèîòBaseContent:
AcceptanceCerticateBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿäîêóìåíòààêòîâûïîëíåíèè
ðàáîòâôîðìàòåÔÍÑèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Complaints
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-ïðåòåíçèè
ˆ
SignatureDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàïîäïèñèàêòàçàêàç÷è-
êîì
ˆ
Ocial
(îáúåêò
Ocial
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ëèöî,ïîäïèñûâàþùååñîñòîðîíû
çàêàç÷èêà
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòèïîäïèñûâàþùåãîñîñòîðîíûçàê-
çà÷èêà
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticateBuyerTitle)
151
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîòñóòñòâóþò
AcceptanceCerticateSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïààêòîâûïîëíåíèèðàáîòâôîðìàòå
ÔÍÑ(òèòóëèñïîëíèòåëÿ)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòààêòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðàêòà
ˆ
Title
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå2000ñèìâî-
ëîâ)-çàãîëîâîêàêòà
ˆ
SignatureDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïîäïèñèàêòàèñïîëíèòåëåì
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-èñïîëíèòåëü(îðãàíèçàöèÿ,
âûïîëíèâøàÿðàáîòûëèáîîêàçàâøàÿóñëóãè)
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
AcceptanceCerticateItem
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàá-
ëè÷íàÿ÷àñòüàêòàâûïîëíåííûõðàáîò
ˆ
Ocial
(îáúåêò
Ocial
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ëèöî,ïîäïèñûâàþùååñîñòîðîíû
èñïîëíèòåëÿ
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòèïîäïèñûâàþùåãîñîñòîðîíûèñ-
ïîëíèòåëÿ
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticateContent)
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòñòðîêóâòàáëè÷íóþ÷àñòüÀêòà
AddItem
Ìåòîäîáúåêòà
AcceptanceCerticateSellerContent
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AcceptanceCerticateItem
.
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿîïðîèçâåäåííîéðàáîòåâêîëëåêöèþñòðîêàêòà.
AcceptanceCerticateItem
Ñâåäåíèÿîðàáîòåâàêòåâûïîëíåííûõðàáîò
152Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-íàèìåíîâàíèåðàáîòû
ˆ
Description
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå10000ñèìâîëîâ)-îïèñàíèåðàáîòû
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ.)-êîäåäèíèöûèçìåðåíèÿ
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ.)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿ
ˆ
Quantity
(÷èñëî,÷òåíèå/çàïèñü,)-êîëè÷åñòâî
ˆ
Price
(÷èñëî,÷òåíèå/çàïèñü,)-öåíà
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,)-ñóììàñó÷åòîìÍÄÑ
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-äîïîëíèòåëüíûå
ñâåäåíèÿ
Ìåòîäûîòñóòñòâóþò
AcceptanceContent
Îáúåêòïðåäñòàâëÿåòñîáîéñîäåðæèìîåäåéñòâèÿïîäïèñàíèÿäîêóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáú-
åêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóDocumentSignature)
Óîáúåêòàíåòäîñòóïíûõìåòîäîâ
BasicDocumentContent
Îáúåêòïðåäñòàâëÿåòñîáîéñîäåðæàíèåàêòàîâûïîëíåíèèðàáîòâíåôîðìàëèçîâàííîìâèäå,ÒÎÐÃ-12
âíåôîðìàëèçîâàííîìâèäåèëèñ÷åòàíàîïëàòó.ßâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèåäîêóìåíòà
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà.Èñïîëüçóåòñÿâñåìèòèïàìèñîäåðæèìîãî.Ìîæåòâîç-
âðàùàòüçíà÷åíèÿ:
7.1.Ñîäåðæàíèåäîêóìåíòà153
1CDiadocDocumentation,Âûïóñê1

AcceptanceCerticateyäëÿàêòàîâûïîëíåíèèðàáîò

NonformalizedProformaäëÿñ÷åòàíàîïëàòó

Torg12äëÿÒÎÐÃ-12
Ìåòîäûîòñóòñòâóþò
ContractContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèäîãîâîðîâèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà
ˆ
Price
(ñòðîêà,÷òåíèå/çàïèñü)-öåíà,óêàçàííàÿâäîãîâîðå
ˆ
ContractType
(ñòðîêà,÷òåíèå/çàïèñü)-òèïäîãîâîðà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóContract)
Ìåòîäûîòñóòñòâóþò
CorrectionRequestContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèçàïðîcàíàóòî÷íåíèåäîêóìåíòîâñ÷åò-ôàêòóðàè
èñïðàâëåíèåñ÷åòà-ôàêòóðûèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Comment
(ñòðîêà,îáÿçàòåëüíûé)-êîììåíòàðèéîáèñïðàâëåíèè
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionRequest)
Ìåòîäûîòñóòñòâóþò
FormalizedRejectionContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèîòêàçàâïîäïèñèôîðìàëèçîâàííîãîäîêóìåíòàè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèé
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóXmlSignatureRejection)
Ìåòîäûîòñóòñòâóþò
154Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
InvoiceContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâñ÷åò-ôàêòóðàèèñïðàâëåíèåñ÷åòà-
ôàêòóðûèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
InvoiceVersion
(ñòðîêà,÷òåíèå/çàïèñü)-âåðñèÿôîðìàòàñ÷åòà-ôàêòóðû.Ìîæåòïðèíèìàòüçíà-
÷åíèÿ5.01,5.02
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàñ÷åòà-ôàêòóðû
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåííèÿñ÷åòà-ôàêòóðû(îáÿçàòåëüíî
ïðèôîðìèðîâàíèèInvoiceRevision)
ˆ
InvoiceRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåðèñïðàâëå-
íèÿñ÷åòà-ôàêòóðû(îáÿçàòåëüíîïðèôîðìèðîâàíèèInvoiceRevision)
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.×èñëîâàÿñòðîêàäëèíîé3ñèì-
âîëà.Êîääîëæåíñîäåðæàòüñÿâîáùåðîññèéñêîìêëàññèôèêàòîðåâàëþò.)-êîäâàëþòû
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Shipper
(îáúåêò
ShipperOrConsigneeInfo
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ
ˆ
Consignee
(îáúåêò
ShipperOrConsigneeInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Totals
(
7.1.Ñîäåðæàíèåäîêóìåíòà155
1CDiadocDocumentation,Âûïóñê1
AddItem
Ìåòîäîáúåêòà
InvoiceContent
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceItem
.
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿîòîâàðåâêîëëåêöèþñòðîêñ÷åòà-ôàêòóðû.
AddPaymentDocument
Ìåòîäîáúåêòà
InvoiceContent
Ñèíòàêñèñ
AddPaymentDocument()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
PaymentDocument
.
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿâêîëëåêöèþïëàòåæíî-ðàñ÷åòíûõäîêóìåíòîâ.
InvoiceItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)ñ÷åòà-ôàêòóðû
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîåäèíèöòîâàðà
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíàçàåäèíèöóòîâàðà(áåçÍÄÑ)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàâêàÍÄÑ
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
CountriesOfOrigin
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàèç3ñèìâîëîâ.Êîääîëæåíñîäåð-
æàòüñÿâÎáùåðîññèéñêîìêëàññèôèêàòîðåñòðàíìèðà)-êîäñòðàíûïðîèñõîæäåíèÿòîâàðà
ˆ
CustomsDeclarationNumbers
(ñòðîêà,÷òåíèå/çàïèñü,ìàêñèìàëüíàÿäëèíàÃÒÄ-29ñèìâîëîâ)
-íîìåðÃÒÄ.Âñëó÷àåíåñêîëüêèìõÃÒÄîíèïåðå÷èñëÿþòñÿ÷åðåççàïÿòóþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
156Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
ˆ
20-ñòàâêàíàëîãà20%
Ìåòîäûîòñóòñòâóþò
InvoiceItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)ñ÷åòà-ôàêòóðû
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîåäèíèöòîâàðà
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíàçàåäèíèöóòîâàðà(áåçÍÄÑ)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàâêàÍÄÑ
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
CountriesOfOrigin
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàèç3ñèìâîëîâ.Êîääîëæåíñîäåð-
æàòüñÿâÎáùåðîññèéñêîìêëàññèôèêàòîðåñòðàíìèðà)-êîäñòðàíûïðîèñõîæäåíèÿòîâàðà
ˆ
CustomsDeclarationNumbers
(ñòðîêà,÷òåíèå/çàïèñü,ìàêñèìàëüíàÿäëèíàÃÒÄ-29ñèìâîëîâ)
-íîìåðÃÒÄ.Âñëó÷àåíåñêîëüêèìõÃÒÄîíèïåðå÷èñëÿþòñÿ÷åðåççàïÿòóþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
7.1.Ñîäåðæàíèåäîêóìåíòà157
1CDiadocDocumentation,Âûïóñê1
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
ˆ
20-ñòàâêàíàëîãà20%
Ìåòîäûîòñóòñòâóþò
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèñ÷åòà-
ôàêòóðû.
158Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
InvoiceVersion
(ñòðîêà,÷òåíèå/çàïèñü)-âåðñèÿôîðìàòàêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû.
Ìîæåòïðèíèìàòüçíà÷åíèÿ5.01,5.02
ˆ
OriginalInvoices
(
êîëëåêöèÿ
îáúåêòîâ
OriginalInvoice
,÷òåíèå)-äàííûåîáñ÷åò-ôàêòóðàõ,íà
îñíîâàíèèêîòîðûõáûëâûñòàâëåíêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
ˆ
InvoiceCorrectionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàÊÑÔ
ˆ
InvoiceCorrectionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðÊÑÔ
ˆ
InvoiceCorrectionRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿÊÑÔ
ˆ
InvoiceCorrectionRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåð
èñïðàâëåíèÿÊÑÔ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.×èñëîâàÿñòðîêàäëèíîé3ñèì-
âîëà.Êîääîëæåíñîäåðæàòüñÿâîáùåðîññèéñêîìêëàññèôèêàòîðåâàëþò.)-êîäâàëþòû
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionContent)
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
InvoiceCorrectionItem
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàáëè÷-
íàÿ÷àñòüêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
TotalsInc
(îáúåêò
7.1.Ñîäåðæàíèåäîêóìåíòà159
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêàíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
OriginalValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿäî
êîððåêòèðîâêè
ˆ
CorrectedValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿïî-
ñëåêîððåêòèðîâêè
ˆ
AmountsInc
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóâåëè÷åíèþ
ˆ
AmountsDec
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóìåíüøåíèþ
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceCorrectionItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèèñïðàâëåíèÿ
ñ÷åòà-ôàêòóðû.
160Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíàçàåäèíèöóòîâàðà(áåçÍÄÑ)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñòàâêàÍÄÑ
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
ˆ
20-ñòàâêàíàëîãà20%
Ìåòîäûîòñóòñòâóþò
AmountsDi
Îáúåêòïðåäíàçíà÷åíäëÿõðàíåíèÿèíôîðìàöèèñóììêóâåëè÷åíèþèëèóìåíüøåíèþ
Ñâîéñòâàîáúåêòà
ˆ
Excise
(ñòðîêà,÷òåíèå/çàïèñü)-àêöèç
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
Ìåòîäûîòñóòñòâóþò
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
InvoiceCorrectionContent
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéèñïðàâëåíèÿñ÷åòà-ôàêòóðû.
OriginalInvoice
Îáúåêòïðåäíàçíà÷åíäëÿçàäàíèÿðåêâèçèòîâîðèãèíàëüíîãîñ÷åòà-ôàêòóðû,íà
îñíîâàíèèêîòîðîãîâûñòàâëÿåòñÿêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà.
7.1.Ñîäåðæàíèåäîêóìåíòà161
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàñ÷åòà-ôàêòóðû
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåííèÿñ÷åòà-ôàêòóðû(çàïîëíÿåòñÿ,
åñëèÊÑÔ/ÈÊÑÔôîðìèðóåòñÿíàèñïðàâëåííûéÑÔ)
ˆ
InvoiceRevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå3ñèìâîëîâ)-íîìåðèñïðàâëå-
íèÿñ÷åòà-ôàêòóðû(çàïîëíÿåòñÿ,åñëèÊÑÔ/ÈÊÑÔôîðìèðóåòñÿíàèñïðàâëåííûéÑÔ)
Ìåòîäûîòñóòñòâóþò
AddOriginalInvoice
Ìåòîäîáúåêòà
InvoiceCorrectionContent
Ñèíòàêñèñ
AddOriginalInvoice()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
OriginalInvoice
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêñ÷åòîâ-ôàêòóð,íàîñíîâàíèèêîòîðûõáûëâûñòàâëåíêîððåêòèðî-
âî÷íûéñ÷åò-ôàêòóðà
NonformilizedContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìíåôîðìàëèçîâàííîãîäîêóìåíòà,ðååñòðàñåðòèôèêà-
òîâ,àêòàñâåðêè,äåòàëèçàöèè,ïðîòîêîëàñîãëàñîâàíèÿöåíû,äîïîëíèòåëüíîãîñîãëàøåíèåêäîãîâîðó,
öåíîâîãîëèñòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäîêóìåíòà,
àêòàñâåðêè.
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäî-
êóìåíòà,àêòàñâåðêè.
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó÷à-
òåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.Èñïîëüçóåòñÿäëÿíåôîðìàëèçîâàííîãîäîêóìåíòà,ðååñòðà
ñåðòèôèêàòîâ,ïðîòîêîëàñîãëàñîâàíèÿöåíû.
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà.Èñïîëüçóåòñÿâñåìèòèïàìèñîäåðæèìîãî.Ìîæåòâîç-
âðàùàòüçíà÷åíèÿ:

CerticateRegistryäëÿðååñòðàñåðòèôèêàòîâ

PriceListäëÿöåíîâîãîëèñòà

PriceListAgreementäëÿïðîòîêîëàñîãëàñîâàíèÿöåíû

ReconciliationActäëÿàêòàñâåðêè

162Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1

SupplementaryAgreement-äëÿäîïîëíèòåëüíîãîñîãëàøåíèÿêäîãîâîðó

NonformilizedDocumentContentäëÿïðî÷èõíåôîðìàëèçîâàííûõäîêóìåíòîâ
Ìåòîäûîòñóòñòâóþò
OutDocumentSignTaskContent
Îáúåêòïðåäñòàâëÿåòñîáîéñîäåðæèìîåçàäàíèÿíàïîäïèñàíèåèîòïðàâêóèñõîäÿùåãîäîêóìåíòàñ
îòëîæåííîéîòïðàâêîé.ßâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàèìåòîäûîòñóòñòâóþò
PackageContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñïàêåòàìèêîíòåíòîâ(îáúåêòîâ
BaseContent
)èÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
ContentItems
(
êîëëåêöèÿ
îáúåêòîâ
PackageContentItem
,÷òåíèå)-êîëëåêöèÿïàðäîêóìåíò-
êîíòåíò,õðàíÿùèõñÿâïàêåòå
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóPackageContent)
Ìåòîäûîòñóòñòâóþò
RejectionContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèîòêàçàâïîäïèñèíåôîðìàëèçîâàííîãîäîêóìåíòàè
èñïðàâëåíèåñ÷åòà-ôàêòóðûèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-êîììåíòàðèé
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóSignatureRequestRejection)
Ìåòîäûîòñóòñòâóþò
RevocationRequestContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûñìåòàäàííûìèçàïðîñàíààííóëèðîâàíèåäîêóìåíòàèÿâëÿåòñÿ
ïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå)-äàííûåïîäïèñàíòàäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèé
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïêîíòåíòà(âîçâðàùàåòñòðîêóRevocationRequest)
Ìåòîäûîòñóòñòâóþò
7.1.Ñîäåðæàíèåäîêóìåíòà163
1CDiadocDocumentation,Âûïóñê1
SentPackageContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæèìûìçàäàíèÿíàîòïðàâêóïàêåòàäîêóìåíòîâ
PackageSendTask
.Îíÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ýòîòîáúåêòìîæåòáûòüïåðåäàíâìåòîä
AddContent
îáúåêòà
CloudSignTask
äëÿïîäïèñàíèÿîáëà÷íîé
ïîäïèñüþâñåõäîêóìåíòîâèçïàêåòàíàîòïðàâêó.
Ñâîéñòâàèìåòîäûîòñóòñòâóþò.
Torg12BuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòå
ÔÍÑèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
ShipmentReceiptDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàïîëó÷åíèÿãðó-
çà
ˆ
Attorney
(îáúåêò
Attorney
,÷òåíèå)-ñâåäåíèÿîäîâåðåííîñòè
ˆ
Receiver
(îáúåêò
Ocial
,÷òåíèå)-ëèöî,ïîëó÷èâøååãðóç
ˆ
Accepter
(îáúåêò
Ocial
,÷òåíèå)-ëèöî,ïðèíÿâøååãðóç
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ïîäïèñàíò
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü)-äîïîëíèòåëüíûåñâåäåíèÿ
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlTorg12BuyerTitle)
Ìåòîäûîòñóòñòâóþò
Torg12SellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÒÎÐÃ-12âôîðìàòåÔÍÑ(òèòóë
ïðîäàâöà)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,äëèíàíåáîëåå256ñèìâîëîâ)-
íîìåðäîêóìåíòà
ˆ
WaybillDate
(äàòà,÷òåíèå/çàïèñü)-äàòàòðàíñïîðòíîéíàêëàäíîé
ˆ
WaybillNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðòðàíñïîðòíîé
íàêëàäíîé
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå255ñèìâîëîâ)-êîäâèäàîïåðàöèè
ˆ
GroundName
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåäîêóìåíòà-
îñíîâàíèÿ
ˆ
GroundDate
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà-îñíîâàíèÿ
164Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
GroundNumber
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå256ñèìâîëîâ)-íîìåðäîêóìåíòà-
îñíîâàíèÿ
ˆ
Seller
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïðîäàâöà
ˆ
Buyer
(îáúåêò
OrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàííûåïîêóïàòåëÿ
ˆ
Shipper
(îáúåêò
OrganizationInfo
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ
ˆ
ShipperDepartment
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå1000ñèìâîëîâ)-ñòðóêòóðíîåïîä-
ðàçäåëåíèåãðóçîîòïðàâèòåëÿ
ˆ
ShipperOkdp
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàíåáîëåå7ñèìâîëîâ)-êîäîñíîâíîãîâèäàäåÿòåëü-
íîñòèïîÎÊÄÏãðóçîîòïðàâèòåëÿ
ˆ
Consignee
(îáúåêò
OrganizationInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ
ˆ
Items
(
êîëëåêöèÿ
îáúåêòîâ
Torg12Item
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-òàáëè÷íàÿ÷àñòü
Òîðã-12
ˆ
Totals
(îáúåêò
Torg12Totals
,÷òåíèå)-èòîãèïîíàêëàäíîé
ˆ
Commons
(îáúåêò
Torg12Commons
,÷òåíèå)-îáùèåñâåäåíèÿïîíàêëàäíîé
ˆ
7.1.Ñîäåðæàíèåäîêóìåíòà165
1CDiadocDocumentation,Âûïóñê1
SaveExternalCodes
Ìåòîäîáúåêòà
Torg12SellerContent
Ñèíòàêñèñ
SaveExternalCodes()
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ïîçâîëÿåòñîõðàíèòüñïèñîêâíåøíèõèäåíòèôèêàòîðîâòîâàðîâíàêëàäíîé.Ìîæåòáûòüèñïîëüçîâàíà
òîëüêîïîêóïàòåëåì.
Torg12Item
ÑâåäåíèÿîòîâàðåâÒîðã-12
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêèíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
ProductCode
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå100ñèìâîëîâ)-êîäòîâàðà
ˆ
Feature
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå1000ñèìâîëîâ)-õàðàêòåðèñòèêàòîâàðà
ˆ
Sort
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå10ñèìâîëîâ)-ñîðòòîâàðà
ˆ
Article
(ñòðîêà,÷òåíèå/çàïèñü,äëèíàñòðîêèíåáîëåå50ñèìâîëîâ)-àðòèêóëòîâàðà
ˆ
UnitCode
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîé3ñèìâîëà.Êîääîëæåíñîäåðæàòüñÿ
âÎáùåðîññèéñêîìêëàññèôèêàòîðååäèíèöèçìåðåíèÿ)-êîäåäèíèöûèçìåðåíèÿòîâàðà
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿ
ˆ
ParcelsQuantity
(÷èñëî,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñò
ˆ
ParcelType
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-âèäóïàêîâêè
ˆ
ParcelCapacity
(÷èñëî,÷òåíèå/çàïèñü)-êîëè÷åñòâîâîäíîììåñòå
ˆ
GrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòî
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-êîëè÷åñòâî
(ìàññàíåòòî)
ˆ
Price
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíà
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàñó÷åòîì
ÍÄÑ
ˆ
AdditionalInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå2000ñèìâîëîâ)-ïðîèçâîëüíàÿ
äîïîëíèòåëüíàÿèíôîðìàöèÿ
ˆ
ExternalCode
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðòîâàðà.Ìîæåòáûòüóñòàíîâ-
ëåíòîëüêîïîêóïàòåëåìòîâàðà.
ÑâîéñòâîTaxRateìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
166Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
-áåçÍÄÑ
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäûîòñóòñòâóþò
Torg12Totals
Èòîãèïîíàêëàäíîé
Ñâîéñòâàîáúåêòà
ˆ
ParcelsQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-êîëè÷åñòâîìåñò
ˆ
GrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ìàññàáðóòòî
ˆ
Quantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-êîëè÷åñòâî(ìàññàíåòòî)
ˆ
TotalWithVatExcluded
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàÍÄÑ
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàñó÷åòîìÍÄÑ
Ìåòîäûîòñóòñòâóþò
Torg12Commons
Îáùèåñâåäåíèÿòîâàðíîéíàêëàäíîé
Ñâîéñòâàîáúåêòà
ˆ
TotalParcelsQuantity
(÷èñëî,÷òåíèå)-êîëè÷åñòâîìåñò,øòóê
ˆ
TotalGrossQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòî
ˆ
TotalQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàíåòòî
ˆ
TotalSum
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå)-ñóììàñó÷åòîìÍÄÑ
ˆ
TotalParcelsQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñò,øòóê,ïðîïèñüþ
ˆ
TotalGrossQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ìàññàáðóòòî,ïðîïèñüþ
ˆ
TotalQuantityInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ìàññàíåòòî,ïðîïèñüþ
ˆ
TotalSumInWords
(ñòðîêà,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ,ïðîïèñüþ
Ìåòîäûîòñóòñòâóþò
XmlDocumentContent
Îáúåêòïðåäñòàâëÿåòñîáîéñîäåðæàíèåôîðìàëèçîâàííûõäîêóìåíòîâòèòóëèñïîëíèòåëÿäîêóìåí-
òààêòîâûïîëíåíèèðàáîòâôîðìàòåÔÍÑ,òèòóëïðîäàâöàäîêóìåíòàòèïàÒÎÐÃ-12âôîðìà-
òåÔÍÑ,ñ÷åò-ôàêòóðà,èñïðàâëåíèåñ÷åòà-ôàêòóðû,êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðàèëèèñ-
ïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûâôîðìàòåXML.ßâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàèìåòîäûîòñóòñòâóþò
7.1.Ñîäåðæàíèåäîêóìåíòà167
1CDiadocDocumentation,Âûïóñê1
UtdBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïîêóïàòåëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãî
äîêóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Creator
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-ñîñòàâèòåëüôàéëàîáìåíàñ÷åòà-ôàêòóðû(èíôîðìàöèèïîêóïàòåëÿ)
ˆ
CreatorBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå120ñèìâîëîâ)-îñíîâàíèå,ïîêî-
òîðîìóýêîíîìè÷åñêèéñóáúåêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíàñ÷åòà-ôàêòóðû
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-âèäîïåðàöèè
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèíÿòèÿòîâàðîâ(ðåçóëüòàòîââûïîëíåííûõðà-
áîò)èëèèìóùåñòâåííûõïðàâ(ïîäòâåðæäåíèÿôàêòàîêàçàíèÿóñëóã)
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïîêóïàòåëÿ
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêó
UniversalTransferDocumentBuyerTitle)
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
AddSigner
Ìåòîäîáúåêòà
UtdBuyerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïîêóïàòåëÿÓÏÄ.
UtdSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïðîäàâöàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäî-
êóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
168Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ôóíêöèÿäîêóìåíòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåïåðâè÷íîãî
äîêóìåíòà,îïðåäåëåííîåîðãàíèçàöèåé
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàÓÏÄ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-íîìåðÓÏÄ
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïðîäàâöà.
Âñëó÷àåÓÏÄñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿïðîäàâöàäîëæåíáûòüóêàçàíàäðåñ
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïîêóïà-
òåëÿ.Âñëó÷àåÓÏÄñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿïîêóïàòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
Shipper
(îáúåêò
Shipper
,÷òåíèå)-äàííûåãðóçîîòïðàâèòåëÿ.Âñëó÷àåÓÏÄñôóíêöèåéÑ×Ô
èÑ×ÔÄÎÏäëÿãðóçîîòïðàâèòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
Consignee
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-äàííûåãðóçîïîëó÷àòåëÿ.Âñëó÷àåÓÏÄ
ñôóíêöèåéÑ×ÔèÑ×ÔÄÎÏäëÿãðóçîïîëó÷àòåëÿäîëæåíáûòüóêàçàíàäðåñ
ˆ
7.1.Ñîäåðæàíèåäîêóìåíòà169
1CDiadocDocumentation,Âûïóñê1
ˆ
Basic-ÄÎÏ
ˆ
InvoiceAndBasic-Ñ×ÔÄÎÏ
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
ˆ
AddPaymentDocument
-äîáàâëÿåòñâåäåíèÿîïëàòåæíî-ðàñ÷åòíîìäîêóìåíòå
AddSigner
Ìåòîäîáúåêòà
UtdSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÓÏÄ.
AddPaymentDocument
Ìåòîäîáúåêòà
UtdSellerContent
Ñèíòàêñèñ
AddPaymentDocument()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
PaymentDocument
Îïèñàíèå
Äîáàâëÿåòñâåäåíèÿâêîëëåêöèþïëàòåæíî-ðàñ÷åòíûõäîêóìåíòîâ.
170Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
AddItem
Ìåòîäîáúåêòà
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Subtotal
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ñóììàâñåãî
ˆ
ItemMark
(ñòðîêà,÷òåíèå/çàïèñü)-ïðèçíàêòîâàð-ðàáîòà-óñëóãà
ˆ
AdditionalProperty
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå4ñèìâîëîâ)-äîïîëíèòåëü-
íàÿèíôîðìàöèÿîïðèçíàêå
ˆ
VendorCode
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-õàðàêòåðèñòè-
êà/êîä/àðòèêóë/ñîðòòîâàðà
ˆ
ToRelease
(÷èñëîñïëàâàþùåéçàïÿòîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîòîâàðà,êîòîðîåíàäëåæèò
îòïóñòèòü
ˆ
AccountDebit
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîéíåáîëåå9ñèìâîëîâ)-êîððå-
ñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
AccountCredit
(ñòðîêà,÷òåíèå/çàïèñü,÷èñëîâàÿñòðîêàäëèíîéíåáîëåå9ñèìâîëîâ)-êîððå-
ñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
CustomDeclarations
(
êîëëåêöèÿ
îáúåêòîâ
CustomDeclaration
,÷òåíèå)-íîìåðàòàìîæåííûõ
äåêëàðàöèé
7.1.Ñîäåðæàíèåäîêóìåíòà171
1CDiadocDocumentation,Âûïóñê1
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå)-èíôîðìàöèîí-
íîåïîëåäîêóìåíòà
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ñâîéñòâî
ItemMark
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
NotSpecied-íåóêàçàíî
ˆ
Property-èìóùåñòâî
ˆ
Job-ðàáîòà
ˆ
Service-óñëóãà
ˆ
PropertyRights-èìóùåñòâåííûåïðàâà
ˆ
Other-èíîå
Ìåòîäûîáúåêòà
ˆ
AddCustomDeclaration
-äîáàâëÿåòîñíîâàíèåîòãðóçêè
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddCustomDeclaration
Ìåòîäîáúåêòà
ExtendedInvoiceItem
Ñèíòàêñèñ
AddCustomDeclaration()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
CustomDeclaration
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêîñíîâàíèéîòãðóçêè
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
ExtendedInvoiceItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèñ÷åòà-
ôàêòóðû.
172Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
TransferInfo
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿñâåäåíèéîïåðåäà÷å.
Ñâîéñòâàîáúåêòà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå255
ñèìâîëîâ)-ñîäåðæàíèåîïåðàöèè
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-âèäîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàîòãðóçêè
ˆ
TransferTextInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå1000ñèìâîëîâ)-ñâåäåíèÿî
òðàíñïîðòèðîâêåèãðóçå
ˆ
Carrier
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïåðåâîç÷èê
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïðîäàâöà
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
CreatedThingTransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èâåùè,èçãîòîâëåííîéïîäî-
ãîâîðó
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïåðåäà÷åâåùè,èçãîòîâëåííîéïîäîãî-
âîðó
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
TransferBases
(
êîëëåêöèÿ
îáúåêòîâ
TransferBase
,÷òåíèå)-îñíîâàíèåîòãðóçêè
ˆ
Waybills
(
êîëëåêöèÿ
îáúåêòîâ
Waybill
,÷òåíèå)-òðàíñïîðòíàÿíàêëàäíàÿ
Ìåòîäûîáúåêòà
ˆ
AddTransferBase
-äîáàâëÿåòîñíîâàíèåîòãðóçêè
ˆ
AddWaybill
-äîáàâëÿåòòðàíñïîðòíóþíàêëàäíóþ
AddTransferBase
Ìåòîäîáúåêòà
TransferInfo
Ñèíòàêñèñ
AddTransferBase()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
TransferBase
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêîñíîâàíèéîòãðóçêè
AddWaybill
Ìåòîäîáúåêòà
TransferInfo
Ñèíòàêñèñ
AddWaybill()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Waybill
Îïèñàíèå
7.1.Ñîäåðæàíèåäîêóìåíòà173
1CDiadocDocumentation,Âûïóñê1
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
TransferBase
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîäîêóìåíòå-îíîâàíèèîòãðóç-
êè.
Ñâîéñòâàîáúåêòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íàèìåíîâàíèåäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íîìåðäîêóìåíòà
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà
ˆ
DocumentInfo
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000
ñèìâîëîâ)-äîïîëíèòåëüíûåñâåäåíèÿäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
Waybill
Îáúåêòïðåäíàçíà÷åíäëÿðåäàêòèðîâàíèÿèíôîðìàöèèîòðàíñïîðòíîéíàêëàäíîé.
Ñâîéñòâàîáúåêòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ,ñòðîêàäëèíîéíåáîëåå
255ñèìâîëîâ)-íîìåðäîêóìåíòà
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàòàäîêóìåíòà
Ìåòîäûîòñóòñòâóþò
UcdSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìòèòóëàïðîäàâöàóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãî
äîêóìåíòàèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Function
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-ôóíêöèÿäîêóìåíòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-íàèìåíîâàíèåïåðâè÷íîãî
äîêóìåíòà,îïðåäåëåííîåîðãàíèçàöèåé
ˆ
Date
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàòàÓÊÄ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-íîìåðÓÊÄ
ˆ
Invoices
(êîëëåêöèÿ
Collection
îáúåêòîâòèïà
InvoiceForCorrectionInfo
)-ñ÷åò-ôàêòóðà(ïåðâè÷-
íûéäîêóìåíò),êêîòîðîìóñîñòàâëåíÓÊÄ
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïðîäàâöà.
Âñëó÷àåÓÊÄñôóíêöèåéÊÑ×ÔèÊÑ×ÔÄÈÑäëÿïðîäàâöàäîëæåíáûòüóêàçàíàäðåñ
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-äàííûåïîêóïà-
òåëÿ.Âñëó÷àåÓÊÄñôóíêöèåéÊÑ×ÔèÊÑ×ÔÄÈÑäëÿïîêóïàòåëÿäîëæåíáûòüóêàçàí
àäðåñ
174Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
ˆ
EventContent
(îáúåêò
EventContent
)-ñîäåðæàíèåñîáûòèÿ
ˆ
InvoiceCorrectionTable
(îáúåêò
InvoiceCorrectionTable
)-ñâåäåíèÿòàáëèöûêîððåêòèðîâî÷íîãî
ñ÷åòà-ôàêòóðû
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ)-êîäâàëþòûïîÎáùåðîññèéñêîìó
êëàññèôèêàòîðóâàëþò
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿ
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðèñïðàâ-
ëåíèÿ
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Creator
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîíåíèÿ,ñòðîêàäëèíîéíåáîëåå1000ñèì-
âîëîâ)-ñîñòàâèòåëüôàéëàîáìåíàñ÷åòà-ôàêòóðû(èíôîðìàöèèïðîäàâöà)
ˆ
CreatorBase
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå120ñèìâîëîâ)-îñíîâàíèå,ïîêî-
òîðîìóýêîíîìè÷åñêèéñóáúåêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíàñ÷åòà-ôàêòóðû
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå255ñèìâîëîâ)-èäåí-
òèôèêàòîðãîñóäàðñòâåííîãîêîíòðàêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóUniversalCorrectionDocument)
Ñâîéñòâî
Function
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
Invoice-ÊÑ×Ô
ˆ
Basic-ÄÈÑ
ˆ
InvoiceAndBasic-ÊÑ×ÔÄÈÑ
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
ˆ
AddInvoice
-äîáàâëÿåòñ÷åò-ôàêòóðó(ïåðâè÷íûéäîêóìåíò),êêîòîðîìóñîñòàâëåíÓÊÄ
AddSigner
Ìåòîäîáúåêòà
UcdSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÓÊÄ.
7.1.Ñîäåðæàíèåäîêóìåíòà175
1CDiadocDocumentation,Âûïóñê1
AddInvoice
Ìåòîäîáúåêòà
UcdSellerContent
Ñèíòàêñèñ
AddInvoice()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceForCorrectionInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêñ÷åòîâ-ôàêòóð,êêîòîðûìñîñòàâëåíÓÊÄ.
InvoiceForCorrectionInfo
Ñâåäåíèÿîc÷åòå-ôàêòóðå(ïåðâè÷íîìäîêóìåíòå),êêîòîðîìóñîñòàâëåí
êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà
Ñâîéñòâàîáúåêòà
ˆ
InvoiceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñ÷åòà-ôàêòóðû
ˆ
InvoiceNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðñ÷åòà-ôàêòóðû
ˆ
InvoiceRevisions
(êîëëåêöèÿ
Collection
îáúåêòîâ
InvoiceRevisionInfo
)-ñó÷åòîìèñïðàâëåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddInvoiceRevision
-äîáàâëÿåòñòðîêóñó÷åòîìèñïðàâëåíèÿ
InvoiceRevisionInfo
Èíôîðìàöèÿèñïðàâèòåëüíîãîñ÷åòà-ôàêòóðûêêîòîðîìóñîñòàâëåíÓÊÄ
Ñâîéñòâàîáúåêòà
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿñ÷åòà-ôàêòóðû
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿñ÷åòà-ôàêòóðû
ÂñîîòâåòñòâèèñôîðìàòîìÔÍÑíîìåðèñïðàâëåíèÿäîëæåíñîñòîÿòüòîëüêîèçöèôð(îò1äî3öèôð).
Íàïðèìåð,1,29,345.
Ìåòîäûîòñóòñòâóþò.
AddInvoiceRevision
Ìåòîäîáúåêòà
InvoiceForCorrectionInfo
Ñèíòàêñèñ
AddInvoiceRevision
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
InvoiceRevisionInfo
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêèñïðàâèòåëüíûõñ÷åòîâ-ôàêòóð,êêîòîðûìñîñòàâëåíÓÊÄ.
EventContent
Ñîäåðæàíèåñîáûòèÿ
176Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
CostChangeInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èíûåñâåäåíèÿîáèçìåíåíèèñòîèìîñòè
ˆ
7.1.Ñîäåðæàíèåäîêóìåíòà177
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
AddItem
-äîáàâëÿåòýëåìåíòèíôîðìàöèèîòîâàðàõ
ExtendedInvoiceCorrectionItem
Ñâåäåíèÿîòîâàðå(ðàáîòå,óñëóãå)óíèâåðñàëüíîãîêîððåêòèðî-
âî÷íîãîäîêóìåíòà
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ.Äëèíàñòðîêàíåáîëåå1000ñèì-
âîëîâ)-íàèìåíîâàíèåòîâàðà
ˆ
OriginalValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿäî
êîððåêòèðîâêè
ˆ
CorrectedValues
(îáúåêò
InvoiceItemFields
,÷òåíèå,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-çíà÷åíèÿïî-
ñëåêîððåêòèðîâêè
ˆ
AmountsInc
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóâåëè÷åíèþ
ˆ
AmountsDec
(îáúåêò
AmountsDi
,÷òåíèå)-ñóììûêóìåíüøåíèþ
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
StructedAdditionalInfos
(
êîëëåêöèÿ
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)-äîïîë-
íèòåëüíûåñâåäåíèÿ
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòñòðîêóäîïîëíèòåëüíûõñâåäåíèé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
ExtendedInvoiceCorrectionItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéýëåìåíòàòàáëè÷íîé÷àñòèÓÊÄ.
AddItem
Ìåòîäîáúåêòà
InvoiceCorrectionTable
Ñèíòàêñèñ
AddItem()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedInvoiceCorrectionItem
.
Îïèñàíèå
ÏîçâîëÿåòäîáàâèòüñâåäåíèÿîòîâàðåâêîëëåêöèþñòðîêÓÊÄ
178Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
TovTorgSellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÒÎÐÃ-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ(òèòóëïðîäàâöà)èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
BaseContent
.
Ñâîéñòâàîáúåêòà
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïðîäàâåö
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïîêóïàòåëü
ˆ
Shipper
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ãðóçîîòïðàâèòåëü
ˆ
Consignee
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ãðóçîïîëó÷àòåëü
ˆ
Carrier
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-ïåðåâîç÷èê
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòû
ˆ
Grounds
(êîëëåêöèÿ
Collection
îáúåêòîâ
GroundInfo
,÷òåíèå)-îñíîâàíèÿ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü)-âàëþòà(êîä)
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñîñòàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionDate
(äàòà,÷òåíè/çàïèñü)-äàòàèñïðàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
TransferInfo
(îáúåêò
TovTorgTransferInfo
,÷òåíèå)-ñâåäåíèÿîôàêòåïåðåäà÷è(îáîòïóñêåãðóçà)
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðãîñóäàðñòâåííîãîêîíòðàê-
òà
ˆ
Table
(îáúåêò
TovTorgTable
,÷òåíèå)-ñâåäåíèÿîáàññîðòèìåíòå,êîëè÷åñòâå,ñòîèìîñòèèäðóãîé
èíôîðìàöèèîòîâàðíûõïîçèöèÿõ
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåïåðâè÷íîãîäîêóìåíòà,îïðåäåëåííîå
îðãàíèçàöèåé
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâ
ˆ
AddGround
-äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé
7.1.Ñîäåðæàíèåäîêóìåíòà179
1CDiadocDocumentation,Âûïóñê1
AddSigner
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
AddGround
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
TovTorgTable
ÑâåäåíèÿòàáëèöûÒîðã-12-ñâåäåíèÿîáàññîðòèìåíòå,êîëè÷åñòâå,ñòîèìîñòèèäðó-
ãîéèíôîðìàöèèîòîâàðíûõïîçèöèÿõ
Ñâîéñòâàîáúåêòà
ˆ
Items
(êîëëåêöèÿ
Collection
îáúåêòîâòèïà
TovTorgItem
)-èíôîðìàöèÿîòîâàðàõ
ˆ
TotalQuantity
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâîìåñòâñåãîïîäîêóìåíòó
ˆ
TotalGross
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ìàññàáðóòòîâñåãîïîäîêóìåíòó
ˆ
180Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïðîäàâöàÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
AddGround
Ìåòîäîáúåêòà
TovTorgSellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
TovTorgItem
Ñâåäåíèÿîòîâàðåòîðã-12âôîðìàòå551-ãîïðèêàçà
Ñâîéñòâàîáúåêòà
ˆ
Product
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåòîâàðà
ˆ
Feature
(ñòðîêà,÷òåíèå/çàïèñü)-õàðàêòåðèñòèêàòîâàðà
ˆ
Sort
(ñòðîêà,÷òåíèå/çàïèñü)-ñîðòòîâàðà
ˆ
VendorCode
(ñòðîêà,÷òåíèå/çàïèñü)-àðòèêóëòîâàðà
ˆ
ProductCode
(ñòðîêà,÷òåíèå/çàïèñü)-êîäòîâàðà
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿòîâàðà
ˆ
Unit
(ñòðîêà,÷òåíèå/çàïèñü)-åäèíèöûèçìåðåíèÿòîâàðà(êîä)
ˆ
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàíàëîãà
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàíàëîãà
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàíàëîãà
ˆ
Subtotal
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàâñåãî
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-Êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-Êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Colection
îáúåêòîâ
StructedAdditionalInfo
)-Èíôîðìàöè-
îííîåïîëåäîêóìåíòà
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
7.1.Ñîäåðæàíèåäîêóìåíòà181
1CDiadocDocumentation,Âûïóñê1
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäûîáúåêòà
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéèíôîð-
ìàöèîííîãîïîëÿäîêóìåíòà
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
TovTorgItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé.
TovTorgTransferInfo
Ñâåäåíèÿîôàêòåïåðåäà÷è(îáîòïóñêåãðóçà)
Ñâîéñòâàîáúåêòà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàîòãðóçêè
ˆ
Attachment
(ñòðîêà,÷òåíèå/çàïèñü)-ïðèëîæåíèå,ñåðòèôèêàòûèïðî÷åå
ˆ
Waybills
(êîëëåêöèÿ
Collection
îáúåêòîâ
Waybill
)-òðàíñïîðòíûíàêëàäíûå
ˆ
Employee
(îáúåêò
Employee
)-ðàáîòíèêîðãàíèçàöèèïðîäàâöà
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
)-èíîåëèöî
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAditionalInfo
)-èíôîðìàöèîí-
íûåïîëÿäîêóìåíòà
Ìåòîäûîáúåêòà
ˆ
AddWaybill
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé
182Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
AddWaybill
Ìåòîäîáúåêòà
TovTorgTransferInfo
Ñèíòàêñèñ
AddWaybill()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Waybill
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêòðàíñïîðòíûõíàêëàäíûõ
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
TovTorgTransferInfo
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèé.
GroundInfo
Äîêóìåíò-îñíîâàíèå
Ñâîéñòâàîáúåêòà
ˆ
Name
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåäîêóìåíòà-îñíîâàíèÿ
ˆ
Number
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòà-îñíîâàíèÿ
ˆ
Date
(äàòà,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà-îñíîâàíèÿ
ˆ
Info
(ñòðîêà,÷òåíèå/çàïèñü)-äîïîëíèòåëüíûåñâåäåíèÿ
Óîáúåêòàíåòäîñòóïíûõìåòîäîâ
Act552SellerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìäîêóìåíòîâòèïàÀêòâôîðìàòå552-ãîïðèêàçà
ÔÍÑ
Ñâîéñòâà
ˆ
Seller
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-èñïîëíèòåëü(ïðîäàâåöóñëóã)
ˆ
Buyer
(îáúåêò
ExtendedOrganizationInfo
,÷òåíèå)-çàêàç÷èê(ïîêóïàòåëüóñëóã)
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòû
ˆ
Grounds
(êîëëåêöèÿ
Collection
îáúåêòîâ
GroundInfo
,÷òåíèå)-îñíîâàíèÿ
ˆ
Currency
(ñòðîêà,÷òåíèå/çàïèñü)-âàëþòà(êîä)
ˆ
CurrencyRate
(ñòðîêà,÷òåíèå/çàïèñü)-êóðñâàëþòû
ˆ
Works
(êîëëåêöèÿ
Collection
îáúåêòîâ
Act552WorkDescription
)-îïèñàíèåâûïîëíåííûõðàáîò
7.1.Ñîäåðæàíèåäîêóìåíòà183
1CDiadocDocumentation,Âûïóñê1
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü)-äàòàñîñòàâëåíèÿäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðäîêóìåíòàîïåðåäà÷åòîâàðà
ˆ
RevisionDate
(äàòà,÷òåíèå/çàïèñü)-äàòàèñïðàâëåíèÿäîêóìåíòà
ˆ
RevisionNumber
(ñòðîêà,÷òåíèå/çàïèñü)-íîìåðèñïðàâëåíèÿäîêóìåíòà
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationTitle
(ñòðîêà,÷òåíèå/çàïèñü)-çàãîëîâîêñîäåðæàíèÿîïåðàöèè
ˆ
GovernmentContractInfo
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðãîñóäàðñòâåííîãîêîíòðàê-
òà
ˆ
AdditionalInfo
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
DocumentName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèåïåðâè÷íîãîäîêóìåíòà,îïðåäåëåííîå
îðãàíèçàöèåé
ˆ
TransferInfo
(îáúåêò
Act552TransferInfo
)-ñîäåðæàíèåôàêòàõîçÿéñòâåííîéæèçíè-ñâåäåíèÿî
ïåðåäà÷åðåçóëüòàòîâðàáîò(îïðåäúÿâëåíèèîêàçàííûõóñëóã)
Ìåòîäû
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâêîëëåêöèþïîäïèñàíòîâ
ˆ
AddGround
-äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé
ˆ
AddWork
-äîáàâëÿåòýëåìåíòâêîëëåêöèþîïèñàíèéâûïîëíåííûõðàáîò
AddSigner
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâêîëëåêöèþïîäïèñàíòîâòèòóëàïðîäàâöààêòàâôîðìàòå552-ãîïðèêàçà.
AddGround
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddGround()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
GroundInfo
.
Îïèñàíèå
Äîáàâëÿåòîñíîâàíèåâñïèñîêîñíîâàíèé.
184Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
AddWork
Ìåòîäîáúåêòà
Act552SellerContent
Ñèíòàêñèñ
AddWork()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Act552WorkDescription
Îïèñàíèå
Äîáàâëÿåòýëåìåíòâêîëëåêöèþîïèñàíèéâûïîëíåííûõðàáîò
Act552WorkDescription
ÎïèñàíèåâûïîëíåííûõðàáîòäëÿäîêóìåíòàòèïàÀêòâôîðìàòå552-ãî
ïðèêàçàÔÍÑ.
Ñâîéñòâà
ˆ
StartingDate
(äàòà,÷òåíèå/çàïèñü)-íà÷àëîïåðèîäàâûïîëíåíèÿðàáîò
ˆ
7.1.Ñîäåðæàíèåäîêóìåíòà185
1CDiadocDocumentation,Âûïóñê1
ˆ
UnitName
(ñòðîêà,÷òåíèå/çàïèñü)-íàèìåíîâàíèååäèíèöûèçìåðåíèÿ
ˆ
Price
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-öåíà
ˆ
Quantity
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-êîëè÷åñòâî
ˆ
SubtotalWithVatExcluded
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàáåçó÷åòàÍÄÑ
ˆ
Vat
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Subtotal
(÷èñëîcïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAdditionalInfo
,÷òåíèå/çàïèñü)
-èíôîðìàöèîííîåïîëåñâåäåíèéîðàáîòå(óñëóãå)
ˆ
TaxRate
(ñòðîêà,÷òåíèå/çàïèñü)-ñòàâêàíàëîãà
ˆ
ItemAccountDebit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:äåáåò
ˆ
ItemAccountCredit
(ñòðîêà,÷òåíèå/çàïèñü)-êîððåñïîíäèðóþùèåñ÷åòà:êðåäèò
Ñâîéñòâî
TaxRate
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
10/110-ñòàâêàíàëîãà10/110(äðîáü)
ˆ
18/118-ñòàâêàíàëîãà18/118(äðîáü)
ˆ
áåçÍÄÑ-áåçÍÄÑ
ˆ
0-ñòàâêàíàëîãà0%
ˆ
10-ñòàâêàíàëîãà10%
ˆ
18-ñòàâêàíàëîãà18%
Ìåòîäû
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòýëåìåíòâêîëëåêöèþèíôîðìàöèîííûõïîëåé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
Act552WorkItem
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéäëÿñâåäåíèéîïðîèçâåäåííîéðàáîòå
äîêóìåíòàòèïàÀêòâôîðìàòå552-ãîïðèêàçàÔÍÑ.
Act552TransferInfo
Ñîäåðæàíèåôàêòàõîçÿéñòâåííîéæèçíè-ñâåäåíèÿîïåðåäà÷åðåçóëüòàòîâðà-
áîò(îïðåäúÿâëåíèèîêàçàííûõóñëóã)äëÿäîêóìåíòàòèïà
Ñâîéñòâà
ˆ
OperationInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
TransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èðåçóëüòàòîâðàáîò
186Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
CreatedThingTransferDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïåðåäà÷èâåùè,èçãîòîâëåííîéïîäî-
ãîâîðóïîäðÿäà
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïåðåäà÷å
ˆ
StructedAdditionalInfos
(êîëëåêöèÿ
Collection
îáúåêòîâ
StructedAdditionalInfo
)-èíôîðìàöè-
îííîåïîëåäîêóìåíòà
Ìåòîäû
ˆ
AddStructedAdditionalInfo
-äîáàâëÿåòýëåìåíòâêîëëåêöèþèíôîðìàöèîííûõïîëåé
AddStructedAdditionalInfo
Ìåòîäîáúåêòà
Act552TransferInfo
.
Ñèíòàêñèñ
AddStructedAdditionalInfo()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
StructedAdditionalInfo
.
Îïèñàíèå
Äîáàâëÿåòíîâûéýëåìåíòâñïèñîêäîïîëíèòåëüíûõñâåäåíèéñîäåðæàíèÿôàêòàõîçÿéñòâåííîéæèçíè
âäîêóìåíòåòèïàÀêòâôîðìàòå552-ãîïðèêàçàÔÍÑ
TovTorgBuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìîòâåòíîãîòèòóëàäîêóìåíòîâòèïàÒÎÐÃ-12âôîð-
ìàòå551-ãîïðèêàçàÔÍÑ
Ñâîéñòâàîáúåêòà
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-ñîñòàâèòåëüôàéëàîáìåíà(èíôîðìàöèèïîêóïàòå-
ëÿ)
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëàîáìåíà
ˆ
OperationCode
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèíÿòèÿòîâàðîâ(ðåçóëüòàòîââûïîëíåííûõðà-
áîò)èëèèìóùåñòâåííûõïðàâ(ïîäòâåðæäåíèÿôàêòàîêàçàíèÿóñëóã)
ˆ
Employee
(îáúåêò
Employee
,÷òåíèå)-ðàáîòíèêîðãàíèçàöèèïîêóïàòåëÿ
ˆ
OtherIssuer
(îáúåêò
OtherIssuer
,÷òåíèå)-èíîåëèöî
ˆ
AdditionalInfo
(îáúåêò
AdditionalInfoId
,÷òåíèå)-èíôîðìàöèîííîåïîëåäîêóìåíòà
ˆ
Signers
(
êîëëåêöèÿ
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-ïîäïèñàíòûäîêóìåíòà.Äëÿäîêóìåíòà
äîëæåíáûòüóêàçàíïîêðàéíåéìåðåîäèíïîäïèñàíò.
Ìåòîäûîáúåêòà
ˆ
AddSigner
-äîáàâëÿåòïîäïèñàíòà
7.1.Ñîäåðæàíèåäîêóìåíòà187
1CDiadocDocumentation,Âûïóñê1
AddSigner
Ìåòîäîáúåêòà
TovTorgBuyerContent
Ñèíòàêñèñ
AddSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâòèòóëàïîêóïàòåëÿÒîðã-12âôîðìàòå551-ãîïðèêàçà
ÔÍÑ.
Act552BuyerContent
Îáúåêòïðåäíàçíà÷åíäëÿðàáîòûññîäåðæàíèåìîòâåòíîãîòèòóëàäîêóìåíòîâòèïàÀêòâôîðìàòå
552-ãîïðèêàçàÔÍÑ
Ñâîéñòâà
ˆ
Signers
(êîëëåêöèÿ
Collection
îáúåêòîâ
ExtendedSigner
,÷òåíèå)-äàííûåïîäïèñàíòîâ
ˆ
DocumentCreator
(ñòðîêà,÷òåíèå/çàïèñü)-cîñòàâèòåëüôàéëàèíôîðìàöèèïðîäàâöà
ˆ
DocumentCreatorBase
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèå,ïîêîòîðîìóýêîíîìè÷åñêèéñóáú-
åêòÿâëÿåòñÿñîñòàâèòåëåìôàéëà
ˆ
OperationType
(ñòðîêà,÷òåíèå/çàïèñü)-âèäîïåðàöèè
ˆ
OperationContent
(ñòðîêà,÷òåíèå/çàïèñü)-ñîäåðæàíèåîïåðàöèè
ˆ
AcceptanceDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïðèåìêèðåçóëüòàòîâðàáîò
ˆ
CreatedThingAcceptDate
(äàòà,÷òåíèå/çàïèñü)-äàòàïîëó÷åíèÿâåùè,èçãîòîâëåííîéïîäî-
ãîâîðóïîäðÿäà
ˆ
CreatedThingInfo
(ñòðîêà,÷òåíèå/çàïèñü)-ñâåäåíèÿîïîëó÷åíèè
ˆ
AdditionalInfoId
(îáúåêò
AdditionalInfoId
)-èíôîðìàöèîííîåïîëåäîêóìåíòà
Ìåòîäû
ˆ
AddSigner
-äîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâ
ˆ
AcceptanceCerticateBuyerContent
-òèòóëïîêóïàòåëÿäîêóìåíòààêòîâûïîëíåíèèðàáîòâôîð-
ìàòåÔÍÑ
ˆ
AcceptanceCerticateSellerContent
-òèòóëèñïîëíèòåëÿäîêóìåíòààêòîâûïîëíåíèèðàáîòâôîð-
ìàòåÔÍÑ
ˆ
AcceptanceContent
-ìåòàäàííûåäëÿïîäïèñàíèÿäîêóìåíòà
ˆ
BasicDocumentContent
-ñîäåðæàíèåàêòàîâûïîëíåíèèðàáîòâíåôîðìàëèçîâàííîìâèäå,ÒÎÐÃ-
12âíåôîðìàëèçîâàííîìâèäåèëèñ÷åòàíàîïëàòó
ˆ
ContractContent
-ìåòàäàííûåäîãîâîðà
ˆ
CorrectionRequestContent
-ìåòàäàííûåçàïðîñàíàêîððåêöèþ
ˆ
FormalizedRejectionContent
-ìåòàäàííûåôîðìàëèçîâàííîãîîòêàçàâïîäïèñàíèèäîêóìåíòà
188Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InvoiceContent
-ñîäåðæàíèåäîêóìåíòîâñ÷åò-ôàêòóðàèèñïðàâëåíèåñ÷åòà-ôàêòóðû
ˆ
InvoiceCorrectionContent
-ñîäåðæàíèåäîêóìåíòîâêîððåêòèðîâî÷íûéñ÷åò-ôàêòóðàèèñïðàâ-
ëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû
ˆ
NonformilizedContent
-ñîäåðæàíèåíåôîðìàëèçîâàííîãîäîêóìåíòà,ðååñòðàñåðòèôèêàòîâ,àêòà
ñâåðêè,äåòàëèçàöèè,ïðîòîêîëàñîãëàñîâàíèÿöåíû.
ˆ
OutDocumentSignTaskContent
-ñîäåðæàíèåçàïðîñàíàïîäïèñàíèåèîòïðàâêóèñõîäÿùåãîäîêó-
ìåíòàñîòëîæåííîéîòïðàâêîé
ˆ
PackageContent
-ñîäåðæàíèåïàêåòàäîêóìåíòîâ
ˆ
RejectionContent
-ìåòàäàííûåíåôîðìàëèçîâàííîãîîòêàçàâïîäïèñàíèèäîêóìåíòà
ˆ
RevocationRequestContent
-ìåòàäàííûåçàïðîñàíààííóëèðîâàíèåäîêóìåíòà
ˆ
SentPackageContent
-ñîäåðæàíèåïàêåòàäîêóìåíòîâíàîòïðàâêó
ˆ
Torg12BuyerContent
-ñîäåðæàíèåòèòóëàïîêóïàòåëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòåÔÍÑ
ˆ
Torg12SellerContent
-ñîäåðæàíèåòèòóëàïðîäàâöàäîêóìåíòàòèïàÒÎÐÃ-12âôîðìàòåÔÍÑ
ˆ
XmlDocumentContent
-ñîäåðæàíèåôîðìàëèçîâàííûõäîêóìåíòîâòèòóëèñïîëíèòåëÿäîêóìåíòà
àêòîâûïîëíåíèèðàáîòâôîðìàòåÔÍÑ,òèòóëïðîäàâöàäîêóìåíòàòèïàÒÎÐÃ-12âôîðìà-
òåÔÍÑ,ñ÷åò-ôàêòóðà,èñïðàâëåíèåñ÷åòà-ôàêòóðû,êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðàèëè
èñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûâôîðìàòåXML
ˆ
UtdBuyerContent
-ñîäåðæàíèåòèòóëàïîêóïàòåëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
UtdSellerContent
-ñîäåðæàíèåòèòóëàïðîäàâöàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
UcdSellerContent
-ñîäåðæàíèåòèòóëàïðîäàâöàóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà
ˆ
TovTorgSellerContent
-ñîäåðæàíèåòèòóëàïðîäàâöàÒîðã-12âôîðìàòå551-ãîïðèêàçàÔÍÑ
ˆ
TovTorgBuyerContent
-ñîäåðæàíèåòèòóëàïîêóïàòåëÿÒîðã-12âôîðìàòå551-ãîïðèêàçàÔÍÑ
ˆ
Act552SellerContent
-ñîäåðæàíèåòèòóëàïðîäàâöààêòàâôîðìàòå552-ãîïðèêàçàÔÍÑ
ˆ
Act552BuyerContent
-ñîäåðæàíèåòèòóëàïîêóïàòåëÿàêòàâôîðìàòå552-ãîïðèêàçàÔÍÑ
Îáëà÷íûéñåðòèôèêàò
ÎáúåêòCloudCerticateInfoõðàíèòäàííûåîáîáëà÷íîìñåðòèôèêàòåïîëüçîâàòåëÿ.
Ñâîéñòâàîáúåêòà
ˆ
Thumbprint
(ñòðîêà,÷òåíèå)-îòïå÷àòîêîáëà÷íîãîñåðòèôèêàòà
ˆ
ValidFrom
(äàòà,÷òåíèå)-äàòàíà÷àëàñðîêàäåéñòâèÿñåðòèôèêàòà
ˆ
ValidTo
(äàòà,÷òåíèå)-äàòàîêîí÷àíèÿñðîêàäåéñòâèÿñåðòèôèêàòà
Ìåòîäûîòñóòñòâóþò.
7.2.Îáëà÷íûéñåðòèôèêàò189
1CDiadocDocumentation,Âûïóñê1
CloudSignTask
Îáúåêòïðåäíàçíà÷åíäëÿïîäïèñàíèÿíàáîðàäîêóìåíòîâîáëà÷íîéïîäïèñüþ.
Ñâîéñòâà
Óîáúåêòàíåòäîñòóïíûõñâîéñòâ.
Ìåòîäû
ˆ
AddContent
-äîáàâëÿåòñîäåðæèìîåäîêóìåíòàâñïèñîêçàäàíèéíàïîäïèñàíèåîáëà÷íîéïîäïè-
ñüþ
ˆ
Sign
-ïåðåäàåòíàñåðâåðçàïðîñíàïîäïèñàíèåäîêóìåíòîâ,äîáàâëåííûõâñïèñîêèèíèöèèðóåò
îòïðàâêóÑÌÑñêîäîìïîäòâåðæäåíèÿíàòåëåôîíïîëüçîâàòåëÿ
ˆ
Conrm
-ïîäòâåðæàåòèñïîëüçîâàíèåîáëà÷íîéïîäïèñèäëÿïîäïèñàíèÿíàáîðàäîêóìåíòîâñ
ïîìîùüþââåäåííîãîïîëüçîâàòåëåìêîäàïîäòâåðæäåíèÿ.
Ïðèìåðèñïîëüçîâàíèÿñì.âðàçäåëå
Êàêðàáîòàòüñîáëà÷íîéïîäïèñüþ
.
AddContent
Ìåòîäîáúåêòà
CloudSignTask
Ñèíòàêñèñ
AddContent(Conten on2;ten;(t0;t,Counteragen oun;(te;&#xrage;&#xn28t;&#xId00;tId)
Ïàðàìåòðû
ˆ
Conten on2;ten;'t0;t(îáúåêò,îáÿçàòåëüíûé)-îáúåêò,ïðîèçâîäíûéîò
BaseContent
èëèîáúåêò,ïðîèçâîä-
íûéîò
DocumentToSend
èëèîáúåêò
SendTask
èëèîáúåêò
PackageSendTask
ˆ
Counteragen oun;(te;&#xrage;&#xn27t;&#xId00;tId(ñòðîêà,îáÿçàòåëüíûé)-èäåíòèôèêàòîðêîíòðàãåíòà
Âîçâðàùàåìîåçíà÷åíèå
Îòñóñòâóåò
Îïèñàíèå
Äîáàâëÿåòñîäåðæèìîåäîêóìåíòàâñïèñîêíàïîäïèñàíèåîáëà÷íîéïîäïèñüþèçàãðóæàåòåãîíàïîëêó.
Ëþáûåèçìåíåíèÿ,ñäåëàííûåâäîêóìåíòåïîñëåýòîéîïåðàöèè,íåáóäóòïðèìåíåíûêñîäåðæèìîìó,
èñîäåðæèìîåáóäåòîòïðàâëåíîèïîäïèñàíîâòîìâèäå,âêàêîìîíîáûëîïðèäîáàâëåíèèâñïèñîê
íàïîäïèñàíèå.Ïðèìåðèñïîëüçîâàíèÿñì.âðàçäåëå
Êàêðàáîòàòüñîáëà÷íîéïîäïèñüþ
.
Sign
Ìåòîäîáúåêòà
CloudSignTask
Ñèíòàêñèñ
Sign()
Ïàðàìåòðû
Îòñóòñòâóþò
190Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóñòâóåò
Îïèñàíèå
Ïåðåäàåòíàñåðâåðçàïðîñíàïîäïèñàíèåîáëà÷íîéïîäïèñüþäîêóìåíòîâ,äîáàâëåííûõâñïèñîê.Â
ðåçóëüòàòåýòîãîçàïðîñàíàòåëåôîíïîëüçîâàòåëÿäîëæåíáûòüîòïðàâëåíÑÌÑêîääëÿïîäòâåðæäå-
íèÿèñïîëüçîâàíèÿîáëà÷íîéïîäïèñè.Ýòîòêîäèñïîëüçóåòñÿâìåòîäå
Conrm
äëÿïîäòâåðæäåíèÿ
îïåðàöèè.Ïðèìåðèñïîëüçîâàíèÿñì.âðàçäåëå
Êàêðàáîòàòüñîáëà÷íîéïîäïèñüþ
.
Conrm
Ìåòîäîáúåêòà
CloudSignTask
Ñèíòàêñèñ
Conrm(ConrmCo onr;&#xmCo-;⣞de)
Ïàðàìåòðû
ˆ
ConrmCo onr;&#xmCo-;⣞de(ñòðîêà,îáÿçàòåëüíûé)-êîäïîäòâåðæäåíèÿ,îòïðàâëåííûéâÑÌÑ-ñîîáùåíèè
íàíîìåðïîëüçîâàòåëÿ.Ýòîòêîäîòïðàâëÿåòñÿïîëüçîâàòåëþïîñëåîòïðàâêèíàñåðâåðçàïðîñà
íàïîäïèñàíèåìåòîäîì
Sign
Âîçâðàùàåìîåçíà÷åíèå
Îòñóñòâóåò
Îïèñàíèå
Ïîäòâåðæäàåòïîäïèñàíèåäîêóìåíòîâîáëà÷íîéïîäïèñüþïîëüçîâàòåëÿ.Âðåçóëüòàòåýòîãîìåòîäà
ôîðìèðóþòñÿïîäïèñèäëÿäîêóìåíòîâ,êîòîðûåâïîñëåäñòâèèìîãóòáûòüèñïîëüçîâàíûïðèîòïðàâêå
ýòèõäîêóìåíòîâ.Ïðèìåðèñïîëüçîâàíèÿñì.âðàçäåëå
Êàêðàáîòàòüñîáëà÷íîéïîäïèñüþ
.
CounteragentItem
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿèíôîðìàöèèîêîíòðàãåíòåññîîòâåòñòâóþùèìÈÍÍ.Îáúåêò
âîçâðàøàåòñÿâêà÷åñòâåðåçóëüòàòàðàáîòûìåòîäà
7.4.CounteragentItem
191
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâà
ˆ
Id(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðïîäðàçäåëåíèÿâÄèàäîêå
ˆ
Name(ñòðîêà,÷òåíèå)-íàèìåíîâàíèåïîäðàçäåëåíèÿ
ˆ
Abbreviation(ñòðîêà,÷òåíèå)-àááðèâåàòóðà(ñîêðàùåííîåíàèìåíîâàíèå)ïîäðàçäåëåíèÿ
ˆ
Kpp(ñòðîêà,÷òåíèå)-ÊÏÏïîäðàçäåëåíèÿ
ˆ
ParentDepartment(îáúåêòDepartment,÷òåíèå)-ññûëêàíàðîäèòåëüñêîåïîäðàçäåëåíèå
ˆ
Subdepartments(îáúåêòCollection,÷òåíèå)-êîëëåêöèÿäî÷åðíèõïîäðàçäåëåíèé(Department)
ˆ
Address(îáúåêò
AddressInfo
,÷òåíèå)-àäðåñïîäðàçäåëåíèÿ
Ìåòîäûîòñóòñòâóþò
DocumentEvent
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿèíôîðìàöèèîñîáûòèè
Ñâîéñòâà
ˆ
CounteragentId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðêîíòðàãåíòà
ˆ
EventId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðñîáûòèÿ
ˆ
DocumentType(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà
ˆ
DocumentId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðäîêóìåíòà
ˆ
DocumentDirection(ñòðîêà,÷òåíèå)-íàïðàâëåíèå:âõîäÿùèé/èñõîäÿùèé
ˆ
EventType(ñòðîêà,÷òåíèå)-òèïñîáûòèÿ
ˆ
Timestamp(äàòàèâðåìÿ,÷òåíèå)-äàòàèâðåìÿñîáûòèÿ(âòåêóùåì÷àñîâîìïîÿñå)
ÑâîéñòâîEventTypeïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
New-íîâûéäîêóìåíòîîáîðîò
ˆ
Accept-ïîäïèñàíèåäîêóìåíòà
ˆ
Conrmation-ïîäòâåðæäåíèåîïåðàòîðàýëåêòðîííîãîäîêóìåíòîîáîðîòà
ˆ
CorrectionRequest-óâåäîìëåíèåîáóòî÷íåíèèñ÷åòà-ôàêòóðû
ˆ
Reject-îòêàçâôîðìèðîâàíèèçàïðîøåííîéïîäïèñè
ˆ
Resolution-ñîãëàñîâàíèåäîêóìåíòà
Ìåòîäûîáúåêòà
ˆ
192Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
7.7.DocumentPackage
193
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
IsLocked
(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîïàêåòÿâëÿåòñÿíåðåäàêòèðóåìûì
ˆ
Documents
(
êîëëåêöèÿ
îáúåêòîâ
Document
,÷òåíèå)-äîêóìåíòû,âõîäÿùèåâïàêåò
Ìåòîäûîáúåêòà
ˆ
Move
-ïåðåìåùàåòïàêåòâóêàçàííîåïîäðàçäåëåíèå(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ)
ˆ
Approve
-ñòàâèòïðèçíàêñîãëàñîâàíèÿäîêóìåíòîââïàêåòå(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ)
ˆ
Disapprove
-ñòàâèòïðèçíàêîòêàçàâñîãëàñîâàíèèäîêóìåíòîââïàêåòå(òîëüêîäëÿðåäàêòèðó-
åìûõïàêåòîâ)
ˆ
CreateResolutionRequestTask
-ôîðìèðóåòçàäàíèåäëÿîòïðàâêèçàïðîñàíàñîãëàñîâàíèåïàêåòà
äîêóìåíòîâ(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ)
ˆ
CreateReplySendTask
-ôîðìèðóåòçàäàíèåäëÿîòâåòíîãîäåéñòâèÿñäîêóìåíòîì
ˆ
CreateOutDocumentSignTask
-ñîçäàåòçàäàíèåíàïîäïèñàíèåèîòïðàâêóèñõîäÿùåãîäîêóìåíòà
ñîòëîæåííîéîòïðàâêîé.
Move
Ìåòîäîáúåêòà
DocumentPackage
(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ).
Ñèíòàêñèñ
Move(DepartmenÞp-;ơr;&#xtme-;n28;&#xtId0;tId)
Ïàðàìåòðû
ˆ
DepartmenÞpa;&#xrtme;&#xn28t;&#xId00;tId(ñòðîêà,îáÿçàòåëüíûé)-èäåíòèôèêàòîðïîäðàçäåëåíèÿ,âêîòîðîåíóæíîïåðå-
ìåñòèòüäîêóìåíò
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ïåðåêëàäûâåòïàêåòäîêóìåíòîââóêàçàííîåïîäðàçäåëåíèå.
Äëÿóñïåøíîãîçàâåðøåíèÿìåòîäàíåîáõîäèìî,÷òîáûïîëüçîâàòåëüîáëàäàëïðàâàìèäîñòóïàêäàí-
íîìóïîäðàçäåëåíèþ.
Approve
Ìåòîäîáúåêòà
DocumentPackage
(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ).
Ñèíòàêñèñ
Approve(Commen om-;men;(t0;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,íåîáÿçàòåëüíûé)-êîììåíòàðèéêñîãëàñîâàíèþ
194Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñòàâèòïðèçíàêñîãëàñîâàíèÿäîêóìåíòîââïàêåòå.
Disapprove
Ìåòîäîáúåêòà
DocumentPackage
(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ).
Ñèíòàêñèñ
Disapprove(Commen -1o;m-1;&#xmen2;t00;t)
Ïàðàìåòðû
ˆ
Commen omm;n28;&#xt000;t(ñòðîêà,íåîáÿçàòåëüíûé)-êîììåíòàðèéêîòêàçóîòñîãëàñîâàíèÿ
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñòàâèòïðèçíàêîòêàçàâñîãëàñîâàíèèäîêóìåíòîââïàêåòå.
CreateResolutionRequestTask
Ìåòîäîáúåêòà
DocumentPackage
(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ).
Ñèíòàêñèñ
CreateResolutionRequestTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ResolutionRequestTask
.
Îïèñàíèå
Ñîçäàåòçàäàíèåäëÿîòïðàâêèçàïðîñàíàñîãëàñîâàíèå.
CreateReplySendTask
Ìåòîäîáúåêòà
DocumentPackage
.
Ñèíòàêñèñ
CreateReplySendTask(Typ&#xT28y;&#xp-28;e)
Ïàðàìåòðû
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-òèïîòâåòíîãîäåéñòâèÿ.Âñëó÷àå,åñëèòèïíåóêàçàí,ïîóìîë-
÷àíèþáóäåòâûïîëíÿòüñÿäåéñòâèåAcceptDocument.
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
AcceptDocument-ïîäïèñàíèåäîêóìåíòà
ˆ
RejectDocument-îòêàçâïîäïèñèäîêóìåíòà
7.7.DocumentPackage
195
1CDiadocDocumentation,Âûïóñê1
ˆ
CorrectionRequest-çàïðîcíàóòî÷íåíèåäîêóìåíòîâñ÷åò-ôàêòóðàèèñïðàâëåíèåñ÷åòà-
ôàêòóðû(òîëüêîäëÿðåäàêòèðóåìûõïàêåòîâ)
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ReplySendTask
.
Îïèñàíèå
Ôîðìèðóåòçàäàíèåäëÿîòâåòíîãîäåéñòâèÿñïàêåòîìäîêóìåíòîâ.Âäàííîìñëó÷àåñîäåðæèìûì
îáúåêòà
ReplySendTask
(ñâîéñòâî
Content
)áóäåòîáúåêò
PackageContent
,êîòîðûéáóäåòâêëþ÷àòü
âñåáÿíàáîðêîíòåíòîâäëÿêàæäîãîäîêóìåíòàèçïàêåòà.Îíèáóäóòñâÿçàíûâïàðûäîêóìåíò-
êîíòåíòâîáúåêòå
PackageContentItem
.Ïðèýòîìêîíòåíòáóäåòÿâëÿòüñÿîáúåêòîì,ïðîèçâîäíûìîò
BaseContent
èñîîòâåòñòâóþùèìòèïóâûïîëíÿåìîãîäåéñòâèÿ:
ˆ
äëÿäåéñòâèÿAcceptDocument:

Torg12BuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòåÔÍÑ

AcceptanceCerticateBuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòààêòîâûïîëíåíèèðà-
áîòâôîðìàòåÔÍÑ

UtdBuyerContent
-òèòóëïîêóïàòåëÿäëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà

AcceptanceContent
-äëÿäðóãèõäîêóìåíòîâ
ˆ
äëÿäåéñòâèÿòèïàRejectDocument:

FormalizedRejectionContent
-äëÿôîðìàëèçîâàííûõäîêóìåíòîâ

RejectionContent
-äëÿíåôîðìàëèçîâàííûõäîêóìåíòîâ
ˆ
äëÿäåéñòâèÿòèïàCorrectionRequest:

CorrectionRequestContent
-äëÿëþáûõäîêóìåíòîâ
CreateOutDocumentSignTask
Ìåòîäîáúåêòà
DocumentPackage
Ñèíòàêñèñ
CreateOutDocumentSignTask()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
OutDocumentSignTask
.
Îïèñàíèå
Ñîçäàåòçàäàíèåäëÿïîäïèñàíèÿèîòïðàâêèèñõîäÿùåãîäîêóìåíòàñîòëîæåííîéîòïðàâêîé.
DocumentsTask
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿñïèñêàäîêóìåíòîâ,îòïðàâëåííûõèçâûáðàííîãîÿùèêàèëè
ïðèøåäøèõâíåãî.
196Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
FromSendDate
(äàòàèâðåìÿ,÷òåíèå/çàïèñü)-äàòàîòïðàâêèèëèïîëó÷åíèÿäîêóìåíòà,íà-
÷àëüíàÿäàòàèíòåðâàëà
ˆ
ToSendDate
(äàòàèâðåìÿ,÷òåíèå/çàïèñü)-äàòàîòïðàâêèèëèïîëó÷åíèÿäîêóìåíòà,êîíå÷íàÿ
äàòàèíòåðâàëà
ˆ
FromDocumentDate
(äàòàèâðåìÿ,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà,íà÷àëüíàÿäàòàèíòåðâàëà
ˆ
ToDocumentDate
(äàòàèâðåìÿ,÷òåíèå/çàïèñü)-äàòàäîêóìåíòà,êîíå÷íàÿäàòàèíòåðâàëà
ˆ
Category
(ñòðîêà,÷òåíèå/çàïèñü)-êàòåãîðèÿòèïîâäîêóìåíòîâ
ˆ
CounteragentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðêîíòðàãåíòà,âàäðåñêîòîðîãîáûëè
îòïðàâëåíûèëèîòêîòîðîãîáûëèïîëó÷åíûäîêóìåíòû
ˆ
DepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿîðãàíèçàöèè
ˆ
RequireOneSDocumentId
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîíåîáõîäèìîçàãðóæàòü
èäåíòèôèêàòîðû1Ñ
ˆ
ExcludeSubdepartments
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîââûáîðêóíåíóæíîâêëþ-
÷àòüäîêóìåíòûïîïîäðàçäåëåíèÿì,êîòîðûåÿâëÿþòñÿäî÷åðíèìèïîîòíîøåíèþêïîäðàçäåëå-
íèþ,èäåíòèôèêàòîðêîòîðîãîçàäàíâïàðàìåòðåDepartmentId
ˆ
Top100
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîíóæíîâåðíóòüòîëüêîïåðâûåñòîäîêóìåíòîâ
Ìåòîäûîáúåêòà
ˆ
7.8.DocumentsTask
197
1CDiadocDocumentation,Âûïóñê1
198Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Îòáîðïîñòàòóñóïîäïèñàíèÿäîêóìåíòà
ˆ
Äëÿâñåõòèïîâäîêóìåíòîâïðèìåíèìûñòàòóñû

Inbound
âñåâõîäÿùèåäîêóìåíòû

Outbound
âñåèñõîäÿùèåäîêóìåíòû

OutboundWaitingForSenderSignature
èñõîäÿùèåäîêóìåíòû,òðåáóþùèåïîäïèñà-
íèÿèîòïðàâêè

OutboundInvalidSenderSignature
èñõîäÿùèåäîêóìåíòûñíåâàëèäíîéïîäïèñüþîò-
ïðàâèòåëÿ,òðåáóþùèåïîâòîðíîãîïîäïèñàíèÿèîòïðàâêè
ˆ
ÄëÿäîêóìåíòîâñòèïàìèInvoice,InvoiceRevision,InvoiceCorrection,InvoiceCorrectionRevision,AnyInvoiceDocumentTypeïðèìåíèìûñëåäóþùèåñòàòóñû

OutboundNotFinished
Èñõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí

OutboundFinished
Èñõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí

InboundNotFinished
Âõîäÿùèé,äîêóìåíòîîáîðîòíåçàâåðøåí

InboundFinished
Âõîäÿùèé,äîêóìåíòîîáîðîòçàâåðøåí

OutboundInvoiceAmendmentRequested
Èñõîäÿùèéäîêóìåíò,ïîêîòîðîìóáûëîçà-
ïðîøåíîóòî÷íåíèå

InboundInvoiceAmendmentRequested
Âõîäÿùèéäîêóìåíò,ïîêîòîðîìóáûëîçàïðî-
øåíîóòî÷íåíèå
ˆ
ÄëÿäîêóìåíòîâñòèïàìèTorg12,XmlTorg12,AcceptanceCerticate,XmlAcceptanceCerticate,Nonformalized,TrustConnectionRequest,PriceListAgreement,CerticateRegistry,ReconciliationAct,Contract,AnyBilateralDocumentTypeïðèìåíèìûñëåäóþùèåñòàòóñû

OutboundWaitingForRecipientSignature
èñõîäÿùèéäîêóìåíòâîæèäàíèèîòâåòíîé
ïîäïèñè

OutboundWithRecipientSignature
èñõîäÿùèéäîêóìåíòñîòâåòíîéïîäïèñüþ

OutboundRecipientSignatureRequestRejected
èñõîäÿùèéäîêóìåíòñîòêàçîìâîò-
âåòíîéïîäïèñè

InboundWaitingForRecipientSignature
âõîäÿùèéäîêóìåíòâîæèäàíèèîòâåòíîé
ïîäïèñè

InboundWithRecipientSignature
âõîäÿùèéäîêóìåíòñîòâåòíîéïîäïèñüþ

InboundRecipientSignatureRequestRejected
âõîäÿùèéäîêóìåíòñîòêàçîìâîòâåò-
íîéïîäïèñè
ˆ
ÄëÿäîêóìåíòîâñòèïàìèNonformalized,PriceListAgreement,CerticateRegistryïðèìåíèìûñëåäóþùèåñòàòóñû

OutboundNoRecipientSignatureRequest
èñõîäÿùèéäîêóìåíòáåççàïðîñàîòâåòíîé
ïîäïèñè

InboundNoRecipientSignatureRequest
âõîäÿùèéäîêóìåíòáåççàïðîñàîòâåòíîéïîä-
ïèñè
Îòáîðïîñòàòóñóñîãëàñîâàíèÿäîêóìåíòà
Äëÿâñåõòèïîâäîêóìåíòûïðèìåíèìûñëåäóþùèåñòàòóñû:
7.8.DocumentsTask
199
1CDiadocDocumentation,Âûïóñê1
ˆ
OutboundWaitingForResolution
èñõîäÿùèéäîêóìåíò,ïåðåäàííûéíàñîãëàñîâàíèåèëèïîä-
ïèñàíèå
ˆ
OutboundApproved
ñîãëàñîâàííûéèñõîäÿùèéäîêóìåíò
ˆ
OutboundDisapproved
èñõîäÿùèéäîêóìåíòñîòêàçîìâñîãëàñîâàíèè
ˆ
InboundWaitingForResolution
âõîäÿùèéäîêóìåíò,ïåðåäàííûéíàñîãëàñîâàíèåèëèïîäïèñà-
íèå
ˆ
InboundApproved
ñîãëàñîâàííûéâõîäÿùèéäîêóìåíò
ˆ
InboundDisapproved
âõîäÿùèéäîêóìåíòñîòêàçîìâñîãëàñîâàíèè
Îòáîðïîñòàòóñóàííóëèðîâàíèÿäîêóìåíòà
Äëÿâñåõòèïîâäîêóìåíòûïðèìåíèìûñëåäóþùèåñòàòóñû:
ˆ
OutboundRevocationIsRequestedByMe
èñõîäÿùèéäîêóìåíò,ïîêîòîðîìóçàïðîøåíîàííó-
ëèðîâàíèåóäðóãîéñòîðîíû
ˆ
OutboundRequestsMyRevocation
èñõîäÿùèéäîêóìåíò,ïîêîòîðîìóäðóãîéñòîðîíîéçàïðî-
øåíîàííóëèðîâàíèå
ˆ
OutboundRevocationAccepted
èñõîäÿùèéàííóëèðîâàííûéäîêóìåíò
ˆ
OutboundRevocationRejected
èñõîäÿùèéäîêóìåíò,ïîêîòîðîìóïîëó÷åíîòêàçíàçàïðîñîá
àííóëèðîâàíèè
ˆ
InboundRevocationIsRequestedByMe
âõîäÿùèéäîêóìåíò,ïîêîòîðîìóçàïðîøåíîàííóëèðî-
âàíèåóäðóãîéñòîðîíû
ˆ
InboundRequestsMyRevocation
âõîäÿùèéäîêóìåíò,ïîêîòîðîìóäðóãîéñòîðîíîéçàïðîøåíî
àííóëèðîâàíèå
ˆ
InboundRevocationAccepted
âõîäÿùèéàííóëèðîâàííûéäîêóìåíò
ˆ
InboundRevocationRejected
âõîäÿùèéäîêóìåíò,ïîêîòîðîìóïîëó÷åíîòêàçíàçàïðîñîáàí-
íóëèðîâàíèè
Ïðèìåðèñïîëüçîâàíèÿ
Ñëåäóþùàÿïðîöåäóðàïîçâîëÿåòïîëó÷èòüñïèñîêâñåõâõîäÿùèõôîðìàëèçîâàííûõòîðã-12,êîòîðûå
òðåáóåòñÿïîäïèñàòü:
ÏðîöåäóðàÏîëó÷èòüÑïèñîêÍåïîäïèñàííûõÒîðã12(Organization)
200Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
7.9.Äîêóìåíòûíàîòïðàâêó201
1CDiadocDocumentation,Âûïóñê1
Ïðîèçâîäíûåîáúåêòû
ÑëåäóþùèåîáúåêòûÿâëÿþòñÿïðîèçâîäíûìèîòDocumentToSend:
ActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéíåôîðìàëèçîâàííûéäîêóìåíòàêòîâûïîëíåííûõðàáîòàõíàîòïðàâêó
èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóAcceptanceCerticate)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèåäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
CerticateRegistryToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòðååñòðñåðòèôèêàòîâíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûì
îáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóCerticateRegistry)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
202Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ContractToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòäîãîâîðíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóContract)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
ContractPrice
(ñòðîêà,÷òåíèå/çàïèñü)-ñóììàäîãîâîðà
ˆ
ContractType
(ñòðîêà,÷òåíèå/çàïèñü)-òèïäîãîâîðà
Ìåòîäûîòñóòñòâóþò.
7.9.Äîêóìåíòûíàîòïðàâêó203
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîòñóòñòâóþò.
InvoiceRevisionToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòèñïðàâëåíèåñ÷åòà-ôàêòóðûíàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceRevision)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
InvoiceCorrectionRevisionToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòèñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceCorrectionContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionRevision)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
NonformalizedDocumentToSend
Îáúåêòïðåäñòàâëÿåòñîáîéíåôîðìàëèçîàííûéäîêóìåíòíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáú-
åêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóNonformalized)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
204Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
PriceListAgreementToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòïðîòîêîëñîãëàñîâàíèÿöåíûíàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóPriceListAgreement)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
7.9.Äîêóìåíòûíàîòïðàâêó205
1CDiadocDocumentation,Âûïóñê1
ReconciliationActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòàêòñâåðêèíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóReconciliationAct)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
206Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèåäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòàêòîâûïîëíåííûõðàáîòàõíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
AcceptanceCerticateSellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticate)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlTorg12ToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòÒÎÐÃ-12íàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
Torg12SellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlTorg12)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
UtdToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéÓíèâåðñàëüíûéïåðåäàòî÷íûéäîêóìåíò,ïîäãîòîâëåííûéíàîòïðàâêó,è
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
7.9.Äîêóìåíòûíàîòïðàâêó207
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèå,çàâèñèìîåîòòèïàñîçäàâàåìîãî
äîêóìåíòà:UniversalTrasnferDocument,UtdInvoice,UtdTorg12èëèUtdAcceptanceCerticate)
ˆ
Content
(îáúåêò
UtdSellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
UcdToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéÓíèâåðñàëüíûéêîððåêòèðîâî÷íûéäîêóìåíò,ïîäãîòîâëåííûéíàîòïðàâêó,
èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèåUniversalCorrectionDocument)
ˆ
Content
(îáúåêò
UcdSellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
TovTorgToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòÒîðã-12âôîðìàòå551-ãîïðèêàçàíàîò-
ïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
TovTorgSellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóTovTorg)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
Act552ToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòÀêòâôîðìàòå552-ãîïðèêàçàíàîòïðàâêó
èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
208Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Content
(îáúåêò
Act552SellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèåXmlAcceptanceCerticate552)
Ìåòîäûîòñóòñòâóþò.
CustomDocumentToSend
Îáúåêòïðåäñòàâëÿåòñîáîéëþáîéäîêóìåíòíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóDocument)
ˆ
FileName
(ñòðîêà,÷òåíèå)-èìÿôàéëàâëîæåíèÿ
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
NeedReceipt
(áóëåâî,÷òåíèå/çàïèñü)-íåîáÿçàòåëüíûéïðèçíàêòîãî,÷òîîòïîëó÷àòåëÿòðå-
áóåòñÿñôîðìèðîâàòüèçâåùåíèåîïîëó÷åíèèäàííîãîäîêóìåíòà.Äëÿòèïîâ,äîêóìåíòîîáîðîò
êîòîðûõòðåáóåòáåçóñëîâíóþîòïðàâêóèçâåùåíèÿ,ïðîñòàâëÿòüâtrueíåîáÿçàòåëüíî.
ˆ
CustomData
(êîëëåêöèÿ
Collection
îáúåêòîâ
CustomDataItem
)-ñïèñîêïàðâèäà¾êëþ÷-
çíà÷åíèå¿,ñîäåðæàùèõïðîèçâîëüíûåäàííûåïîäîêóìåíòó
ˆ
TypeNamedId
(ñòðîêà,÷òåíèå/çàïèñü)-ñòðîêîâîéèäåíòèôèêàòîðòèïàäîêóìåíòà.Äîñòóïíûå
òèïûìîæíîïîëó÷èòüìåòîäîì
7.9.Äîêóìåíòûíàîòïðàâêó209
1CDiadocDocumentation,Âûïóñê1
Ìåòîäûîáúåêòà
ˆ
AddCustomData
-äîáàâëÿåòýëåìåíòïðîèçâîëüíûõäàííûõâêîëëåêöèþ
CustomData
ˆ
210Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
TovTorgToSend
-Òîðã-12âôîðìàò551-ãîïðèêàçà
ˆ
XmlAct552ToSend
-Àêòâôîðìàòå552-ãîïðèêàçà
ˆ
CustomDocumentToSend
-ëþáîéäîêóìåíò
OrganizationUser
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿèíôîðìàöèèîïîëüçîâàòåëåîðãàíèçàöèè.
Ñâîéñòâà
ˆ
Id(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðïîëüçîâàòåëÿ
ˆ
Name(ñòðîêà,÷òåíèå)-ÔÈÎïîëüçîâàòåëÿ
ˆ
Permissions(îáúåêòUserPermissions,÷òåíèå)-ïðàâàïîëüçîâàòåëÿâîðãàíèçàöèè
ˆ
Position(ñòðîêà,÷òåíèå)-äîëæíîñòüïîëüçîâàòåëÿ
ˆ
IsCurrentUser(áóëåâî,÷òåíèå)-ÿâëÿåòüñÿ-ëèïîëüçîâàòåëüòåêóùèìàâòîðèçîâàííûì
Ìåòîäûîòñóòñòâóþò
OutDocumentSignTask
Îáúåêòïðåäíàçíà÷åíäëÿïîäïèñàíèÿèîòïðàâêèèñõîäÿùåãîäîêóìåíòàñîòëîæåííîéîòïðàâêîé.
Ñâîéñòâà
ˆ
Signer
(îáúåêò
Signer
,÷òåíèå/çàïèñü)-äàííûåïîäïèñàíòàäîêóìåíòà.Èñïîëüçóåòñÿäëÿâñåõ
òèïîâäîêóìåíòîâ,êðîìåÓÏÄ.Âñëó÷àå,åñëèïðîèçâîäèòñÿïîäïèñàíèåÓÏÄ,ýòîòïàðà-
ìåòðèãíîðèðóåòñÿ,âìåñòîíåãîèñïîëüçóþòñÿïîäïèñàíòû,äîáàâëåííûåñïîìîùüþìåòîäà
AddExtendedSigner
.
ˆ
Content
(îáúåêò
OutDocumentSignTaskContent
,÷òåíèå/çàïèñü)-ñîäåðæèìîåçàïðîñà
Ìåòîäû
ˆ
AddExtendedSigner
-äîáàâëÿåòïîäïèñàíòäîêóìåíòà.Èñïîëüçóåòñÿòîëüêîññëó÷àåïîäïèñàíèÿ
ÓÏÄ.Âñëó÷àåïîäïèñàíèÿäðóãèõäîêóìåíòîâïîäïèñàíòû,äîáàâëåííûåñïîìîùüþýòîãîìåòî-
äà,èãíîðèðóþòñÿ,àâêà÷åñòâåïîäïèñàíòàèñïîëüçóåòñÿïîäïèñàíò,óêàçàííûéâïîëå
Signer
.
ˆ
Send
-ïîäïèñûâàåòèîòïðàâëÿåòèñõîäÿùèéäîêóìåíòñîòëîæåííîéîòïðàâêîé
ˆ
SendAsync
-èíèöèèðóåòàñèíõðîííîåïîäïèñàíèåèîòïðàâêóèñõîäÿùåãîäîêóìåíòàñîòëîæåííîé
îòïðàâêîé
7.10.OrganizationUser
211
1CDiadocDocumentation,Âûïóñê1
AddSExtendedSigner
Ìåòîäîáúåêòà
OutDocumentSignTask
Ñèíòàêñèñ
AddExtendedSigner()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
ExtendedSigner
Îïèñàíèå
ÄîáàâëÿåòíîâûéýëåìåíòâñïèñîêïîäïèñàíòîâèñõîäÿùåãîòèòóëàïðîäàâöàÓÏÄñîòëîæåííîéîò-
ïðàâêîé.
Send
Ìåòîäîáúåêòà
OutDocumentSignTask
Ñèíòàêñèñ
Send()
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ìåòîäïîäïèñûâàåòèîòïðàâëÿåòèñõîäÿùèéäîêóìåíòñîòëîæåííîéîòïðàâêîé.
SendAsync
Ìåòîäîáúåêòà
OutDocumentSignTask
Ñèíòàêñèñ
SendAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
OutDocumentSignTaskAsyncResult
.
Îïèñàíèå
Èíèöèèðóåòàñèíõðîííóþîïåðàöèþïîäïèñàíèÿèîòïðàâêèèñõîäÿùåãîäîêóìåíòàñîòëîæåííîéîò-
ïðàâêîé.
PackageSendTask
Îáúåêòïðåäíàçíà÷åíäëÿîòïðàâêèñîîáùåíèÿñïàêåòîìäîêóìåíòîâíàñåðâåðÄèàäîê.
212Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæàíèåïàêåòàäîêóìåíòîâ,èìååòòèï
SentPackageContent
ˆ
OperationId
(ñòðîêà,÷òåíèå/çàïèñü)-óíèêàëüíûéèäåíòèôèêàòîðîïåðàöèè.Åñëèîòïðàâêà
ïàêåòàñçàïîëíåííûìîïåðàòîðîìîïåðàöèèçàâåðøèëàñüóñïåõàì,òîâñåîñòàëüíûåïîïûòêè
îòïðàâêèñòåìæåèäåíòèôèêàòîðîìíåáóäóòïðèâîäèòüêîòïðàâêåíîâîãîïàêåòà,àâðåçóëüòàòå
âûïîëíåíèÿìåòîäàâåðíåòñÿññûëêàíàðàíååîòïðàâëåííûéïàêåò.
ˆ
CounterAgentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðêîíòðàãåíòà
ˆ
FromDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿîòïðàâèòåëÿ
ˆ
ToDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿïîëó÷àòåëÿ
ˆ
IsDraft
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîñîîáùåíèåÿâëÿåòñÿ÷åðíîâèêîì
ˆ
IsInternal
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîñîîáùåíèåÿâëÿåòñÿâíóòðåííèì,òîåñòü
ñîîáùåíèåììåæäóïîäðàçäåëåíèÿìèîðãàíèçàöèè
ˆ
LockPackage
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîïàêåòïîñëåîòïðàâêèäîëæåíáûòü
íåðåäàêòèðóåìûì
ˆ
DelaySend
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîñîîáùåíèåáóäåòñîõðàíåíîáåçîòïðàâêè
ˆ
DocumentsToSend
(
êîëëåêöèÿ
îáúåêòîâ
DocumentToSend
,÷òåíèå)-êîëëåêöèÿäîêóìåíòîâ,óæå
äîáàâëåííûõâïàêåò
ˆ
ProxyBoxId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðÿùèêà,ïðîìåæóòî÷íîãîïîëó÷àòåëÿ.Åñ-
ëèóêàçàíÿùèêïðîìåæóòî÷íîãîïîëó÷àòåëÿ,òîäîêóìåíòàäîñòàâèòñÿêîíå÷íîìóïîëó÷àòåëÿ
òîëüêîïîñëåòîãî,êàêïðîìåæóòî÷íûéïîëó÷àòåëüïîñòàâèòïîäïèñüïîääîêóìåíòîì.Åñëèïðî-
ìåæóòî÷íûéïîëó÷àòåëüîòêëîíèòäîêóìåíò,òîâÿùèêêîíå÷íîãîïîëó÷àòåëÿîííåáóäåòäî-
ñòàâëåí
ˆ
ProxyDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿ,âÿùèêåïðîìå-
æóòî÷íîãîïîëó÷àòåëÿ
ˆ
UseShelf
(áóëåâî,÷òåíèå/çàïèñü)-èñïîëüçîâàòüîòïðàâêóñïîëêè(äëÿáîëüøèõäîêóìåíòîâ)
Ìåòîäû
ˆ
AddDocument
-äîáàâëÿåòäîêóìåíòçàäàííîãîòèïàâïàêåòíàîòïðàâêó
ˆ
AddDocumentFromFile
-äîáàâëÿåòäîêóìåíòâïàêåòíàîòïðàâêó,çàãðóæàÿåãîèçôàéëà
ˆ
AddDocumentFromFileRaw
-äîáàâëÿåòäîêóìåíòâïàêåòíàîòïðàâêó,çàãðóæàÿåãîèçôàéëà(áåç
ïàðñèíãà)
ˆ
Send
-îòïðàâëÿåòïàêåòäîêóìåíòîâíàñåðâåð
ˆ
SendAsync
-èíèöèèðóåòàñèíõðîííóþîòïðàâêóïàêåòàäîêóìåíòîâ
ˆ
AddEncryptCerticate
-äîáàâëÿåòñåðòèôèêàòøèôðîâàíèÿäîêóìåíòà
AddDocument
Ìåòîäîáúåêòà
PackageSendTask
Ñèíòàêñèñ
AddDocument(Typ&#xT27y;&#xp-27;e)
7.12.PackageSendTask
213
1CDiadocDocumentation,Âûïóñê1
Ïàðàìåòðû
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-íàçâàíèåòèïàäîêóìåíòà
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
Invoice
ˆ
InvoiceCorrection
ˆ
InvoiceRevision
ˆ
InvoiceCorrectionRevision
ˆ
XmlAcceptanceCerticate
ˆ
XmlTorg12
ˆ
UniversalTransferDocument
ˆ
UniversalTransferDocumentRevision
ˆ
UniversalCorrectionDocument
ˆ
UniversalCorrectionDocumentRevision
ˆ
UtdTorg12
ˆ
UtdAcceptanceCerticate
ˆ
UtdInvoice
ˆ
UcdInvoiceCorrection
ˆ
TovTorg
ˆ
XmlAcceptanceCerticate552
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêòäîêóìåíòàíàîòïðàâêó,ïðîèçâîäíûéîòîáúåêòà
DocumentToSend
èñîîòâåòñòâóþùèéóêàçàí-
íîìóòèïó:
ˆ
214Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Äîáàâëÿåòíîâûéäîêóìåíòâïàêåòíàîòïðàâêó.Ìåòîäïðåäíàçíà÷åíäëÿäîáàâëåíèÿôîðìàëèçîâàí-
íûõäîêóìåíòîâ(òàêèõêàêÒÎÐÃ-12,àêòîâûïîëíåííûõðàáîòàõ,ñ÷åò-ôàêòóðà,èñïðàâëåíèåñ÷åòà-
ôàêòóðû,êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà,èñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðû)âïàêåò
íàîòïðàâêó.
7.12.PackageSendTask
215
1CDiadocDocumentation,Âûïóñê1
InvoiceCorrectionRevisionToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòèñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceCorrectionContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionRevision)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòàêòîâûïîëíåííûõðàáîòàõíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
AcceptanceCerticateSellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticate)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlTorg12ToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòÒÎÐÃ-12íàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
Torg12SellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlTorg12)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
UtdToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéÓíèâåðñàëüíûéïåðåäàòî÷íûéäîêóìåíò,ïîäãîòîâëåííûéíàîòïðàâêó,è
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
216Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèå,çàâèñèìîåîòòèïàñîçäàâàåìîãî
äîêóìåíòà:UniversalTrasnferDocument,UtdInvoice,UtdTorg12èëèUtdAcceptanceCerticate)
ˆ
Content
(îáúåêò
UtdSellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
UcdToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéÓíèâåðñàëüíûéêîððåêòèðîâî÷íûéäîêóìåíò,ïîäãîòîâëåííûéíàîòïðàâêó,
èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèåUniversalCorrectionDocument)
ˆ
Content
(îáúåêò
UcdSellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
AddDocumentFromFile
Ìåòîäîáúåêòà
PackageSendTask
Ñèíòàêñèñ
AddDocumentFromFile(Typ&#xT28y;&#xp-28;e,P&#xP27a;&#xth00;ath)
Ïàðàìåòðû
ˆ
Typ&#xT28y;&#xp-28;e(ñòðîêà,îáÿçàòåëüíûé)-íàçâàíèåòèïàäîêóìåíòà
ˆ
P&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüêôàéëóñäîêóìåíòîì
ÏàðàìåòðTypeìîæåòïðèíèìàòüîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
AcceptanceCerticate
ˆ
CerticateRegistry
ˆ
Contract
ˆ
Invoice
ˆ
InvoiceCorrection
ˆ
InvoiceRevision
ˆ
InvoiceCorrectionRevision
ˆ
Nonformalized
ˆ
NonformalizedProforma
ˆ
PriceListAgreement
7.12.PackageSendTask
217
1CDiadocDocumentation,Âûïóñê1
ˆ
ReconciliationAct
ˆ
218Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
UcdToSend
-äëÿòèïàUniversalCorrectionDocument,UniversalCorrectionDocumentRevision,
UcdInvoiceCorrection
ˆ
TovTorgToSend
-äëÿòèïàTovTorg
ˆ
XmlAct552ToSend
-äëÿòèïàXmlAcceptanceCerticate552
ˆ
CustomDocumentToSend
-äëÿòèïàDocument
Îïèñàíèå
Äîáàâëÿåòíîâûéäîêóìåíòâïàêåòíàîòïðàâêó.
ActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéíåôîðìàëèçîâàííûéäîêóìåíòàêòîâûïîëíåííûõðàáîòàõíàîòïðàâêó
èÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóAcceptanceCerticate)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèåäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
CerticateRegistryToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòðååñòðñåðòèôèêàòîâíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûì
îáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóCerticateRegistry)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
7.12.PackageSendTask
219
1CDiadocDocumentation,Âûïóñê1
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
ContractToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòäîãîâîðíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóContract)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
ContractPrice
(ñòðîêà,÷òåíèå/çàïèñü)-ñóììàäîãîâîðà
ˆ
ContractType
(ñòðîêà,÷òåíèå/çàïèñü)-òèïäîãîâîðà
Ìåòîäûîòñóòñòâóþò.
220Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceCorrectionContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrection)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
InvoiceRevisionToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòèñïðàâëåíèåñ÷åòà-ôàêòóðûíàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceRevision)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
InvoiceCorrectionRevisionToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòèñïðàâëåíèåêîððåêòèðîâî÷íîãîñ÷åòà-ôàêòóðûíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
InvoiceCorrectionContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóInvoiceCorrectionRevision)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
NonformalizedDocumentToSend
Îáúåêòïðåäñòàâëÿåòñîáîéíåôîðìàëèçîàííûéäîêóìåíòíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáú-
åêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóNonformalized)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
7.12.PackageSendTask
221
1CDiadocDocumentation,Âûïóñê1
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
222Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
ReconciliationActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéäîêóìåíòàêòñâåðêèíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóReconciliationAct)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
Ìåòîäûîòñóòñòâóþò.
7.12.PackageSendTask
223
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóTorg12)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
DocumentDate
(äàòà,÷òåíèå/çàïèñü,îáÿçàòåëüíîäëÿçàïîëíåíèÿ)-äàòàäîêóìåíòà
ˆ
DocumentNumber
(ñòðîêà,÷òåíèå/çàïèñü,ñòðîêàäëèíîéíåáîëåå256ñèìâîëîâ)-íîìåðäîêó-
ìåíòà
ˆ
Total
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàñó÷åòîìÍÄÑ
ˆ
Vat
(÷èñëîñïëàâàþùåéòî÷êîé,÷òåíèå/çàïèñü)-ñóììàÍÄÑ
ˆ
Grounds
(ñòðîêà,÷òåíèå/çàïèñü)-îñíîâàíèåäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlActToSend
Îáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòàêòîâûïîëíåííûõðàáîòàõíàîòïðàâêóè
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
AcceptanceCerticateSellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlAcceptanceCerticate)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
XmlTorg12ToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéôîðìàëèçîâàííûéäîêóìåíòÒÎÐÃ-12íàîòïðàâêóèÿâëÿåòñÿïðîèçâîä-
íûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæèìîåäîêóìåíòà,îáúåêò
Torg12SellerContent
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóXmlTorg12)
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
224Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
UtdToSend
ÎáúåêòïðåäñòàâëÿåòñîáîéÓíèâåðñàëüíûéïåðåäàòî÷íûéäîêóìåíò,ïîäãîòîâëåííûéíàîòïðàâêó,è
ÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòçíà÷åíèå,çàâèñèìîåîòòèïàñîçäàâàåìîãî
äîêóìåíòà:UniversalTrasnferDocument,UtdInvoice,UtdTorg12èëèUtdAcceptanceCerticate)
ˆ
Content
(îáúåêò
UtdSellerContent
,÷òåíèå)-ñîäåðæèìîåäîêóìåíòà
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
Ìåòîäûîòñóòñòâóþò.
CustomDocumentToSend
Îáúåêòïðåäñòàâëÿåòñîáîéëþáîéäîêóìåíòíàîòïðàâêóèÿâëÿåòñÿïðîèçâîäíûìîáúåêòîìîò
DocumentToSend
.
Ñâîéñòâàîáúåêòà
ˆ
Type
(ñòðîêà,÷òåíèå)-òèïäîêóìåíòà(âîçâðàùàåòñòðîêóDocument)
ˆ
FileName
(ñòðîêà,÷òåíèå)-èìÿôàéëàâëîæåíèÿ
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêäîêóìåíòó
ˆ
NeedRecipientSignature
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îáîçíà÷àþùèéçàïðîñïîäïèñèïîëó-
÷àòåëÿïîäîòïðàâëÿåìûìäîêóìåíòîì.
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîðäîêóìåíòà
ˆ
NeedReceipt
(áóëåâî,÷òåíèå/çàïèñü)-íåîáÿçàòåëüíûéïðèçíàêòîãî,÷òîîòïîëó÷àòåëÿòðå-
áóåòñÿñôîðìèðîâàòüèçâåùåíèåîïîëó÷åíèèäàííîãîäîêóìåíòà.Äëÿòèïîâ,äîêóìåíòîîáîðîò
êîòîðûõòðåáóåòáåçóñëîâíóþîòïðàâêóèçâåùåíèÿ,ïðîñòàâëÿòüâtrueíåîáÿçàòåëüíî.
ˆ
CustomData
(êîëëåêöèÿ
Collection
îáúåêòîâ
CustomDataItem
)-ñïèñîêïàðâèäà¾êëþ÷-
çíà÷åíèå¿,ñîäåðæàùèõïðîèçâîëüíûåäàííûåïîäîêóìåíòó
ˆ
TypeNamedId
(ñòðîêà,÷òåíèå/çàïèñü)-ñòðîêîâîéèäåíòèôèêàòîðòèïàäîêóìåíòà.Äîñòóïíûå
òèïûìîæíîïîëó÷èòüìåòîäîì
7.12.PackageSendTask
225
1CDiadocDocumentation,Âûïóñê1
ˆ
IsEncrypted
(áóëåâî,÷òåíèå/çàïèñü)-ôëàã,îçíà÷àþùèé,÷òîäîêóìåíòïåðåäàåòñÿâçàøèô-
ðîâàííîìâèäå.Ñïèñîêâåðñèé,äëÿêîòîðûõïîääåðæèâàåòñÿîòïðàâêàâçàøèôðîâàííîìâèäå,
ìîæíîâçÿòüèçìåòîäà
226Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InvoiceRevision
ˆ
InvoiceCorrectionRevision
ˆ
Nonformalized
ˆ
NonformalizedProforma
ˆ
PriceListAgreement
ˆ
ReconciliationAct
ˆ
7.12.PackageSendTask
227
1CDiadocDocumentation,Âûïóñê1
Send
Ìåòîäîáúåêòà
PackageSendTask
Ñèíòàêñèñ
Send()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
DocumentPackage
.
Îïèñàíèå
ÌåòîäîòïðàâëÿòïàêåòäîêóìåíòîâíàñåðâåðÄèàäîê.Ðåçóëüòàòîìâûïîëíåíèÿîïåðàöèèÿâëÿåòñÿ
ñôîðìèðîâàííûéïàêåòäîêóìåíòîâ.
SendAsync
Ìåòîäîáúåêòà
PackageSendTask
Ñèíòàêñèñ
SendAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
PackageSendTaskAsyncResult
.
Îïèñàíèå
ÈíèöèèðóåòàñèíõðîííóþîïåðàöèþîòïðàâêèñîîáùåíèÿñïàêåòîìäîêóìåíòîâíàñåðâåðÄèàäîê.
Ðåçóëüòàòîìàñèíõðîííîéîïåðàöèèÿâëÿåòñÿîáúåêò
DocumentPackage
.
AddEncryptCerticate
Ìåòîäîáúåêòà
PackageSendTask
Ñèíòàêñèñ
AÎrt;ddEncryptCerticate(cert)
Ïàðàìåòðû
ˆ
Îrt;cert-ñåðòèôèêàò
PersonalCerticate
Âîçâðàùàåìîåçíà÷åíèå
Íåò
Îïèñàíèå
Äîáàâëÿåòñåðòèôèêàòøèôðîâàíèÿäîêóìåíòà
PersonalCerticate
Îáúåêòïðåäíàçíà÷åíäëÿäîñòóïàêñâîéñòâàìëè÷íûõñåðòèôèêàòîâ.
228Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâà
ˆ
Name
(ñòðîêà,÷òåíèå)-íàèìåíîâàíèåñóáúåêòàñåðòèôèêàòà
ˆ
OrganizationName
(ñòðîêà,÷òåíèå)-íàèìåíîâàíèåîðãàíèçàöèèñóáúåêòàñåðòèôèêàòà
ˆ
IssuerName
(ñòðîêà,÷òåíèå)-íàèìåíîâàíèåóäîñòîâåðÿþùåãîöåíòðà
ˆ
BeginDate
(äàòà,÷òåíèå)-íà÷àëîïåðèîäàäåéñòâèÿñåðòèôèêàòà
ˆ
EndDate
(äàòà,÷òåíèå)-îêîí÷àíèåïåðèîäàäåéñòâèÿñåðòèôèêàòà
ˆ
Thumbprint
(ñòðîêà,÷òåíèå)-îòïå÷àòîêñåðòèôèêàòà
ˆ
IsQualiedElectronicSignature
(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîñåðòèôèêàòÿâëÿåòñÿêâà-
ëèôèöèðîâàííûì
ˆ
INN
(ñòðîêà,÷òåíèå)-ÈÍÍîðãàíèçàöèèñóáúåêòàñåðòèôèêàòà
ˆ
KPP
(ñòðîêà,÷òåíèå)-ÊÏÏîðãàíèçàöèèñóáúåêòàñåðòèôèêàòà
ˆ
JobTitle
(ñòðîêà,÷òåíèå)-äîëæíîñòüñóáúåêòàñåðòèôèêàòà
Ìåòîäûîòñóòñòâóþò
1CDiadocDocumentation,Âûïóñê1
Ñâîéñòâà
ˆ
Author(ñòðîêà,÷òåíèå)-ÔÈÎñîãëàñîâàòåëÿ
ˆ
CreationDate(äàòàèâðåìÿ,÷òåíèå)-äàòà-âðåìÿñîçäàíèÿñîãëàñîâàíèÿ
ˆ
Comment(ñòðîêà,÷òåíèå)-êîììåíòàðèéêñîãëàñîâàíèþ
ˆ
ResolutionType(ñòðîêà,÷òåíèå)-òèïäåéñòâèÿïîñîãëàñîâàíèþ
ˆ
230Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
SignatureDenied-âïîäïèñèîòêàçàíî
ˆ
SignatureRequested-çàïðîøåíàïîäïèñü
ˆ
None-äîêóìåíòíåñîãëàñîâûâàëñÿ
Ìåòîäûîòñóòñòâóþò
ResolutionRequestTask
Îáúåêòïðåäíàçíà÷åíäëÿîòïðàâêèçàïðîñàíàñîãëàñîâàíèå.
Ñâîéñòâà
ˆ
InitialDocumentId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðäîêóìåíòà,äëÿêîòîðîãîôîðìèðóåòñÿçàïðîñ
íàñîãëàñîâàíèå,åñëèòàêîéäîêóìåíòåäèíñòâåííûé(ò.å.îáúåêòResolutionRequestTaskñîçäàí
ìåòîäîì
CreateResolutionRequestTask
îáúåêòà
Document
)
ˆ
InitialDocuments(
êîëëåêöèÿ
îáúåêòîâ
Document
,÷òåíèå)-äîêóìåíòû,äëÿêîòîðûõôîðìèðóåòñÿ
çàïðîñíàñîãëàñîâàíèå.

åñëèîáúåêòResolutionRequestTaskñîçäàíìåòîäîì
CreateResolutionRequestTask
îáúåêòà
Document
,òî
InitialDocuments
âåðíåòåäèíñòâåííûéäîêóìåíò;

åñëèîáúåêòResolutionRequestTaskñîçäàíìåòîäîì
CreateResolutionRequestTask
îáúåêòà
DocumentPackage
,òî
InitialDocuments
âåðíåòâñåäîêóìåíòûïàêåòà,äëÿêîòîðîãîáûë
ñîçäàíçàïðîñ.
ˆ
ResolutionRequestType(ñòðîêà,÷òåíèå/çàïèñü)-òèïçàïðîñàíàñîãëàñîâàíèå
ˆ
Comment(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèéêçàïðîñóñîãëàñîâàíèÿ
ˆ
7.18.ResolutionRequestTask231
1CDiadocDocumentation,Âûïóñê1
Îïèñàíèå
ÏðîèçâîäèòîòïðàâêóçàïðîñàíàñîãëàñîâàíèåíàñåðâåðÄèàäîê.
SendTask
Îáúåêòïðåäíàçíà÷åíäëÿîòïðàâêèñîîáùåíèÿíàñåðâåðÄèàäîê.
Ñâîéñòâà
ˆ
Content
(÷òåíèå/çàïèñü)-ñîäåðæàíèåäîêóìåíòà
ˆ
CounterAgentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðêîíòðàãåíòà
ˆ
FileName
(ñòðîêà,÷òåíèå/çàïèñü)-èìÿôàéëàâëîæåíèÿ
ˆ
Comment
(ñòðîêà,÷òåíèå/çàïèñü)-êîììåíòàðèé
ˆ
OneSDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîð1Ñ
ˆ
OperationId
(ñòðîêà,÷òåíèå/çàïèñü)-óíèêàëüíûéèäåíòèôèêàòîðîïåðàöèè.Åñëèîòïðàâêà
äîêóìåíòàñçàïîëíåííûìîïåðàòîðîìîïåðàöèèçàâåðøèëàñüóñïåõàì,òîâñåîñòàëüíûåïîïûò-
êèîòïðàâêèñòåìæåèäåíòèôèêàòîðîìíåáóäóòïðèâîäèòüêîòïðàâêåíîâîãîäîêóìåíòà,àâ
ðåçóëüòàòåâûïîëíåíèÿìåòîäàâåðíåòñÿññûëêàíàðàíååîòïðàâëåííûéäîêóìåíò.
ˆ
CustomDocumentId
(ñòðîêà,÷òåíèå/çàïèñü)-âíåøíèéèäåíòèôèêàòîð
ˆ
FromDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿîòïðàâèòåëÿ
ˆ
ToDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿïîëó÷àòåëÿ
ˆ
DelaySend
(áóëåâî,÷òåíèå/çàïèñü)ïðèçíàêòîãî,÷òîñîîáùåíèåáóäåòñîõðàíåíîáåçîòïðàâêè
ˆ
InitialDocuments
(îáúåêò
Collection
,÷òåíèå)-ñïèñîêèäåíòèôèêàòîðîâäîêóìåíòîâ,íàêîòîðûå
äîëæåíññûëàòüñÿîòïðàâëÿåìûéäîêóìåíò
ˆ
SubordinateDocuments
(îáúåêò
Collection
,÷òåíèå)-ñïèñîêèäåíòèôèêàòîðîâäîêóìåíòîâ,êî-
òîðûåäîëæíûññûëàòüñÿíàîòïðàâëÿåìûé
ˆ
IsInternal
(áóëåâî,÷òåíèå/çàïèñü)-ïðèçíàêòîãî,÷òîñîîáùåíèåÿâëÿåòñÿâíóòðåííèì,òîåñòü
ñîîáùåíèåììåæäóïîäðàçäåëåíèÿìèîðãàíèçàöèè
ˆ
ProxyBoxId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðÿùèêà,ïðîìåæóòî÷íîãîïîëó÷àòåëÿ.Åñ-
ëèóêàçàíÿùèêïðîìåæóòî÷íîãîïîëó÷àòåëÿ,òîäîêóìåíòàäîñòàâèòñÿêîíå÷íîìóïîëó÷àòåëÿ
òîëüêîïîñëåòîãî,êàêïðîìåæóòî÷íûéïîëó÷àòåëüïîñòàâèòïîäïèñüïîääîêóìåíòîì.Åñëèïðî-
ìåæóòî÷íûéïîëó÷àòåëüîòêëîíèòäîêóìåíò,òîâÿùèêêîíå÷íîãîïîëó÷àòåëÿîííåáóäåòäî-
ñòàâëåí
ˆ
ProxyDepartmentId
(ñòðîêà,÷òåíèå/çàïèñü)-èäåíòèôèêàòîðïîäðàçäåëåíèÿ,âÿùèêåïðîìå-
æóòî÷íîãîïîëó÷àòåëÿ
ˆ
UseShelf
(áóëåâî,÷òåíèå/çàïèñü)-èñïîëüçîâàòüîòïðàâêóñïîëêè(äëÿáîëüøèõäîêóìåíòîâ)
Ñâîéñòâî
Content
èìååòîäèíèçñëåäóþùèõòèïîâ
ˆ
AcceptanceCerticateContent
-àêòîâûïîëíåíèèðàáîòâíåôîðìàëèçîâàííîìâèäå
ˆ
AcceptanceCerticateSellerContent
-àêòîâûïîëíåíèèðàáîò/îêàçàíèèóñëóã,òèòóëèñïîëíèòåëÿ
ˆ
ContractContent
-äîãîâîð
ˆ
InvoiceContent
-ñ÷åò-ôàêòóðà/èñïðàâëåíèåñ÷åòà-ôàêòóðû
232Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
ˆ
InvoiceCorrectionContent
-êîððåêòèðîâî÷íûéñ÷åò-ôàêòóðà/èñïðàâëåíèåêîððåêòèðîâî÷íîãî
ñ÷åòà-ôàêòóðû
ˆ
NonformilizedContent
-íåôîðìàëèçîâàííûéäîêóìåíò/ïðîòîêîëñîãëàñîâàíèÿöåíû/ðååñòðñåð-
òèôèêàòîâ/àêòñâåðêè/äåòàëèçàöèÿ
ˆ
ProformaInvoiceContent
-ñ÷åòíàîïëàòó
ˆ
Torg12Content
-òîâàðíàÿíàêëàäíàÿÒÎÐÃ-12âíåôîðìàëèçîâàííîìâèäå
ˆ
Torg12SellerContent
-òîâàðíàÿíàêëàäíàÿÒÎÐÃ-12òèòóëïðîäàâöà
ˆ
UtdSellerContent
-òèòóëïðîäàâöàóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
ˆ
UcdSellerContent
-òèòóëïðîäàâöàóíèâåðñàëüíîãîêîððåêòèðîâî÷íîãîäîêóìåíòà
ˆ
TovTorgSellerContent
-òèòóëïðîäàâöàòîðã-12âôîðìàòå551-ãîïðèêàçà
ˆ
Act552SellerContent
-òèòóëïðîäàâöààêòàâôîðìàòå552-ãîïðèêàçà
Ìåòîäû
ˆ
AddInitialDocument
-äîáàâëÿåòèäåíòèôèêàòîðäîêóìåíòàâêîëëåêöèþðîäèòåëüñêèõäîêóìåí-
òîâ
ˆ
AddSubordinateDocument
-äîáàâëÿåòèäåíòèôèêàòîðäîêóìåíòàâêîëëåêöèþïîä÷èíåííûõäî-
êóìåíòîâ
ˆ
Send
-îòïðàâëÿåòäîêóìåíòíàñåðâåð
ˆ
SendAsync
-èíèöèèðóåòàñèíõðîííóþîòïðàâêóäîêóìåíòà
ˆ
SaveContent
-íàîñíîâàíèèñîäåðæàíèÿäîêóìåíòàôîðìèðóåòôàéëäîêóìåíòàèñîõðàíÿåòåãî
íàäèñê
ˆ
ValidateContent
-ïðîâåðÿåòñîäåðæàíèåäîêóìåíòàíàêîððåêòíîñòüçàïîëíåíèÿ
ˆ
AddStructuredDataAttachment
-äîáàâëÿåòôàéëñîñòðóêòóðèðîâàííûìèäàííûìèâîòïðàâëÿå-
ìûéäîêóìåíò
ˆ
AddSubordinateOneSDocumentId
-äîáàâëÿåòäîïîëíèòåëüíûéèäåíòèôèêàòîð1Ñäëÿäîêóìåíòà
ˆ
AddEncryptCerticate
-äîáàâëÿåòñåðòèôèêàòøèôðîâàíèÿäîêóìåíòà
AddInitialDocument
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
AddInitialDocumen&#xId00;t(Id)
Ïàðàìåòðû
ˆ
&#xId00;Id(Ñòðîêà,îáÿçàòåëüíûé)Èäåíòèôèêàòîðäîêóìåíòà
Îïèñàíèå
Äîáàâëÿåòèäåíòèôèêàòîðäîêóìåíòàâêîëëåêöèþðîäèòåëüñêèõäîêóìåíòîâ.
7.19.SendTask
233
1CDiadocDocumentation,Âûïóñê1
AddSubordinateDocument
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
AddSubordinateDocumen&#xId00;t(Id)
Ïàðàìåòðû
ˆ
&#xId00;Id(Ñòðîêà,îáÿçàòåëüíûé)Èäåíòèôèêàòîðäîêóìåíòà
Îïèñàíèå
Äîáàâëÿåòèäåíòèôèêàòîðäîêóìåíòàâêîëëåêöèþïîä÷èíåííûõäîêóìåíòîâ.
Send
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
Send()
Âîçâðàùàåìîåçíà÷åíèå
îáúåêòïðîèçâîäíûéîò
Document
Îïèñàíèå
ÏðîèçâîäèòîòïðàâêóñîîáùåíèÿíàñåðâåðÄèàäîê.
SendAsync
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
SendAsync()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
AsyncResult
.
Îïèñàíèå
ÈíèöèèðóåòàñèíõðîííóþîïåðàöèÿîòïðàâêèñîîáùåíèÿíàñåðâåðÄèàäîê.Ðåçóëüòàòîìàñèíõðîííîé
îïåðàöèèÿâëÿåòñÿîáúåêòïðîèçâîäíûéîòDocument.
SaveContent
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
SaveContent(FilePile;&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
FilePile;&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäëÿñîõðàíåíèÿäîêóìåíòà
234Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Ñòðîêà-èìÿñîõðàíåííîãîôàéëà.
Îïèñàíèå
Íàîñíîâàíèèñîäåðæàíèÿäîêóìåíòàôîðìèðóåòôàéëäîêóìåíòàèñîõðàíÿåòåãîíàäèñê.
ValidateContent
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
ValidateContent()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Collection
-êîëëåêöèÿ,îáúåêòîâòèïà
ValidationError
Îïèñàíèå
Ïðîâåðÿåòñîäåðæàíèåäîêóìåíòàíàêîððåêòíîñòüçàïîëíåíèÿèâîçâðàùàåòñïèñîêîøèáîê
Ìåòîäÿâëåòñÿóñòàðåâøèìèíåñîäåðæèòâñåõïðàâèëïðîâåðêè!Íåðåêîìåíäóåòñÿåãîèñïîëüçîâàòü.
AddStructuredDataAttachment
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
AddStructuredDataAttachmenile;&#xName;t(FileName,FilePile;&#xP28a;&#xth00;ath)
Ïàðàìåòðû
ˆ
ile;&#xName;FileName(ñòðîêà,îáÿçàòåëüíûé)-èìÿôàéëà
ˆ
FilePile;&#xP28a;&#xth00;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäîôàéëà
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ìåòîäïîçâîëÿåòäîáàâèòüôàéëñîñòðóêòóðèðîâàííûìèäàííûìèâîòïðàâëÿåìûéäîêóìåíò.
AddSubordinateOneSDocumentId
Ìåòîäîáúåêòà
SendTask
.
Ñèíòàêñèñ
AddSubordinateOneSDocumen&#xId00;tId(Id)
Ïàðàìåòðû
ˆ
&#xId00;Id(ñòðîêà,îáÿçàòåëüíûé)-äîïîëíèòåëüíûéèäåíòèôèêàòîð1Ñ
7.19.SendTask
235
1CDiadocDocumentation,Âûïóñê1
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Äîáàâëÿåòóêàçàííûéäîïîëíèòåëüíûéèäåíòèôèêàòîð1Ñäëÿäîêóìåíòà.
AddEncryptCerticate
Ìåòîäîáúåêòà
SendTask
Ñèíòàêñèñ
AÎrt;ddEncryptCerticate(cert)
Ïàðàìåòðû
ˆ
Îrt;cert-ñåðòèôèêàò
PersonalCerticate
Âîçâðàùàåìîåçíà÷åíèå
Íåò
Îïèñàíèå
Äîáàâëÿåòñåðòèôèêàòøèôðîâàíèÿäîêóìåíòà
ReplySendTask
Îáúåêòïðåäíàçíà÷åíäëÿâûïîëíåíèÿîòâåòíîãîäåéñòâèÿñäîêóìåíòîìèëèñïàêåòîìäîêóìåíòîâ.
Ñâîéñòâà
ˆ
Content(îáúåêò
BaseContent
,÷òåíèå)-ñîäåðæèìîåçàäàíèÿ.Çàâèñèòîòîáúåêòà,èçêîòîðîãîáûë
ñîçäàíReplySendTaskèîòòèïàäåéòñâèÿ:

åñëèReplySendTaskáûëñîçäàíìåòîäîì
CreateReplySendTask
îáúåêòà
DocumentPackage
,òî
Contentáóäåòÿâëÿòüñÿîáúåêòîìòèïà
PackageContent
.

åñëèReplySendTaskáûëñîçäàíìåòîäîì
CreateReplySendTask
îáúåêòà
Document
,òîContent
âçàâèñèìîñòèîòâûáðàííîãîòèïàäåéñòâèÿáóäåòÿâëÿòüñÿîáúåêòîì:
*
äëÿäåéñòâèÿAcceptDocument:
·
Torg12BuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòàÒÎÐÃ-12âôîðìàòåÔÍÑ
·
AcceptanceCerticateBuyerContent
-òèòóëïîêóïàòåëÿäëÿäîêóìåíòààêòîâûïîë-
íåíèèðàáîòâôîðìàòåÔÍÑ
·
UtdBuyerContent
-òèòóëïîêóïàòåëÿäëÿóíèâåðñàëüíîãîïåðåäàòî÷íîãîäîêóìåíòà
·
AcceptanceContent
-äëÿäðóãèõäîêóìåíòîâ
*
äëÿäåéñòâèÿòèïàRejectDocument:
·
FormalizedRejectionContent
-äëÿôîðìàëèçîâàííûõäîêóìåíòîâ
·
RejectionContent
-äëÿíåôîðìàëèçîâàííûõäîêóìåíòîâ
*
äëÿäåéñòâèÿòèïàCorrectionRequest:
236Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
·
CorrectionRequestContent
-äëÿëþáûõäîêóìåíòîâ
Ìåòîäû
ˆ
ValidateContent
-ïðîâåðèòüòèòóëïîêóïàòåëÿíàêîððåêòíîñòüçàïîëíåíèÿ
ˆ
Send
-îòïðàâèòüòèòóëïîêóïàòåëÿíàñåðâåðÄèàäîê
ValidateContent
Ìåòîäîáúåêòà
ReplySendTask
Ñèíòàêñèñ
ValidateContent()
Âîçâðàùàåìîåçíà÷åíèå
Îáúåêò
Collection
-êîëëåêöèÿ,îáúåêòîâòèïà
ValidationError
.
Îïèñàíèå
Ïðîâåðÿåòòèòóëïîêóïàòåëÿíàêîððåêòíîñòüçàïîëíåíèÿ.
Send
Ìåòîäîáúåêòà
ReplySendTask
Ñèíòàêñèñ
Send()
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
ÏðîèçâîäèòîòïðàâêóòèòóëàïîêóïàòåëÿíàñåðâåðÄèàäîê.
Signature
Îáúåêòïðåäíàçíà÷åíäëÿõðàíåíèÿèíôîðìàöèèîïîäïèñè,ïðèëîæåííîéêäîêóìåíòó.
Ñâîéñòâà
ˆ
Certicate(îáúåêò
PersonalCerticate
,÷òåíèå)-ñåðòèôèêàò,ñïîìîùüþêîòîðîãîáûëàñîçäàíà
ïîäïèñü
ˆ
SignDate(äàòà,÷òåíèå)-äàòàïîäïèñè
ˆ
SignatureAuthenticityDate(äàòà,÷òåíèå)-äàòàïðîâåðêèïîäëèííîñòèïîäïèñè
Ìåòîäûîòñóòñòâóþò
7.21.Signature
237
1CDiadocDocumentation,Âûïóñê1
StructuredAttachment
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿèíôîðìàöèèîñòðóêòóðèðîâàííûõäàííûõâîòïðàâëÿåìîìñî-
îáùåíèè,îïèñûâàþùèéòîòèëèèíîéäîêóìåíò,êîòîðûéïðåäñòàâëåíââèäåïå÷àòíîéôîðìû.
Ñâîéñòâà
ˆ
Document(îáúåêòïðîèçâîäíûéîò
Document
,÷òåíèå)-äîêóìåíò,êêîòîðîìóïðèëîæåíûñòðóê-
òóðèðîâàííûåäàííûå
ˆ
FileName(ñòðîêà,÷òåíèå)-èìÿôàéëàñîñòðóêòóðèðîâàííûìèäàííûìè
Ìåòîäû
ˆ
SaveContent
-ñîõðàíÿåòñòðóêòóðèðîâàííûåäàííûåíàëîêàëüíûéäèñê
SaveContent
Ìåòîäîáúåêòà
StructuredAttachment
.
Ñèíòàêñèñ
SaveContent(DirectoryP ire; tor;&#xyP28; th0;ath)
Ïàðàìåòðû
ˆ
DirectoryP ire; tor;&#xyP28; th0;ath(ñòðîêà,îáÿçàòåëüíûé)-ïóòüäîäèðåêòîðèè,êóäàáóäóòñîõðàíÿòüñÿäàííûå
Âîçâðàùàåìîåçíà÷åíèå
Îòñóòñòâóåò
Îïèñàíèå
Ñîõðàíÿåòñòðóêòóðèðîâàííûåäàííûåâóêàçàííóþäèðåêòîðèþ.
User
Îáúåêòïðåäíàçíà÷åíäëÿïîëó÷åíèÿèíôîðìàöèèîïîëüçîâàòåëå.
Ñâîéñòâà
ˆ
Id(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðïîëüçîâàòåëÿ
ˆ
LastName(ñòðîêà,÷òåíèå)-ôàìèëèÿïîëüçîâàòåëÿ
ˆ
FirstName(ñòðîêà,÷òåíèå)-èìÿïîëüçîâàòåëÿ
ˆ
MiddleName(ñòðîêà,÷òåíèå)-îò÷åñòâîïîëüçîâàòåëÿ
Ìåòîäûîòñóòñòâóþò
238Ãëàâà7.Ïðî÷èåîáúåêòû
1CDiadocDocumentation,Âûïóñê1
UserPermissions
Îïèñûâàåòïðàâàïîëüçîâàòåëÿâêîíòåêñòåîðãàíèçàöèè
Ñâîéñòâà
ˆ
IsAdministrator(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîïîëüçîâàòåëüìîæåòðåäàêòèðîâàòüñòðóêòóðó
èðåêâèçèòûîðãàíèçàöèè,äîáàâëÿòüèðåäàêòèðîâàòüäðóãèõïîëüçîâàòåëåé
ˆ
CanSignDocuments(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîïîëüçîâàòåëüìîæåòïîäïèñûâàòüäîêó-
ìåíòû
ˆ
CanAddResolutions(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîïîëüçîâàòåëüìîæåòñîãëàñîâûâàòüäîêó-
ìåíòû
ˆ
CanRequestResolutions(áóëåâî,÷òåíèå)-ïðèçíàêòîãî,÷òîïîëüçîâàòåëüìîæåòîòïðàâëÿòüçà-
ïðîñûíàñîãëàñîâàíèåèïîäïèñüäîêóìåíòîâ
ˆ
DocumentsAccessLevel(ñòðîêà,÷òåíèå)-óðîâåíüäîñòóïàêäîêóìåíòàì
ˆ
UserDepartment(îáúåêò
Department
,÷òåíèå)-ïîäðàçäåëåíèåîðãàíèçàöèè,âêîòîðîìñîñòîèò
ïîëüçîâàòåëü
ˆ
SelectedDepartments(îáúåêò
Collection
,÷òåíèå)-ñïèñîêïîäðàçäåëåíèé,êêîòîðûìèìååòäîñòóï
ïîëüçîâàòåëü(çàïîëíÿåòñÿòîëüêîâñëó÷àåDocumentsAccessLevel=SelectedDepartments)
ˆ
JobTitle(ñòðîêà,÷òåíèå)-äîëæíîñòüñîòðóäíèêà
Ñâîéñòâî
DocumentsAccessLevel
ïðèíèìàåòîäíîèçñëåäóþùèõçíà÷åíèé:
ˆ
DepartmentOnly-ïîëüçîâàòåëþäîñòóïíûòîëüêîäîêóìåíòûèçïîäðàçäåëåíèÿ,âêîòîðîìîí
ñîñòîèò
ˆ
DepartmentAndSubdepartments-ïîëüçîâàòåëþäîñòóïíûäîêóìåíòûèçïîäðàçäåëåíèÿ,âêîòîðîì
îíñîñòîèòèâñåõäî÷åðíèõïîäðàçäåëåíèé
ˆ
AllDocuments-ïîëüçîâàòåëþäîñòóïíûâñåäîêóìåíòûîðãàíèçàöèè
ˆ
SelectedDepartments-ïîëüçîâàòåëþäîñòóïíûäîêóìåíòûèçíåñêîëüêèõïîäðàçäåëåíèé
ˆ
UnknownDocumentAccessLevel-íåèçâåñòíûéíàáîðïðàâïîëüçîâàòåëÿ
Ìåòîäûîòñóòñòâóþò
ValidationError
Îáúåêòñîäåðæèòèíôîðìàöèþîáîøèáêåïðèâàëèäàöèèôîðìèðóåìîãîäîêóìåíòà.
Ñâîéñòâà
ˆ
FieldId(ñòðîêà,÷òåíèå)-èäåíòèôèêàòîðïîëÿ,ãäåïðîèçîøëàîøèáêà
ˆ
Text(ñòðîêà,÷òåíèå)-òåêñòîøèáêè
Ìåòîäûîòñóòñòâóþò.
7.24.UserPermissions
239
1CDiadocDocumentation,Âûïóñê1
Collection
Îáúåêòïðåäíàçíà÷åíäëÿõðàíåíèÿêîëëåêöèèîáúåêòîâîäíîãîòèïà.
Ñâîéñòâà
ˆ
Count(÷èñëî,÷òåíèå)êîëè÷åñòâîýëåìåíòîââêîëëåêöèè.
Ìåòîäû
ˆ
240Ãëàâà7.Ïðî÷èåîáúåêòû

Приложенные файлы

  • pdf 14723390
    Размер файла: 880 kB Загрузок: 2

Добавить комментарий