Kreeditarved: erinevus redaktsioonide vahel
(Uus lehekülg: '<blockquote>Hausing - Pealeht</blockquote> ==Register== *<nowiki><data> element peab sisaldama:</nowiki> **register="'''IVVc'''" Pilt:Arved hausing.png|raamita|445x...') |
|||
(ei näidata 2 kasutaja 6 vahepealset redaktsiooni) | |||
3. rida: | 3. rida: | ||
*<nowiki><data> element peab sisaldama:</nowiki> | *<nowiki><data> element peab sisaldama:</nowiki> | ||
**register="'''IVVc'''" | **register="'''IVVc'''" | ||
[[Pilt: | [[Pilt:Kreeditarve hausing.png|raamita|445x445px]] | ||
==Toetatud väljad== | ==Toetatud väljad== | ||
===Päis=== | ===Päis=== | ||
56. rida: | 56. rida: | ||
|''Standard Booksi loogika ei luba kirjutada antud väljale. Ümardamise probleemide vältimiseks kasutame ümardamise seadistust.'' | |''Standard Booksi loogika ei luba kirjutada antud väljale. Ümardamise probleemide vältimiseks kasutame ümardamise seadistust.'' | ||
|- | |- | ||
|'''InvType''' | |'''<s>InvType</s>''' | ||
| | | | ||
|<s>Arve tüüp (Tavaline, kreedit jne. 1=tavaline, 3=kreeditarve)</s> | |||
|''<s>0, Small Value with No Decimals</s>'' | |||
| <s>+</s> | |||
|Ei saada seda välja enam ikka, sest selgus et PayDeal asetamisel muutub see automaatselt //Kostja 15.08.2018 | |||
|- | |- | ||
|'''PayDeal''' | |'''PayDeal''' | ||
|Tasumistingimus | |Tasumistingimus | ||
|Tasumistingimuse kood | |Tasumistingimuse kood (Kreeditarve = '''K''') | ||
|''2, Code String'' | |''2, Code String'' | ||
| + | | + | ||
| | |Kreeditarve puhul peab tasumistingimuse koos olema '''K''' (võu muu tasumistingimuse kood millel Tüüp on Kreeditarve) | ||
'''NB!''' see väli on eriti oluline kreeditarvete puhul, sest just selle tunnuse abil muudab Books arve tüüpi. | |||
|- | |- | ||
|'''OKFlag''' | |'''OKFlag''' | ||
102. rida: | 103. rida: | ||
|'''stp''' | |'''stp''' | ||
| | | | ||
|Rea tüüp (1=tavaline) | |Rea tüüp (1=tavaline, 3=kreeditarve) | ||
|1, ''Integer'' | |1, ''Integer'' | ||
| + | | + | ||
|number | |Rea tüüp '''3''' märgitakse maatriksi esimese rea puhul ainult. Kõik järgnevad read märgitakse ja vormistatakse samamoodi nagu krediteeritaval arvel on | ||
|- | |||
|'''OrdRow''' | |||
| | |||
|Arve nr, mida krediteeritakse | |||
|''0, Value with No Decimals'' | |||
| + | |||
|'''NB!''' Ainult esimesel real märgitud. | |||
|- | |||
|'''CreditedRow''' | |||
| | |||
|Algarve krediteeriva rea programmi sisene number (algab 0-st) | |||
|Integer | |||
| + | |||
|'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | |||
Asetamisel kopeeritakse algarvelt antud rea sisu, mida saab vajadusel korrigeerida (ntks kogust). | |||
Ülejäänud väljad siin tabelis ei ole enam kohustuslikud - neid täidab programm ise. | |||
|- | |- | ||
|'''ArtCode''' | |'''ArtCode''' | ||
111. rida: | 129. rida: | ||
|Artiklikood | |Artiklikood | ||
|''20, Code String'' | |''20, Code String'' | ||
| | | | ||
|Hansa internal article code, must be created in advance | |'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | ||
Hansa internal article code, must be created in advance. Kui saadetakse, siis peab vastama krediteeritava arve '''CreditedRow''' reale. | |||
|- | |- | ||
|'''Quant''' | |'''Quant''' | ||
118. rida: | 137. rida: | ||
|Kogus | |Kogus | ||
|''0, Value with minimum Decimals'' | |''0, Value with minimum Decimals'' | ||
| | | | ||
|'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | |||
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |||
|- | |- | ||
|'''Price''' | |'''Price''' | ||
125. rida: | 146. rida: | ||
|Hind | |Hind | ||
|''0, Value with 2 or 3 Decimals'' | |''0, Value with 2 or 3 Decimals'' | ||
| | | | ||
|'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | |||
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |||
|- | |- | ||
|'''Sum''' | |'''Sum''' | ||
132. rida: | 155. rida: | ||
|Kokku | |Kokku | ||
|''0, Value 2 or 3 Decimals'' | |''0, Value 2 or 3 Decimals'' | ||
| | | | ||
|'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | |||
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |||
|- | |- | ||
|'''VATCode''' | |'''VATCode''' | ||
139. rida: | 164. rida: | ||
|KM kood | |KM kood | ||
|''10, Code String'' | |''10, Code String'' | ||
| | | | ||
|'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | |||
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |||
|- | |- | ||
|'''SalesAcc''' | |'''SalesAcc''' | ||
147. rida: | 174. rida: | ||
|''10, Code String'' | |''10, Code String'' | ||
| | | | ||
| | |'''NB!''' Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real) | ||
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |||
|} | |} | ||
===Näidis XML päring=== | ===Näidis XML päring=== | ||
157. rida: | 186. rida: | ||
<TransDate>2018-01-23</TransDate> | <TransDate>2018-01-23</TransDate> | ||
<CustCode>101</CustCode> | <CustCode>101</CustCode> | ||
< | <PayDeal>K</PayDeal> | ||
< | <CurncyCode>EUR</CurncyCode> | ||
<OKFlag>0</OKFlag> | <OKFlag>0</OKFlag> | ||
<rows> | <rows> | ||
<row rownumber="0"><!-- required, number defines the row in Hansa, starts with 0 --> | <row rownumber="0"><!-- required, number defines the row in Hansa, starts with 0 --> | ||
<stp>1</stp> | <stp>3</stp> <!-- stp 3 is only for first row, starting with 0 --> | ||
<ArtCode>001</ArtCode> | <OrdRow>180001</OrdRow> <!-- OrdRow is only for first row, starting with 0 --> | ||
</row> | |||
<row rownumber="1"><!-- required, number defines the row in Hansa, starts with 0 --> | |||
<stp>1</stp> | |||
<CreditedRow>0</CreditedRow> <!-- note that if given, ArtCode and other fields must match the original invoice, only Quant should be changed--> | |||
<ArtCode>001</ArtCode> | |||
<Quant>15</Quant> | <Quant>15</Quant> | ||
<Price>15.64</Price> | <Price>15.64</Price> | ||
1720. rida: | 1751. rida: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<data register="IVVc" | <data register="IVVc" sequence="6063" sort="SerNr" key="SerNr" range="191824:191824" systemversion="8.4.21.1518"> | ||
<IVVc> | <IVVc> | ||
<SerNr> | <SerNr>191824</SerNr> | ||
<InvDate>2018 | <InvDate>2018-08-13</InvDate> | ||
<CustCode> | <CustCode>2</CustCode> | ||
<PayDate>2018 | <Math /> | ||
<Addr0> | <PayDate>2018-08-13</PayDate> | ||
<Addr1 | <Addr0>Uus kontakt, Kostja testib</Addr0> | ||
<Addr2 | <Addr1 /> | ||
<Addr3 | <Addr2 /> | ||
<OurContact | <Addr3 /> | ||
<ClientContact | <OurContact /> | ||
<ClientContact /> | |||
<ExportFlag>0</ExportFlag> | <ExportFlag>0</ExportFlag> | ||
<PayDeal> | <PayDeal>K</PayDeal> | ||
<OrderNr /> | <OrderNr /> | ||
<Prntdf> | <Prntdf>0</Prntdf> | ||
<OKFlag> | <OKFlag>1</OKFlag> | ||
<pdays> | <pdays>0</pdays> | ||
<pdvrebt>0</pdvrebt> | <pdvrebt>0</pdvrebt> | ||
<pdrdays>0</pdrdays> | <pdrdays>0</pdrdays> | ||
1743. rida: | 1775. rida: | ||
<pdComment /> | <pdComment /> | ||
<x1 /> | <x1 /> | ||
<InvType> | <InvType>3</InvType> | ||
<xStatFlag>0</xStatFlag> | <xStatFlag>0</xStatFlag> | ||
<PriceList /> | <PriceList /> | ||
1749. rida: | 1781. rida: | ||
<InclVAT>0</InclVAT> | <InclVAT>0</InclVAT> | ||
<ARAcc>1210</ARAcc> | <ARAcc>1210</ARAcc> | ||
<InvComment | <InvComment /> | ||
<CredInv> | <CredInv>180001</CredInv> | ||
<CredMark /> | <CredMark>K</CredMark> | ||
<SalesMan> | <SalesMan>TANEL</SalesMan> | ||
<ToRateB1 /> | <ToRateB1 /> | ||
<TransDate>2018 | <TransDate>2018-08-13</TransDate> | ||
<CurncyCode>EUR</CurncyCode> | <CurncyCode>EUR</CurncyCode> | ||
<LangCode | <LangCode /> | ||
<UpdStockFlag>0</UpdStockFlag> | <UpdStockFlag>0</UpdStockFlag> | ||
<LastRemndr | <LastRemndr /> | ||
<LastRemDate | <LastRemDate /> | ||
<Sign> | <Sign>TANEL</Sign> | ||
<FrPrice /> | <FrPrice /> | ||
<FrBase /> | <FrBase /> | ||
<FrItem /> | <FrItem /> | ||
<FrVATCode | <FrVATCode /> | ||
<FrObjects /> | <FrObjects /> | ||
<OrgCust /> | <OrgCust /> | ||
<FrGP>0 | <FrGP>0.00</FrGP> | ||
<FrGPPercent /> | <FrGPPercent /> | ||
<Sum0> | <Sum0>0.00</Sum0> | ||
<Sum1> | <Sum1>30.00</Sum1> | ||
<Sum2 /> | <Sum2 /> | ||
<Sum3> | <Sum3>6.00</Sum3> | ||
<Sum4> | <Sum4>36.00</Sum4> | ||
<VATNr | <VATNr /> | ||
<ShipDeal | <ShipDeal /> | ||
<ShipAddr0 | <ShipAddr0 /> | ||
<ShipAddr1 | <ShipAddr1 /> | ||
<ShipAddr2 | <ShipAddr2 /> | ||
<ShipAddr3 | <ShipAddr3 /> | ||
<ShipMode | <ShipMode /> | ||
<Location | <Location /> | ||
<PRCode /> | <PRCode /> | ||
<FrSalesAcc /> | <FrSalesAcc /> | ||
1787. rida: | 1819. rida: | ||
<CustVATCode /> | <CustVATCode /> | ||
<RebCode /> | <RebCode /> | ||
<CalcFinRef> | <CalcFinRef>19182 40000 00027</CalcFinRef> | ||
<Phone | <Phone /> | ||
<Fax /> | <Fax /> | ||
<IntCode | <IntCode /> | ||
<ARonTR>0</ARonTR> | <ARonTR>0</ARonTR> | ||
<CustOrdNr | <CustOrdNr /> | ||
<ExportedFlag>0</ExportedFlag> | <ExportedFlag>0</ExportedFlag> | ||
<BaseSum4> | <BaseSum4>36.00</BaseSum4> | ||
<FrRate /> | <FrRate /> | ||
<ToRateB2 /> | <ToRateB2 /> | ||
1802. rida: | 1834. rida: | ||
<DiscPerc /> | <DiscPerc /> | ||
<DiscSum /> | <DiscSum /> | ||
<TotGP> | <TotGP>30.00</TotGP> | ||
<LocOKNr /> | <LocOKNr /> | ||
<Invalid>0</Invalid> | <Invalid>0</Invalid> | ||
1808. rida: | 1840. rida: | ||
<AuthorizationCode /> | <AuthorizationCode /> | ||
<RecValue /> | <RecValue /> | ||
<RetValue>- | <RetValue>-36.00</RetValue> | ||
<FromBUQT>0</FromBUQT> | <FromBUQT>0</FromBUQT> | ||
<Sorting | <Sorting /> | ||
<NoInterestFlag>0</NoInterestFlag> | <NoInterestFlag>0</NoInterestFlag> | ||
<NoRemndrFlag>0</NoRemndrFlag> | <NoRemndrFlag>0</NoRemndrFlag> | ||
<SVONr /> | <SVONr /> | ||
<InstallmentInv>0</InstallmentInv> | <InstallmentInv>0</InstallmentInv> | ||
<OfficialSerNr | <OfficialSerNr /> | ||
<OfficialSerNr2 | <OfficialSerNr2 /> | ||
<TotQty> | <TotQty>3</TotQty> | ||
<TotWeight | <TotWeight /> | ||
<TotVolume | <TotVolume /> | ||
<Commision | <Commision /> | ||
<SumIncCom> | <SumIncCom>36.00</SumIncCom> | ||
<InvAddr3 | <InvAddr3 /> | ||
<InvAddr4 | <InvAddr4 /> | ||
<DelAddr3 | <DelAddr3 /> | ||
<DelAddr4 | <DelAddr4 /> | ||
<DelAddrCode /> | <DelAddrCode /> | ||
<AutoGiro>0</AutoGiro> | <AutoGiro>0</AutoGiro> | ||
1832. rida: | 1864. rida: | ||
<NoColectionFlag>0</NoColectionFlag> | <NoColectionFlag>0</NoColectionFlag> | ||
<QTNr /> | <QTNr /> | ||
<FiscalFlag /> | <FiscalFlag>0</FiscalFlag> | ||
<JobNr /> | <JobNr /> | ||
<RetnValue>- | <RetnValue>-36.00</RetnValue> | ||
<MachineName /> | <MachineName /> | ||
<TransTime> | <TransTime>14:48:25</TransTime> | ||
<DrawerCode /> | <DrawerCode /> | ||
<SiteX /> | <SiteX /> | ||
<colnr> | <colnr>Must</colnr> | ||
<StatVal | <StatVal /> | ||
<EInvFunc>0</EInvFunc> | <EInvFunc>0</EInvFunc> | ||
<EInvExpFlag>0</EInvExpFlag> | <EInvExpFlag>0</EInvExpFlag> | ||
<EInvExpDate /> | <EInvExpDate /> | ||
<EInvExpQty /> | <EInvExpQty /> | ||
<ServiceDelDate> | <ServiceDelDate>2018-08-13</ServiceDelDate> | ||
<Region /> | <Region /> | ||
<RefStr | <RefStr /> | ||
<TAX2Sum /> | <TAX2Sum /> | ||
<pdvrebt2 /> | <pdvrebt2 /> | ||
1865. rida: | 1897. rida: | ||
<TotalwoTAX>0</TotalwoTAX> | <TotalwoTAX>0</TotalwoTAX> | ||
<CredManNr /> | <CredManNr /> | ||
<RegDate> | <RegDate>2018-08-13</RegDate> | ||
<RegTime> | <RegTime>14:48:25</RegTime> | ||
<COCUSerNr /> | <COCUSerNr /> | ||
<CAE /> | <CAE /> | ||
1872. rida: | 1904. rida: | ||
<VINr /> | <VINr /> | ||
<TerminalID /> | <TerminalID /> | ||
<OrderType> | <OrderType>Tavaline</OrderType> | ||
<FiscalDeviceSeqNr /> | <FiscalDeviceSeqNr /> | ||
<CCTransID /> | <CCTransID /> | ||
1886. rida: | 1918. rida: | ||
<Hash /> | <Hash /> | ||
<HashKeyVersion>0</HashKeyVersion> | <HashKeyVersion>0</HashKeyVersion> | ||
<InvCountry | <InvCountry /> | ||
<DelCountry | <DelCountry /> | ||
<TREONr /> | <TREONr /> | ||
<ORCONr /> | <ORCONr /> | ||
1911. rida: | 1943. rida: | ||
<ReceiptInfo /> | <ReceiptInfo /> | ||
<InvalidTime /> | <InvalidTime /> | ||
<OKBy /> | <OKBy>TANEL</OKBy> | ||
<PlanSendDate | <PlanSendDate /> | ||
<PlanSendTime | <PlanSendTime /> | ||
<PlanArrDate | <PlanArrDate /> | ||
<PlanArrTime | <PlanArrTime /> | ||
<FedServCode /> | <FedServCode /> | ||
<InvalidBy /> | <InvalidBy /> | ||
<Reason /> | <Reason /> | ||
<InvCountryName | <InvCountryName /> | ||
<DelCountryName | <DelCountryName /> | ||
<OfficialSerNrSerie /> | <OfficialSerNrSerie /> | ||
<OfficialSerNr2Serie /> | <OfficialSerNr2Serie /> | ||
<IPBookVAT> | <IPBookVAT>1</IPBookVAT> | ||
<ThirdPartyBillMark>0</ThirdPartyBillMark> | <ThirdPartyBillMark>0</ThirdPartyBillMark> | ||
<RecipientGLN /> | <RecipientGLN /> | ||
<DelRecipientGLN /> | <DelRecipientGLN /> | ||
<IntrastatTransCode | <IntrastatTransCode /> | ||
<GlobalTransportNr | <GlobalTransportNr /> | ||
<GlobalTransportDate | <GlobalTransportDate /> | ||
<DeliverySiteCode /> | <DeliverySiteCode /> | ||
<PrintDate /> | <PrintDate /> | ||
<WorkSiteNumber /> | <WorkSiteNumber /> | ||
<GPProc> | <GPProc>100.0</GPProc> | ||
<TaxInvType>Normal</TaxInvType> | |||
<OYNr /> | |||
<OYDescription /> | |||
<eMail /> | |||
<RvrsVAT /> | |||
<RegNr1 /> | |||
<PromotionCodes /> | |||
<BankReceiptNr /> | |||
<ExcludeFromExports>0</ExcludeFromExports> | |||
<PubAdmContract /> | |||
<PubAdmProject /> | |||
<FactoringExported>0</FactoringExported> | |||
<rows> | <rows> | ||
<row rownumber="0"> | <row rownumber="0"> | ||
<stp> | <stp>3</stp> | ||
<ArtCode | <ArtCode /> | ||
<Quant | <Quant /> | ||
<Price | <Price /> | ||
<Sum | <Sum /> | ||
<vRebate /> | <vRebate /> | ||
<SalesAcc | <SalesAcc /> | ||
<Objects | <Objects /> | ||
<OrdRow /> | <OrdRow>180001</OrdRow> | ||
<BasePrice | <BasePrice /> | ||
<rowGP | <rowGP /> | ||
<FIFO /> | <FIFO /> | ||
<Spec | <Spec /> | ||
<VATCode | <VATCode /> | ||
<Recepy /> | <Recepy /> | ||
<SerialNr /> | <SerialNr /> | ||
1956. rida: | 2000. rida: | ||
<CUPNr /> | <CUPNr /> | ||
<FIFORowVal /> | <FIFORowVal /> | ||
<Coefficient | <Coefficient /> | ||
<CuAccCode /> | <CuAccCode /> | ||
<ExciseNr /> | <ExciseNr /> | ||
<PeriodCode /> | <PeriodCode /> | ||
<UnitCode | <UnitCode /> | ||
<UnitFactQuant /> | <UnitFactQuant /> | ||
<UnitFactPrice /> | <UnitFactPrice /> | ||
<UnitXval | <UnitXval /> | ||
<UnitYval | <UnitYval /> | ||
<UnitZval | <UnitZval /> | ||
<VECode /> | <VECode /> | ||
<CreditCard /> | <CreditCard /> | ||
1991. rida: | 2035. rida: | ||
<CUServiceUntilDate /> | <CUServiceUntilDate /> | ||
<ServiceDelDate /> | <ServiceDelDate /> | ||
<Location | <Location /> | ||
<Comment /> | <Comment /> | ||
<DiscApprovedBy /> | <DiscApprovedBy /> | ||
2018. rida: | 2062. rida: | ||
<SHNr /> | <SHNr /> | ||
<SHRow /> | <SHRow /> | ||
<CustArtCode | <CustArtCode /> | ||
<Salesmen | <Salesmen /> | ||
<CredOfficialSerNr /> | <CredOfficialSerNr /> | ||
<MotherNr /> | <MotherNr /> | ||
<AEStatus> | <AEStatus>Saatmata</AEStatus> | ||
<CustomsNr | <CustomsNr /> | ||
<CountryOfOrg | <CountryOfOrg /> | ||
<SecondarySerialNr /> | <SecondarySerialNr /> | ||
<AlternateDeviceID /> | <AlternateDeviceID /> | ||
<MotherSecondarySerialNr /> | <MotherSecondarySerialNr /> | ||
<MotherAlternateDeviceID /> | <MotherAlternateDeviceID /> | ||
<UnitComment> | <UnitComment /> | ||
<RvrsVATCode /> | |||
<CCReceiptNr /> | |||
</row> | </row> | ||
<row rownumber="1"> | <row rownumber="1"> | ||
<stp>1</stp> | <stp>1</stp> | ||
<ArtCode> | <ArtCode>55</ArtCode> | ||
<Quant>1</Quant> | <Quant>1</Quant> | ||
<Price> | <Price>10.00</Price> | ||
<Sum> | <Sum>10.00</Sum> | ||
<vRebate /> | <vRebate /> | ||
<SalesAcc>3100</SalesAcc> | <SalesAcc>3100</SalesAcc> | ||
<Objects | <Objects /> | ||
<OrdRow /> | <OrdRow /> | ||
<BasePrice | <BasePrice /> | ||
<rowGP> | <rowGP>10.00</rowGP> | ||
<FIFO /> | <FIFO /> | ||
<Spec> | <Spec>Prügivedu</Spec> | ||
<VATCode>1</VATCode> | <VATCode>1</VATCode> | ||
<Recepy /> | <Recepy /> | ||
2052. rida: | 2098. rida: | ||
<CUPNr /> | <CUPNr /> | ||
<FIFORowVal /> | <FIFORowVal /> | ||
<Coefficient | <Coefficient /> | ||
<CuAccCode /> | <CuAccCode /> | ||
<ExciseNr /> | <ExciseNr /> | ||
<PeriodCode /> | <PeriodCode /> | ||
<UnitCode | <UnitCode /> | ||
<UnitFactQuant /> | <UnitFactQuant /> | ||
<UnitFactPrice /> | <UnitFactPrice /> | ||
<UnitXval | <UnitXval /> | ||
<UnitYval | <UnitYval /> | ||
<UnitZval | <UnitZval /> | ||
<VECode /> | <VECode /> | ||
<CreditCard /> | <CreditCard /> | ||
2082. rida: | 2128. rida: | ||
<TAX1Reb /> | <TAX1Reb /> | ||
<TAX2Acc /> | <TAX2Acc /> | ||
<CreditedRow /> | <CreditedRow>0</CreditedRow> | ||
<NotUpdStockFlag>0</NotUpdStockFlag> | |||
<CUServiceHistNr /> | |||
<CUServiceUntilDate /> | |||
<ServiceDelDate /> | |||
<Location /> | |||
<Comment /> | |||
<DiscApprovedBy /> | |||
<Perceptions>0</Perceptions> | |||
<VoidedRowNr /> | |||
<VoidedSign /> | |||
<ovst>0</ovst> | |||
<Withholdings>0</Withholdings> | |||
<WHTax /> | |||
<CCTransID /> | |||
<TaxMatrix /> | |||
<TaxTemplateCode /> | |||
<ResUsage /> | |||
<MBRCode /> | |||
<ChequeNr /> | |||
<CheckNr /> | |||
<Points /> | |||
<SalesAssistant /> | |||
<CCTimestamp /> | |||
<MotherArtCode /> | |||
<RecipeQuant /> | |||
<OrdNr /> | |||
<IVNr /> | |||
<RetRow /> | |||
<QTRow /> | |||
<SHNr /> | |||
<SHRow /> | |||
<CustArtCode /> | |||
<Salesmen /> | |||
<CredOfficialSerNr /> | |||
<MotherNr /> | |||
<AEStatus>Saatmata</AEStatus> | |||
<CustomsNr /> | |||
<CountryOfOrg /> | |||
<SecondarySerialNr /> | |||
<AlternateDeviceID /> | |||
<MotherSecondarySerialNr /> | |||
<MotherAlternateDeviceID /> | |||
<UnitComment /> | |||
<RvrsVATCode /> | |||
<CCReceiptNr /> | |||
</row> | |||
<row rownumber="2"> | |||
<stp>1</stp> | |||
<ArtCode>56</ArtCode> | |||
<Quant>2</Quant> | |||
<Price>10.00</Price> | |||
<Sum>20.00</Sum> | |||
<vRebate /> | |||
<SalesAcc>3100</SalesAcc> | |||
<Objects /> | |||
<OrdRow /> | |||
<BasePrice /> | |||
<rowGP>20.00</rowGP> | |||
<FIFO /> | |||
<Spec>Üldelekter</Spec> | |||
<VATCode>1</VATCode> | |||
<Recepy /> | |||
<SerialNr /> | |||
<PriceFactor /> | |||
<VARList /> | |||
<CUPNr /> | |||
<FIFORowVal /> | |||
<Coefficient /> | |||
<CuAccCode /> | |||
<ExciseNr /> | |||
<PeriodCode /> | |||
<UnitCode /> | |||
<UnitFactQuant /> | |||
<UnitFactPrice /> | |||
<UnitXval /> | |||
<UnitYval /> | |||
<UnitZval /> | |||
<VECode /> | |||
<CreditCard /> | |||
<AuthorizationCode /> | |||
<PosCode /> | |||
<CurncyCode /> | |||
<FrRate /> | |||
<ToRateB1 /> | |||
<ToRateB2 /> | |||
<BaseRate1 /> | |||
<BaseRate2 /> | |||
<PayMode /> | |||
<GCNr /> | |||
<CustOrdNr /> | |||
<RepaExVAT /> | |||
<BasePriceB2 /> | |||
<TAX2Code /> | |||
<TAX2Prc /> | |||
<TAX2Reb /> | |||
<TAX1Reb /> | |||
<TAX2Acc /> | |||
<CreditedRow>1</CreditedRow> | |||
<NotUpdStockFlag>0</NotUpdStockFlag> | <NotUpdStockFlag>0</NotUpdStockFlag> | ||
<CUServiceHistNr /> | <CUServiceHistNr /> | ||
<CUServiceUntilDate /> | <CUServiceUntilDate /> | ||
<ServiceDelDate /> | <ServiceDelDate /> | ||
<Location | <Location /> | ||
<Comment /> | <Comment /> | ||
<DiscApprovedBy /> | <DiscApprovedBy /> | ||
2114. rida: | 2258. rida: | ||
<SHNr /> | <SHNr /> | ||
<SHRow /> | <SHRow /> | ||
<CustArtCode | <CustArtCode /> | ||
<Salesmen | <Salesmen /> | ||
<CredOfficialSerNr /> | <CredOfficialSerNr /> | ||
<MotherNr /> | <MotherNr /> | ||
<AEStatus> | <AEStatus>Saatmata</AEStatus> | ||
<CustomsNr | <CustomsNr /> | ||
<CountryOfOrg | <CountryOfOrg /> | ||
<SecondarySerialNr /> | <SecondarySerialNr /> | ||
<AlternateDeviceID /> | <AlternateDeviceID /> | ||
<MotherSecondarySerialNr /> | <MotherSecondarySerialNr /> | ||
<MotherAlternateDeviceID /> | <MotherAlternateDeviceID /> | ||
<UnitComment> | <UnitComment /> | ||
<RvrsVATCode /> | |||
<CCReceiptNr /> | |||
</row> | </row> | ||
</rows> | </rows> |
Viimane redaktsioon: 27. mai 2019, kell 06:18
Register
- <data> element peab sisaldama:
- register="IVVc"
Toetatud väljad
Päis
Kood | Kasutajaliidese nimi | Kirjeldus | Pikkus, tüüp | Kohustuslik | Kommentaar |
InvDate | Arve kp. | Arve kuupäev | 0, In Dataformat Order | + | Will connect the outer system invoice number with Hansa serial number |
TransDate | Kande kp. | Kande kp. | 0, In Dataformat Order | + | |
CustCode | Klient | Kliendi kood | 20, Code String | + | Hansa internal customer code, must be created in advance |
Standard Booksi loogika ei luba kirjutada antud väljale. Ümardamise probleemide vältimiseks kasutame ümardamise seadistust. | |||||
Standard Booksi loogika ei luba kirjutada antud väljale. Ümardamise probleemide vältimiseks kasutame ümardamise seadistust. | |||||
Standard Booksi loogika ei luba kirjutada antud väljale. Ümardamise probleemide vältimiseks kasutame ümardamise seadistust. | |||||
Ei saada seda välja enam ikka, sest selgus et PayDeal asetamisel muutub see automaatselt //Kostja 15.08.2018 | |||||
PayDeal | Tasumistingimus | Tasumistingimuse kood (Kreeditarve = K) | 2, Code String | + | Kreeditarve puhul peab tasumistingimuse koos olema K (võu muu tasumistingimuse kood millel Tüüp on Kreeditarve)
NB! see väli on eriti oluline kreeditarvete puhul, sest just selle tunnuse abil muudab Books arve tüüpi. |
OKFlag | Kinnita | Kinnitatud. 0=ei, 1=jah | 0, As Bool but displayed as a Checkbox | + | |
CurncyCode | Valuuta | Valuuta | 5, Code String | + | |
Addr0 | Kliendi nimi | Arve saaja aadressi 1. rida | 60, String | Võetakse kliendikoodi aluses kontaktide registrist, kuid on võimalik päringuga saata eraldi ka. |
Maatriks
Kood | Kasutajaliidese nimi | Kirjeldus | Pikkus, tüüp | Kohustuslik | Kommentaar |
stp | Rea tüüp (1=tavaline, 3=kreeditarve) | 1, Integer | + | Rea tüüp 3 märgitakse maatriksi esimese rea puhul ainult. Kõik järgnevad read märgitakse ja vormistatakse samamoodi nagu krediteeritaval arvel on | |
OrdRow | Arve nr, mida krediteeritakse | 0, Value with No Decimals | + | NB! Ainult esimesel real märgitud. | |
CreditedRow | Algarve krediteeriva rea programmi sisene number (algab 0-st) | Integer | + | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Asetamisel kopeeritakse algarvelt antud rea sisu, mida saab vajadusel korrigeerida (ntks kogust). Ülejäänud väljad siin tabelis ei ole enam kohustuslikud - neid täidab programm ise. | |
ArtCode | Artikkel | Artiklikood | 20, Code String | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Hansa internal article code, must be created in advance. Kui saadetakse, siis peab vastama krediteeritava arve CreditedRow reale. | |
Quant | Kogus | Kogus | 0, Value with minimum Decimals | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |
Price | Ühikuhind | Hind | 0, Value with 2 or 3 Decimals | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |
Sum | Summa | Kokku | 0, Value 2 or 3 Decimals | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |
VATCode | KM kood | KM kood | 10, Code String | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Vaikimisi täidetakse krediteeritava arve rea väärtusega. | |
SalesAcc | Konto | Müügi konto | 10, Code String | NB! Ainult kreeditarve järgmistel ridadel (ei tohi olla esimesel real)
Vaikimisi täidetakse krediteeritava arve rea väärtusega. |
Näidis XML päring
<?xml version="1.0" encoding="UTF-8"?>
<data register="IVVc" sequence="106357" systemversion="8.4.20.504">
<IVVc>
<InvDate>2018-01-23</InvDate>
<TransDate>2018-01-23</TransDate>
<CustCode>101</CustCode>
<PayDeal>K</PayDeal>
<CurncyCode>EUR</CurncyCode>
<OKFlag>0</OKFlag>
<rows>
<row rownumber="0"><!-- required, number defines the row in Hansa, starts with 0 -->
<stp>3</stp> <!-- stp 3 is only for first row, starting with 0 -->
<OrdRow>180001</OrdRow> <!-- OrdRow is only for first row, starting with 0 -->
</row>
<row rownumber="1"><!-- required, number defines the row in Hansa, starts with 0 -->
<stp>1</stp>
<CreditedRow>0</CreditedRow> <!-- note that if given, ArtCode and other fields must match the original invoice, only Quant should be changed-->
<ArtCode>001</ArtCode>
<Quant>15</Quant>
<Price>15.64</Price>
<Sum>234,6</Sum>
<VATCode>1</VATCode>
</row>
</rows>
</IVVc>
</data>
Kõigi XML väljade kirjeldused
Päis
Kood | Kasutajaliidese nimi | Kirjeldus | Pikkus, tüüp |
---|---|---|---|
SerNr | Nr. | Arve number | 0, Value with No Decimals |
InvDate | Arve kp. | Arve kuupäev | 0, In Dataformat Order |
CustCode | Klient | Kliendi kood | 20, Code String |
PayDate | Laekumistähtaeg | Maksetähtaeg | 0, In Dataformat Order |
Addr0 | Kliendi nimi | Arve saaja aadressi 1. rida | 60, String |
Addr1 | Aadres | Arve saaja aadressi 2. rida | 60, String |
Addr2 | Arve saaja aadressi 3. rida | 60, String | |
Addr3 | Arve saaja aadressi 4. rida | 60, String | |
OurContact | Meie esindaja | Meie esindaja, arve koostaja | 20, String |
ClientContact | Nende esindaja | Kliendi esindaja | 60, String |
ExportFlag | Käibemaksutsoon
0 = „Eesti“ 1 = „EL“, 2 = „EL (konteeri KM)“, 3 = „Mitte EL“ 4 = „Mitte EL (konteeri KM) |
0, Small Value with No Decimals | |
PayDeal | Tasumistingimus | Tasumistingimuse kood | 2, Code String |
OrderNr | Tellimuse nr | Tellimuse nr (millest arve on koostatud) | 0, Value with No Decimals |
Prntdf | Saadetud. 0=ei, 1=jah | 0, Small Value with No Decimals | |
OKFlag | Kinnita | Kinnitatud. 0=ei, 1=jah | 0, As Bool but displayed as a Checkbox |
pdays | Netopäevi (maksetähtaeg) | 0, Value with No Decimals | |
pdvrebt | Kassa-ale protsent | 0, Value with minimum Decimals | |
pdrdays | Kassa-ale päevi | 0, Value with No Decimals | |
CustCat | Kliendiklass | 5, Code String | |
pdComment | Tekst (peidus) | 60, String | |
x1 | Ei kasutata | 0, Empty Field | |
InvType | Arve tüüp (Tavaline, kreedit jne. 1=tavaline) | 0, Small Value with No Decimals | |
xStatFlag | Ei kasutata, alati 0 | 0, Small Value with No Decimals | |
PriceList | Hinnakiri | Hinnakiri | 5, Code String |
Objects | Objektid | Objektid. Läbiva suurtähega, eraldatud komaga. | 60, Capital Characters Only |
InclVAT | Hind KM-ga (0=ei; 1=jah) | 0, Small Value with No Decimals | |
ARAcc | Ümberhindluskonto (finantskonto) | 10, Code String | |
InvComment | Kommentaar | Arve kommentaar | 200, String |
CredInv | Kreediteeritava arve nr | 0, Value with No Decimals | |
CredMark | Kreeditarve (0=ei; 1=jah) | 1, String | |
SalesMan | Isik | Meie esindaja | 60, Capital Characters Only |
ToRateB1 | Baasvaluuta1 | Kurss B1 suhtes | 0, Value with 6 Decimals |
TransDate | Kande kp. | Kande kuupäev | 0, In Dataformat Order |
CurncyCode | Valuuta | Valuuta | 5, Code String |
LangCode | Keel | Keel | 5, Code String |
UpdStockFlag | Muuda ladu | Muuda ladu (0=ei; 1=jah) | 0, Small Value with No Decimals |
LastRemndr | Märgukirjatase | Märgukirjatase | 0, Value with No Decimals |
LastRemDate | Viimane märguk. kp. | Viimase märgukirja kuupäev | 0, In Dataformat Order |
Sign | Isik | Arve koostaja, allkiri | 10, Code String |
FrPrice | Transpordi hind | 0, Value 2 or 3 Decimals | |
FrBase | Ei kasutata, alati tühi | 0, Value 2 or 3 Decimals | |
FrItem | Transpordi artiklikood | 20, Code String | |
FrVATCode | Trans. KM-k | Transpordi käibemaksukood | 10, Code String |
FrObjects | Transpordi objektid | 60, Capital Characters Only | |
OrgCust | Algne klient | 20, Code String | |
FrGP | Ei kasutata, alati tühi | 0, Value 2 or 3 Decimals | |
FrGPPercent | Müügikatte protsent hinnast | 0, Value 2 or 3 Decimals | |
Sum0 | Ümardus | 0, Value 2 or 3 Decimals | |
Sum1 | Vahesumma | Neto summa | 0, Value 2 or 3 Decimals |
Sum2 | Kokku (Eestis tühi) | 0, Value 2 or 3 Decimals | |
Sum3 | KM | Käibemaksu summa | 0, Value 2 or 3 Decimals |
Sum4 | KOKKU | Kokku | 0, Value 2 or 3 Decimals |
VATNr | KMKR nr. | Kliendi KMKR number | 20, String |
ShipDeal | Lähetustingimus | 5, Code String | |
ShipAddr0 | Lähetus- | Lähetusaadressi 1. rida | 60, String |
ShipAddr1 | Aadress | Lähetusaadressi 2. rida | 60, String |
ShipAddr2 | Lähetusaadressi 3. rida | 60, String | |
ShipAddr3 | Lähetusaadressi 4. rida | 60, String | |
ShipMode | Lähetusviis | Lähetusviis | 5, Code String |
Location | Ladu | Ladu | 10, Code String |
PRCode | Projekt | Projekti kood | 20, Code String |
FrSalesAcc | Ei kasutata, alati tühi | 10, Code String | |
TAX1Sum | Lisamaks | 0, Value 2 or 3 Decimals | |
CustVATCode | Kliendi KM kood | 10, Code String | |
RebCode | Allahindlusmaatriksi kood (kliendilt) | 5, Code String | |
CalcFinRef | Viide | Viide | 30, String |
Phone | Telefon (kliendi) | 20, String with phone-number | |
Fax | Faks (kliendi) | 20, String | |
IntCode | Viivis | 10, String | |
ARonTR | Info kande E-osale | Info kande E-osale (0=ei; 1=jah) | 0, Small Value with No Decimals |
CustOrdNr | Kliendi tellimuse number | 60, String | |
ExportedFlag | Eksporditud (0=ei; 1=jah) | 0, Small Value with No Decimals | |
BaseSum4 | Suma | Summa | 0, Value 2 or 3 Decimals |
FrRate | Baasvaluuta1 | Kurss B1-te | 0, Value with 6 Decimals |
ToRateB2 | Baasvaluuta2 | Kurss B2-te | 0, Value with 6 Decimals |
BaseRate1 | Baasvaluuta1 | B1 kurss | 0, Value with 6 Decimals |
BaseRate2 | Baasvaluuta2 | B2 kurss | 0, Value with 6 Decimals |
InvoiceNr | Hankija arve nr | 20, String | |
DiscPerc | Allahindlusprotsent | 0, Value with minimum Decimals | |
DiscSum | Allahindluse summa | 0, Value 2 or 3 Decimals | |
TotGP | Kokku MK | Kokku MK (Müügikate) | 0, Value 2 or 3 Decimals |
LocOKNr | Asukoha kin. nr. | 0, Value with minimum Decimals | |
Invalid | Kehtetu, suletud. | 0, Small Value with No Decimals | |
CreditCard | Krediitkaart | 20, Capital Characters Only | |
AuthorizationCode | Autoriseerimiskood | 10, Capital Characters Only | |
RecValue | Makstud (0=ei; 1=jah) | 0, Value 2 or 3 Decimals | |
RetValue | Sularaha tagasi | 0, Value 2 or 3 Decimals | |
FromBUQT | Ei kasutata, alati tühi | 0, Small Value with No Decimals | |
Sorting | Teekond | Teekond | 20, String |
NoInterestFlag | Ära arvesta viivist | Ära arvesta viivist (0=ei; 1=jah) | 0, Small Value with No Decimals |
NoRemndrFlag | Ära koosta masskirju | Ära koosta masskirju (0=ei; 1=jah) | 0, Small Value with No Decimals |
SVONr | Teenindustellimuse nr | 0, Value with No Decimals | |
InstallmentInv | Ei kasutata, alati tühi | 0, Small Value with No Decimals | |
OfficialSerNr | Ametlik ser. nr. | Ametlik seerianumber | 100, String |
OfficialSerNr2 | Ametlik ser. nr. 2 | Ametlik seerianumber 2 | 100, String |
TotQty | Kogus kokku | Kokku kogus | 0, Value with minimum Decimals |
TotWeight | Kaal Kokku | Kokku kaal | 0, Value with minimum Decimals |
TotVolume | Maht Kokku | Maht kokku | 0, Value with minimum Decimals |
Commision | Teenustasu | Teenustasu | 0, Value 2 or 3 Decimals |
SumIncCom | Kokku teen.-ga | Kokku teenustasuga | 0, Value 2 or 3 Decimals |
InvAddr3 | Arve aadress 4. Rida | 60, String | |
InvAddr4 | Arve aadress 5. Rida | 60, String | |
DelAddr3 | Lähetusaadress 4. Rida | 60, String | |
DelAddr4 | Lähetusaadress 5. Rida | 60, String | |
DelAddrCode | Aadressi kood | Lähetusaadressi kood | 20, Code String |
AutoGiro | Ei kasutata, alati tühi | 0, Small Value with No Decimals | |
SalesGroup | Müügigrupp | Müügigrupp | 30, Capital Characters Only |
DisputedFlag | Vaidlustatud | Vaidlustatud (0=ei; 1=jah) | 0, Small Value with No Decimals |
NoColectionFlag | Kogumiseta (0=ei; 1=jah) | 0, Small Value with No Decimals | |
QTNr | Pakkumise nr | 0, Value with No Decimals | |
FiscalFlag | Fiskaalarve (0=ei; 1=jah) | 0, As Bool but displayed as a Checkbox | |
JobNr | Tellimuse nr | 0, Value with No Decimals | |
RetnValue | Ei kasutata, alati tühi | 0, Value 2 or 3 Decimals | |
MachineName | Terminali kood | 20, Code String | |
TransTime | Aeg | Muutmise kellaaeg | 0, Hour:Min:Secs |
DrawerCode | Sahtel | 5, Code String | |
SiteX | Ei kasutata, alati tühi | 10, Code String | |
Colnr | Värv | 46, Int represented by a Set of String | |
StatVal | Statistiline väärtus | 0, Value 2 or 3 Decimals | |
EInvFunc | E-arve funktsioon | 0, Small Value with No Decimals | |
EInvExpFlag | E-arve eksporditud (0=ei; 1=jah) | 0, Small Value with No Decimals | |
EInvExpDate | E-arve ekspordi kuupäev | 0, In Dataformat Order | |
EInvExpQty | E-arve ekspordi kogus | 0, Value with No Decimals | |
ServiceDelDate | Teenuse lähetamiskuupäev | 0, In Dataformat Order | |
Region | Regioon | 20, Code String | |
RefStr | Viide | Viide | 60, String |
TAX2Sum | Maks 2 | 0, Value 2 or 3 Decimals | |
pdvrebt2 | Kassa-ale protsent 2 | 0, Value with minimum Decimals | |
pdrdays2 | Kassa-ale päevi 2 | 0, Value with No Decimals | |
NoTax1 | Lisamaksuta | 0, Small Value with No Decimals | |
NoTax2 | Lisamaksuta 2 | 0, Small Value with No Decimals | |
FreightCode | Transport | Transpordi kood | 5, Code String |
BankCode | Pangakood | 10, Code String | |
InvalidDate | Ei kasutata, alati tühi | 0, In Dataformat Order | |
InvalidLocOKNr | Ei kasutata, alati tühi | 0, Value with minimum Decimals | |
NoEInvoice | Ära saada e-arvena (0=ei; 1=jah) | 0, Small Value with No Decimals | |
TaxAuthID | Maksuameti ID | 200, String | |
TaxAuthIDCC | Kontrollkood | 20, String | |
BranchID | Filiaal | 20, Code String | |
Status | Hetkeseis | 361, Int represented by a Set of String | |
NoTAXonVAT | Arvuta lisamaks summast koos käibemaksuga | 0, Value with No Decimals | |
TotalwoTAX | Kokku ei sisalda lisamaksu | 0, Small Value with No Decimals | |
CredManNr | Krediidilimiidi number | 0, Value with No Decimals | |
RegDate | Registreerimise kuupäev | 0, In Dataformat Order | |
RegTime | Aeg | Registreerimise kellaaeg | 0, Hour:Min:Secs |
COCUSerNr | Kasutatakse vaid HansaWorldi edasimüüjate poolt | 0, Value with No Decimals | |
CAE | CAE | 20, String | |
CAEExpiry | CAE kehtivus | 0, In Dataformat Order | |
VINr | Ostuarve number | 0, Value with No Decimals | |
TerminalID | Terminali ID | 60, String | |
OrderType | Tellimuse tüüp | 433, Int represented by a Set of String | |
FiscalDeviceSeqNr | Ei kasutata, alati tühi | 0, Value with No Decimals | |
CCTransID | CC kande ID | 50, Capital Characters Only | |
AcceptanceStatus | Kinnituse hetkeseis | 0, Small Value with No Decimals | |
TaxMatrix | Maksu maatriks, Eestis ei kasutata | 0, Packed Matrix, base64 data | |
CustTaxTemplateCode | Kliendi maksu maatriks, Eestis ei kasutata | 0, Value with No Decimals | |
RoyaltyIVFlag | Eestis ei kasutata | 0, Value 2 or 3 Decimals | |
LoyaltyCardNr | Kliendikaart | Kliendikaart | 20, Code String |
LCMLevel | Liikmekaardi tasemete struktuur | 10, Code String | |
Points | Kliendikaardi punkte | 0, Value 2 or 3 Decimals | |
DepCode | Osakond | 10, Code String | |
SelfBilling | Isearveldamine | Isearveldamine | 0, Small Value with No Decimals |
Hash | Eestis ei kasutata, alati tühi | 255, String | |
HashKeyVersion | Eestis ei kasutata, alati tühi | 0, Small Value with No Decimals | |
InvCountry | Arve saaja riigi kood | 5, Code String | |
DelCountry | Lähetusaadressi riigi kood | 5, Code String | |
TREONr | TREO number | 0, Value with No Decimals | |
ORCONr | TREO nr. | Müügilepingu number | 0, Value with No Decimals |
CAEAStartDate | CAEA alguskuupäev | 0, In Dataformat Order | |
CAEAExpiryDate | CAEA lõpukuupäev | 0, In Dataformat Order | |
CAEAFlag | CAEA kasutusel (0=ei; 1=jah) | 0, Small Value with No Decimals | |
FInvExpFlag | Eestis ei kasutata, alati tühi | 0, Small Value with No Decimals | |
GroupInv | Konsolideeritud arveldamine | 0, Small Value with No Decimals | |
Suspended | Ootel | 0, Small Value with No Decimals | |
AcceptanceBy | Kinnitaja(d) | 200, Comma separated List | |
RetNr | Eestis ei kasutata, alati tühi | 0, Value with No Decimals | |
TaxAdminServSeal | Maksupisat | 250, String | |
CredOfficialSerNr | Eestis ei kasutata, alati tühi | 100, Capital Characters Only | |
AcceptanceFYI | Teadmiseks saajad | 200, Comma separated List | |
PMCode | Tasumisviis | 2, Code String | |
PayAccNo | Tasumise konto nr | 4, String | |
BrazilEInvType | Arve tüüp | 10, Code String | |
TaxAdminReceiptNr | E-arve. konf. nr. | 200, String | |
TaxAuthReceiptDate | Eestis ei kasutata, alati tühi | 0, In Dataformat Order | |
TaxAuthReceiptTime | Eestis ei kasutata, alati tühi | 0, Hour:Min:Secs | |
ReceiptInfo | Laekumise info | 200, String | |
InvalidTime | Eestis ei kasutata, alati tühi | 0, Hour:Min:Secs | |
OKBy | Eestis ei kasutata, alati tühi | 10, Code String | |
PlanSendDate | Plan. saatmise kp. | Planeeritud lähetuse kuupäev | 0, In Dataformat Order |
PlanSendTime | Plan. saatmise aeg | Planeeritud saatmise kellaaeg | 0, Hour:Min:Secs |
PlanArrDate | Plan. saabumise kp. | Planeeritud saabumise kuupäev | 0, In Dataformat Order |
PlanArrTime | Plan. saabumise aeg | Planeeritud saabumise kellaaeg | 0, Hour:Min:Secs |
FedServCode | Riiklik teenus (0=ei; 1=jah) | 10, Code String | |
InvalidBy | Eestis ei kasutata, alati tühi | 10, Code String | |
Reason | Eestis ei kasutata, alati tühi | 20, Code String | |
InvCountryName | Arve saaja riigi nimi | 100, String | |
DelCountryName | Lähetusriigi nimi | 100, String | |
OfficialSerNrSerie | Seeria | 30, String | |
OfficialSerNr2Serie | Eestis ei kasutata, alati tühi | 30, String | |
IPBookVAT | Konteeri laekumise KM (0=ei; 1=jah) | 0, Small Value with No Decimals | |
ThirdPartyBillMark | Eestis ei kasutata, alati tühi | 0, Small Value with No Decimals | |
RecipientGLN | GLN (Global Location Number) | 20, String | |
DelRecipientGLN | Lähetuse GLN | 20, String | |
IntrastatTransCode | Intrastati kandekood | Intrastati kandekood | 20, Code String |
GlobalTransportNr | Glob. transpordi nr. | Globaalne transpordinumber | 30, Capital Characters Only |
GlobalTransportDate | Glob. transpordi kp. | Globaalne transpordikuupäev | 0, In Dataformat Order |
DeliverySiteCode | Lähetusaadressi kood | 60, String | |
PrintDate | Printimise kuupäev | Printimise kuupäev | 60, String |
WorkSiteNumber | Asukoha number | 60, String | |
GPProc | GP protsent | 0, Value with One Decimal |
Maatriks
Kood | Kasutajaliidese nimi | Kirjeldus | Pikkus, tüüp |
---|---|---|---|
ArtCode | Artikkel | Artiklikood | 20, Code String |
Quant | Kogus | Kogus | 0, Value with minimum Decimals |
Price | Ühikuhind | Hind | 0, Value with 2 or 3 Decimals |
Sum | Summa | Kokku | 0, Value 2 or 3 Decimals |
vRebate | % | Allahindlusprotsent | 0, Value with One Decimal |
SalesAcc | Konto | Müügi konto | 10, Code String |
Objects | Objektid | Objekt(id) | 60, Capital Characters Only |
OrdRow | Tellimuse read | 0, Value with No Decimals | |
BasePrice | Hind | Baashind | 0, Value 2 or 3 Decimals |
rowGP | Müügikate | Rea müügikate | 0, Value 2 or 3 Decimals |
FIFO | FIFO | FIFO hind | 0, Value with All Decimals |
Spec | Kirjeldus | Kirjeldus | 100, String |
VATCode | KM-k | KM kood | 10, Code String |
Recepy | Retsept | Retsept | 20, Code String |
SerialNr | Seerianr./Partii nr | Seerianumber | 60, String |
PriceFactor | Hinna f. | Hinna faktor | 0, Value with All Decimals |
VARList | VAR | 30, Capital Characters Only | |
CUPNr | Ettemaksu | 0, Value with No Decimals | |
FIFORowVal | FIFO | Rea fifo | 0, Value with All Decimals |
Coefficient | Koef. | Koefitsent | 0, Value with All Decimals |
CuAccCode | Kliendi konto? | 20, Code String | |
ExciseNr | Aktsiis | 20, String | |
PeriodCode | Per. Mudel | Periodiseerimise mudel | 10, Code String |
UnitCode | Ühik | Ühiku kood | 5, Code String |
UnitFactQuant | Üh. Kogus | Ühiku kogus | 0, Value with minimum Decimals |
UnitFactPrice | Ühikuhind | Ühiku hind | 0, Value with 2 or 3 Decimals |
UnitXval | Laius | Laius | 0, Value with minimum Decimals |
UnitYval | Kõrgus | Kõrgus | 0, Value with minimum Decimals |
UnitZval | Sügavus | Sügavus | 0, Value with minimum Decimals |
VECode | Hankija kood | 20, Code String | |
CreditCard | Krediitkaart | 20, Capital Characters Only | |
AuthorizationCode | Autoriseerimiskood | 10, Capital Characters Only | |
PosCode | Asukohast | 20, Code String | |
CurncyCode | Valuuta | 5, Code String | |
FrRate | Kurss | 0, Value with 6 Decimals | |
ToRateB1 | B.1 kursile | 0, Value with 6 Decimals | |
ToRateB2 | B.2 kursile | 0, Value with 6 Decimals | |
BaseRate1 | Baasvaluuta 1 | 0, Value with 6 Decimals | |
BaseRate2 | Baasvaluuta 2 | 0, Value with 6 Decimals | |
PayMode | Tasumisviis | 2, Code String | |
GCNr | GC number | 0, Value with No Decimals | |
CustOrdNr | Kliendi tellimuse number | 60, String | |
RepaExVAT | Tagatisraha | Tagatisraha | 0, Value 2 or 3 Decimals |
BasePriceB2 | Ostuhind B2 | Ostuhind 2 | 0, Value 2 or 3 Decimals |
TAX2Code | Eestis ei kasutata, alati tühi | 5, Code String | |
TAX2Prc | Eestis ei kasutata, alati tühi | 0, Value with 2 or 3 Decimals | |
TAX2Reb | Eestis ei kasutata, alati tühi | 0, Value 2 or 3 Decimals | |
TAX1Reb | Lisamaksud, kliendi allahindlused | 0, Value 2 or 3 Decimals | |
TAX2Acc | Eestis ei kasutata, alati tühi | 10, Code String | |
CreditedRow | Krediitarve rida | 0, Value with No Decimals | |
NotUpdStockFlag | Ei muuda ladu (0=ei; 1=jah) | 0, Small Value with No Decimals | |
CUServiceHistNr | Kliendi teeninduslepingu number | 0, Value with No Decimals | |
CUServiceUntilDate | Kliendi teeninduslepingu kehtivus | 0, In Dataformat Order | |
ServiceDelDate | Teenuse lähetuskuupäev | 0, In Dataformat Order | |
Location | Ladu | Ladu | 10, Code String |
Comment | Kommentaar | 100, String | |
DiscApprovedBy | Allahindluse kinnitaja | 10, Code String | |
Perceptions | Arvuta piirkondlikud maksud | 0, Small Value with No Decimals | |
VoidedRowNr | Eestis ei kasutata, alati tühi | 0, Value with No Decimals | |
VoidedSign | Allkiri | 10, Code String | |
ovst | Alati 0 | 0, Small Value with No Decimals | |
Withholdings | Arvuta kinnipidamismaksud | 0, Small Value with No Decimals | |
WHTax | Kinnipidamismaks | 2, Code String | |
CCTransID | CC kande ID | 50, Capital Characters Only | |
TaxMatrix | Maksumaatriks | 0, Packed Matrix, base64 data | |
TaxTemplateCode | Maksumalli kood | 60, Capital Characters Only | |
ResUsage | Pakett | 10, Code String | |
MBRCode | Eestis ei kasutata, alati tühi | 10, Code String | |
ChequeNr | Tšeki number | 0, Value with No Decimals | |
CheckNr | Tšeki number | 20, Capital Characters Only | |
Points | Punkte | 0, Value 2 or 3 Decimals | |
SalesAssistant | Müügiassistent | 10, Code String | |
CCTimestamp | Eestis ei kasutata, alati tühi | 20, String | |
MotherArtCode | Eestis ei kasutata, alati tühi | 20, Code String | |
RecipeQuant | Retsepti kogus | 0, Value with minimum Decimals | |
OrdNr | Kliendi tellimuse number | 0, Value with No Decimals | |
IVNr | Kliendi ostuarve number | 0, Value with No Decimals | |
RetRow | Eestis ei kasutata, alati tühi | 0, Value with No Decimals | |
QTRow | Pakkumise rida | 0, Value with No Decimals | |
SHNr | Lähetuse number | 0, Value with No Decimals | |
SHRow | Lähetuse rida | 0, Value with No Decimals | |
CustArtCode | Kliendi artiklikood | 20, Code String | |
Salesmen | Müügimees | Müügimees | 60, Capital Characters Only |
CredOfficialSerNr | Eestis ei kasutata, alati tühi | 100, String | |
MotherNr | Peaseeria number | 60, String | |
AEStatus | E-arve staatus real | 544, Int represented by a Set of String | |
CustomsNr | Tolli number | 30, String | |
CountryOfOrg | Pärit riigist (2kohaline riigi kood) | 5, Code String | |
SecondarySerialNr | Teine seerianumber | 60, String | |
AlternateDeviceID | Eestis ei kasutata, alati tühi | 30, String | |
MotherSecondarySerialNr | Eestis ei kasutata, alati tühi | 60, String | |
MotherAlternateDeviceID | Eestis ei kasutata, alati tühi | 30, String | |
UnitComment | Ühiko kommentaar | 200, String |
Näidis XML päring
<?xml version="1.0" encoding="UTF-8"?>
<data register="IVVc" sequence="6063" sort="SerNr" key="SerNr" range="191824:191824" systemversion="8.4.21.1518">
<IVVc>
<SerNr>191824</SerNr>
<InvDate>2018-08-13</InvDate>
<CustCode>2</CustCode>
<Math />
<PayDate>2018-08-13</PayDate>
<Addr0>Uus kontakt, Kostja testib</Addr0>
<Addr1 />
<Addr2 />
<Addr3 />
<OurContact />
<ClientContact />
<ExportFlag>0</ExportFlag>
<PayDeal>K</PayDeal>
<OrderNr />
<Prntdf>0</Prntdf>
<OKFlag>1</OKFlag>
<pdays>0</pdays>
<pdvrebt>0</pdvrebt>
<pdrdays>0</pdrdays>
<CustCat />
<pdComment />
<x1 />
<InvType>3</InvType>
<xStatFlag>0</xStatFlag>
<PriceList />
<Objects />
<InclVAT>0</InclVAT>
<ARAcc>1210</ARAcc>
<InvComment />
<CredInv>180001</CredInv>
<CredMark>K</CredMark>
<SalesMan>TANEL</SalesMan>
<ToRateB1 />
<TransDate>2018-08-13</TransDate>
<CurncyCode>EUR</CurncyCode>
<LangCode />
<UpdStockFlag>0</UpdStockFlag>
<LastRemndr />
<LastRemDate />
<Sign>TANEL</Sign>
<FrPrice />
<FrBase />
<FrItem />
<FrVATCode />
<FrObjects />
<OrgCust />
<FrGP>0.00</FrGP>
<FrGPPercent />
<Sum0>0.00</Sum0>
<Sum1>30.00</Sum1>
<Sum2 />
<Sum3>6.00</Sum3>
<Sum4>36.00</Sum4>
<VATNr />
<ShipDeal />
<ShipAddr0 />
<ShipAddr1 />
<ShipAddr2 />
<ShipAddr3 />
<ShipMode />
<Location />
<PRCode />
<FrSalesAcc />
<TAX1Sum />
<CustVATCode />
<RebCode />
<CalcFinRef>19182 40000 00027</CalcFinRef>
<Phone />
<Fax />
<IntCode />
<ARonTR>0</ARonTR>
<CustOrdNr />
<ExportedFlag>0</ExportedFlag>
<BaseSum4>36.00</BaseSum4>
<FrRate />
<ToRateB2 />
<BaseRate1 />
<BaseRate2 />
<InvoiceNr />
<DiscPerc />
<DiscSum />
<TotGP>30.00</TotGP>
<LocOKNr />
<Invalid>0</Invalid>
<CreditCard />
<AuthorizationCode />
<RecValue />
<RetValue>-36.00</RetValue>
<FromBUQT>0</FromBUQT>
<Sorting />
<NoInterestFlag>0</NoInterestFlag>
<NoRemndrFlag>0</NoRemndrFlag>
<SVONr />
<InstallmentInv>0</InstallmentInv>
<OfficialSerNr />
<OfficialSerNr2 />
<TotQty>3</TotQty>
<TotWeight />
<TotVolume />
<Commision />
<SumIncCom>36.00</SumIncCom>
<InvAddr3 />
<InvAddr4 />
<DelAddr3 />
<DelAddr4 />
<DelAddrCode />
<AutoGiro>0</AutoGiro>
<SalesGroup />
<DisputedFlag>0</DisputedFlag>
<NoColectionFlag>0</NoColectionFlag>
<QTNr />
<FiscalFlag>0</FiscalFlag>
<JobNr />
<RetnValue>-36.00</RetnValue>
<MachineName />
<TransTime>14:48:25</TransTime>
<DrawerCode />
<SiteX />
<colnr>Must</colnr>
<StatVal />
<EInvFunc>0</EInvFunc>
<EInvExpFlag>0</EInvExpFlag>
<EInvExpDate />
<EInvExpQty />
<ServiceDelDate>2018-08-13</ServiceDelDate>
<Region />
<RefStr />
<TAX2Sum />
<pdvrebt2 />
<pdrdays2 />
<NoTax1>0</NoTax1>
<NoTax2>0</NoTax2>
<FreightCode />
<BankCode />
<InvalidDate />
<InvalidLocOKNr />
<NoEInvoice>0</NoEInvoice>
<TaxAuthID />
<TaxAuthIDCC />
<BranchID />
<Status>-</Status>
<NoTAXonVAT>0</NoTAXonVAT>
<TotalwoTAX>0</TotalwoTAX>
<CredManNr />
<RegDate>2018-08-13</RegDate>
<RegTime>14:48:25</RegTime>
<COCUSerNr />
<CAE />
<CAEExpiry />
<VINr />
<TerminalID />
<OrderType>Tavaline</OrderType>
<FiscalDeviceSeqNr />
<CCTransID />
<AcceptanceStatus>0</AcceptanceStatus>
<TaxMatrix />
<CustTaxTemplateCode />
<RoyaltyIVFlag>0</RoyaltyIVFlag>
<LoyaltyCardNr />
<LCMLevel />
<Points />
<DepCode />
<SelfBilling>0</SelfBilling>
<Hash />
<HashKeyVersion>0</HashKeyVersion>
<InvCountry />
<DelCountry />
<TREONr />
<ORCONr />
<CAEAStartDate />
<CAEAExpiryDate />
<CAEAFlag>0</CAEAFlag>
<FInvExpFlag>0</FInvExpFlag>
<GroupInv>0</GroupInv>
<Suspended>0</Suspended>
<AcceptanceBy />
<RetNr />
<TaxAdminServSignatureTimeStamp />
<TaxAdminServCertificateNr />
<TaxAdminServSeal />
<CredOfficialSerNr />
<AcceptanceFYI />
<PMCode />
<PayAccNo />
<BrazilEInvType />
<TaxAdminReceiptNr />
<TaxAuthReceiptDate />
<TaxAuthReceiptTime />
<ReceiptInfo />
<InvalidTime />
<OKBy>TANEL</OKBy>
<PlanSendDate />
<PlanSendTime />
<PlanArrDate />
<PlanArrTime />
<FedServCode />
<InvalidBy />
<Reason />
<InvCountryName />
<DelCountryName />
<OfficialSerNrSerie />
<OfficialSerNr2Serie />
<IPBookVAT>1</IPBookVAT>
<ThirdPartyBillMark>0</ThirdPartyBillMark>
<RecipientGLN />
<DelRecipientGLN />
<IntrastatTransCode />
<GlobalTransportNr />
<GlobalTransportDate />
<DeliverySiteCode />
<PrintDate />
<WorkSiteNumber />
<GPProc>100.0</GPProc>
<TaxInvType>Normal</TaxInvType>
<OYNr />
<OYDescription />
<eMail />
<RvrsVAT />
<RegNr1 />
<PromotionCodes />
<BankReceiptNr />
<ExcludeFromExports>0</ExcludeFromExports>
<PubAdmContract />
<PubAdmProject />
<FactoringExported>0</FactoringExported>
<rows>
<row rownumber="0">
<stp>3</stp>
<ArtCode />
<Quant />
<Price />
<Sum />
<vRebate />
<SalesAcc />
<Objects />
<OrdRow>180001</OrdRow>
<BasePrice />
<rowGP />
<FIFO />
<Spec />
<VATCode />
<Recepy />
<SerialNr />
<PriceFactor />
<VARList />
<CUPNr />
<FIFORowVal />
<Coefficient />
<CuAccCode />
<ExciseNr />
<PeriodCode />
<UnitCode />
<UnitFactQuant />
<UnitFactPrice />
<UnitXval />
<UnitYval />
<UnitZval />
<VECode />
<CreditCard />
<AuthorizationCode />
<PosCode />
<CurncyCode />
<FrRate />
<ToRateB1 />
<ToRateB2 />
<BaseRate1 />
<BaseRate2 />
<PayMode />
<GCNr />
<CustOrdNr />
<RepaExVAT />
<BasePriceB2 />
<TAX2Code />
<TAX2Prc />
<TAX2Reb />
<TAX1Reb />
<TAX2Acc />
<CreditedRow />
<NotUpdStockFlag>0</NotUpdStockFlag>
<CUServiceHistNr />
<CUServiceUntilDate />
<ServiceDelDate />
<Location />
<Comment />
<DiscApprovedBy />
<Perceptions>0</Perceptions>
<VoidedRowNr />
<VoidedSign />
<ovst>0</ovst>
<Withholdings>0</Withholdings>
<WHTax />
<CCTransID />
<TaxMatrix />
<TaxTemplateCode />
<ResUsage />
<MBRCode />
<ChequeNr />
<CheckNr />
<Points />
<SalesAssistant />
<CCTimestamp />
<MotherArtCode />
<RecipeQuant />
<OrdNr />
<IVNr />
<RetRow />
<QTRow />
<SHNr />
<SHRow />
<CustArtCode />
<Salesmen />
<CredOfficialSerNr />
<MotherNr />
<AEStatus>Saatmata</AEStatus>
<CustomsNr />
<CountryOfOrg />
<SecondarySerialNr />
<AlternateDeviceID />
<MotherSecondarySerialNr />
<MotherAlternateDeviceID />
<UnitComment />
<RvrsVATCode />
<CCReceiptNr />
</row>
<row rownumber="1">
<stp>1</stp>
<ArtCode>55</ArtCode>
<Quant>1</Quant>
<Price>10.00</Price>
<Sum>10.00</Sum>
<vRebate />
<SalesAcc>3100</SalesAcc>
<Objects />
<OrdRow />
<BasePrice />
<rowGP>10.00</rowGP>
<FIFO />
<Spec>Prügivedu</Spec>
<VATCode>1</VATCode>
<Recepy />
<SerialNr />
<PriceFactor />
<VARList />
<CUPNr />
<FIFORowVal />
<Coefficient />
<CuAccCode />
<ExciseNr />
<PeriodCode />
<UnitCode />
<UnitFactQuant />
<UnitFactPrice />
<UnitXval />
<UnitYval />
<UnitZval />
<VECode />
<CreditCard />
<AuthorizationCode />
<PosCode />
<CurncyCode />
<FrRate />
<ToRateB1 />
<ToRateB2 />
<BaseRate1 />
<BaseRate2 />
<PayMode />
<GCNr />
<CustOrdNr />
<RepaExVAT />
<BasePriceB2 />
<TAX2Code />
<TAX2Prc />
<TAX2Reb />
<TAX1Reb />
<TAX2Acc />
<CreditedRow>0</CreditedRow>
<NotUpdStockFlag>0</NotUpdStockFlag>
<CUServiceHistNr />
<CUServiceUntilDate />
<ServiceDelDate />
<Location />
<Comment />
<DiscApprovedBy />
<Perceptions>0</Perceptions>
<VoidedRowNr />
<VoidedSign />
<ovst>0</ovst>
<Withholdings>0</Withholdings>
<WHTax />
<CCTransID />
<TaxMatrix />
<TaxTemplateCode />
<ResUsage />
<MBRCode />
<ChequeNr />
<CheckNr />
<Points />
<SalesAssistant />
<CCTimestamp />
<MotherArtCode />
<RecipeQuant />
<OrdNr />
<IVNr />
<RetRow />
<QTRow />
<SHNr />
<SHRow />
<CustArtCode />
<Salesmen />
<CredOfficialSerNr />
<MotherNr />
<AEStatus>Saatmata</AEStatus>
<CustomsNr />
<CountryOfOrg />
<SecondarySerialNr />
<AlternateDeviceID />
<MotherSecondarySerialNr />
<MotherAlternateDeviceID />
<UnitComment />
<RvrsVATCode />
<CCReceiptNr />
</row>
<row rownumber="2">
<stp>1</stp>
<ArtCode>56</ArtCode>
<Quant>2</Quant>
<Price>10.00</Price>
<Sum>20.00</Sum>
<vRebate />
<SalesAcc>3100</SalesAcc>
<Objects />
<OrdRow />
<BasePrice />
<rowGP>20.00</rowGP>
<FIFO />
<Spec>Üldelekter</Spec>
<VATCode>1</VATCode>
<Recepy />
<SerialNr />
<PriceFactor />
<VARList />
<CUPNr />
<FIFORowVal />
<Coefficient />
<CuAccCode />
<ExciseNr />
<PeriodCode />
<UnitCode />
<UnitFactQuant />
<UnitFactPrice />
<UnitXval />
<UnitYval />
<UnitZval />
<VECode />
<CreditCard />
<AuthorizationCode />
<PosCode />
<CurncyCode />
<FrRate />
<ToRateB1 />
<ToRateB2 />
<BaseRate1 />
<BaseRate2 />
<PayMode />
<GCNr />
<CustOrdNr />
<RepaExVAT />
<BasePriceB2 />
<TAX2Code />
<TAX2Prc />
<TAX2Reb />
<TAX1Reb />
<TAX2Acc />
<CreditedRow>1</CreditedRow>
<NotUpdStockFlag>0</NotUpdStockFlag>
<CUServiceHistNr />
<CUServiceUntilDate />
<ServiceDelDate />
<Location />
<Comment />
<DiscApprovedBy />
<Perceptions>0</Perceptions>
<VoidedRowNr />
<VoidedSign />
<ovst>0</ovst>
<Withholdings>0</Withholdings>
<WHTax />
<CCTransID />
<TaxMatrix />
<TaxTemplateCode />
<ResUsage />
<MBRCode />
<ChequeNr />
<CheckNr />
<Points />
<SalesAssistant />
<CCTimestamp />
<MotherArtCode />
<RecipeQuant />
<OrdNr />
<IVNr />
<RetRow />
<QTRow />
<SHNr />
<SHRow />
<CustArtCode />
<Salesmen />
<CredOfficialSerNr />
<MotherNr />
<AEStatus>Saatmata</AEStatus>
<CustomsNr />
<CountryOfOrg />
<SecondarySerialNr />
<AlternateDeviceID />
<MotherSecondarySerialNr />
<MotherAlternateDeviceID />
<UnitComment />
<RvrsVATCode />
<CCReceiptNr />
</row>
</rows>
</IVVc>
</data>