Kontod XML

Allikas: Excellent || Opendoc
Redaktsioon seisuga 12. märts 2019, kell 14:24 kasutajalt Kaupo (arutelu | kaastöö)
Mine navigeerimisribale Mine otsikasti
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>