Последнее обновление: 21.11.2024
Законодательная база Российской Федерации
8 (800) 350-23-61
Бесплатная горячая линия юридической помощи
- Главная
- ПРИКАЗ МНС РФ от 31.12.2003 N БГ-3-09/738/531 "ОБ УТВЕРЖДЕНИИ ПОРЯДКА ВЗАИМОДЕЙСТВИЯ МИНИСТЕРСТВА РОССИЙСКОЙ ФЕДЕРАЦИИ ПО НАЛОГАМ И СБОРАМ И ГОСУДАРСТВЕННОГО КОМИТЕТА РОССИЙСКОЙ ФЕДЕРАЦИИ ПО СТАТИСТИКЕ ПРИ ГОСУДАРСТВЕННОЙ РЕГИСТРАЦИИ ЮРИДИЧЕСКИХ ЛИЦ И ИНДИВИДУАЛЬНЫХ ПРЕДПРИНИМАТЕЛЕЙ В ЭЛЕКТРОННОМ ВИДЕ"
ОПИСАНИЕ ФОРМАТОВ ФАЙЛОВ ОБМЕНА ИНФОРМАЦИЕЙ МЕЖДУ РЕГИСТРИРУЮЩИМИ (НАЛОГОВЫМИ ОРГАНАМИ), ОРГАНАМИ СТАТИСТИКИ И ГОСУДАРСТВЕННЫМИ ВНЕБЮДЖЕТНЫМИ ФОНДАМИ
1. Описание Dtd-схемы XML-файла, содержащего сведения ЕГРЮЛ
<?xml version="1.0" encoding="windows-1251"?>
<!AttLIST EGRUL_UL_DATA
VER (1.0) #REQUIRED
>
<!ELEMENT EGRUL_UL_DATA (HEADER, UL+)>
<!AttLIST HEADER
IDFILE CDATA #REQUIRED
S_ID CDATA #REQUIRED
S_CODE (MNS) #REQUIRED
S_NAME CDATA #REQUIRED
TIMESTAMP CDATA #REQUIRED
PRG_VER CDATA #IMPLIED
CNT_DOK CDATA #REQUIRED
>
<!ELEMENT HEADER (USER)>
<!ELEMENT USER EMPTY>
<!AttLIST USER
DOLGN CDATA #IMPLIED
FAM_FL CDATA #REQUIRED
NAME_FL CDATA #IMPLIED
OTCH_FL CDATA #IMPLIED
TEL CDATA #IMPLIED
EMAIL CDATA #IMPLIED
>
<!ELEMENT UL (OKVED+, STATUS, REGORG, UL_NAME, UL_ADDRESS, UL_CAPITAL?, UL_START, UL_FINISH?, UCHR?, REEStr_AO?, DOLGNFL*, preDSH*, preEM*, LICENZ*, UL_OB*, UL_UPR?, REGEGRUL+, MNS?, PF?, FSS?, FOMS?, ACCOUNT*)>
<!AttLIST UL
IDUL CDATA #REQUIRED
IDDOK CDATA #REQUIRED
OGRN CDATA #REQUIRED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
>
<!ELEMENT OKVED EMPTY>
<!AttLIST OKVED
KOD_OKVED CDATA #REQUIRED
MAIN (0 | 1 | 2) #REQUIRED
>
<!ELEMENT REEStr_AO EMPTY>
<!AttLIST REEStr_AO
OGRN CDATA #REQUIRED
NAMEP CDATA #REQUIRED
>
<!AttLIST STATUS
ID CDATA #REQUIRED
DTSTART CDATA #REQUIRED
>
<!ELEMENT STATUS (#PCDATA)>
<!AttLIST UL_NAME
DTSTART CDATA #REQUIRED
NAMES CDATA #IMPLIED
NAMEF CDATA #IMPLIED
>
<!ELEMENT UL_NAME (OPF?, NAMEN?, NAMEI?)>
<!ELEMENT OPF EMPTY>
<!AttLIST OPF
ID CDATA #REQUIRED
SPR CDATA #IMPLIED
KOD_OPF CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!ELEMENT NAMEN (LANG?)>
<!AttLIST NAMEN
NAME CDATA #IMPLIED
>
<!ELEMENT NAMEI (LANG?)>
<!AttLIST NAMEI
NAME CDATA #IMPLIED
>
<!ELEMENT LANG EMPTY>
<!AttLIST LANG
ID CDATA #REQUIRED
KOD_LANG CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!AttLIST UL_ADDRESS
DTSTART CDATA #REQUIRED
NAMEISPORG CDATA #IMPLIED
<!ELEMENT UL_ADDRESS (VIDADR, ADDRESS, FL?, CONTACT?)>
<!AttLIST ADDRESS
INDEKS CDATA #IMPLIED
DOM CDATA #IMPLIED
KORP CDATA #IMPLIED
KVART CDATA #IMPLIED
OKATO CDATA #IMPLIED
>
<!ELEMENT ADDRESS (REGION, RAION?, GOROD?, NASPUNKT?, StrEET?)>
<!ELEMENT REGION EMPTY>
<!AttLIST REGION
ID CDATA #REQUIRED
KOD_KL CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT RAION EMPTY>
<!AttLIST RAION
ID CDATA #REQUIRED
KOD_KL CDATA #IMPLIED
NAME CDATA #IMPLIED
>
<!ELEMENT GOROD EMPTY>
<!AttLIST GOROD
ID CDATA #REQUIRED
NAME CDATA #IMPLIED
>
<!ELEMENT NASPUNKT EMPTY>
ID CDATA #REQUIRED
KOD_KL CDATA #IMPLIED
NAME CDATA #IMPLIED
>
<!ELEMENT StrEET EMPTY>
<!AttLIST StrEET
ID CDATA #REQUIRED
KOD_ST CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!ELEMENT VIDADR EMPTY>
<!AttLIST VIDADR
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT CONTACT EMPTY>
<!AttLIST CONTACT
KODGOROD CDATA #IMPLIED
TELEFON CDATA #IMPLIED
FAX CDATA #IMPLIED
>
<!ELEMENT FL (DOCFL?)>
<!AttLIST FL
FAM_FL CDATA #REQUIRED
NAME_FL CDATA #IMPLIED
OTCH_FL CDATA #IMPLIED
INN CDATA #IMPLIED
>
<!ELEMENT UL_CAPITAL (VIDCAP)>
DTSTART CDATA #REQUIRED
SUMMA CDATA #IMPLIED
>
<!ELEMENT VIDCAP EMPTY>
<!AttLIST VIDCAP
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT DOCFL (VIDDOK)>
<!AttLIST DOCFL
SER CDATA #IMPLIED
NUM CDATA #IMPLIED
DT CDATA #IMPLIED
NAMEORG CDATA #IMPLIED
KODORG CDATA #IMPLIED
>
<!ELEMENT VIDDOK EMPTY>
<!AttLIST VIDDOK
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT UL_START (VIDREG, REGORG?)>
<!AttLIST UL_START
REGNUM CDATA #IMPLIED
DtrEG CDATA #IMPLIED
>
<!ELEMENT UL_FINISH (VIDREG, REGORG)>
DtrEG CDATA #REQUIRED
>
<!AttLIST UCHR
CNT_RUL CDATA #IMPLIED
CNT_IUL CDATA #IMPLIED
CNT_UCHRFL CDATA #IMPLIED
>
<!ELEMENT UCHR (RUL*, IUL*, UCHRFL*)>
<!ELEMENT RUL (REGORG?, ADDRESS?)>
<!AttLIST RUL
DTSTART CDATA #REQUIRED
NAMEP CDATA #REQUIRED
OGRN CDATA #IMPLIED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
NUMST CDATA #IMPLIED
DtrEG CDATA #IMPLIED
SUMMA CDATA #REQUIRED
>
<!ELEMENT VIDREG EMPTY>
<!AttLIST VIDREG
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT REGORG EMPTY>
<!AttLIST REGORG
>
<!AttLIST OKSM
ID CDATA #REQUIRED
KOD_OKSM CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!ELEMENT OKSM EMPTY>
<!ELEMENT IUL (OKSM)>
<!AttLIST IUL
DTSTART CDATA #REQUIRED
NAMEP CDATA #REQUIRED
SUMMA CDATA #REQUIRED
ADRESIN CDATA #IMPLIED
>
<!ELEMENT UCHRFL (FL, ADDRESS?, OKSM?)>
<!AttLIST UCHRFL
DTSTART CDATA #REQUIRED
ADRESIN CDATA #IMPLIED
SUMMA CDATA #REQUIRED
>
<!ELEMENT DOLGNFL (FL, ADDRESS?, OKSM?, CONTACT?)>
<!AttLIST DOLGNFL
DTSTART CDATA #REQUIRED
DOLGN CDATA #IMPLIED
ADRESIN CDATA #IMPLIED
>
<!ELEMENT preDSH (REGORG?, ADDRESS?)>
<!AttLIST preDSH
NAMEP CDATA #REQUIRED
OGRN CDATA #IMPLIED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
NUMST CDATA #IMPLIED
DtrEG CDATA #IMPLIED
>
<!ELEMENT preEM (REGORG?, ADDRESS?)>
<!AttLIST preEM
NAMEP CDATA #REQUIRED
OGRN CDATA #REQUIRED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
DtrEG CDATA #IMPLIED
>
<!ELEMENT LICENZ (LICORG, VIDLIC+, SOSTLIC)>
<!AttLIST LICENZ
NUMLIC CDATA #REQUIRED
DtrESH CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT LICORG EMPTY>
ID CDATA #REQUIRED
>
<!ELEMENT VIDLIC EMPTY>
<!AttLIST VIDLIC
ID CDATA #REQUIRED
NAME_VLIC CDATA #REQUIRED
>
<!ELEMENT SOSTLIC EMPTY>
<!AttLIST SOSTLIC
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT REGEGRUL (REGORG, VIDREG, SOSTZAP?)>
<!AttLIST REGEGRUL
IDREG CDATA #REQUIRED
REGNUM CDATA #IMPLIED
DtrEG CDATA #REQUIRED
DTZAP CDATA #REQUIRED
>
<!ELEMENT SOSTZAP (#PCDATA)>
<!AttLIST SOSTZAP
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT UL_OB (ADDRESS?, CONTACT?)>
<!AttLIST UL_OB
DTSTART CDATA #REQUIRED
>
<!ELEMENT UL_UPR (ADDRESS?, CONTACT?)>
<!AttLIST UL_UPR
DTSTART CDATA #REQUIRED
NAME CDATA #REQUIRED
OGRN CDATA #REQUIRED
DtrEG CDATA #IMPLIED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
>
<!ELEMENT MNS (ORGAN_MNS)>
<!AttLIST MNS
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT PF (ORGAN_PF)>
<!AttLIST PF
REGN_PF CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT FSS (ORGAN_FSS)>
<!AttLIST FSS
REGN_FSS CDATA #REQUIRED
KPS_FSS CDATA #REQUIRED
DtrEG CDATA #REQUIRED
DTSTART CDATA #REQUIRED
>
<!AttLIST FOMS
REGN_FOMS CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT ORGAN_MNS EMPTY>
<!AttLIST ORGAN_MNS
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ORGAN_PF EMPTY>
<!AttLIST ORGAN_PF
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ORGAN_FSS EMPTY>
<!AttLIST ORGAN_FSS
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ORGAN_FOMS EMPTY>
<!AttLIST ORGAN_FOMS
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ACCOUNT (VID_ACCOUNT, TYPE_ACCOUNT)>
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
BIK CDATA #REQUIRED
NUM_CONtrACT CDATA #IMPLIED
DTSTART CDATA #IMPLIED
DTEND CDATA #IMPLIED
>
<!ELEMENT VID_ACCOUNT EMPTY>
<!AttLIST VID_ACCOUNT
ID_VA CDATA #REQUIRED
NAME_VA CDATA #REQUIRED
>
<!ELEMENT TYPE_ACCOUNT EMPTY>
<!AttLIST TYPE_ACCOUNT
ID_TA CDATA #REQUIRED
NAME_TA CDATA #REQUIRED
>
2. Описание Dtd-схемы XML-файла, содержащего сведения ЕГРИП
<?xml version="1.0" encoding="WINDOWS-1251"?>
<!AttLIST EGRIP_IP_DATA
VER (1.0) #REQUIRED
>
<!ELEMENT EGRIP_IP_DATA (HEADER, IP+)>
IDFILE CDATA #REQUIRED
S_ID CDATA #REQUIRED
S_CODE (MNS) #REQUIRED
S_NAME CDATA #REQUIRED
TIMESTAMP CDATA #REQUIRED
PRG_VER CDATA #IMPLIED
CNT_DOK CDATA #REQUIRED
>
<!ELEMENT HEADER (USER)>
<!ELEMENT USER EMPTY>
<!AttLIST USER
DOLGN CDATA #IMPLIED
FAM_FL CDATA #REQUIRED
NAME_FL CDATA #IMPLIED
OTCH_FL CDATA #IMPLIED
TEL CDATA #IMPLIED
EMAIL CDATA #IMPLIED
>
<!ELEMENT IP (OKVED*, FL, VIDIP, STATUS, REGORG, CITIZEN, FL_ADDR, DOCFL, DOCREZ?, DOCDSN?, LICENZ*, REGOLD?, REGEGRIP+, MNS?, PF?, FSS?, FOMS?, ACCOUNT*)>
IDIP CDATA #REQUIRED
IDDOK CDATA #REQUIRED
OGRNIP CDATA #REQUIRED
INN CDATA #IMPLIED
>
<!ELEMENT OKVED EMPTY>
<!AttLIST OKVED
KOD_OKVED CDATA #REQUIRED
MAIN (0 | 1 | 2) #REQUIRED
>
<!ELEMENT VIDIP EMPTY>
<!AttLIST VIDIP
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT STATUS EMPTY>
<!AttLIST STATUS
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT REGORG EMPTY>
<!AttLIST REGORG
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT FL EMPTY>
<!AttLIST FL
DTSTART CDATA #REQUIRED
FAM_FL CDATA #REQUIRED
OTCH_FL CDATA #IMPLIED
FAMLAT CDATA #IMPLIED
NAMELAT CDATA #IMPLIED
OTCHLAT CDATA #IMPLIED
SEX (0 | 1 | 2) #IMPLIED
BIRTHDAY CDATA #IMPLIED
BIRTHPLACE CDATA #IMPLIED
>
<!ELEMENT CITIZEN (VIDCITIZEN, OKSM?)>
<!AttLIST CITIZEN
DTSTART CDATA #REQUIRED
>
<!ELEMENT VIDCITIZEN EMPTY>
<!AttLIST VIDCITIZEN
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT FL_ADDR (ADDRESS, CONTACT?)>
<!AttLIST FL_ADDR
DTSTART CDATA #REQUIRED
>
<!AttLIST ADDRESS
INDEKS CDATA #IMPLIED
DOM CDATA #IMPLIED
OKATO CDATA #IMPLIED
>
<!ELEMENT ADDRESS (REGION, RAION?, GOROD?, NASPUNKT?, StrEET?)>
<!ELEMENT CONTACT EMPTY>
<!AttLIST CONTACT
KODGOROD CDATA #IMPLIED
TELEFON CDATA #IMPLIED
FAX CDATA #IMPLIED
>
<!ELEMENT REGION (#PCDATA)>
<!AttLIST REGION
ID CDATA #REQUIRED
KOD_KL CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT RAION EMPTY>
<!AttLIST RAION
ID CDATA #REQUIRED
KOD_KL CDATA #IMPLIED
NAME CDATA #IMPLIED
>
<!ELEMENT GOROD EMPTY>
<!AttLIST GOROD
ID CDATA #REQUIRED
KOD_KL CDATA #IMPLIED
>
<!AttLIST NASPUNKT
ID CDATA #REQUIRED
KOD_KL CDATA #IMPLIED
NAME CDATA #IMPLIED
>
<!ELEMENT StrEET EMPTY>
<!AttLIST StrEET
ID CDATA #REQUIRED
KOD_ST CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!ELEMENT DOCFL (VIDDOK)>
<!AttLIST DOCFL
DTSTART CDATA #REQUIRED
SER CDATA #IMPLIED
NUM CDATA #IMPLIED
DT CDATA #IMPLIED
NAMEORG CDATA #IMPLIED
KODORG CDATA #IMPLIED
>
<!ELEMENT VIDDOK EMPTY>
<!AttLIST VIDDOK
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT DOCREZ (VIDDOKREZ)>
<!AttLIST DOCREZ
DT CDATA #REQUIRED
NAMEORG CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT VIDDOKREZ EMPTY>
<!AttLIST VIDDOKREZ
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT DOCDSN (OSNDN, DOKDN?)>
<!AttLIST DOCDSN
DTSTART CDATA #REQUIRED
NUM CDATA #IMPLIED
DT CDATA #IMPLIED
NAMEORG CDATA #IMPLIED
>
<!ELEMENT OSNDN EMPTY>
<!AttLIST OSNDN
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT DOKDN EMPTY>
<!AttLIST DOKDN
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT LICENZ (LICORG, VIDLIC+, SOSTLIC)>
NUMLIC CDATA #REQUIRED
DtrESH CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT LICORG EMPTY>
<!AttLIST LICORG
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT VIDLIC EMPTY>
<!AttLIST VIDLIC
ID CDATA #REQUIRED
NAME_VLIC CDATA #REQUIRED
>
<!ELEMENT SOSTLIC EMPTY>
<!AttLIST SOSTLIC
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT REGOLD (REGORG)>
<!AttLIST REGOLD
NUMOLD CDATA #IMPLIED
DtrEG CDATA #REQUIRED
>
<!ELEMENT REGEGRIP (VIDREG, REGORG, SOSTZAP?)>
<!AttLIST REGEGRIP
DtrEG CDATA #REQUIRED
DTZAP CDATA #REQUIRED
>
<!ELEMENT VIDREG EMPTY>
<!AttLIST VIDREG
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!AttLIST OKSM
ID CDATA #REQUIRED
KOD_OKSM CDATA #IMPLIED
NAME CDATA #REQUIRED
>
<!ELEMENT OKSM EMPTY>
<!ELEMENT SOSTZAP EMPTY>
<!AttLIST SOSTZAP
ID CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT MNS (ORGAN_MNS)>
<!AttLIST MNS
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT PF (ORGAN_PF)>
<!AttLIST PF
REGN_PF CDATA #REQUIRED
DTSTART CDATA #REQUIRED
>
<!AttLIST FSS
REGN_FSS CDATA #REQUIRED
KPS_FSS CDATA #REQUIRED
DtrEG CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT FOMS (ORGAN_FOMS)>
<!AttLIST FOMS
REGN_FOMS CDATA #REQUIRED
DTSTART CDATA #REQUIRED
DTEND CDATA #IMPLIED
>
<!ELEMENT ORGAN_MNS EMPTY>
<!AttLIST ORGAN_MNS
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ORGAN_PF EMPTY>
<!AttLIST ORGAN_PF
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ORGAN_FSS EMPTY>
<!AttLIST ORGAN_FSS
KOD CDATA #REQUIRED
>
<!AttLIST ORGAN_FOMS
KOD CDATA #REQUIRED
NAME CDATA #REQUIRED
>
<!ELEMENT ACCOUNT (VID_ACCOUNT, TYPE_ACCOUNT)>
<!AttLIST ACCOUNT
NUM CDATA #REQUIRED
INN CDATA #IMPLIED
KPP CDATA #IMPLIED
BIK CDATA #REQUIRED
NUM_CONtrACT CDATA #IMPLIED
DTSTART CDATA #IMPLIED
DTEND CDATA #IMPLIED
DEPOSIT_END CDATA #IMPLIED
>
<!ELEMENT VID_ACCOUNT EMPTY>
<!AttLIST VID_ACCOUNT
ID_VA CDATA #REQUIRED
NAME_VA CDATA #REQUIRED
>
<!ELEMENT TYPE_ACCOUNT EMPTY>
<!AttLIST TYPE_ACCOUNT
ID_TA CDATA #REQUIRED
>
- Главная
- ПРИКАЗ МНС РФ от 31.12.2003 N БГ-3-09/738/531 "ОБ УТВЕРЖДЕНИИ ПОРЯДКА ВЗАИМОДЕЙСТВИЯ МИНИСТЕРСТВА РОССИЙСКОЙ ФЕДЕРАЦИИ ПО НАЛОГАМ И СБОРАМ И ГОСУДАРСТВЕННОГО КОМИТЕТА РОССИЙСКОЙ ФЕДЕРАЦИИ ПО СТАТИСТИКЕ ПРИ ГОСУДАРСТВЕННОЙ РЕГИСТРАЦИИ ЮРИДИЧЕСКИХ ЛИЦ И ИНДИВИДУАЛЬНЫХ ПРЕДПРИНИМАТЕЛЕЙ В ЭЛЕКТРОННОМ ВИДЕ"