| PismoChinovnika.Ru | |
 


 

 

17 2010 . N 06-04-11/02-195

 

13 2009 . N 88 " , , - " ( - ), .

: www.minfin.ru " ", "- ", "", 22.

: T_058@minfin.ru , 15 , .

.

 

..

 

 

 

 

 

..

7 2010

 

,

,

-

 

XML-,

 

- 32_423_1004_01_O.txt

 

32_423_1004_01.XML 423

( 32_423_1004_01.ZIP)

 

: 05.04.10 16:21:47

32_423_1004_01.XML

: 32.

: 01.04.10

 

32_423_1004_01.XML :

1.

= 16371

= 43140

 

32_423_1004_01.XML

32_423_1004_01.ZIP

 

 

1.

 

13 2009 . N 88 " , , - " ( - ) ( - ), - ( - ):

- " , , - " - - 0503407 ( - 423);

- " , , - " ( ( - ) 520 0600 " - ") - - 0503406 ( - 424);

- " , , - " ( 520 0300 " ") - - 0503406 ( - 425).

.

, , - ( - ), .

XML- "xml".

, XML-, Zip.

XML- :

- ;

- .

(www.minfin.ru):

_

rep_ZATO_setup.exe -

.

rep_ZATO_upd_dd_mm.exe -

(dd - , mm - ),

.

rep_ZATO_doc.exe - .

 

2.

 

2.1.

 

, XML-, :

 

KOI_FRM_PERIOD_NN.zip - ,

 

:

KOI - - , 2 ;

FRM - , , "423", "424", "425", 3 ;

PERIOD - , , , "1001" - 1 2010 , "1004" - 1 2010 .., 4 ;

NN - , "01" "99", 2 ;

_ - " ";

zip - .

 

:

, XML- 423 1 2010 , :

 

32_423_1004_01.zip

 

2.2. XML-

 

XML- :

 

KOI_FRM_PERIOD_NN.xml - XML-,

 

:

KOI - - , 2 ;

FRM - , , "423", "424", "425", 3 ;

PERIOD - , , , "1001" - 1 2010 , "1004" - 1 2010 .., 4 ;

NN - , "01" "99", 2 ;

_ - " ";

xml - XML-.

 

:

XML- 423 1 2010 , :

 

32_423_1004_01.xml

 

3. XML-

 

3.1. XML-

 

XML- , , .

XML-, . / .

, .

:

- (name);

- (type);

- (length), (max length);

..

XML- XML-. XML- XML- 1 - 6 .

XML- <XML>. XML- , - "encoding", , encoding="windows-1251" - .

XML- , . . XML- 3 " XML-, 423" 5 " XML-, 424 (425)".

 

3.2. XML-

 

XML- , 1.

 

1

 

 


"" - .., :
- ;
- ;
-

.
-
[32 - 126] ( cp866),
[ - ] [ - ], /.

(length value=" " - maxlength value=" "
- )

,

"." ()

,

,
(, PackedED -
XML-, Ed01 -
, Str01 - )

 

3.2.1. XML-

423

 

2 XML-, 423, , (. N 1 ):

 

2

 


XML-

423

-



N 1

Ed01

KodStr

2

KodDoh

3


() ( - )

KodRash

3


() ( - )

SumKotch

4



SumKNach

5



SumBSotch

6


SumBSNach

7


SumMOOtch

8


,
,

SumMONach

9


,
,

Ed02

KodStr

2

KodDoh

3

KodRash

3

KodOkato

10 - 11,
12 - 13,
14 - 15,
...

,
,

-
(
- )

SumOtch

10, 12, 14...

-
, ,

SumNach

11, 13, 15...

-
, ,

Ed03

NameFo



Okpo




( - )

NameBud


Okato


Cs


Ed04

Ruk

,

FioRuk

,

(
)

Buh

,

FioBuh

,

(
)

Isp

,

FioIsp

,

(
)

Tel

,

()

Ed05

KodOkatoZato

-
-

NameZato

 

3 XML-, 423.

XML-.

, .. , .

 

3

 

XML-, 423

 


-


-


(SoftwareProductVersion)

10

 

#
(From)#

 

 

 


(Name)

250

 


(CodeReg)

2

 

#
(To)#

 

 

 


(Name)

