Hausing - Register Kontod: erinevus redaktsioonide vahel

Allikas: Excellent || Opendoc
Mine navigeerimisribale Mine otsikasti
140. rida: 140. rida:
<syntaxhighlight lang="xml" line="1">
<syntaxhighlight lang="xml" line="1">
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<data>
<data register="AccVc" sequence="711162" systemversion="8.4.21.1520">
  <register name="AccVc">
  <AccVc>
      <record>
      <AccNumber>1000</AccNumber>
        <head>
      <Comment>Sales 9%</Comment>
            <AccNumber>1000</AccNumber>
      <AccType>3</AccType>
            <Comment>Sales 9%</Comment>
      <NVD>1</NVD>
            <AccType>3</AccType>
      <NVC>1</NVC>
            <NVD>1</NVD>
      <AutCode>AL1</AutCode>
            <NVC>1</NVC>
      <blockedFlag>0</blockedFlag>
            <AutCode>AL1</AutCode>
      <VATCode>4</VATCode>
            <blockedFlag>0</blockedFlag>
      <ControlType>0</ControlType>
            <VATCode>4</VATCode>
      <Curncy>AUD</Curncy>
            <ControlType>0</ControlType>
      <ConsAccNumber>3333</ConsAccNumber>
            <Curncy>AUD</Curncy>
      <Conspr>0</Conspr>
            <ConsAccNumber>3333</ConsAccNumber>
      <Objects>522,524</Objects>
            <Conspr>0</Conspr>
      <SRUCode />
            <Objects>522,524</Objects>
      <ExclFrRep>1</ExclFrRep>
            <SRUCode />
      <PeriodCode>PM1</PeriodCode>
            <ExclFrRep>1</ExclFrRep>
      <GroupAcc>0</GroupAcc>
            <PeriodCode>PM1</PeriodCode>
      <TransAutCode>AL2</TransAutCode>
            <GroupAcc>0</GroupAcc>
      <TaxTemplateCode>MG1</TaxTemplateCode>
            <TransAutCode>AL2</TransAutCode>
      <AccClass>KL1,KL2</AccClass>
            <TaxTemplateCode>MG1</TaxTemplateCode>
      <rows>
            <AccClass>KL1,KL2</AccClass>
         <row>
        </head>
             <LangCode>EST</LangCode>
         <rows>
            <Text>konto eesti keeles</Text>
             <row>
        </row>
              <LangCode>EST</LangCode>
        <row>
              <Text>konto eesti keeles</Text>
            <LangCode>FIN</LangCode>
            </row>
            <Text>Konto inglise keeles</Text>
            <row>
        </row>
              <LangCode>FIN</LangCode>
      </rows>
              <Text>Konto inglise keeles</Text>
   </AccVc>
            </row>
        </rows>
      </record>
   </register>
</data>
</data>
</syntaxhighlight>
</syntaxhighlight>

Redaktsioon: 26. juuni 2018, kell 08:16

Hausing - Pealeht

Kohustuslikud väljad

Field name Description Max length, field type
AccNumber Account code (Konto) 10, Code String
Comment Account name (Nimetus) 60, String
AccType Account type (Kontoklass) 0=Assets(Varad); 1=Liability(Võlad); 2=Equity(Omakapital);3=Income(Tulud);4=Expense(Kulud) 0, Small Value with No Decimals
NVD Normal account – Debit. 0=no;1=yes (Tavaline kirjeldamine, Deebet linnuke) 0, Small Value with No Decimals
NVC Normal account – Credit. 0=no;1=yes (Tavaline kirjeldamine, Kreedit linnuke) 0, Small Value with No Decimals

Minimaalse XML päringu näide

<?xml version="1.0" encoding="UTF-8"?>
<data register="AccVc" sequence="711162" systemversion="8.4.21.1520">
   <AccVc>
      <AccNumber>1001</AccNumber>
      <Comment>VARAD</Comment>
      <AccType>0</AccType>
      <NVD>1</NVD>
      <NVC>1</NVC>
   </AccVc>
</data>

Kõigi XML väljade kirjeldused

Field name Description Max length, field type
AccNumber Account code (Konto)
Comment Account name (Nimetus)
AccType Account type (Kontoklass) 0=Assets; 1=Liability; 2=Equity;3=Income;4=Expense
NVD Normal account – Debit. 0=no;1=yes (Tavaline kirjeldamine, Deebet linnuke)
NVC Normal account – Credit. 0=no;1=yes (Tavaline kirjeldamine, Kreedit linnuke)
AutCode Autotrans (automaatlausend)
blockedFlag Closed. If 1, then closed. (Suletud)
VATCode VAT Code (KM-kood)
ControlType Not used, always 0
Curncy Currency code (Valuuta)
ConsAccNumber Consolidation account code (Konsol. konto)
Conspr Use consolidation percentage. (Kasuta konsolideerimise osakaalu protsenti)
Objects Objects, separated by comma (Objetid)
SRUCode SRU code. Not used, always 0
ExclFrRep Exclude from Riigitarkvara report 0=no;1=yes. (Jäta välja riigitarkvara aruandest)
PeriodCode Accural code (Per. mudeli kood)
GroupAcc Account group (Konto grupp)
TransAutCode Autotrans 2 (automaatlausend 2)
TaxTemplateCode Tax template (Maksugrupp)
AccClass Classification (Klassifikaator)
LangCode Language code in Texts(keel tekstide kaardiosalt)
Text Text in Texts (Tekst tekstide kaardiosalt)

Näidis XML päring

<?xml version="1.0" encoding="UTF-8"?>
<data register="AccVc" sequence="711162" systemversion="8.4.21.1520">
   <AccVc>
      <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 />
      <ExclFrRep>1</ExclFrRep>
      <PeriodCode>PM1</PeriodCode>
      <GroupAcc>0</GroupAcc>
      <TransAutCode>AL2</TransAutCode>
      <TaxTemplateCode>MG1</TaxTemplateCode>
      <AccClass>KL1,KL2</AccClass>
      <rows>
         <row>
            <LangCode>EST</LangCode>
            <Text>konto eesti keeles</Text>
         </row>
         <row>
            <LangCode>FIN</LangCode>
            <Text>Konto inglise keeles</Text>
         </row>
      </rows>
   </AccVc>
</data>