Algsaldod XML: erinevus redaktsioonide vahel
Mine navigeerimisribale
Mine otsikasti
Resümee puudub |
Resümee puudub |
||
1. rida: | 1. rida: | ||
/api/1/FBVc | funktsioon API päringus: /api/1/FBVc | ||
=== Andmete seletus === | |||
{| class="wikitable" | |||
!Kood | |||
!Kirjeldus | |||
!Description ENG | |||
!Pikkus, tüüp | |||
!Kohustuslik/Mandatory | |||
|- | |||
|'''SerNr''' | |||
| | |||
| | |||
|Value with No Decimals, 0 | |||
| | |||
|- | |||
|'''Comment''' | |||
| | |||
| | |||
|String, 60 | |||
| | |||
|- | |||
|'''TransDate''' | |||
| | |||
| | |||
|In Dataformat Order, 0 | |||
| | |||
|- | |||
|'''Sign''' | |||
| | |||
| | |||
|Code String, 10 | |||
| | |||
|- | |||
|'''Objects''' | |||
| | |||
| | |||
|Capital Characters Only, 60 | |||
| | |||
|- | |||
|'''SimFlag''' | |||
| | |||
| | |||
|Small Value with No Decimals, 0 | |||
| | |||
|- | |||
|'''DSum''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''CSum''' | |||
| | |||
| | |||
|Negative Value, 0 | |||
| | |||
|- | |||
|'''DiffVal''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''xMainf''' | |||
| | |||
| | |||
|Small Value with No Decimals, 0 | |||
| | |||
|- | |||
|'''Balf''' | |||
| | |||
| | |||
|Small Value with No Decimals, 0 | |||
| | |||
|- | |||
|'''D2Sum''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''C2Sum''' | |||
| | |||
| | |||
|Negative Value, 0 | |||
| | |||
|- | |||
|'''Diff2Val''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''*** Maatriks ***''' | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|'''AccNumber''' | |||
| | |||
| | |||
|Code String, 10 | |||
| | |||
|- | |||
|'''Comment''' | |||
| | |||
| | |||
|String, 60 | |||
| | |||
|- | |||
|'''x1''' | |||
| | |||
| | |||
|Empty Field, 0 | |||
| | |||
|- | |||
|'''DebVal''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''CredVal''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''Deb2Val''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''Cred2Val''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''CurDebVal''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''CurCredVal''' | |||
| | |||
| | |||
|Value 2 or 3 Decimals, 0 | |||
| | |||
|- | |||
|'''CurncyCode''' | |||
| | |||
| | |||
|Code String, 5 | |||
| | |||
|} | |||
=== XML näidis === | |||
<syntaxhighlight lang="xml"> | |||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> | <?xml version='1.0' encoding='UTF-8' standalone='yes'?> | ||
<data register='FBVc' sequence='263601' systemversion='8.5.48.656'> | <data register='FBVc' sequence='263601' systemversion='8.5.48.656'> | ||
60. rida: | 220. rida: | ||
</FBVc> | </FBVc> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Kaart Standard Booksis === | |||
[[Fail:Algsaldo kaart Booksis.png|tühi|pisi|757x757px]] |
Redaktsioon: 16. märts 2023, kell 09:01
funktsioon API päringus: /api/1/FBVc
Andmete seletus
Kood | Kirjeldus | Description ENG | Pikkus, tüüp | Kohustuslik/Mandatory |
---|---|---|---|---|
SerNr | Value with No Decimals, 0 | |||
Comment | String, 60 | |||
TransDate | In Dataformat Order, 0 | |||
Sign | Code String, 10 | |||
Objects | Capital Characters Only, 60 | |||
SimFlag | Small Value with No Decimals, 0 | |||
DSum | Value 2 or 3 Decimals, 0 | |||
CSum | Negative Value, 0 | |||
DiffVal | Value 2 or 3 Decimals, 0 | |||
xMainf | Small Value with No Decimals, 0 | |||
Balf | Small Value with No Decimals, 0 | |||
D2Sum | Value 2 or 3 Decimals, 0 | |||
C2Sum | Negative Value, 0 | |||
Diff2Val | Value 2 or 3 Decimals, 0 | |||
*** Maatriks *** | ||||
AccNumber | Code String, 10 | |||
Comment | String, 60 | |||
x1 | Empty Field, 0 | |||
DebVal | Value 2 or 3 Decimals, 0 | |||
CredVal | Value 2 or 3 Decimals, 0 | |||
Deb2Val | Value 2 or 3 Decimals, 0 | |||
Cred2Val | Value 2 or 3 Decimals, 0 | |||
CurDebVal | Value 2 or 3 Decimals, 0 | |||
CurCredVal | Value 2 or 3 Decimals, 0 | |||
CurncyCode | Code String, 5 |
XML näidis
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<data register='FBVc' sequence='263601' systemversion='8.5.48.656'>
<FBVc register='FBVc' sequence='263601' url='/api/1/FBVc/1'>
<SerNr>1</SerNr>
<Comment></Comment>
<TransDate>2021-12-31</TransDate>
<Sign>AA</Sign>
<Objects>KONT</Objects>
<SimFlag>0</SimFlag>
<DSum>99.00</DSum>
<CSum></CSum>
<DiffVal>99.00</DiffVal>
<xMainf>0</xMainf>
<Balf>0</Balf>
<Math></Math>
<D2Sum>99.00</D2Sum>
<C2Sum></C2Sum>
<Diff2Val>99.00</Diff2Val>
<rows>
<row rownumber='0'>
<AccNumber>1511</AccNumber>
<Comment>Sisendkäibemaks, teenuse importimisel tasumisele kuuluv</Comment>
<x1></x1>
<DebVal>44.00</DebVal>
<CredVal></CredVal>
<Deb2Val>44.00</Deb2Val>
<Cred2Val></Cred2Val>
<CurDebVal></CurDebVal>
<CurCredVal></CurCredVal>
<CurncyCode>EUR</CurncyCode>
</row>
<row rownumber='1'>
<AccNumber>1512</AccNumber>
<Comment>Sisendkäibemaks, EL-st soetatud kaupadelt </Comment>
<x1></x1>
<DebVal>33.00</DebVal>
<CredVal></CredVal>
<Deb2Val>33.00</Deb2Val>
<Cred2Val></Cred2Val>
<CurDebVal></CurDebVal>
<CurCredVal></CurCredVal>
<CurncyCode>EUR</CurncyCode>
</row>
<row rownumber='2'>
<AccNumber>1513</AccNumber>
<Comment>Tollis impordilt tasutud käibemaks</Comment>
<x1></x1>
<DebVal>22.00</DebVal>
<CredVal></CredVal>
<Deb2Val>22.00</Deb2Val>
<Cred2Val></Cred2Val>
<CurDebVal></CurDebVal>
<CurCredVal></CurCredVal>
<CurncyCode>EUR</CurncyCode>
</row>
</rows>
</FBVc>