Hausing - Ettevõtte andmed: erinevus redaktsioonide vahel
Mine navigeerimisribale
Mine otsikasti
Konstantin (arutelu | kaastöö) P (kommentaarid) |
|||
1. rida: | 1. rida: | ||
[[Hausing|Hausing - Pealeht]] | [[Hausing|Hausing - Pealeht]] | ||
== | == Register == | ||
<nowiki><data> element peab sisaldama:</nowiki> | |||
*register="'''CYBlock'''" | |||
[[Pilt:Ettevõtteandmed hausing.png|raamita|452x452px]] | |||
| | |||
| | |||
== | == Toetatud väljad == | ||
{| class="wikitable" | {| class="wikitable" | ||
!Kood | !Kood | ||
!Kirjeldus | !Kirjeldus | ||
!Kohustuslik | |||
!Pikkus, tüüp | !Pikkus, tüüp | ||
!Kommentaar | !Kommentaar | ||
48. rida: | 16. rida: | ||
|CompName | |CompName | ||
|Ettevõtte nimi | |Ettevõtte nimi | ||
| + | |||
| | | | ||
| | | | ||
53. rida: | 22. rida: | ||
|OrgNr | |OrgNr | ||
|Registreerimis nr.1 | |Registreerimis nr.1 | ||
| + | |||
| | | | ||
| | | | ||
58. rida: | 28. rida: | ||
|CountryCode | |CountryCode | ||
|Riik | |Riik | ||
| + | |||
| | | | ||
| | | | ||
63. rida: | 34. rida: | ||
|VatLaw | |VatLaw | ||
|KM seadus | |KM seadus | ||
| + | |||
| | | | ||
| | | | ||
68. rida: | 40. rida: | ||
|LangCode | |LangCode | ||
|Keel | |Keel | ||
| + | |||
| | | | ||
| | | | ||
73. rida: | 46. rida: | ||
|CompanyType | |CompanyType | ||
|Ettevõtte tüüp | |Ettevõtte tüüp | ||
| + | |||
| | | | ||
|0 = Mitmekasutaja, 1 = Konsolideeritud, 2 = Üksikkasutaja | |0 = Mitmekasutaja, 1 = Konsolideeritud, 2 = Üksikkasutaja | ||
|- | |- | ||
|BusinessName | |BusinessName | ||
| | |||
| | | | ||
| | | | ||
82. rida: | 57. rida: | ||
|- | |- | ||
|Addr0 | |Addr0 | ||
| | |||
| | | | ||
| | | | ||
87. rida: | 63. rida: | ||
|- | |- | ||
|Addr1 | |Addr1 | ||
| | |||
| | | | ||
| | | | ||
92. rida: | 69. rida: | ||
|- | |- | ||
|Addr2 | |Addr2 | ||
| | |||
| | | | ||
| | | | ||
97. rida: | 75. rida: | ||
|- | |- | ||
|Addr3 | |Addr3 | ||
| | |||
| | | | ||
| | | | ||
102. rida: | 81. rida: | ||
|- | |- | ||
|Addr4 | |Addr4 | ||
| | |||
| | | | ||
| | | | ||
107. rida: | 87. rida: | ||
|- | |- | ||
|Phone | |Phone | ||
| | |||
| | | | ||
| | | | ||
112. rida: | 93. rida: | ||
|- | |- | ||
|Fax | |Fax | ||
| | |||
| | | | ||
| | | | ||
119. rida: | 101. rida: | ||
| | | | ||
| | | | ||
|EST - arveldusarve 2? | | | ||
|EST - arveldusarve 2? | |||
|- | |- | ||
|Bank2 | |Bank2 | ||
| | | | ||
| | | | ||
|EST - arveldusarve ? | | | ||
|EST - arveldusarve ? | |||
|- | |- | ||
|VATNr | |VATNr | ||
| | |||
| | | | ||
| | | | ||
133. rida: | 118. rida: | ||
|BankName | |BankName | ||
|Panga nimi | |Panga nimi | ||
| | |||
| | | | ||
| | | | ||
138. rida: | 124. rida: | ||
|BankCode | |BankCode | ||
|Pangakood | |Pangakood | ||
| | |||
| | | | ||
|Peab olema Booksi lisatud | |Peab olema Booksi lisatud | ||
|- | |- | ||
|emailAddr | |emailAddr | ||
| | |||
| | | | ||
| | | | ||
| | | | ||
|} | |} | ||
=== Näidis XML päring === | === Näidis XML päring === |
Redaktsioon: 16. august 2018, kell 13:11
Register
<data> element peab sisaldama:
- register="CYBlock"
Toetatud väljad
Kood | Kirjeldus | Kohustuslik | Pikkus, tüüp | Kommentaar |
---|---|---|---|---|
CompName | Ettevõtte nimi | + | ||
OrgNr | Registreerimis nr.1 | + | ||
CountryCode | Riik | + | ||
VatLaw | KM seadus | + | ||
LangCode | Keel | + | ||
CompanyType | Ettevõtte tüüp | + | 0 = Mitmekasutaja, 1 = Konsolideeritud, 2 = Üksikkasutaja | |
BusinessName | ||||
Addr0 | ||||
Addr1 | ||||
Addr2 | ||||
Addr3 | ||||
Addr4 | ||||
Phone | ||||
Fax | ||||
Bank1 | EST - arveldusarve 2? | |||
Bank2 | EST - arveldusarve ? | |||
VATNr | ||||
BankName | Panga nimi | |||
BankCode | Pangakood | Peab olema Booksi lisatud | ||
emailAddr |
Näidis XML päring
NB method="update"
<?xml version="1.0" encoding="UTF-8"?>
<data register="CYBlock" method="update" sequence="106357" systemversion="8.4.20.504">
<CYBlock>
<CompName>Test Ettevõte OÜ</CompName>
<OrgNr>10000001</OrgNr>
<CountryCode>EE</CountryCode>
<VatLaw>Eesti</VatLaw>
<LangCode>EST</LangCode>
<CompanyType>0</CompanyType>
<BusinessName>Business name</BusinessName>
<Addr0>addr row 0</Addr0>
<Addr1>addr row 1</Addr1>
<Addr2>addr row 2</Addr2>
<Addr3>addr row 3</Addr3>
<Addr4>addr row 4</Addr4>
<Phone>+372 1111111</Phone>
<Fax>+372 1111112</Fax>
<Bank1>222222221</Bank1>
<Bank2>222222222</Bank2>
<VATNr>EE112233445</VATNr>
<BankName>Test Pank</BankName>
<BankCode>401</BankCode>
<emailAddr>email@test.ee</emailAddr>
</CYBlock>
</data>