15


" "


(Code)

3

"092"

#
(Inf)#

 

 

 


(Name)

250

 


(Code)

3


"423"

(DateRegl)

8

 

(EI)

6


".00"

(Period)

11


""

# 1
(Ed01)#

-

4

"Ed01"

#
(Str01)#

-

5


"Str01",
,
1

(KodStr)

3

:
010, 020, 030

(KodDoh)

20


"0"

(KodRash)

20


"0"



(SumKotch)

15

 



(SumKNach)

15

 



(SumBSotch)

15

 



(SumBSNach)

15

 


,
,
(SumMOOtch)

15

 


,
,
(SumMONach)

15

 

# 2
(Ed02)#

-

4

"Ed02"

#
(Str02)#

-

5


"Str02",
,
2

(KodStr)

3


: 010, 020, 030

(KodDoh)

20


"0"

(KodRash)

20


"0"


,
, (KodOkato)

8

 

-
, ,
(SumOtch)

15

 


,
, (SumNach)

15

 

# 3
(Ed03)#

-

4

"Ed03"

#
(Str03)#

-

5


"Str03"

(KodStr)

2

"01"



(NameFo)

250

 

(Okpo)

8

 


(NameBud)

250

 

(Okato)

8

 

(Cs)

7

 

# 4
(Ed04)#

-

4

"Ed04"

#
(Str04_1)#

-

7


"Str04_1"

(KodStr)

2

"01"


(Ruk)

250

 

...
(FioRuk)

250

 


(Buh)

250

 

...
(FioBuh)

250

 


(Isp)

250

 

...
(FioIsp)

250

 


(Tel)

15

 

(Prim)

250



#
(Str04_2)#

-

7


"Str04_2"

(KodStr)

2

"02"

-
(KsOtch)

10

-
. 4

# 5
(Ed05)#

-

4


"Ed05".


(),

2
(ED02) XML-

#
(StrOkatoZato)#

-

12


"StrOkatoZato"

(KodOkatoZato)

8

 

11 (NameZato)

250

 

 

XML-, 423, XML-, 1 "XML- 423" .

XML-, 423, 4 " XML-, 423" .

 

3.2.2. XML-

424 (425)

 

4 XML-, 424 (425), , (. N 3 ):

 

4

 


XML-

424 (425)

-


( -

N 3)

Ed01

KodStr

2 (1)

SumK

3 (1)


SumBS

4 (1)


SumMO

5 (1)

,
,

Ed02

KodStr

2 (1)

KodOkato

6, 7, 8,... (1)

,
( )

Sum

6, 7, 8,... (1)

,
,

( )

Ed03

KodStr

2 (2)

KodDoh

3 (2)

KodRash

3 (2)

SumKotch

4 (2)



SumKNach

5 (2)



SumBSotch

6 (2)


SumBSNach

7 (2)


SumMOOtch

8 (2)


, ,

SumMONach

9 (2)


, ,

Ed04

KodStr

2 (3)

KodDoh

3 (3)

KodRash

3 (3)

KodOkato

10 - 11 (3),
12 - 13 (3),
14 - 15 (3),
... (3)

,
,

SumOtch

10, 12, 14... (3)


Ed05

NameFo



Okpo


NameBud


Okato


Cs


Ed06

Ruk

,

FioRuk

,

( )

Buh

,

FioBuh

,

(
)

Isp

,

FioIsp

,

( )

Tel

,

()

Ed07

KodOkato-
Zato

-
-

NameZato

 

5 XML-, 424 (425).

XML-.

, .. , .

 

5

 

XML-,

424 (425)

 


-


-


(SoftwareProductVersion)

10

 

#
(From)#

 

 

 


(Name)

250

 


(CodeReg)

2

 

#
(To)#

 

 

 


(Name)

15


" "


(Code)

3

"092"

#
(Inf)#

 

 

 


(Name)

250

 


(Code)

3

"424"
"425"

(DateRegl)

8

 

(EI)

6


".00"

(Period)

11


""

# 1
(Ed01)#

-

4

"Ed01"

#
(Str01)#

-

5


"Str01",
,
1

(KodStr)

3

:
010, 011, 012, 020, 021,
022, 030, 031, 032

(KodDoh)

20


"0"

(KodRash)

