ÌÈÍÈÑÒÅÐÑÒÂÎ ÔÈÍÀÍÑÎÂ ÐÎÑÑÈÉÑÊÎÉ ÔÅÄÅÐÀÖÈÈ
ÏÈÑÜÌÎ
îò 7 àïðåëÿ 2008 ã. N 06-06-10
 ñîîòâåòñòâèè ñ Ïðèêàçîì Ìèíôèíà Ðîññèè
îò 7 ñåíòÿáðÿ 2007 ã. N 76í "Î ïîðÿäêå ïðåäñòàâëåíèÿ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ñóáúåêòîâ Ðîññèéñêîé Ôåäåðàöèè è ñâîäîâ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ ñóáúåêòà Ðîññèéñêîé
Ôåäåðàöèè" è Ïðèêàçîì Ìèíôèíà Ðîññèè îò 7 ñåíòÿáðÿ 2007 ã. N 77í "Îá
óòâåðæäåíèè Ðåêîìåíäàöèé ïî çàïîëíåíèþ ôîðì ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ñóáúåêòîâ Ðîññèéñêîé Ôåäåðàöèè è ñâîäîâ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ ñóáúåêòà Ðîññèéñêîé
Ôåäåðàöèè" ðàçðàáîòàíû "Òðåáîâàíèÿ ê ôîðìàòàì ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ñóáúåêòîâ Ðîññèéñêîé Ôåäåðàöèè è ñâîäîâ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ
ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè,
ïåðåäàâàåìûõ â ýëåêòðîííîì âèäå â Ìèíèñòåðñòâî ôèíàíñîâ Ðîññèéñêîé
Ôåäåðàöèè".
Äàííûå Òðåáîâàíèÿ ðàçìåùåíû â ýëåêòðîííîì
âèäå íà îôèöèàëüíîì ñàéòå Ìèíôèíà Ðîññèè â ïîäðóáðèêå
"Íîðìàòèâíî-ñïðàâî÷íàÿ èíôîðìàöèÿ" ðóáðèêè "Èíôîðìàöèîííûå
ñèñòåìû Ìèíèñòåðñòâà ôèíàíñîâ".
Ïîäãîòîâëåííûå â ñîîòâåòñòâèè ñ
óêàçàííûìè òðåáîâàíèÿìè ïëàíîâûå ðååñòðû â ñðîê äî 1 èþëÿ 2008 ãîäà íåîáõîäèìî
íàïðàâèòü â ýëåêòðîííîì âèäå íà àäðåñ T_rro@minfin.ru.
Çàìåñòèòåëü Äèðåêòîðà
Äåïàðòàìåíòà
ìåæáþäæåòíûõ îòíîøåíèé
Ë.À.ÅÐÎØÊÈÍÀ
Çàìåñòèòåëü
Äèðåêòîðà
Àäìèíèñòðàòèâíîãî
äåïàðòàìåíòà
Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè
Ã.Ã.ËÀËÀÅÂ
"__" _________ 2008 ãîäà
ÒÐÅÁÎÂÀÍÈß
Ê ÔÎÐÌÀÒÀÌ ÐÅÅÑÒÐΠÐÀÑÕÎÄÍÛÕ ÎÁßÇÀÒÅËÜÑÒÂ
ÑÓÁÚÅÊÒÎÂ ÐÎÑÑÈÉÑÊÎÉ ÔÅÄÅÐÀÖÈÈ È ÑÂÎÄÎÂ ÐÅÅÑÒÐÎÂ ÐÀÑÕÎÄÍÛÕ
ÎÁßÇÀÒÅËÜÑÒ ÌÓÍÈÖÈÏÀËÜÍÛÕ ÎÁÐÀÇÎÂÀÍÈÉ, ÂÕÎÄßÙÈÕ Â ÑÎÑÒÀÂ
ÑÓÁÚÅÊÒÀ ÐÎÑÑÈÉÑÊÎÉ ÔÅÄÅÐÀÖÈÈ, ÏÅÐÅÄÀÂÀÅÌÛÕ
 ÝËÅÊÒÐÎÍÍÎÌ ÂÈÄÅ Â ÌÈÍÈÑÒÅÐÑÒÂÎ ÔÈÍÀÍÑÎÂ
ÐÎÑÑÈÉÑÊÎÉ ÔÅÄÅÐÀÖÈÈ
ÂÅÐÑÈß - 1.0
1. Îáùèå ïîëîæåíèÿ
 ñîîòâåòñòâèè ñ Ïðèêàçîì Ìèíèñòåðñòâà
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè îò 7 ñåíòÿáðÿ 2007 ã. N 76í "Î ïîðÿäêå
ïðåäñòàâëåíèÿ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ñóáúåêòîâ Ðîññèéñêîé Ôåäåðàöèè è
ñâîäîâ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â
ñîñòàâ ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè" è Ïðèêàçîì Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè îò 7 ñåíòÿáðÿ 2007 ã. N 77í "Îá óòâåðæäåíèè
Ðåêîìåíäàöèé ïî çàïîëíåíèþ ôîðì ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ñóáúåêòîâ
Ðîññèéñêîé Ôåäåðàöèè è ñâîäîâ ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ìóíèöèïàëüíûõ
îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè", ôèíàíñîâûå
îðãàíû ñóáúåêòîâ Ðîññèéñêîé Ôåäåðàöèè ïðåäñòàâëÿþò â Ìèíèñòåðñòâî ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè óêàçàííûå â ïðèêàçàõ ðååñòðû è ñîïðîâîäèòåëüíîå ïèñüìî
(äàëåå - Ðååñòðû) â ñðîêè, óñòàíîâëåííûå Ïðèêàçîì Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè îò 7 ñåíòÿáðÿ 2007 ã. N 76í.
Äàííûé äîêóìåíò îïðåäåëÿåò ñòðóêòóðó
èíôîðìàöèè ïî Ðååñòðàì, ïåðåäàâàåìîé â Ìèíèñòåðñòâî ôèíàíñîâ Ðîññèéñêîé
Ôåäåðàöèè â ýëåêòðîííîì âèäå ñóáúåêòàìè Ðîññèéñêîé Ôåäåðàöèè.
Èíôîðìàöèÿ ïåðåäàåòñÿ â Ìèíèñòåðñòâî
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè â ôîðìàòå XML-äîêóìåíòà (ðàñøèðåíèå èìåíè ôàéëà -
"xml").
 XML-äîêóìåíòå îïèñûâàåòñÿ ïðîëîã ñ
óêàçàíèåì èñïîëüçóåìîé êîäèðîâêè:
┌─────────────────────────────────────────────┐
│<?xml version="1.0"
encoding="windows-1251"?>│
└─────────────────────────────────────────────┘
Ïîðÿäîê ñëåäîâàíèÿ ñòðîê Ðååñòðà,
ïðåäñòàâëÿåìîãî â ýëåêòðîííîì âèäå, äîëæåí ñòðîãî ñîîòâåòñòâîâàòü ïîðÿäêó èõ
ñëåäîâàíèÿ â ïðåäñòàâëÿåìîì ïå÷àòíîì äîêóìåíòå.
XML-äîêóìåíò àðõèâèðóåòñÿ àðõèâàòîðîì
7-ZIP (âåðñèÿ 4.57) â àðõèâ ñ ðàñøèðåíèåì .ZIP.
Èçìåíåíèå ñòðóêòóðû è (èëè) ôîðìàòîâ âûãðóæàåìûõ
äàííûõ îôîðìëÿåòñÿ äîïîëíåíèåì ê íàñòîÿùèì Òðåáîâàíèÿì.
2. Ñòðóêòóðà èìåí
ôàéëîâ
2.1. Ñòðóêòóðà
èìåíè àðõèâíîãî ôàéëà
KOIKPIWGGMMDDNFRM.ZIP - èìÿ óïàêîâàííîãî
ôàéëà, ãäå:
- KOI - êîä îðãàíèçàöèè îòïðàâèòåëÿ
èíôîðìàöèè, ïðèíèìàåò çíà÷åíèÿ:
- RXX - êîä ñóáúåêòà
ÐÔ êàê îòïðàâèòåëÿ èíôîðìàöèè â Ìèíèñòåðñòâî
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè,
ãäå R - êîíñòàíòà, à XX - êîä
ñóáúåêòà Ðîññèéñêîé
Ôåäåðàöèè (2 öèôðû) âûáèðàåòñÿ
èç
êëàññèôèêàòîðà ðåãèîíîâ
Ìèíèñòåðñòâà ôèíàíñîâ Ðîññèéñêîé
Ôåäåðàöèè, óòâåðæäåííîãî Ïðèêàçîì
Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè îò 02.07.96
N 344;
- KPI - êîä îðãàíèçàöèè ïîëó÷àòåëÿ
èíôîðìàöèè, ïðèíèìàåò çíà÷åíèÿ:
- 092 - êîä Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè;
- W - ïðèçíàê èíôîðìàöèè, ïðèíèìàåò
çíà÷åíèÿ:
1 - îòêðûòàÿ èíôîðìàöèÿ.
- GG - äâå ïîñëåäíèå öèôðû ãîäà, êîãäà
ïîäãîòîâëåíà èíôîðìàöèÿ;
- MM - äâå öèôðû - ìåñÿö, êîãäà ïîäãîòîâëåíà
èíôîðìàöèÿ;
- DD - äâå öèôðû - äåíü ìåñÿöà, êîãäà
ïîäãîòîâëåíà èíôîðìàöèÿ;
- N - îäíà öèôðà - íîìåð âåðñèè
ïðåäñòàâëåíèÿ èíôîðìàöèè, ïðèíèìàåò
çíà÷åíèÿ:
0 - ïðè ïåðâîì ïðåäñòàâëåíèè
èíôîðìàöèè;
1...9 - ïðè ïîâòîðíîì ïðåäñòàâëåíèè
èíôîðìàöèè.
- FRM - êîä
èíôîðìàöèè äëÿ ïðåäîñòàâëåíèÿ â
ýëåêòðîííîì âèäå (äëÿ
íàñòîÿùåãî
äîêóìåíòà - 587);
- ZIP - ðàñøèðåíèå àðõèâíîãî ôàéëà.
2.2. Ñòðóêòóðà
èìåíè ôàéëà XML-äîêóìåíòà
XXWGGMMDDNFRM.xml - èìÿ ôàéëà, ãäå:
- XX - êîä ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè
(2 öèôðû) âûáèðàåòñÿ èç êëàññèôèêàòîðà ðåãèîíîâ Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè, óòâåðæäåííîãî Ïðèêàçîì Ìèíèñòåðñòâà ôèíàíñîâ Ðîññèéñêîé
Ôåäåðàöèè îò 02.07.96 N 344;
- xml - ðàñøèðåíèå èìåíè ôàéëà.
Îñòàëüíûå ñîñòàâëÿþùèå èìåíè ôàéëà
ñîâïàäàþò ñî ñòðóêòóðîé èìåíè àðõèâíîãî ôàéëà.
3. Ñòðóêòóðà
XML-äîêóìåíòà
XML-äîêóìåíò ïðåäñòàâëÿåò ñîáîé ïàêåò
ýëåêòðîííûõ äîêóìåíòîâ - PacketED.
 ñîñòàâ ïàêåòà âõîäÿò ýëåêòðîííûå äîêóìåíòû
