Kontod XML: erinevus redaktsioonide vahel

Allikas: Excellent || Opendoc
Mine navigeerimisribale Mine otsikasti
Resümee puudub
Resümee puudub
1. rida: 1. rida:
{| class="wikitable sortable"
{| class="wikitable sortable"
!'''Field name'''
!'''Field name'''
!Kirjeldus
!'''Description'''
!'''Description'''
!'''Max length, field type'''
!'''Max length, field type'''
|-
|-
|'''AccNumber'''
|'''AccNumber'''
|Account code ''(Konto)''
|Konto kood
|
|Account code
|10, Code String
|-
|-
|'''Comment'''
|'''Comment'''
|Account name ''(Nimetus)''
|Nimetus
|
|Account name
|60, String
|-
|-
|'''AccType'''
|'''AccType'''
|Account type (''Kontoklass'')  0=Assets; 1=Liability; 2=Equity;3=Income;4=Expense
|Kontoklass 0=Assets; 1=Liability; 2=Equity;3=Income;4=Expense
|
|Account type
|0, Small Value with No Decimals
|-
|-
|'''NVD'''
|'''NVD'''
|Normal account – Debit. 0=no;1=yes ''(Tavaline kirjeldamine, Deebet linnuke)''
|Tavaline kirjeldamine, Deebet linnuke
|
|Normal account – Debit. 0=no;1=yes
|0, Small Value with No Decimals
|-
|-
|'''NVC'''
|'''NVC'''
|Normal account – Credit. 0=no;1=yes ''(Tavaline kirjeldamine, Deebet linnuke)''
|Tavaline kirjeldamine, Deebet linnuke
|
|Normal account – Credit. 0=no;1=yes
|0, Small Value with No Decimals
|-
|-
|'''AutCode'''
|'''AutCode'''
|Autotrans ''(automaatlausend)''
|automaatlausend
|
|Autotrans
|10, Code String
|-
|-
|'''blockedFlag'''
|'''blockedFlag'''
|Closed. If 1, then closed. (''Suletud'')
|Suletud
|
|Closed. If 1, then closed.
|0, Small Value with No Decimals
|-
|-
|'''VATCode'''
|'''VATCode'''
|VAT Code ''(KM-kood)''
|KM-kood
|
|VAT Code
|10, Code String
|-
|-
|'''ControlType'''
|'''ControlType'''
|''Not used, always 0''
|N/A
|
|N/A
|0, Small Value with No Decimals
|-
|-
|'''Curncy'''
|'''Curncy'''
|Currency code ''(Valuuta)''
|Valuuta
|
|Currency code
|5, Code String
|-
|-
|'''ConsAccNumber'''
|'''ConsAccNumber'''
|Consolidation account code ''(Konsol.  konto)''
|Konsol. konto
|
|Consolidation account code
|10, Code String
|-
|-
|'''Conspr'''
|'''Conspr'''
|Use consolidation percentage. ''(Kasuta konsolideerimise osakaalu protsenti)''
|Kasuta konsolideerimise osakaalu  protsenti
|
|Use consolidation percentage.
|0, Small Value with No Decimals
|-
|-
|'''Objects'''
|'''Objects'''
|Objects, separated by comma ''(Objetid)''
|Objetid
|
|Objects, separated by comma
|60, Capital Characters Only
|-
|-
|'''SRUCode'''
|'''SRUCode'''
|SRU code. ''Not used, always 0''
|N/A
|
|N/A
|10, Capital Characters Only
|-
|-
|'''ExclFrRep'''
|'''ExclFrRep'''
|Exclude from Riigitarkvara report 0=no;1=yes. ''(Jäta välja riigitarkvara aruandest)''
|Jäta välja riigitarkvara aruandest
|
|Exclude from Riigitarkvara report 0=no;1=yes.
|0, Small Value with No Decimals
|-
|-
|'''PeriodCode'''
|'''PeriodCode'''
|Accural code ''(Per. mudeli kood)''
|Per. mudeli kood
|
|Accural code
|10, Code String
|-
|-
|'''GroupAcc'''
|'''GroupAcc'''
|Account group ''(Konto grupp)''
|Konto grupp
|
|Account group
|0, Small Value with No Decimals
|-
|-
|'''TransAutCode'''
|'''TransAutCode'''
|Autotrans 2 ''(automaatlausend  2)''
|automaatlausend 2
|
|Autotrans 2
|10, Code String
|-
|-
|'''TaxTemplateCode'''
|'''TaxTemplateCode'''
|Tax template ''(Maksugrupp)''
|Maksugrupp
|
|Tax template
|10, Code String
|-
|-
|'''AccClass'''
|'''AccClass'''
|Classification ''(Klassifikaator)''
|Klassifikaator
|
|Classification
|100, Comma separated List
|-
|-
|'''LangCode'''
|'''LangCode'''
|Language code in Texts''(keel  tekstide kaardiosalt)''
|Keele kood
|
|Language code in Texts
|0, Small Value with No Decimals
|-
|-
|'''Text'''
|'''Text'''
|Text in Texts ''(Tekst  tekstide kaardiosalt)''
|Tekst tekstide kaardiosalt
|
|Text in Texts
|100, String
|}
|}
XML näidis: <syntaxhighlight lang="xml" line="1">
XML näidis: <syntaxhighlight lang="xml" line="1">

Redaktsioon: 12. märts 2019, kell 14:24

Field name Kirjeldus Description Max length, field type
AccNumber Konto kood Account code 10, Code String
Comment Nimetus Account name 60, String
AccType Kontoklass 0=Assets; 1=Liability; 2=Equity;3=Income;4=Expense Account type 0, Small Value with No Decimals
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>