28 2007 . N -3-13/704@ " , , , ( XML) ( 5)" ( )

28 2007.N-3-13/704@
" , , , ( XML)
( 5)"

:

28 , 18 2008 .

3 7 80 22.11.2007 N-3-05/645@ " , , " :

1. , , , ( XML) ( 5) " XII. , , ( 01)".

2., 1 2008.

3. ...


..

:

28 2008. N-3-13/26@

.


, , , ( XML)
( 5)
(. 28 2007.N-3-13/704@)

:

28 , 18 2008 .

XII
, ,
( 01)

:

. " ( 5.00)"

1.

1.1.

XML ( - ) , , .

( 1151063) 7 244 . " " ( 16.03.2007 N -3-10/138 " " ")

1.2.

, , ( 22.11.2007 N-3-05/645@, 07.12.2007 N10648)

2.

:

18 2008. N-3-6/321@ 2.1 , 1 2008 .

.

2.1.

:

R__A_K__GGGGMMDD_N, :

R_ - , (R) (T). ( ). (, "NO" - , "KVPR" - ). - , (, "PRIB" - ). , () , (, "KVPR_NOPRIB" - ).

A_K - , : A - , , K - , *. (A K) :

- - ( );

- - ( , , - );

- - ( ).

- , :

- ( );

- - ( , . - );

- - ( ).

GGGG - , MM - , DD - ;

N - . ( - 1 36 . ).

- xml. , .

2.2.

3 .1. XML . 4.

4

- . *.

- . . XML.

- . : "" - ( ), "" - , XML , "" - , XML . .

- . : - ; N - ( ).

(n-) T(=), n - , - , "-" - , "=" . , 0, (0-). , , (n-).

N(m.), m - , ( ), , k - . 0 (.. ), N(m).

, XML ( http://www.w3.org/TR/xmlschema-0), , "date", " " . " " .

- ( ) . : "" - ; "" - , .. . ( , ..), "". : "". , "". : ", ".

- . , . , ( ..), ( ..) . ( ..) . , , .

XSD .

3.

. 1      28.12.2007 N -3-13/704@

4.

. 4.1 - 4.11

4.1

()

()

A

T(1-100)

( )

A

T(1-40)

. 4.2

4.2

()

()

A

T(=7)

<>. : 1151061

A

T(=10)

<> ..

A

<xs:gYear>

()

A

T(=2)

: 34 34 -

,

. 4.3

, ,

<> . 4.5

4.3

()

()

-

,

. 4.4

4.4

- ()

()

A

T(1-1000)

A

T(=10)

<>

A

T(=9)

<>

A

T(1-20)

, |

, , <> . 4.10

<> . 4.11

4.5

, , ()

()

A

T(1-3)

(0 - , 1-999 - )

A

T(=4)

<> " "

. 4.6

. 4.7

. 4.8

. 4.9

4.6

()

()

A

T(=12)

<>

A

T(1-20)

, ,

<> . 4.10

4.7

()

()

,

A

N(10)

,

A

N(10)

4.8

()

()

,

A

N(10)

,

A

N(10)

4.9

()

()

,

A

N(10)

,

A

N(10)

4.10

, , ()

()

A

T(1-60)

A

T(1-60)

A

T(1-60)

4.11

()

()

,

A

T(1-120)

A

T(1-1000)

-

, ,

- .

, , .,

<> . 4.10

<?xml version="1.0" encoding="windows-1251" ?>
- <!--
 edited with XMLSpy v2007 sp1 (http://www.altova.com) by LVG (GNIVC FNS RF)
-->
- <!--
 edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Home (Home)
-->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
      attributeFormDefault="unqualified">
- <xs:element name="">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>   </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="">
- <xs:annotation>
<xs:documentation> -  </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:choice>
- <xs:element name="" type="">
- <xs:annotation>
<xs:documentation>   , 
                                      </xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="" type="">
- <xs:annotation>
<xs:documentation>   </xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" type="" use="required">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="" type="" use="required">
- <xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="" use="optional">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="" />
</xs:sequence>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation>    </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="">
<xs:enumeration value="1151061" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" type="" use="required">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="" type="xs:gYear" use="required">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation>()</xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="34" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:maxLength value="40" />
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>     ,  
                      ,   
                     </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="" type="">
- <xs:annotation>
<xs:documentation>, , </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
- <xs:attribute name="" type="" use="required">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="" use="optional">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> ,  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> , </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>   
                        </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> ,  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> , </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="">
- <xs:annotation>
<xs:documentation>   
                        </xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> ,  </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> , </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:integer">
<xs:totalDigits value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation>  (0 - , 1-999 -
                      )</xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" type="" use="required">
- <xs:annotation>
<xs:documentation>  </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:complexType name="">
- <xs:annotation>
<xs:documentation>, ,   </xs:documentation>
</xs:annotation>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="60" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="60" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="optional">
- <xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="60" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
- <xs:complexType name="">
- <xs:annotation>
<xs:documentation>   </xs:documentation>
</xs:annotation>
- <xs:sequence>
- <xs:element name="" type="" minOccurs="0">
- <xs:annotation>
<xs:documentation>, , </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
- <xs:attribute name="" use="required">
- <xs:annotation>
<xs:documentation> ,  
                     </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="120" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="" use="optional">
- <xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>   ..</xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="10" />
<xs:pattern value="(0[1-9]{1}|[1-2]{1}[0-9]{1}|3[0-1]{1})\.(0[1-9]{1}|1[0-2]
                  {1})\.(1[0-9]{3}|20[0-9]{2})" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>     
                  </xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="4" />
<xs:pattern value="[0-9]{4}" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>     </xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="7" />
<xs:pattern value="[0-9]{7}" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>     ()</xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="9" />
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{1}[1-9]{1}|[1-9]
                  {1}[0-9]{1})([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{3}" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>   - 
                  </xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="12" />
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{1}[1-9]{1}|[1-9]
                  {1}[0-9]{1})[0-9]{8}" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="">
- <xs:annotation>
<xs:documentation>   - 
                  </xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:length value="10" />
<xs:pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{1}[1-9]{1}|[1-9]
                  {1}[0-9]{1})[0-9]{6}" />
</xs:restriction>
</xs:simpleType>
</xs:schema>

______________________________

* , "|". .

:

:

18 2008. N-3-6/321@ , 1 2008 .

* () () . ( ) . (.. , ) . , , K " " () .

3 !

- , .

XML ( - ) , , . , .

. " " .

5 , , . , , : , ; . , . , , .

1 2008 .


28 2007 . N -3-13/704@ " , , , ( XML) ( 5)"


1 2008 .


Internet (http://www.nalog.ru)


:


18 2008 . N -3-6/321@

1 2008 .


28 2008 . N -3-13/26@