20


"0"



(SumKotch)

15

 


(SumBS)

15

 


,
, (SumMO)

15

 

# 2
(Ed02)#

-

4


"Ed02"

#
(Str02)#

-

5


"Str02",
,
2

(KodStr)

3

:
010, 011, 012, 020, 021,
022, 030, 031, 032

-
, , -
(KodOkato)

8

 


,
(Sum)

15

 

# 3
(Ed03)#

-

4

"Ed03"

#
(Str03)#

-

5


"Str03",
,
3

(KodStr)

3

:
010, 020, 030, 040, 050,
060, 070, 080, 090

(KodDoh)

20


"0"

(KodRash)

20


"0"



(SumKotch)

15

 



(SumKNach)

15

 



(SumBSotch)

15

 



(SumBSNach)

15

 


,
,
(SumMOOtch)

15

 


,
,
(SumMONach)

15

 

# 4
(Ed04)#

-

4

"Ed04"

#
(Str04)#

-

5


"Str04",
,
2

(KodStr)

3

:
010, 020, 030, 040, 050,
060, 070, 080, 090

(KodDoh)

20


"0"

(KodRash)

20


"0"

-
, , -
(KodOkato)

8

 

-
, ,
(SumOtch)

15

 


,
, (SumNach)

15

 

# 5
(Ed05)#

-

4

"Ed05"

#
(Str05)#

-

5


"Str05"

(KodStr)

2

"01"



(NameFo)

250

 

(Okpo)

8

 


(NameBud)

250

 

(Okato)

8

 

(Cs)

7

 

# 6
(Ed06)#

-

4

"Ed06"

#
(Str06_1)#

-

7


"Str06_1"

(KodStr)

2

"01"


(Ruk)

250

 

...
(FioRuk)

250

 


(Buh)

250

 

...
(FioBuh)

250

 


(Isp)

250

 

...
(FioIsp)

250

 


(Tel)

15

 

(Prim)

250



#
(Str06_2)#

-

7


"Str06_2"

(KodStr)

2

"02"

-
(KsOtch)

10

-
. 4

# 7
(Ed07)#

-

4


"Ed07".


,
-
2 4
(ED02 ED04) XML-

#
(StrOkatoZato)#

-

12


"StrOkatoZato"

(KodOkatoZato)

8

 

(NameZato)

250

 

 

XML-, 424, XML-, 2 "XML- 424" .

XML-, 424, 5 " XML-, 424" .

XML-, 425, XML-, 3 "XML- 425" .

XML-, 425, 6 " XML-, 425" .

 

4.

 

4.1.

 

CRC 16:

 

int CRCTAB_16[]={

0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50A5, 0x60C6, 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,

0xC9CC, 0xD9ED, 0xE98E, 0xF9AF, 0x8948, 0x9969, 0xA90A, 0xB92B,

0x5AF5, 0x4AD4, 0x7AB7, 0x6A96, 0x1A71, 0x0A50, 0x3A33, 0x2A12,

0xDBFD, 0xCBDC, 0xFBBF, 0xEB9E, 0x9B79, 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,

0x34E2, 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, 0xA9AB,

0x5844, 0x4865, 0x7806, 0x6827, 0x18C0, 0x08E1, 0x3882, 0x28A3,

0xCB7D, 0xDB5C, 0xEB3F, 0xFB1E, 0x8BF9, 0x9BD8, 0xABBB, 0xBB9A,

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,

0x6E17, 0x7E36, 0x4E55, 0x5E74, 0x2E93, 0x3EB2, 0x0ED1, 0x1EF0

};

 

4.2.

 

Microsoft Visual C (C++)

 

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;

}

 

Microsoft Visual Basic 6.0 (SP5)

CRCTAB_16

 

For i = 0 To UBound(CRCTAB_16)

CRCTAB_16(i) = CRCTAB_16(i) And &HFFFF&

Next i

