Kontod XML: erinevus redaktsioonide vahel

Allikas: Excellent || Opendoc
Mine navigeerimisribale Mine otsikasti
Resümee puudub
Resümee puudub
4. rida: 4. rida:
!'''Description'''
!'''Description'''
!'''Max length, field type'''
!'''Max length, field type'''
!Mandatory?
|-
|-
|'''AccNumber'''
|'''AccNumber'''
9. rida: 10. rida:
|Account code
|Account code
|10, Code String
|10, Code String
|Yes
|-
|-
|'''Comment'''
|'''Comment'''
14. rida: 16. rida:
|Account name
|Account name
|60, String
|60, String
|Highly recommended
|-
|-
|'''AccType'''
|'''AccType'''
19. rida: 22. rida:
|Account type
|Account type
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|Yes. Default = 0
|-
|-
|'''NVD'''
|'''NVD'''
24. rida: 28. rida:
|Normal account – Debit. 0=no;1=yes
|Normal account – Debit. 0=no;1=yes
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''NVC'''
|'''NVC'''
29. rida: 34. rida:
|Normal account – Credit. 0=no;1=yes
|Normal account – Credit. 0=no;1=yes
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''AutCode'''
|'''AutCode'''
34. rida: 40. rida:
|Autotrans
|Autotrans
|10, Code String
|10, Code String
|
|-
|-
|'''blockedFlag'''
|'''blockedFlag'''
39. rida: 46. rida:
|Closed. If 1, then closed.
|Closed. If 1, then closed.
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''VATCode'''
|'''VATCode'''
44. rida: 52. rida:
|VAT Code
|VAT Code
|10, Code String
|10, Code String
|
|-
|-
|'''ControlType'''
|'''ControlType'''
49. rida: 58. rida:
|N/A
|N/A
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''Curncy'''
|'''Curncy'''
54. rida: 64. rida:
|Currency code
|Currency code
|5, Code String
|5, Code String
|
|-
|-
|'''ConsAccNumber'''
|'''ConsAccNumber'''
59. rida: 70. rida:
|Consolidation account code
|Consolidation account code
|10, Code String
|10, Code String
|
|-
|-
|'''Conspr'''
|'''Conspr'''
64. rida: 76. rida:
|Use consolidation percentage.
|Use consolidation percentage.
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''Objects'''
|'''Objects'''
69. rida: 82. rida:
|Objects, separated by comma
|Objects, separated by comma
|60, Capital Characters Only
|60, Capital Characters Only
|
|-
|-
|'''SRUCode'''
|'''SRUCode'''
74. rida: 88. rida:
|N/A
|N/A
|10, Capital Characters Only
|10, Capital Characters Only
|
|-
|-
|'''ExclFrRep'''
|'''ExclFrRep'''
79. rida: 94. rida:
|Exclude from Riigitarkvara report 0=no;1=yes.
|Exclude from Riigitarkvara report 0=no;1=yes.
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''PeriodCode'''
|'''PeriodCode'''
84. rida: 100. rida:
|Accural code
|Accural code
|10, Code String
|10, Code String
|
|-
|-
|'''GroupAcc'''
|'''GroupAcc'''
89. rida: 106. rida:
|Account group
|Account group
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''TransAutCode'''
|'''TransAutCode'''
94. rida: 112. rida:
|Autotrans 2
|Autotrans 2
|10, Code String
|10, Code String
|
|-
|-
|'''TaxTemplateCode'''
|'''TaxTemplateCode'''
99. rida: 118. rida:
|Tax template
|Tax template
|10, Code String
|10, Code String
|
|-
|-
|'''AccClass'''
|'''AccClass'''
104. rida: 124. rida:
|Classification
|Classification
|100, Comma separated List
|100, Comma separated List
|
|-
|-
|'''LangCode'''
|'''LangCode'''
109. rida: 130. rida:
|Language code in Texts
|Language code in Texts
|0, Small Value with No Decimals
|0, Small Value with No Decimals
|
|-
|-
|'''Text'''
|'''Text'''
114. rida: 136. rida:
|Text in Texts
|Text in Texts
|100, String
|100, String
|
|}
|}
XML näidis: <syntaxhighlight lang="xml" line="1">
XML näidis: <syntaxhighlight lang="xml" line="1">

Redaktsioon: 30. juuli 2019, kell 09:45

Field name Kirjeldus Description Max length, field type Mandatory?
AccNumber Konto kood Account code 10, Code String Yes
Comment Nimetus Account name 60, String Highly recommended
AccType Kontoklass 0=Assets; 1=Liability; 2=Equity;3=Income;4=Expense Account type 0, Small Value with No Decimals Yes. Default = 0
NVD Tavaline kirjeldamine, Deebet linnuke Normal account – Debit. 0=no;1=yes 0, Small Value with No Decimals
NVC Tavaline kirjeldamine, Deebet linnuke Normal account – Credit. 0=no;1=yes 0, Small Value with No Decimals
AutCode automaatlausend Autotrans 10, Code String
blockedFlag Suletud Closed. If 1, then closed. 0, Small Value with No Decimals
VATCode KM-kood VAT Code 10, Code String
ControlType N/A N/A 0, Small Value with No Decimals
Curncy Valuuta Currency code 5, Code String
ConsAccNumber Konsol. konto Consolidation account code 10, Code String
Conspr Kasuta konsolideerimise osakaalu protsenti Use consolidation percentage. 0, Small Value with No Decimals
Objects Objetid Objects, separated by comma 60, Capital Characters Only
SRUCode N/A N/A 10, Capital Characters Only
ExclFrRep Jäta välja riigitarkvara aruandest Exclude from Riigitarkvara report 0=no;1=yes. 0, Small Value with No Decimals
PeriodCode Per. mudeli kood Accural code 10, Code String
GroupAcc Konto grupp Account group 0, Small Value with No Decimals
TransAutCode automaatlausend 2 Autotrans 2 10, Code String
TaxTemplateCode Maksugrupp Tax template 10, Code String
AccClass Klassifikaator Classification 100, Comma separated List
LangCode Keele kood Language code in Texts 0, Small Value with No Decimals
Text Tekst tekstide kaardiosalt Text in Texts 100, String

XML näidis:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<data>
<register name='AccVc'>
<record>
<head>
<AccNumber>1000</AccNumber>
<Comment>Sales 9%</Comment>
<AccType>3</AccType>
<NVD>1</NVD>
<NVC>1</NVC>
<AutCode>AL1</AutCode>
<blockedFlag>0</blockedFlag>
<VATCode>4</VATCode>
<ControlType>0</ControlType>
<Curncy>AUD</Curncy>
<ConsAccNumber>3333</ConsAccNumber>
<Conspr>0</Conspr>
<Objects>522,524</Objects>
<SRUCode></SRUCode>
<ExclFrRep>1</ExclFrRep>
<PeriodCode>PM1</PeriodCode>
<GroupAcc>0</GroupAcc>
<TransAutCode>AL2</TransAutCode>
<TaxTemplateCode>MG1</TaxTemplateCode>
<AccClass>KL1,KL2</AccClass>
</head>
<rows>
<row>
<LangCode>EST</LangCode>
<Text>konto eesti keeles</Text>
</row>
<row>
<LangCode>FIN</LangCode>
<Text>Konto inglise keeles</Text>
</row>
</rows>
</record>
</register>
</data>