(ÝÄ) - ED58701 (Ðååñòð ðàñõîäíûõ îáÿçàòåëüñòâ ñóáúåêòà ÐÔ), ED58702 (Ñâîä
ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ
ñóáúåêòà ÐÔ), ED58703 (Ñîïðîâîäèòåëüíîå ïèñüìî).
Ïàêåò ýëåêòðîííûõ äîêóìåíòîâ èìååò îáùóþ
ãðóïïó ðåêâèçèòîâ, îòíîñÿùóþñÿ êî âñåé ñîâîêóïíîñòè ÝÄ, âõîäÿùèõ â ñîñòàâ
ïàêåòà.
Ïðîñòðàíñòâî èìåí äëÿ PacketED, ED58701,
ED58702, ED58703
- "urn:mfrf-ru:ed:v2.0" (ïðåôèêñ ed).
3.1. Îïèñàíèå
ðåêâèçèòîâ ïàêåòà ýëåêòðîííûõ äîêóìåíòîâ
Ïðè îïèñàíèè ðåêâèçèòîâ ïàêåòà ýëåêòðîííûõ
äîêóìåíòîâ èñïîëüçóþòñÿ ïîíÿòèÿ áàçîâûõ òèïîâ ðåêâèçèòîâ (Ñóììà, Òåêñò è ò.ä.).
Îïðåäåëåíèÿ áàçîâûõ òèïîâ ðåêâèçèòîâ ïðèâåäåíî â òàáëèöå 1.
Òàáëèöà 1
ÁÀÇÎÂÛÅ ÒÈÏÛ ÐÅÊÂÈÇÈÒÎÂ
┌────────────┬────────────────────────────────────────────────────────────┐
│Íàèìåíîâàíèå│ Îïðåäåëåíèå òèïà │
│ òèïà
│
│
├────────────┼────────────────────────────────────────────────────────────┤
│Äàòà │"Äàòà" -
ÃÃÃÃ-ÌÌ-ÄÄ; │
│Âðåìÿ │"Âðåìÿ" -
÷÷:ìì:ññ; │
│Ìåñÿö │"Ìåñÿö" - ÌÌ; │
│Ãîä │"Ãîä" - ÃÃÃÃ, │
│ │ ãäå: - ÃÒÃÃ - ãîä; │
│ │ - ÌÌ - ìåñÿö; │
│ │ - ÄÄ - äåíü ìåñÿöà; │
│ │ - ÷÷ - ÷àñû â 24-÷àñîâîì ôîðìàòå; │
│ │ - ìì - ìèíóòû; │
│ │ - ññ - ñåêóíäû │
├────────────┼────────────────────────────────────────────────────────────┤
│Êîä │Ñèìâîëüíàÿ ñòðîêà. Ðàçðåøåííûå
ñèìâîëû (êîäèðîâêà │
│ │Windows-1251) - öèôðû [0 -
9], ðóññêèå áóêâû èç äèàïàçîíà │
│ │[À - ß], êðîìå áóêâû Å è
äåôèñ (-) │
├────────────┼────────────────────────────────────────────────────────────┤
│Òåêñò │ Ñèìâîëüíàÿ ñòðîêà, îáû÷íî â
ôîðìå ñëîâ îïðåäåëåííîãî ÿçûêà,│
│ │ïðèìåíÿåòñÿ, òàêæå, äëÿ èìåí
(íàèìåíîâàíèé). │
│
│ Ðàçðåøåííûå ñèìâîëû -
ñèìâîëû ñ äåñÿòè÷íûìè êîäàìè èç │
│ │äèàïàçîíà [32 - 126]
(êîäèðîâêà Windows-1251), ðóññêèå │
│ │áóêâû èç äèàïàçîíà [À - ß]
[à - ÿ], êðîìå áóêâû Å/å. │
│ │ Íåò ïðîáåëîâ â íà÷àëå è
êîíöå ñòðîêè. Ïîñëåäîâàòåëüíîñòü │
│ │ïðîáåëîâ ïðåäñòàâëåíà îäíèì
ïðîáåëîì. │
│ │ Ñèìâîëû àìïåðñàíòà (&),
ëåâîé óãëîâîé ñêîáêè (<) è êàâû÷êà │
│ │(") ñëåäóåò
ìàñêèðîâàòü, âîñïîëüçîâàâøèñü äëÿ ýòîãî ëèáî
│
│ │ñîîòâåòñòâóþùåé ÷èñëîâîé
ññûëêîé íà ñèìâîë (&#õ0026; │
│ │&#õ003Ñ; &#õ0022;
ñîîòâåòñòâåííî), ëèáî ñòðîêàìè "&", │
│ │"<",
""" ñîîòâåòñòâåííî │
├────────────┼────────────────────────────────────────────────────────────┤
│Òåêñò
2 │ Ñèìâîëüíàÿ ñòðîêà, îáû÷íî â
ôîðìå ñëîâ îïðåäåëåííîãî ÿçûêà,│
│ │ïðèìåíÿåòñÿ, òàêæå, äëÿ èìåí
(íàèìåíîâàíèé). │
│ │ Ðàçðåøåííûå ñèìâîëû -
ñèìâîëû ñ äåñÿòè÷íûìè êîäàìè èç │
│ │äèàïàçîíà [32 - 126]
(êîäèðîâêà Windows-1251), ðóññêèå áóêâû│
│ │èç äèàïàçîíà [À - ß] [à -
ÿ], êðîìå áóêâû Å/å. │
│ │ Ñèìâîëû àìïåðñàíòà (&),
ëåâîé óãëîâîé ñêîáêè (<) è êàâû÷êà │
│ │(") ñëåäóåò
ìàñêèðîâàòü, âîñïîëüçîâàâøèñü äëÿ ýòîãî ëèáî
│
│ │ñîîòâåòñòâóþùåé ÷èñëîâîé
ññûëêîé íà ñèìâîë (&#õ0026; │
│ │&#õ003Ñ; &#õ0022;
ñîîòâåòñòâåííî), ëèáî ñòðîêàìè "&", │
│ │"<",
""" ñîîòâåòñòâåííî │
├────────────┼────────────────────────────────────────────────────────────┤
│×èñëî │×èñëîâàÿ èíôîðìàöèÿ, îïðåäåëåííàÿ
ïîñëåäîâàòåëüíîñòüþ │
│ │ïîëîæèòåëüíûõ öåëûõ
÷èñåë. │
│ │Çàïîëíÿåòñÿ ñî ñëåäóþùèìè
îãðàíè÷åíèÿìè: │
│ │- çàïðåùåí ïðåäøåñòâóþùèé
çíàê "+";
│
│ │- çàïðåùåíû ëèäèðóþùèå
íóëè │
├────────────┼────────────────────────────────────────────────────────────┤
│Ñóììà │×èñëî òûñÿ÷ ðóáëåé. │
│ │Çàïîëíÿåòñÿ ñî ñëåäóþùèìè
îãðàíè÷åíèÿìè: │
│
│- çàïðåùåí
ïðåäøåñòâóþùèé çíàê "+"; │
│ │- çàïðåùåíû ëèäèðóþùèå
íóëè; │
│ │- âñåãäà îäèí çíàê â äðîáíîé
÷àñòè; │
│ │- ðàçäåëèòåëü äðîáíîé ÷àñòè
- òî÷êà; │
│ │- ïóñòîå çíà÷åíèå íå
äîïóñêàåòñÿ (ïðåäñòàâëÿåòñÿ - 0.0) │
└────────────┴────────────────────────────────────────────────────────────┘
Ïðè îïèñàíèè ðåêâèçèòîâ èñïîëüçóþòñÿ
òàêæå ñëåäóþùèå õàðàêòåðèñòèêè:
- óêàçàíèå åäèíèöû èçìåðåíèÿ;
- ïîëíûé ñïèñîê âñåõ âîçìîæíûõ çíà÷åíèé;
- ôîðìàòíûå îãðàíè÷åíèÿ:
äëÿ ñòðîêîâûõ çíà÷åíèé: îãðàíè÷åíèÿ äëèíû
(ìàêñèìàëüíàÿ, ìèíèìàëüíàÿ, òî÷íàÿ);
äëÿ ÷èñëîâûõ çíà÷åíèé: êîëè÷åñòâî çíàêîâ
ïîñëå çàïÿòîé, ìèíèìàëüíîå, ìàêñèìàëüíîå çíà÷åíèÿ;
øàáëîí (óêàçûâàåòñÿ â ñêîáêàõ).
Ïðè óêàçàíèè êðàòíîñòè ðåêâèçèòîâ
èñïîëüçóþòñÿ ñëåäóþùèå ïàðàìåòðû:
[0...1] - íåîáÿçàòåëüíûé ðåêâèçèò,
ìàêñèìàëüíîå êîëè÷åñòâî ýêçåìïëÿðîâ 1;
[0...n] - íåîáÿçàòåëüíûé ðåêâèçèò,
ìàêñèìàëüíîå êîëè÷åñòâî ýêçåìïëÿðîâ íå îãðàíè÷åíî;
[1] - îáÿçàòåëüíûé ðåêâèçèò, òîëüêî îäèí
ýêçåìïëÿð;
[1...n] - îáÿçàòåëüíûé ðåêâèçèò,
ìàêñèìàëüíîå êîëè÷åñòâî ýêçåìïëÿðîâ íå îãðàíè÷åíî.
Ðåêâèçèòû ïàêåòà ýëåêòðîííûõ äîêóìåíòîâ
ïðèâåäåíû â òàáëèöàõ 2 - 8.
Ïîëóæèðíûì øðèôòîì â òàáëèöàõ 2 - 8
âûäåëåíû ðåêâèçèòû, ïðåäñòàâëåííûå â XML-äîêóìåíòå â âèäå ýëåìåíòà, êîòîðûé
ìîæåò ñîäåðæàòü àòðèáóòû èëè äðóãèå ýëåìåíòû. Âñå ïðî÷èå ðåêâèçèòû ÿâëÿþòñÿ
àòðèáóòàìè XML.
Êóðñèâíûì øðèôòîì â òàáëèöàõ 2 - 8
âûäåëåíî îïèñàíèå çíà÷åíèé ðåêâèçèòîâ.
 ãðàôå òàáëèö 2 - 8 "Îïèñàíèå
ðåêâèçèòà" â ñêîáêàõ ïîñëå îïèñàíèÿ ðåêâèçèòà ïðèâåäåíî íàèìåíîâàíèå
ýëåìåíòà èëè àòðèáóòà â XML-äîêóìåíòå.
Òàáëèöà 2
ÐÅÊÂÈÇÈÒÛ ÏÀÊÅÒÀ ÝËÅÊÒÐÎÍÍÛÕ ÄÎÊÓÌÅÍÒÎÂ
(PacketED)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
Íîìåð âåðñèè
ôîðìàòà
(FormatVersionNo)
|
Òåêñò.
&Çíà÷åíèå: 2008.04&
|
[1]
|
Íàèìåíîâàíèå
ïðîãðàììíîãî
ïðîäóêòà, ñôîðìèðîâàâøåãî ôàéë
(SoftwareProduct)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Âåðñèÿ
ïðîãðàììíîãî ïðîäóêòà
(SofrwareProductVersion)
|
Òåêñò.
Ìàêñèìóì 10 çíàêîâ
|
[1]
|
#Èñòî÷íèê
èíôîðìàöèè
(From)#
|
|
[1]
|
Êîä
èñòî÷íèêà
(Code)
|
Òåêñò.
&Çíà÷åíèå: RXX, ãäå
R - êîíñòàíòà, à XX - êîä
ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè
(2 öèôðû)&
|
[1]
|
Íàèìåíîâàíèå
ñóáúåêòà ÐÔ
(Name)
|
Òåêñò.
Ìàêñèìóì 100 çíàêîâ
|
[1]
|
Ýëåêòðîííûé àäðåñ
äëÿ ïðèåìà
ïðîòîêîëîâ îáðàáîòêè
(Email)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
#Ïîëó÷àòåëü
èíôîðìàöèè
(To)#
|
|
[1]
|
Êîä
ïîëó÷àòåëÿ
(Code)
|
Òåêñò.
&Çíà÷åíèå: 092&
|
[1]
|
Íàèìåíîâàíèå
ïîëó÷àòåëÿ
(Name)
|
Òåêñò.
&Çíà÷åíèå: Ìèíèñòåðñòâî
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè&
|
[1]
|
#Èíôîðìàöèè
(Inf)#
|
|
[1]
|
Êîä
èíôîðìàöèè
(Code)
|
Òåêñò.
&Çíà÷åíèå: 587&
|
[1]
|
Íàèìåíîâàíèå
èíôîðìàöèè
(Name)
|
Òåêñò.
&Çíà÷åíèå: Ðååñòð ðàñõ.
îáÿçàòåëüñòâ ñóáúåêòà ÐÔ, ñâîä
ðååñòðîâ ðàñõ. îáÿçàòåëüñòâ
ìóíèöèïàëüíûõ îáðàçîâàíèé,
ñîïðîâîäèòåëüíîå ïèñüìî&
|
[1]
|
#Ðåãëàìåíòíàÿ
äàòà ïðåäñòàâëåíèÿ
ðååñòðîâ
(DateOperation)#
|
Äàòà
|
[1]
|
#Íà÷àëî
ïåðèîäà
(DateBegin)#
|
Äàòà.
Íà÷àëî î÷åðåäíîãî ôèíàíñîâîãî
ãîäà
|
[1]
|
#Îêîí÷àíèå
ïåðèîäà
(DateEnd)#
|
Äàòà.
Îêîí÷àíèå î÷åðåäíîãî
ôèíàíñîâîãî ãîäà
|
[1]
|
#Ãðèô ñåêðåòíîñòè
(Grif)#
|
Òåêñò.
&Ïðèíèìàåò çíà÷åíèå 1 äëÿ
îòêðûòîé èíôîðìàöèè&
|
[1]
|
#Ïåðèîäè÷íîñòü
(Period)#
|
Òåêñò.
&Ïðèíèìàåò çíà÷åíèå 05 äëÿ
ãîäîâîé èíôîðìàöèè&
|
[1]
|
#Òèï
èíôîðìàöèè
(TypeInf)#
|
Òåêñò.
&Ïðèíèìàåò çíà÷åíèå 1 äëÿ
ïëàíîâîé èíôîðìàöèè.
Ïðèíèìàåò çíà÷åíèå 2 äëÿ
óòî÷íåííîé èíôîðìàöèè&
|
[1]
|
#Ðååñòð ðàñõîäíûõ
îáÿçàòåëüñòâ
ñóáúåêòà ÐÔ
(ED58701)#
|
|
[0...1]
|
#Ñâîä ðååñòðîâ
ðàñõîäíûõ
îáÿçàòåëüñòâ ìóíèöèïàëüíûõ
îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ
ñóáúåêòà ÐÔ
(ED58702)#
|
|
[0...1]
|
#Ñîïðîâîäèòåëüíîå
ïèñüìî
(ED58703)#
|
|
[0...1]
|
#Êîíòðîëüíîå
÷èñëî ïàêåòà ÝÄ
(ControlED)#
|
×èñëî
|
[1]
|
#Âûãðóçèë
(Download)#
|
|
[1]
|
Äàòà
âûãðóçêè
(DateDn)
|
Äàòà
|
[1]
|
Âðåìÿ
âûãðóçêè
(TimeDn)
|
Âðåìÿ
|
[1]
|
Äîëæíîñòü
(ClearkShip)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî
(FullName)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Òåëåôîí
(Phone)
|
Òåêñò.
Ìàêñèìóì 20 çíàêîâ
|
[1]
|
Òàáëèöà 3
ÐÅÊÂÈÇÈÒÛ ÝÄ "ÐÅÅÑÒÐ ÐÀÑÕÎÄÍÛÕ ÎÁßÇÀÒÅËÜÑÒÂ
ÑÓÁÚÅÊÒÀ ÐÔ"
(ED58701)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
#Ñòðîêà ðååñòðà
ðàñõîäíûõ
îáÿçàòåëüñòâ ñóáúåêòà ÐÔ
(StrR01)#
|
|
[1...n]
|
#Ïîäïèñàíèå
äîêóìåíòà
(Subscription)#
|
|
[1]
|
Äîëæíîñòü
ïîäïèñàíòà
(SignerPost)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî ïîäïèñàíòà
(SignerFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Äîëæíîñòü
èñïîëíèòåëÿ
(ClerkShip)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî èñïîëíèòåëÿ
(ClerkFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Òåëåôîí
èñïîëíèòåëÿ
(Phone)
|
Òåêñò.
Ìàêñèìóì 20 çíàêîâ
|
[1]
|
Äàòà
ïîäïèñàíèÿ
(DateSPP)
|
Äàòà
|
[1]
|
#Êîíòðîëüíîå
÷èñëî ÝÄ
(Control)#
|
×èñëî
|
[1]
|
Òàáëèöà 4
ÐÅÊÂÈÇÈÒÛ ÝÄ "ÑÂÎÄ ÐÅÅÑÒÐÎÂ ÐÀÑÕÎÄÍÛÕ
ÎÁßÇÀÒÅËÜÑÒÂ
ÌÓÍÈÖÈÏÀËÜÍÛÕ ÎÁÐÀÇÎÂÀÍÈÉ, ÂÕÎÄßÙÈÕ Â ÑÎÑÒÀÂ
ÑÓÁÚÅÊÒÀ ÐÔ"
(ED58702)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
#Ñòðîêà ñâîäà
ðååñòðîâ ðàñõîäíûõ
îáÿçàòåëüñòâ ìóíèöèïàëüíûõ
îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ
ñóáúåêòà ÐÔ
(StrR02)#
|
|
[1...n]
|
#Ïîäïèñàíèå
äîêóìåíòà
(Subscription)#
|
|
[1]
|
Äîëæíîñòü
ïîäïèñàíòà
(SignerPost)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî ïîäïèñàíòà
(SignerFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Äîëæíîñòü
èñïîëíèòåëÿ
(ClerkShip)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî èñïîëíèòåëÿ
(ClerkFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Òåëåôîí
èñïîëíèòåëÿ
(Phone)
|
Òåêñò.
Ìàêñèìóì 20 çíàêîâ
|
[1]
|
Äàòà
ïîäïèñàíèÿ
(DateSPP)
|
Äàòà
|
[1]
|
#Êîíòðîëüíîå
÷èñëî ÝÄ
(Control)#
|
×èñëî
|
[1]
|
Òàáëèöà 5
ÐÅÊÂÈÇÈÒÛ ÝÄ "ÑÎÏÐÎÂÎÄÈÒÅËÜÍÎÅ ÏÈÑÜÌÎ"
(ED58703)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
#Ñòðîêà
ñîïðîâîäèòåëüíîãî
ïèñüìà (StrR03)#
|
Òåêñò 2
|
[1...n]
|
#Ïîäïèñàíèå
äîêóìåíòà
(Subscription)#
|
|
[1]
|
Äîëæíîñòü
ïîäïèñàíòà
(SignerPost)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî ïîäïèñàíòà
(SignerFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Äîëæíîñòü
èñïîëíèòåëÿ
(ClerkShip)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ
|
[1]
|
Ôàìèëèÿ Èìÿ
Îò÷åñòâî èñïîëíèòåëÿ
(ClerkFN)
|
Òåêñò.
Ìàêñèìóì 70 çíàêîâ
|
[1]
|
Òåëåôîí
èñïîëíèòåëÿ
(Phone)
|
Òåêñò.
Ìàêñèìóì 20 çíàêîâ
|
[1]
|
Äàòà
ïîäïèñàíèÿ
(DateSPP)
|
Äàòà
|
[1]
|
#Êîíòðîëüíîå
÷èñëî ÝÄ
(Control)#
|
×èñëî
|
[1]
|
Òàáëèöà 6
ÐÅÊÂÈÇÈÒÛ ÝËÅÌÅÍÒÀ
"ÑÒÐÎÊÀ ÐÅÅÑÒÐÀ ÐÀÑÕÎÄÍÛÕ ÎÁßÇÀÒÅËÜÑÒÂ
ÑÓÁÚÅÊÒÀ ÐÔ"
(StrR01)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
Ãðàôà 0
ðååñòðà
(Gr0)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Ãðàôà 1
ðååñòðà
(Gr1)
|
Òåêñò.
&Âîçìîæíî ïóñòîå çíà÷åíèå äëÿ
ñòðîê ðååñòðà ñ êîäàìè ñòðîê&
|
[1]
|
Ãðàôà 2
ðååñòðà
(Gr2)
|
Êîä.
Ìàêñèìóì 9 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Ãðàôà 3
ðååñòðà
(Gr3)
|
Òåêñò.
Ìàêñèìóì 255 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå.
Íåñêîëüêî êîäîâ áþäæåòíîé
êëàññèôèêàöèè ïðèâîäÿòñÿ ÷åðåç
çàïÿòóþ&
|
[1]
|
Ãðàôà 10
ðååñòðà
(Gr10)
|
Ñóììà
|
[1]
|
Ãðàôà 11
ðååñòðà
(Gr11)
|
Ñóììà
|
[1]
|
Ãðàôà 12
ðååñòðà
(Gr12)
|
Ñóììà
|
[1]
|
Ãðàôà 13
ðååñòðà
(Gr13)
|
Ñóììà
|
[1]
|
Ãðàôà 14
ðååñòðà
(Gr14)
|
Ñóììà
|
[1]
|
Ãðàôà 15
ðååñòðà
(Gr15)
|
Ñóììà
|
[1]
|
Ãðàôà 16
ðååñòðà
(Gr16)
|
Òåêñò.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
#Íîðìàòèâíûé
ïðàâîâîé àêò
(Bill)#
|
|
[0...n]
|
Òàáëèöà 7
ÐÅÊÂÈÇÈÒÛ ÝËÅÌÅÍÒÀ "ÑÒÐÎÊÀ ÑÂÎÄÀ ÐÅÅÑÒÐÎÂ
ÐÀÑÕÎÄÍÛÕ
ÎÁßÇÀÒÅËÜÑÒ ÌÓÍÈÖÈÏÀËÜÍÛÕ ÎÁÐÀÇÎÂÀÍÈÉ,
ÂÕÎÄßÙÈÕ Â ÑÎÑÒÀÂ ÑÓÁÚÅÊÒÀ ÐÔ"
(StrR02)
Îïèñàíèå
ðåêâèçèòà
|
Òèï ðåêâèçèòà
|
Êðàòíîñòü
|
Ãðàôà 0
ðååñòðà
(Gr0)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Ãðàôà 1
ðååñòðà
(Gr1)
|
Òåêñò.
&Âîçìîæíî ïóñòîå çíà÷åíèå äëÿ
ñòðîê ðååñòðà ñ êîäàìè ñòðîê&
|
[1]
|
Ãðàôà 2
ðååñòðà
(Gr2)
|
Êîä.
Ìàêñèìóì 9 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Ãðàôà 3
ðååñòðà
(Gr3)
|
Òåêñò.
Ìàêñèìóì 255 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå.
Íåñêîëüêî êîäîâ áþäæåòíîé
êëàññèôèêàöèè ïðèâîäÿòñÿ ÷åðåç
çàïÿòóþ&
|
[1]
|
Ãðàôà 13
ðååñòðà
(Gr13)
|
Ñóììà
|
[1]
|
Ãðàôà 14
ðååñòðà
(Gr14)
|
Ñóììà
|
[1]
|
Ãðàôà 15
ðååñòðà
(Gr15)
|
Ñóììà
|
[1]
|
Ãðàôà 16
ðååñòðà
(Gr16)
|
Ñóììà
|
[1]
|
Ãðàôà 17
ðååñòðà
(Gr17)
|
Ñóììà
|
[1]
|
Ãðàôà 18
ðååñòðà
(Gr18)
|
Ñóììà
|
[1]
|
Ãðàôà 19
ðååñòðà
(Gr19)
|
Òåêñò.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
#Íîðìàòèâíûé
ïðàâîâîé àêò
(Bill)#
|
|
[0...n]
|
Òàáëèöà 8
ÐÅÊÂÈÇÈÒÛ ÝËÅÌÅÍÒÀ "ÍÎÐÌÀÒÈÂÍÛÉ ÏÐÀÂÎÂÎÉ
ÀÊÒ"
(Bill)
Îïèñàíèå
ðåêâèçèòà
|
Òèï
ðåêâèçèòà
|
Êðàòíîñòü
|
Óðîâåíü
íîðìàòèâíîãî ïðàâîâîãî
àêòà (ÍÏÀ)
(BRank)
|
Òåêñò.
&Ïðèíèìàåò çíà÷åíèå:
1 - äëÿ ÍÏÀ ÐÔ,
2 - äëÿ ÍÏÀ ñóáúåêòà ÐÔ,
3 - äëÿ ÍÏÀ ìóíèöèïàëüíûõ
îáðàçîâàíèé&
|
[1]
|
Òèï ÍÏÀ
BClass)
|
Òåêñò.
Ìàêñèìóì 255 çíàêîâ
|
[1]
|
Äàòà ïðèíÿòèÿ
ÍÏÀ
(BDate)
|
Äàòà
|
[1]
|
Íîìåð ÍÏÀ
(BNumb)
|
Òåêñò.
Ìàêñèìóì 255 çíàêîâ
|
[1]
|
Ïîëíîå îôèöèàëüíîå
íàçâàíèå ÍÏÀ
(BName)
|
Òåêñò
|
[1]
|
Íîìåð àáçàöà
ÍÏÀ
(BRubric)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Íîìåð ïîäïóíêòà
ÍÏÀ
(BSubpar)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Íîìåð ïóíêòà
ÍÏÀ
(BParagr)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Íîìåð ÷àñòè
ÍÏÀ
(BPart)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Íîìåð ñòàòüè
ÍÏÀ
(BParticle)
|
Òåêñò.
Ìàêñèìóì 50 çíàêîâ.
&Âîçìîæíî ïóñòîå çíà÷åíèå&
|
[1]
|
Äàòà âñòóïëåíèÿ â
ñèëó ÍÏÀ
(BDateBeg)
|
Äàòà
|
[1]
|
Äàòà ïðåêðàùåíèÿ
äåéñòâèÿ ÍÏÀ
(BDateEnd)
|
Äàòà.
&Ïðèíèìàåò çíà÷åíèå 2999-01-01,
åñëè äàòà íå óñòàíîâëåíà&
|
[1]
|
3.2. Îïèñàíèå
àëãîðèòìà ðàñ÷åòà êîíòðîëüíîãî ÷èñëà
Êîíòðîëüíîå ÷èñëî îïðåäåëÿåòñÿ ïî
ñëåäóþùåìó àëãîðèòìó:
int CRCTAB_16 []={
0x0000, 0x1021, 0x2042,
0x3063, 0x4084, 0x50A5,
0õ60C6, 0x70E7,
0x8108, 0x9129, 0xA14A,
0xB16B, 0xC18C, 0xD1AD,
0xE1CE, 0xF1EF,
0x1231, 0x0210, 0x3273,
0x2252, 0x52B5, 0x4294,
0x72F7, 0x62D6,
0x9339, 0x8318, 0xB37B,
0xA35A, 0xD3BD, 0xC39C,
0xF3FF, 0xE3DE,
0x2462, 0x3443, 0x0420,
0x1401, 0x64E6, 0x74C7,
0x44A4, 0x5485,
0xA56A, 0xB54B, 0x8528,
0x9509, 0xE5EE, 0xF5CF,
0xC5AC, 0xD58D,
0x3653, 0x2672, 0x1611,
0x0630, 0x76D7, 0x66F6,
0x5695, 0x46B4,
0xB75B, 0xA77A, 0x9719,
0x8738, 0xF7DF, 0xE7FE,
0xD79D, 0xC7BC,
0x48C4, 0x58E5, 0x6886,
0x78A7, 0x0840, 0x1861,
0x2802, 0x3823,
0õC9CC, 0xD9ED,
0xE98E, 0xF9AF, 0x8948,
0x9969, 0xA90A, 0xB92B,
0x5AF5, 0x4AD4, 0x7AB7,
0õ6A96, 0x1À71, 0x0A50, 0x3A33,
0x2A12,
0xDBFD, 0xCBDC, 0xFBBF,
0õEB9E, 0x9Â79, 0x8B58, 0xBB3B,
0xAB1A,
0x6CA6, 0x7C87, 0x4CE4,
0x5CC5, 0x2C22, 0x3C03,
0x0C60, 0x1C41,
0xEDAE, 0xFD8F, 0xCDEC,
0xDDCD, 0xAD2A, 0xBD0B,
0x8D68, 0x9D49,
0x7E97, 0x6EB6, 0x5ED5,
0x4EF4, 0x3E13, 0x2E32,
0x1E51, 0x0E70,
0xFF9F, 0xEFBE, 0xDFDD,
0xCFFC, 0xBF1B, 0xAF3A,
0x9F59, 0x8F78,
0x9188, 0x81A9, 0xB1CA,
0xA1EB, 0xD10C, 0xC12D,
0xF14E, 0xE16F,
0x1080, 0x00A1, 0x30C2,
0x20E3, 0x5004, 0x4025,
0x7046, 0x6067,
0x83B9, 0x9398, 0xA3FB,
0xB3DA, 0xC33D, 0xD31C,
0xE37F, 0xF35E,
0x02B1, 0x1290, 0x22F3,
0x32D2, 0x4235, 0x5214,
0x6277, 0x7256,
0xB5EA, 0xA5CB, 0x95A8,
0x8589, 0xF56E, 0xE54F,
0xD52C, 0xC50D,
0õ34E2, 0x24C3,
0x14A0, 0x0481, 0x7466,
0x6447, 0x5424, 0x4405,
0xA7DB, 0xB7FA, 0x8799,
0x97B8, 0xE75F, 0xF77E,
0xC71D, 0xD73C,
0x26D3, 0x36F2, 0x0691,
0x16B0, 0x6657, 0x7676,
0x4615, 0x5634,
0xD94C, 0xC96D, 0xF90E,
0XE92F, 0x99C8, 0x89E9,
0xB98A, 0xA9ÀÂ,
0x5844, 0x4865, 0x7806,
0x6827, 0x18C0, 0x08E1,
0x3882, 0x28A3,
0xCB7D, 0xDB5C, 0xEB3F,
0xFB1E, 0x8BF9, 0x9BD8,
0xABBB, 0õBB9A,
0x4A75, 0x5A54, 0x6A37,
0x7A16, 0x0AF1, 0x1AD0,
0x2AB3, 0x3A92,
0xFD2E, 0xED0F, 0xDD6C,
0xCD4D, 0xBDAA, 0xAD8B,
0x9DE8, 0x8DC9,
0x7C26, 0x6C07, 0x5C64,
0x4C45, 0x3CA2, 0x2C83,
0x1CE0, 0x0CC1,
0xEF1F, 0xFF3E, 0xCF5D,
0xDF7C, 0xAF9B, 0xBFBA,
0x8FD9, 0x9FF8,
0x6Å17, 0x7E36,
0x4E55, 0x5Å74,
0x2E93, 0x3EB2, 0x0ED1,
0x1EF0
};
Ïðèìåð òåêñòà ïðîãðàììû ðàñ÷åòà
êîíòðîëüíîãî ÷èñëà ñòðîêè (íà ÿçûêå ïðîãðàììèðîâàíèÿ - Ñè):
DWORD calcCRC16(DWORD iPrevSumm, BYTE *btArr, UINT iLen)
{
for (int i=0; i<iLen; i++)
iPrevSumm=(CRCTAB_16[(iPrevSumm>>8)&0xFF]/\iPrevSumm"<<8/\btArr[i])&0xFFFF;
return iPrevSumm;
}
Ïðèìåð òåêñòà ïðîãðàììû ðàñ÷åòà
êîíòðîëüíîãî ÷èñëà ñòðîêè (íà ÿçûêå ïðîãðàììèðîâàíèÿ - Visual Basic):
Ïðåäâàðèòåëüíî íåîáõîäèìî ïðîèçâåñòè
îáðàáîòêó ìàññèâà CRCTAB_16 (!)
For i = 0 Òî UBound(CRCTAB_16)
CRCTAB_16(i) = CRCTAB_16(i) And &HFFFF&
Next i
Private Function calcCRC16(By Val iPrevSumm As Long, ByRef btArr() As
Byte, By Val iLen As Long) As Long
Dim i As Long
For i = 0 To iLen
iPrevSumm = CLng(CRCTAB_16((((iPrevSumm \ 256)) And &HFF)) Xor
((iPrevSumm And &HFF) * 256) Xor (btArr(i))) And &HFFFF
Next i
calcCRC16 = iPrevSumm
End Function
Ïàðàìåòðû:
IprevSumm - ïðåäûäóùàÿ ñóììà. Ïðè
íà÷àëüíîì âûçîâå äîëæíà áûòü ðàâíà 0.
btArr() - áàéòîâûé âõîäíîé ìàññèâ,
êîíòðîëüíîå ÷èñëî êîòîðîãî íàäî ïîëó÷èòü.
iLen - äëèíà âûøåóêàçàííîãî áàéòîâîãî
ìàññèâà.
Ðàñ÷åò êîíòðîëüíîãî ÷èñëà ïðîèçâîäèòñÿ äî
ìàñêèðîâêè ñèìâîëîâ (&), (<), (").
Ðàñ÷åò çíà÷åíèÿ ýëåìåíòà Êîíòðîëüíîå
÷èñëî ÝÄ (Control) ïðîèçâîäèòñÿ ïî ñòðîêå, ïîëó÷åííîé â ðåçóëüòàòå ñöåïëåíèÿ
çíà÷åíèé ñëåäóþùèõ ðåêâèçèòîâ è â ñëåäóþùåé ïîñëåäîâàòåëüíîñòè:
1. Êîíòðîëüíîå ÷èñëî ïåðâîé ñòðîêè
ðååñòðà â äåñÿòè÷íîé ñèñòåìå èñ÷èñëåíèÿ áåç ëèäèðóþùèõ íóëåé.
2. Êîíòðîëüíîå ÷èñëî n-îé ñòðîêè ðååñòðà
â äåñÿòè÷íîé ñèñòåìå èñ÷èñëåíèÿ áåç ëèäèðóþùèõ íóëåé.
3. Êîíòðîëüíîå ÷èñëî ïîñëåäíåé ñòðîêè
ðååñòðà â äåñÿòè÷íîé ñèñòåìå èñ÷èñëåíèÿ áåç ëèäèðóþùèõ íóëåé.
4. Äîëæíîñòü ïîäïèñàíòà (SignerPost).
5. Ôàìèëèÿ Èìÿ Îò÷åñòâî ïîäïèñàíòà
(SignerFN).
6. Äàòà ïîäïèñàíèÿ (DateSPP).
Êîíòðîëüíîå ÷èñëî ñòðîêè ðååñòðà ðàñõîäíûõ
îáÿçàòåëüñòâ ñóáúåêòà ÐÔ ðàññ÷èòûâàåòñÿ â ðåçóëüòàòå ñöåïëåíèÿ çíà÷åíèé
ðåêâèçèòîâ ýëåìåíòà StrR01.
Êîíòðîëüíîå ÷èñëî ñòðîêè ñâîäà ðååñòðîâ
ðàñõîäíûõ îáÿçàòåëüñòâ ìóíèöèïàëüíûõ îáðàçîâàíèé, âõîäÿùèõ â ñîñòàâ ñóáúåêòà
ÐÔ, ðàññ÷èòûâàåòñÿ â ðåçóëüòàòå ñöåïëåíèÿ çíà÷åíèé ðåêâèçèòîâ ýëåìåíòà StrR02.
Êîíòðîëüíîå ÷èñëî ñòðîêè
ñîïðîâîäèòåëüíîãî ïèñüìà ðàññ÷èòûâàåòñÿ â ðåçóëüòàòå ñöåïëåíèÿ çíà÷åíèé
ðåêâèçèòîâ ýëåìåíòà StrR03.
Ïîñëåäîâàòåëüíîñòü ñöåïëåíèÿ ðåêâèçèòîâ
ñîîòâåòñòâóåò ïîðÿäêó ñëåäîâàíèÿ ðåêâèçèòîâ ýëåìåíòà â îïèñàíèè.
Äëÿ ïóñòîãî çíà÷åíèÿ ýëåìåíòà StrR03
êîíòðîëüíîå ÷èñëî ñòðîêè ðååñòðà - 0.
Ðàñ÷åò çíà÷åíèÿ ýëåìåíòà Êîíòðîëüíîå
÷èñëî ïàêåòà ÝÄ (ControlED) ïðîèçâîäèòñÿ ïî ñòðîêå, ïîëó÷åííîé â ðåçóëüòàòå
ñöåïëåíèÿ çíà÷åíèé ýëåìåíòà Êîíòðîëüíîå ÷èñëî ÝÄ (Control), â ïîðÿäêå èõ
ñëåäîâàíèÿ.
Ïðèìåð ñòðîêè ðååñòðà, ïðåäñòàâëåííîé â
ôàéëå, äëÿ ðàñ÷åòà êîíòðîëüíîãî ÷èñëà.
<StrR01
Gr0="1.17."
Gr1="" Gr2="PC-A-1700" Gr3="1102,1103"
Gr10="10459.1"
Gr11="10459.1" Gr12="11530.0" Gr13="14247.0"
Gr14="0.0"
Gr15="0.0"
Gr16="">
<Bill BRank="l"
BClass="Ôåäåðàëüíûé çàêîí"
BDate="1999-10-06"
BNumb="184-ÔÇ"
BName="Îá
îáùèõ ïðèíöèïàõ îðãàíèçàöèè
çàêîíîäàòåëüíûõ (ïðåäñòàâèòåëüíûõ) è
èñïîëíèòåëüíûõ
îðãàíîâ ãîñóäàðñòâåííîé âëàñòè ñóáúåêòîâ ÐÔ"
BRubric=""
BSubpar="13" BParagr="2" BPart=""
BParticle="26.3"
BDateBeg="1999-10-18"
BDateEnd="2999-01-01"/>
<Bill BRank="2"
BClass="3àêîí Àëòàéñêîãî êðàÿ"
BDate="2004-12-03"
BNumb="54-3C"
BName="Îá
îáðàçîâàíèè â Àëòàéñêîì êðàå"
BRubric=""BSubpar=m""
BParagr="1" BPart="" BParticle="11"
BDateBeg="2004-12-16"
BDateEnd="2999-01-01"/>
</StrR01>
Ïîëó÷åííàÿ ñòðîêà äëÿ ðàñ÷åòà êîíòðîëüíîãî
÷èñëà.
1.17.PC-A-17001102,110310459.110459.111530.014247.00.00.0
1Ôåäåðàëüíûé çàêîí 1999-10-06184-ÔÇ
Îá îáùèõ ïðèíöèïàõ îðãàíèçàöèè
çàêîíîäàòåëüíûõ (ïðåäñòàâèòåëüíûõ) è èñïîëíèòåëüíûõ îðãàíîâ ãîñóäàðñòâåííîé
âëàñòè ñóáúåêòîâ ÐÔ
13226.31999-10-182999-01-012Çàêîí
Àëòàéñêîãî êðàÿ
2004-12-0354-ÇÑÎá îáðàçîâàíèè â Àëòàéñêîì
êðàå 1112004-12-162999-01-01
Ïîëó÷åííîå êîíòðîëüíîå ÷èñëî ñòðîêè
ðååñòðà 9714.
4. Êîíòðîëü
XML-äîêóìåíòà
Ïåðåäàâàåìûé äîêóìåíò äîëæåí
ñîîòâåòñòâîâàòü XML-ñõåìå, ïðèâåäåííîé â Ïðèëîæåíèè 1.
Ïðèìåð ïåðåäàâàåìîé èíôîðìàöèè ïðèâåäåí â
Ïðèëîæåíèè 2.
Èíôîðìàöèÿ, ïåðåäàííàÿ â Ìèíèñòåðñòâî
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè â ýëåêòðîííîì âèäå, ïîäâåðãàåòñÿ ôîðìàòíîìó
êîíòðîëþ, ïðîâåðÿþòñÿ êîíòðîëüíûå ÷èñëà.
Ïî ðåçóëüòàòàì êîíòðîëÿ âûäàåòñÿ ïðîòîêîë
äëÿ ïåðåäà÷è èñòî÷íèêó èíôîðìàöèè:
- ñ ïåðå÷íåì îøèáîê (èíôîðìàöèÿ â
èíòåãðèðîâàííóþ áàçó äàííûõ Ìèíèñòåðñòâà ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè íå
çàãðóæàåòñÿ);
- ñ ñîîáùåíèåì î ïðèåìå ïðîøåäøåé
êîíòðîëü è çàãðóæåííîé â èíòåãðèðîâàííóþ áàçó äàííûõ Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè èíôîðìàöèè.
Ïðîòîêîë ïîìåùàåòñÿ â ôàéë ïðîòîêîëà ñ
ðàñøèðåíèåì .ÒÕÒ, îñòàëüíûå ñîñòàâëÿþùèå èìåíè ôàéëà ñîâïàäàþò ñî ñòðóêòóðîé
èìåíè àðõèâíîãî ôàéëà. Ôàéë ïðîòîêîëà îòñûëàåòñÿ èñòî÷íèêó èíôîðìàöèè íà
ýëåêòðîííûé àäðåñ äëÿ ïðèåìà ïðîòîêîëîâ îáðàáîòêè (Email).
5. Ïîðÿäîê
êîððåêòèðîâêè äàííûõ Ðååñòðîâ
Äëÿ êîððåêòèðîâêè äàííûõ îäíîãî èç
Ðååñòðîâ, ïåðåäàííûõ ðàíåå, íåîáõîäèìî ñôîðìèðîâàòü è îòïðàâèòü â ÌÔ ÐÔ íîâûé
ôàéë, ñîäåðæàùèé äàííûå êîððåêòèðóåìîãî Ðååñòðà â ïîëíîì îáúåìå.
Ïðè ýòîì â èìåíè íîâîãî àðõèâíîãî ôàéëà
íîìåð âåðñèè óâåëè÷èâàåòñÿ íà åäèíèöó.
6. Ïîðÿäîê
ïîäãîòîâêè è ïåðåäà÷è Ðååñòðîâ
â ýëåêòðîííîì âèäå
Ðååñòðû ôèíàíñîâûõ îðãàíîâ ñóáúåêòîâ
Ðîññèéñêîé Ôåäåðàöèè, ïîäãîòîâëåííûå â ýëåêòðîííîì âèäå, äîëæíû ïîëíîñòüþ
ñîîòâåòñòâîâàòü ïîäïèñàííûì äîêóìåíòàì, ïðåäîñòàâëÿåìûì â Ìèíèñòåðñòâî ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè íà áóìàæíîì íîñèòåëå.
Ðååñòðû, ïîäãîòîâëåííûå â ýëåêòðîííîì
âèäå, ïåðåäàþòñÿ â Ìèíèñòåðñòâî ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè:
- ïî ýëåêòðîííîé ïî÷òå íà àäðåñ
t_rro@minfin.ru
Ïî âîïðîñàì, ñâÿçàííûì ñ ïîäãîòîâêîé ê
ïåðåäà÷å èíôîðìàöèè ñóáúåêòàìè Ðîññèéñêîé Ôåäåðàöèè, îáðàùàòüñÿ â Îòäåë
ìåòîäîëîãèè ìåæáþäæåòíûõ îòíîøåíèé Äåïàðòàìåíòà ìåæáþäæåòíûõ îòíîøåíèé
Ìèíèñòåðñòâà ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè ïî òåëåôîíó: (495) 987-90-04 -
Äàíèëîâà ßíà Àëåêñàíäðîâíà.
Ïî âîïðîñàì ïîäãîòîâêè è ïåðåäà÷è Ðååñòðîâ
â ýëåêòðîííîì âèäå â Ìèíèñòåðñòâî ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè îáðàùàòüñÿ ïî
òåëåôîíàì: (495) 913-43-79, 913-44-94 Ìóðàøêèíà Èðèíà Âàëåðüåâíà, (495)
229-03-52 Ïàí÷åíêî Îëüãà Þðüåâíà, Âëàñåíêî Òàòüÿíà Þðüåâíà.
Ïî âîïðîñàì ïðèåìà è îáðàáîòêè äàííûõ
Ðååñòðîâ â ýëåêòðîííîì âèäå îáðàùàòüñÿ ïî òåëåôîíàì: (495) 913-43-79, 913-44-94
Ìóðàøêèíà Èðèíà Âàëåðüåâíà.
Ïî âîïðîñàì ñîïðîâîæäåíèÿ
öåíòðàëèçîâàííîãî ïðîãðàììíîãî îáåñïå÷åíèÿ "ÐÅÅÑÒÐ_ÐÎ" îáðàùàòüñÿ ïî
òåëåôîíàì: (495) 229-03-52 Ïàí÷åíêî Îëüãà Þðüåâíà, Âëàñåíêî Òàòüÿíà Þðüåâíà.
Ïîäãîòîâêó Ðååñòðîâ â ýëåêòðîííîì âèäå
ìîæíî îñóùåñòâëÿòü ïðè ïîìîùè:
- ñîáñòâåííîãî ñïåöèàëèçèðîâàííîãî
ïðîãðàììíîãî îáåñïå÷åíèÿ;
- öåíòðàëèçîâàííî ïîñòàâëÿåìîãî
Ìèíèñòåðñòâîì ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè ïðîãðàììíîãî ñðåäñòâà "ÐÅÅÑÒÐ_ÐÎ".
Öåíòðàëèçîâàííî ïîñòàâëÿåìîå ïðîãðàììíîå
ñðåäñòâî "ÐÅÅÑÒÐ_ÐÎ" ðàçìåùåíî íà îôèöèàëüíîì ñàéòå Ìèíèñòåðñòâà
ôèíàíñîâ Ðîññèéñêîé Ôåäåðàöèè (www.minfin.ru):
â ðóáðèêå
Èíôîðìàöèîííûå ñèñòåìû Ìèíèñòåðñòâà ôèíàíñîâ;
ïîäðóáðèêå
Ïðîãðàììíîå îáåñïå÷åíèå äëÿ
òåððèòîðèàëüíûõ ôèíàíñîâûõ
îðãàíîâ;
ðàçäåëå ÐÅÅÑÒÐ_ÐÎ -
ïîäãîòîâêà Ðååñòðîâ, ïðåäîñòàâëÿåìûõ â
Äåïàðòàìåíò ìåæáþäæåòíûõ
îòíîøåíèé Ìèíèñòåðñòâà ôèíàíñîâ
Ðîññèéñêîé Ôåäåðàöèè
è âûãðóçêà èõ â XML-ôàéëû
äëÿ
ïåðåäà÷è ïî ýëåêòðîííîé ïî÷òå.
Ïðîãðàììíîå îáåñïå÷åíèå:
rro_mfrf_setup.exe -
äèñòðèáóòèâíûé ïàêåò äëÿ
óñòàíîâêè ïðîãðàììíîãî
îáåñïå÷åíèÿ;
rro_mfrf_bd.exe -
áàçà äàííûõ, ïðåäíàçíà÷åííàÿ äëÿ
õðàíåíèÿ ââîäèìîé
èíôîðìàöèè, èñïîëüçóåìàÿ â
ïðîãðàììíîì îáåñïå÷åíèè;
rro_mfrf_upd_dd_mm.exe - ïîñëåäíåå
îáíîâëåíèå
ïðîãðàììíîãî îáåñïå÷åíèÿ
(dd - äåíü
îáíîâëåíèÿ,
mm - ìåñÿö îáíîâëåíèÿ),
ñîäåðæàùåå âñå ïðåäûäóùèå
îáíîâëåíèÿ;
rro_mfrf_doc.exe -
äîêóìåíòàöèÿ íà ïðîãðàììíîå
îáåñïå÷åíèå.
Ïðèëîæåíèå 1
XML-ÑÕÅÌÀ
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
│<?xml
version="1.0" encoding="windows-1251"?>
│
│<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ed="urn:mfrf-ru:ed:v2.0" │
│elementFormDefault="qualified"
version=" 1.1.1 "> │
│ <!--
targetNamespace="urn:mfrf-ru:ed:v2.0"--> │
│ <xs:element
name="PacketED">
│
│ <xs:complexType> │
│ <xs:sequence>
│
│ <xs:element
name="From">
│
│ <xs:complexType>
│
│ <xs:attribute
name="Code" use="required"> │
│
<xs:simpleType>
│
│
<xs:restriction base="strType"> │
│
<xs:minLength value="3"/> │
│ </xs:restriction> │
│
</xs:simpleType>
│
│
</xs:attribute> │
│ <xs:attribute
name="Name" use="required"> │
│
<xs:simpleType>
│
│ <xs:restriction
base="strType"> │
│
<xs:minLength value="l"/> │
│
<xs:maxLength value="100"/> │
│ </xs:restriction> │
│
</xs:simpleType>
│
│
</xs:attribute> │
│ <xs:attribute
name="Email" use="required"> │
│
<xs:simpleType>
│
│ <xs:restriction
base="strType"> │
│
<xs:minLength value="1"/> │
│
<xs:maxLength value="50"/> │
│
</xs:restriction> │
│
</xs:simpleType>
│
│
</xs:attribute> │
│
</xs:complexType>
│
│ </xs:element>
│
│ <xs:element name="To">
│
│ <xs:complexType>
│
│ <xs:attribute
name="Code" use="required"> │
│
<xs:simpleType>
│
│
<xs:restriction base="strType"> │
│
<xs:minLength value="3"/> │
│
</xs:restriction> │
│ </xs:simpleType>
│
│
</xs:attribute>
│
│ <xs:attribute
name="Name" use="required"> │
│
<xs:simpleType>
│
│
<xs:restriction base="strType"> │
│ <xs:minLength
value="l"/> │
│
<xs:maxLength value="100"> │
│
</xs:restriction> │
│ </xs:simpleType>
│
│
</xs:attribute>
│
│
</xs:complexType> │
│ </xs:element>
│
│ <xs:element name="Inf
>
│
│ <xs: complexType>
│
│ <xs:attribute
name="Code" use="required"> │
│
<xs:simpleType> │
│
<xs:restriction base="xs:string"> │
│
<xs:whiteSpacevalue="collapse"/> │
│
<xs:minLength value="3"/> │
│
<xs:maxLength value="3"/> │
│
<xs:enumeration value="587"/> │
│ </xs:restriction> │
│
</xs:simpleType>
│
│
</xs:attribute> │
│ <xs:attribute
name="Name" use="required"> │
│
<xs:simpleType>
│
│
<xs:restriction base="strType"> │
│
<xs:minLength value="1"/> │
│
<xs:maxLength value="150"/> │
│
</xs:restriction> │
│
</xs:simpleType>
│
│ </xs:attribute>
│
│
</xs:complexType>
│
│ </xs:element>
│
│ <xs:element
name="DateOperation" type="dateType"
nillable="false"/>
│
│ <xs:element
name="DateBegin" type="dateType"
nillable="false"/>
│
│ <xs:element
name="DateEnd" type="dateType"
nillable="false"/>
│
│ <xs:element
name="Grif" nillable="false"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="xs:string"> │
│ <xs:minLength
value="1"/> │
│ <xs:maxLength
value="1"/> │
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:emumeration
value="1"/> │
│ <xs:enumeration
value="2"/> │
│ <xs:enumeration
value="3"/> │
│
</xs:restriction> │
│ </xs:simpleType>
│
│ </xs:element>
│
│ <xs:element
name="Period" nillable="false"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="xs:string"> │
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:minLength
value="2"/> │
│ <xs:maxLength
value="2"/> │
│ <xs:enumeration
value="05"/> │
│
</xs:restriction>
│
│ <xs:simpleType>
│
│ </xs:element>
│
│ <xs:element
name="TypeInf" nillable="false"> │
│ <xs:simpleType>
│
<xs:restriction
base="xs:string"> │
│ <xs:maxLength
value="1"/> │
│ <xs:minLength
value="1"/> │
│ <xs:whiteSpace value="collapse"/> │
│ <xs:enumeration
value="1"/> │
│ <xs:enumeration
value="2"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:element> │
│ <xs:element
name="ED58701" minOccurs="0"> │
│ <xs:complexType>
│
│ <xs:sequence>
│
│ <xs:element
name="StrR01" type="StrR01Type"
maxOccurs="unbounded"/>│
│ <xs:element
name="Subscription" type="SubscriptionType"/> │
│
<xs:elementname="Control" type="ControlType"
nillable="false"/> │
│
</xs:sequence>
│
│
</xs:complexType>
│
│ </xs:element>
│
│ <xs:element
name="ED58702" minOccurs="0"> │
│ <xs:complexType>
│
│
<xs:sequence>
│
│ <xs:element
name="StrR02" type="StrR02Type"
maxOccurs="unbounded"/>│
│ <xs:element
name="Subscription" type="SubscriptionType"/> │
│
<xs:elementname="Control" type="ControlType"
nillable="false"/> │
│
</xs:sequence>
│
│
</xs:complexType>
│
│ </xs:element>
│
│ <xs:element
name="ED58703" minOccurs="0"> │
│ <xs:complexType> │
│
<xs:sequence>
│
│ <xs:element
name="StrR03" nillable="true"
maxOccurs="unbounded"> │
│ <xs:simpleType>
│
│
<xs:restriction base="xs:string"> │
│
<xs:whiteSpace value="replace"/> │
│ <xs:pattern
value="([ -~À-ÿ])*"/> │
│
</xs:restriction> │
│
</xs:simpleType>
│
│
</xs:element>
│
│ <xs:element
name="Subscription" type="SubscriptionType"/> │
│ <xs:element
name="Control" type="ControlType"
nillable="false"/> │
│
</xs:sequence>
│
│
</xs:compIexType>
│
│ </xs:element>
│
│ <xs:element
name="ControlED" type="ControlType"
nillable="false"/>
│
│ <xs:element
name="DownLoad"> │
│ <xs:complexType>
│
│ <xs:attribute
name="DateDn" use="required"> │
│ <xs:simpleType>
│
│
<xs:restriction base="dateType"/> │
│
</xs:simpleType> │
│
</xs:attribute>
│
│ <xs:attribute
name="TimeDn" use="required"> │
│
<xs:simpleType>
│
│
<xs:restriction base="xs:time"> │
│
<xs:whiteSpace value="collapse"/> │
│
<xs:minInclusive value="00:00:00"/> │
│
<xs:maxInclusive value="23:59:59"/> │
│ <xs:pattern
value="\d{2}:\d{2}:\d{2}"/> │
│
</xs:restriction> │
│
</xs:simpleType> │
│
</xs:attribute>
│
│ <xs:attribute
name="ClearkShip" use="required"> │
│
<xs:simpleType> │
│
<xs:restriction base="strType"> │
│
<xs:minLength value="1"/> │
│ <xs:maxLength
value="50"/> │
│
</xs:restriction> │
│
</xs:simpleType> │
│
</xs:attribute>
│
│ <xs:attribute
name="FullName" use="required"> │
│ <xs:simpleType>
│
│
<xs:restriction base="strType"> │
│
<xs:minLength value="1"/> │
│
<xs:maxLength value="70"/> │
│
</xs:restriction> │
│
</xs:simpleType> │
│
</xs:attribute>
│
│ <xs:attribute
name="Phone" use="required"> │
│ <xs:simpleType>
│
│
<xs:restriction base="strType"> │
│
<xs:minLength value="1"/> │
│
<xs:maxLength value="20"/> │
│
</xs:restriction> │
│
</xs:simpleType>
│
│
</xs:attribute>
│
│ </xs:complexType>
│
│ </xs:element>
│
│ </xs:sequence>
│
│ <xs:attribute
name="FormatVersionNo" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType"> │
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="10">
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute
name="SoftwareProduct" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType"> │
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="50"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute
name="SoftwareProductVersion" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType"> │
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="10"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ </xs:complexType>
│
│ </xs:element> │
│ <xs:complexType
name="StrR01Type">
│
│ <xs:sequence>
│
│ <xs:element name="Bill"
type="BillType" minOccurs="0"
maxOccurs="unbounded"/>
│
│ </xs:sequence>
│
│ <xs:attribute name="Gr0"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute name="Gr1"
type="strType" use="required"/> │
│ <xs:attribute name="Gr2"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="xs:string"> │
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:maxLength
value="9"/>
│
│ <xs:patten
value="([-0-9À-ß])*"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="Gr3"
use="required">
│
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="255">
│
│ </xs:restriction> │
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute name="Gr10"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr11"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr12"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr13"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr14"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr15"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr16"
type="strType" use="required"/> │
│ </xs:complexType>
│
│ <xs:complexType
name="StrR02Type">
│
│ <xs:sequence>
│
│ <xs:element name="Bill"
type="BillType" minOccurs="0" maxOccurs="unbounded"/> │
│ </xs:sequence>
│
│ <xs:attribute name="Gr0"
use="required">
│
│ <xs:simpleType> │
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="Gr1"
type="strType" use="required"/> │
│ <xs:attribute name="Gr2"
use="required">
│
│ <xs:simpleType>
│
│ <xs:restriction
base="xs:string"> │
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:maxLength
value="9"/>
│
│ <xs:pattern
value="([-0-9À-ß])*"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="Gr3"
use="required">
│
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="255"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute name="Gr13"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr14"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr15"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr16"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr17"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr18"
type="sumType" use="required"/> │
│ <xs:attribute name="Gr19"
type="strType" use="required"/> │
│ </xs:complexType>
│
│ <xs:complexType name="BillType">
│
│ <xs:attribute name="BRank"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="xs:string">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="1"/> │
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:enumeration
value="1"/>
│
│ <xs:enumeration
value="2"/>
│
│ <xs:enumeration
value="3"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="BClass"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="255"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="BDate"
type="dateType" use="required"/> │
│ <xs:attribute name="BNumb"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="255"/>
│
│ </xs:restriction>
│
│ </xs:simpleType> │
│ </xs:attribute>
│
│ <xs:attribute name="BName"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute name="BRubric"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="BSubpar"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/>
│
│ </xs:restriction> │
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute name="BParagr"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/>
│
│ <xs:restriction>
│
│ </xs:simpleType> │
│ </xs:attribute>
│
│ <xs:attribute name="BPart"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/> │
│ </xs:restriction>
│
│ <xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute
name="BParticle" use="required"> │
│ <xs:simpleType> │
│ <xs:restriction
base="strType">
│
│ <xs:maxLength
value="50"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute
name="BDateBeg" type="dateType"
use="required"/> │
│ <xs:attribute
name="BDateEnd" type="dateType"
use="required"/> │
│ </xs:complexType> │
│ <xs:complexType
name="SubscriptionType">
│
│ <xs:attribute
name="SignerPost" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/> │
│ <xs:maxLength
value="50"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute
name="SignerFN" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="70"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute>
│
│ <xs:attribute
name="ClerkShip" use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="50"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="ClerkFN"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="70"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="Phone"
use="required"> │
│ <xs:simpleType>
│
│ <xs:restriction
base="strType">
│
│ <xs:minLength
value="1"/>
│
│ <xs:maxLength
value="20"/>
│
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ </xs:attribute> │
│ <xs:attribute name="DateSPP"
type="dateType" use="required"/> │
│ </xs:complexType>
│
│ <xs:simpleType
name="ControlType">
│
│ <xs:restriction
base="xs:long">
│
│
<xs:whiteSpacevalue="collapse"/> │
│ </xs:restriction>
│
│ </xs:simpleType>
│
│ <xs:simpleType
name="dateType">
│
│ <xs:restriction
base="xs:date">
│
│ <xs:whiteSpace
value="collapse"/>
│
│ <xs:maxInclusive
value="2999-01-01"/>
│
│ <xs:minInclusive
value="1967-12-31"/>
│
│ <xs:pattern
value="\d{4}-\d{2}-\d{2}"> │
│ </xs:restriction>
│
│ </xs:simpleType> │
│ <xs:simpleType
name="sumType">
│
│ <xs:restriction
base="xs:decimal"> │
│ <xs:fractionDigits
value="1"/>
│
│ <xs:totalDigits
value="28"/>
│
│ <xs:whiteSpace
value="collapse"/> │
│ </xs:restriction>
│
│ <xs:simpleType>
│
│ <xs:simpleType
name="strType">
│
│ <xs:restriction
base="xs:string">
│
│ <xs:whiteSpace
value="collapse"/> │
│ <xs:pattern
value="([-~À-ÿ])*"/>
│
│ </xs:restriction>
│
│ </xs:simpleType> │
│</xs:schema>
│
└───────────────────────────────────────────────────────────────────────────────────────────────┘
Ïðèëîæåíèå 2
ÏÐÈÌÅÐ ÏÅÐÅÄÀÂÀÅÌÎÉ ÈÍÔÎÐÌÀÖÈÈ
Ïåðåäàâàåìûé ñóáúåêòîì ÐÔ Ìèíôèíó Ðîññèè
8 èþíÿ 2007 ãîäà (ïåðâîå ïðåäñòàâëåíèå èíôîðìàöèè) óïàêîâàííûé ôàéë ñ îòêðûòîé
èíôîðìàöèåé ïî ôîðìå ðååñòðà ðàñõîäíûõ îáÿçàòåëüñòâ ñóáúåêòà Ðîññèéñêîé
Ôåäåðàöèè, ñâîäà ðååñòðîâ ðàñõîäíûõ îáÿçàòåëüñòâ ìóíèöèïàëüíûõ îáðàçîâàíèé,
âõîäÿùèõ â ñîñòàâ ñóáúåêòà Ðîññèéñêîé Ôåäåðàöèè, è ñîïðîâîäèòåëüíîãî ïèñüìà ê
íèì íà ðåãëàìåíòíóþ äàòó 1 èþëÿ 2007 ãîäà, (öèôðîâîé êîä ôîðìû FRM = 587),
èìååò èìÿ R1709210706080587.ZIP.
Äàííûé ôàéë ñîäåðæèò XML-äîêóìåíò ñ
èìåíåì 1710706080587.xml ñëåäóþùåãî ñîäåðæàíèÿ:
┌───────────────────────────────────────────────────────────────────────────────────┐
│<?xml version="1.0"
encoding="Windows-1251"?> │
│<PacketED
xmlns="urn:mfrf-ru:ed:v2.0" FormatVersionNo="2008.04" │
│SoftwareProduct="Ðååñòðû ðàñõ. îáÿçàòåëüñòâ
ñóáúåêòîâ ÎÎÎ ÍÂÀ-Öåíòð"
│
│SoftwareProductVersion="1.0.0">
│
│
<From Code="R17" Name="Àëòàéñêèé êðàé"
Email="dap@subekt.ru"/> │
│ <To
Code="092" Name="Ìèíèñòåðñòâî ôèíàíñîâ Ðîññèéñêîé
Ôåäåðàöèè"/> │
│
<Inf Code="587" Name="Ðååñòð ðàñõ. îáÿçàòåëüñòâ
ñóáúåêòà ÐÔ, ñâîä ðååñòðîâ │
│ðàñõ. îáÿçàòåëüñòâ ìóíèöèïàëüíûõ îáðàçîâàíèé,
ñîïðîâîäèòåëüíîå ïèñüìî"/>
│
│ <DateOperation>2007-07-01</DateOperation> │
│
<DateBegin>2008-01-01</DateBegin> │
│
<DateEnd>2008-12-31</DateEnd>
│
│ <Grif>1</Grif>
│
│
<Period>05</Period>
│
│
<TypeInf>1</TypeInf>
│
│
<ED58701>
│
│
<StrR01
│
│
Gr0="1." Gr1="" Gr2="PC-A"
Gr3="" │
│Gr10="104595.1"
Gr11="104595.1" Gr12="115308.0" Gr13="142472.0"
Gr14="0.0" │
│Gr15="0.0" Gr16="">
│
│
</StrR01> │
│
<StrR01
│
│
Gr0="1.17." Gr1="" Gr2="PC-A-1700"
Gr3="1102,1103"
│
│Gr10="10459.1" Gr11="10459.1"
Gr12="11530.0" Gr13=" 14247.0" Gr14="0.0" │
│Gr15="0.0" Gr16="">
│
│
<Bill BRank="1" BClass="Ôåäåðàëüíûé çàêîí" │
│BDate="1999-10-06" BNumb="184-ÔÇ"
│
│BName="Îá îáùèõ ïðèíöèïàõ îðãàíèçàöèè
çàêîíîäàòåëüíûõ (ïðåäñòàâèòåëüíûõ) è
│
│èñïîëíèòåëüíûõ îðãàíîâ ãîñóäàðñòâåííîé âëàñòè
ñóáúåêòîâ ÐÔ"
│
│BRubric="" BSubpar="13"
BParagr="2" BPart="" BParticle="26.3" │
│BDateBeg="1999-10-18"
BDateEnd="2999-01-01"/> │
│
<Bill BRank="2" BClass="Çàêîí Àëòàéñêîãî
êðàÿ" │
│BDate="2004-12-03" BNumb="54-3C"
│
│BName="Îá îáðàçîâàíèè â Àëòàéñêîì
êðàå" │
│BRubric="" BSubpar=""
BParagr="1" BPart=""BParticle="11" │
│BDateBeg="2004-12-16"
BDateEnd="2999-01-01"/> │
│
<Bill BRank="2" BClass="Çàêîí Àëòàéñêîãî
êðàÿ" │
│BDate="2004-12-03"
BNumb="54-3C"
│
│BName="Îá îáðàçîâàíèè â Àëòàéñêîì
êðàå" │
│BRubric=""BSubpar=""
BParagr="3" BPart="" BParticle="11" │
│BDateBeg="2004-12-16"
BDateEnd="2999-01-01"/> │
│
<Bill BRank="2"
BClass="Çàêîí Àëòàéñêîãî êðàÿ" │
│BDate="2004-12-03"BNumb="54-3C"
│
│BName="Îá îáðàçîâàíèè â Àëòàéñêîì
êðàå" │
│BRubric="" BSubpar=""
BParagr="4" BPart="" BParticle="11" │
│BDateBeg="2004-12-16"
BDateEnd="2999-01-01"/> │
│
</StrR01>
│
│
<Subscription SignerPost="Ðóêîâîäèòåëü äåïàðòàìåíòà"
SignerFN="Èâàíîâ Èâàí │
│
Èâàíîâè÷"
│
│
ClerkShip="Âåäóùèé èíæåíåð" ClerkFN="Ïåòðîâ Ïåòð
Ïåòðîâè÷" │
│
Phone="229-03-47" DateSPP="2007-06-01"/> │
│
<Control>47</Control>
│
│
</ED58701>
│
│
<ED58702>
│
│
<StrR02
│
│
Gr0="1." Gr1="" Gr2="ÐÏ"
Gr3="" │
│Gr13="14595.1"
Gr14="14595.1" Gr15="15308.0" Gr16="12472.0"
Gr17="0.0" │
│Gr18="0.0"
Gr19="">
│
│ </StrR02>
│
│ <StrR02
│
│ Gr0="1.1."
Gr1="" Gr2="ÐÏ-À" Gr3="" │
│Gr13="4595.1"
Gr14="4595.1" Gr15="5308.0" Gr16="2472.0"
Gr17="0.0" │
│Gr18="0.0"
Gr19="">
│
│ </StrR02>
│
│ <StrR02
│
│ Gr0="1.1.1."
Gr1="" Gr2="ÐÏ-À-0100" Gr3="0102,0103,0104" │
│Gr13="9.1"
Gr14="9.1" Gr15="9.1" Gr16="9.1"
Gr17="0.0" Gr18="0.0" Gr19=""> │
│
<Bill BRank="1" BClass="Ôåäåðàëüíûé Çàêîí" │
│BDate="2003-03-06"BNumb="131-ÔÇ"
│
│BName="Îá îáùèõ ïðèíöèïàõ îðãàíèçàöèè
ìåñòíîãî ñàìîóïðàâëåíèÿ â Ðîññèéñêîé
│
│Ôåäåðàöèè"
│
│BRubric="" BSubpar=""
BParagr="" BPart="" BParticle="34" │
│BDateBeg="2003-10-06"
BDateEnd="2999-01-01"/> │
│
<Bill BRank="1" BClass="Ôåäåðàëüíûé Çàêîí" │
│BDate="2003-03-06"
BNumb="131-ÔÇ"
│
│BName="Îá îáùèõ ïðèíöèïàõ îðãàíèçàöèè
ìåñòíîãî ñàìîóïðàâëåíèÿ â Ðîññèéñêîé
│
│Ôåäåðàöèè"
│
│BRubric="" BSubpar=""
BParagr="" BPart="" BParticle="35" │
│BDateBeg="2003-10-06"BDateEnd="2999-01-01"> │
│
<Bill BRank="1" BClass="Ôåäåðàëüíûé Çàêîí" │
│BDate="2003-03-06"
BNumb="131-ÔÇ"
│
│BName="Îá îáùèõ ïðèíöèïàõ îðãàíèçàöèè
ìåñòíîãî ñàìîóïðàâëåíèÿ â Ðîññèéñêîé
│
│Ôåäåðàöèè"
│
│BRubric="" BSubpar=""
BParagr="" BPart="" BParticle="36" │
│BDateBeg="2003-10-06"
BDateEnd="2999-01-01"> │
│
<StrR02>
│
│
<Subscription SignerPost="Íà÷àëüíèê îòäåëà"
SignerFN="Ñèäîðîâ Èâàí Èâàíîâè÷"│
│
ClerkShip="Âåäóùèé èíæåíåð" ClerkFN="Ïåòðîâ Ïåòð
Ïåòðîâè÷" │
│ Phone="229-03-47"
DateSPP="2007-06-02"/> │
│ <Control>3647</Control>
│
│ </ED58702>
│
│
<ED58703>
│
│
<StrR03> Ñîïðîâîäèòåëüíîå ïèñüìî </StrR03> │
│
<StrR03/>
│
│
<StrR03> Îòñóòñòâèå èíôîðìàöèè ïî ðàçäåëó.... </StrR03> │
│
<Subscription SignerPosr="Ðóêîâîäèòåëü äåïàðòàìåíòà"
SignerFN="Æóêîâ Èâàí │
│
Èâàíîâè÷"
│
│
ClerkShip="Âåäóùèé èíæåíåð" ClerkFN="Ïåòðîâ Ïåòð
Ïåòðîâè÷" │
│ Phone="229-03-47"
DateSPP="2007-05-30"> │
│
<Control>47483647</Control> │
│ </ED58703>
│
│
<ControlED>2147483647<ControlED> │
│ <DownLoad DateDn="2007-06-08"
TimeDn="13:23:15" ClearkShip="Âåäóùèé èíæåíåð" │
│
FullName="Èâàíîâ Èâàí Èâàíîâè÷"
Phone="911-11-11"/> │
│</PacketED>
│
└───────────────────────────────────────────────────────────────────────────────────┘