Private Function calcCRC16(ByVal iPrevSumm As Long, ByRef btArr()

As Byte, ByVal 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 - .

 

4.3.

XML-,

 

4.3.1.

XML-, 423

 

XML-, 423:

 

┌───┬──────────────────────────────┬───────────┬──────────────────────────┐

│ N │ ││

│/│ │ │

│ XML- │

│ │

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│1 │DateRegl

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│2 │KodStr │ │

├───┼──────────────────────────────┼───────────┤ , │

│3 │KodDoh │ 1 (Ed01) │

│ . 423.

│ , │

├───┼──────────────────────────────┼───────────┤ - │

│4 │KodRash │, │

│XML-

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│5 │ -│SumKOtch

│ -

├───┼──────────────────────────────┼───────────┤

│6 │SumKNach

│ -

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│7 │ - │SumBSOtch

├───┼──────────────────────────────┼───────────┤

│8 │ - │SumBSNach

├───┼──────────────────────────────┼───────────┤

│9 │SumMOOtch

│, -

├───┼──────────────────────────────┼───────────┤

│10 │ - │SumMONach

│, -

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│11 │ │KodStr │ │

├───┼──────────────────────────────┼───────────┤

│12 │ │KodDoh │ , │

├───┼──────────────────────────────┼───────────┤ 2 (Ed02) │

│13 │ │KodRash │ . 423.

├───┼──────────────────────────────┼───────────┤ , │

│14 │ │KodOkato │ - │

├───┼──────────────────────────────┼───────────┤, │

│15 │ │SumOtch

│ │ │XML-

├───┼──────────────────────────────┼───────────┤

│16 │ │SumNach

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│19 │ │KodStr │ │

├───┼──────────────────────────────┼───────────┤

│20 │ │NameFo │ 3 (Ed03) │

│. 423

├───┼──────────────────────────────┼───────────┤

│21 │ │Okpo

├───┼──────────────────────────────┼───────────┤

│22 │ │NameBud

├───┼──────────────────────────────┼───────────┤

│23 │ │Okato

├───┼──────────────────────────────┼───────────┤

│24 │ │CS

├───┼──────────────────────────────┼───────────┼──────────────────────────┤

│25 │ │KodStr │ │

├───┼──────────────────────────────┼───────────┤

│26 │ │Ruk │ (Str04_1)

│ 4 (Ed04) │

├───┼──────────────────────────────┼───────────┤. 423

│27 │... │FioRuk

├───┼──────────────────────────────┼───────────┤

│28 │ │Buh

├───┼──────────────────────────────┼───────────┤

│29 │... │FioBuh

├───┼──────────────────────────────┼───────────┤

│30 │ │Isp

├───┼──────────────────────────────┼───────────┤

│31 │... │FioIsp

├───┼──────────────────────────────┼───────────┤

│32 │ │Tel

├───┼──────────────────────────────┼───────────┤

│33 │ │Prim

└───┴──────────────────────────────┴───────────┴──────────────────────────┘

 

XML-, 423, .

, "4.1. " .

 

423

423

 

XML-, 4 " XML-, 423" .

 

, XML- :

 

01.01.100100002020100702000015100.000.000.00149763000.000.00149763000.000200002020100

7020000151047925000.00134788000.0047925000.00134788000.000.000.000300000000051701000

000000.000.000.000.0047925000.00134788000.00010000202010070200001510465050000.0012118

5000.00010000202010070200001510465600000.00153950000.000100002020100702000015104656

20000.0013183000.000300000000051701000000004650500038779000.00109067000.00030000000

0051701000000004656000049270000.0013856000.000300000000051701000000004656200042190

00.00118650000.0001

4600000001

.. .. ..495 1234567

 

: 41627

 

: 19299

 

4.3.2.

424 (425)

 

XML-, 424 (425):

 

N
/



XML-

1

DateRegl

 

2

KodStr



,
1 (Ed01)
. 424 (425).
,
-
,

XML-

3


SumK

4

SumBS

5


,

SumMO

6

KodStr



,
2 (Ed02)
. 424 (425).
,
-
,

XML-

7

KodOkato

8


Sum

9

KodStr



,
3 (Ed03)
. 424 (425).
,
-
,

XML-

10

KodDoh

11

KodRash

12


-

SumKOtch

13


-

SumKNach

14

-

SumBSOtch

15

-

SumBSNach

16


, -

SumMOOtch

17

-
, -

SumMONach

18

KodStr



,
4 (Ed04)
. 424 (425).
,
-
,

XML-

19

KodDoh

20

KodRash

21

KodOkato

22


SumOtch

23


SumNach

24

KodStr



5 (Ed05)
. 424 (425)

25



NameFo

26

Okpo

27

NameBud

28

Okato

29

CS

30

KodStr



(Str06_1)
6 (Ed06)
. 424 (425)

31


Ruk

32

...

FioRuk

33


Buh

34

...

FioBuh

35


Isp

36

...

FioIsp

37

Tel

38

Prim

 

XML-, 424 (425), .

, "4.1. " .

 

424

424

 

XML-, 5 " XML-, 424" .

 

, XML- :

 

01.01.0101035148356.020.0035148356.0202049924356.020.0049924356.0203057885851.020.0057

885851.020104650500023283000.00010465600009185000.00010465620002680356.020204650500

032202000.00020465600008447000.00020465620009275356.020304650500032202000.000304656

000016408495.00030465620009275356.020100002020401002000015100.000.000.0024623000.000.

0024623000.000200002020401002000015109847000.0024623000.009847000.0024623000.000.000.

00050000.000.000.000.009847000.0024623000.000800000000052006000000001885505.001885505

.000.000.001885505.001885505.0001000465050000.008919000.000100046560000.009109000.0001

000465620000.006595000.0005000465050003567000.008919000.0005000465600003643000.00910

9000.0005000465620002637000.006595000.00080000000005200600000000465050000.000.000800

00000005200600000000465600001885505.001885505.00080000000005200600000000465620000.0

00.0001

520060001 ..

.. ..831 5170100

 

: 36472

 

: 29219

 

5.

XML-,

 

XML-, , :

a) ;

b) ;

c) XML-.

a) XML- , ( ). , , 7 " , " .

b) , XML-, . :

- ;

- , . 2.1 ;

- XML- , . 2.2 .

8 " " .

c) XML- , . XML-, , 9 " , " .

, , XML-, , XML- . , , 1.

 

6.

 

, , , .

, , : T_058@minfin.ru.

: (495) 913-44-34 - .

: (495) 229-03-52 - , (495) 229-03-46 - .

: (495) 648-05-69 - .

- , .: (495) 913-45-39.

: (495) 913-46-15, 913-44-94 - .

: (495) 229-03-52 - , (495) 229-03-46 - .

 

 

 

 

 

1

 

XML- 423

 

┌─────────────────────────────────────────────────────────────────────────┐

│<?xml version="1.0" encoding="Windows-1251"?>

│<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="From">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="CodeReg" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="2"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="To">

<xs:complexType>

<xs:attribute name="Name" type="xs:string" use="required"

│fixed=" "/>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="092"/>

</xs:complexType>

</xs:element>

<xs:element name="Inf">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="423"/>

</xs:complexType>

</xs:element>

<xs:element name="DateRegl">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="8"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="EI" type="xs:string" fixed=".00"/>

<xs:element name="Period" type="xs:string" fixed=""/>

<xs:element name="Str01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="010|020|030"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKotch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMOOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMONach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="010|020|030"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value= "0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodOkato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str03">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameFo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okpo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameBud" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Cs" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="7"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str04_01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Ruk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioRuk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Buh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioBuh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Isp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioIsp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Tel" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Prim" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str04_02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="02"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KsOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="StrOkatoZato">

<xs:complexType>

<xs:attribute name="KodOkatoZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="ED01">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str01" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED02">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str02" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED03">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str03"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED04">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str04_01"/>

<xs:element ref="Str04_02"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED05">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="StrOkatoZato" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="PacketED">

<xs:complexType>

<xs:sequence>

<xs:element ref="From"/>

<xs:element ref="To"/>

<xs:element ref="Inf"/>

<xs:element ref="DateRegl"/>

<xs:element ref="EI"/>

<xs:element ref="Period"/>

<xs:element ref="ED01"/>

<xs:element ref="ED02"/>

<xs:element ref="ED03"/>

<xs:element ref="ED04"/>

<xs:element ref="ED05"/>

</xs:sequence>

<xs:attribute name="SoftwareProductVersion" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

│</xs:schema>

└─────────────────────────────────────────────────────────────────────────┘

 

 

 

 

 

2

 

XML- 424

 

┌─────────────────────────────────────────────────────────────────────────┐

│<?xml version="1.0" encoding="Windows-1251"?>

│<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="From">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="CodeReg" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="2"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="To">

<xs:complexType>

<xs:attribute name="Name" type="xs:string" use="required"

│fixed=" "/>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="092"/>

</xs:complexType>

</xs:element>

<xs:element name="Inf">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="424"/>

</xs:complexType>

</xs:element>

<xs:element name="DateRegl">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="8"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="EI" type="xs:string" fixed=".00"/>

<xs:element name="Period" type="xs:string" fixed=""/>

<xs:element name="Str01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|011|012|020|021|022|030|031|032"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumK" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBS" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMO" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|011|012|020|021|022|030|031|032"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodOkato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Sum" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str03">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|020|030|040|050|060|070|080|090"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKotch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMOOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMONach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str04">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|020|030|040|050|060|070|080|090"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodOkato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str05">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameFo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okpo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameBud" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Cs" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="7"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str06_01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Ruk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioRuk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Buh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioBuh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Isp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioIsp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Tel" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Prim" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str06_02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="02"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KsOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="StrOkatoZato">

<xs:complexType>

<xs:attribute name="KodOkatoZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="ED01">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str01" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED02">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str02" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED03">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str03" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED04">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str04" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED05">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str05"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED06">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str06_01"/>

<xs:element ref="Str06_02"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED07">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="StrOkatoZato" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="PacketED">

<xs:complexType>

<xs:sequence>

<xs:element ref="From"/>

<xs:element ref="To"/>

<xs:element ref="Inf"/>

<xs:element ref="DateRegl"/>

<xs:element ref="EI"/>

<xs:element ref="Period"/>

<xs:element ref="ED01"/>

<xs:element ref="ED02"/>

<xs:element ref="ED03"/>

<xs:element ref="ED04"/>

<xs:element ref="ED05"/>

<xs:element ref="ED06"/>

<xs:element ref="ED07"/>

</xs:sequence>

<xs:attribute name="SoftwareProductVersion" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

│</xs:schema>

└─────────────────────────────────────────────────────────────────────────┘

 

 

 

 

 

3

 

XML- 425

 

┌─────────────────────────────────────────────────────────────────────────┐

│<?xml version="1.0" encoding="Windows-1251"?>

│<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="From">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="CodeReg" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="2"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="To">

<xs:complexType>

<xs:attribute name="Name" type="xs:string" use="required"

│fixed=" "/>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="092"/>

</xs:complexType>

</xs:element>

<xs:element name="Inf">

<xs:complexType>

<xs:attribute name="Name" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="250"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Code" type="xs:string" use="required"

│fixed="425"/>

</xs:complexType>

</xs:element>

<xs:element name="DateRegl">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="8"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="EI" type="xs:string" fixed=".00"/>

<xs:element name="Period" type="xs:string" fixed=""/>

<xs:element name="Str01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|011|012|020|021|022|030|031|032"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumK" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBS" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMO" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|011|012|020|021|022|030|031|032"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodOkato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Sum" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str03">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|020|030|040|050|060|070|080|090"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKotch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumKNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumBSNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMOOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumMONach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str04">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern

│value="010|020|030|040|050|060|070|080|090"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodDoh" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodRash" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="0|\d{20}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KodOkato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="SumNach" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str05">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameFo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okpo" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameBud" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Okato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Cs" use="required">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="7"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str06_01">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="01"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Ruk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioRuk" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Buh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioBuh" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Isp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="FioIsp" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Tel" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="Prim" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="Str06_02">

<xs:complexType>

<xs:attribute name="KodStr" use="required">

<xs:simpleType>

<xs:restriction base="xs:decimal">

<xs:pattern value="02"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="KsOtch" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="StrOkatoZato">

<xs:complexType>

<xs:attribute name="KodOkatoZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:positiveInteger">

<xs:pattern value="\d{8}"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="NameZato" use="required">

<xs:simpleType>

<xs:restriction base="xs:string"/>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="ED01">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str01" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED02">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str02" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED03">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str03" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED04">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str04" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED05">

<xs:complexType mixed="true">

<xs:sequence>

<xs:element ref="Str05"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ED06">

<xs:complexType mixed="true">

<xs:sequence>