API

Balance Exchange Service Description

 

 

Using Web-services

 

With Balance Exchange services it is possible to exchange the following documents: master data, documents and typical operations.

Web-Services can be used with the formats

<ServerIPaddress>/Balance_Exchange/hs/Exchange/<URLtemplate>

The name of the published base must be: Balance_Exchange

<ServerIPaddress> - Server address, where Balance database is published.

<URLtemplate> - Means the object of exchange.

 

In order to use the function of Balance exchange with web-services, it is necessary to make exchange usage available:

 

  •        Tab “administration”
  •        Data synchronization settings
  •        Check “WS exchange search settings

 

 

 

Clients

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Clients

The description of the services is generated from the program.

 

 

Sales> Customers > The description of the services;

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
GroupჯგუფიCatalogCustomer  
FullNameსრული დასახელებაString (150) Depends on Name 
IDს/ნString (50)  YES
LegalFormსამართლებრივი ფორმაListLegal forms“Limited Liability Company” 
      
CurrencyვალუტაCatalogCurrencyAccounting Currency 
VATTypeდღგ-ით დაბეგვრაListVAT Taxable“VAT Payer” 
ByAgreementsანგარიშსწორება ხელშეკრულებების მიხედვითBoolean FALSE 
MainAgreementძირითადი ხელშეკრულებაCatalogCustomer Contract“Default Contract” 
ReceivablesAccountანგარიშსწორების აღრიცხვის ანგარიშიAccount Default Accounts 
AdvancesAccountავანსების აღრიცხვის ანგარიშიAccount Default Accounts 
VATArticleდღგ-ის მუხლიCatalogVAT AritcleVATType by meaning 
LegalAddressიურიდიული მისამართიString (150)   
PhysicalAddressფაქტიური მისამართიString (150)   
PhoneტელეფონიString (150)   
FaxფაქსიString (150)   
Emailელექტრონული ფოსტაString (255)   
PostAddressსაფოსტო მისამართიString (Indefinite)   
AdditionalInformationდამატებითი ინფორმაციაString (Indefinite)   
CountryქვეყანაCatalogCountries„საქართველო“ 
BankAccountსაბანკო ანგარიშიString (50)Bank Account Number  

 

 

 

Clients agreements

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/ClientsAgreements

 

 

The description of the services is generated from the program.

Sales> Customers > The description of the services;

Master Data - Customer Agreements

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
OwnerმფლობელიCatalogCustomer YES
CurrencyვალუტაCatalogCurrencyDepends on Owner 
NumberნომერიString (30)   
DateთარიღიDate Current Date 
CommentsკომენტარებიString (Indefinite)   
StartDateმოქმედების დაწყების თარიღიDate   
EndDateმოქმედების დასრულების თარიღიDate   
VATTypeდღგ-ით დაბეგვრაListVAT taxable typesDepends on Owner 
ReceivablesAccountანგარიშსწორების აღრიცხვის ანგარიშიAccount Depends on Owner 
AdvancesAccountავანსების აღრიცხვის ანგარიშიAccount Depends on Owner 
VATArticleდღგ-ის მუხლიCatalogVAT AritcleVATType by the meaning  
If VATType is not transmissioned. Owner by the meaning

 

 

Vendors

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Vendors

The description of the services is generated from the program.

Purchase > Suppliers> The description of the services;

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
GroupჯგუფიCatalogSupplier  
FullNameსრული დასახელებაString (150) Depends on Name 
IDს/ნString (50)  YES
LegalFormსამართლებრივი ფორმაListLegal forms“Limited Liability Company” 
      
CurrencyვალუტაCatalogCurrencyAccounting Currency 
VATTypeდღგ-ით დაბეგვრაListVAT Taxable“VAT Payer” 
ByAgreementsანგარიშსწორება ხელშეკრულებების მიხედვითBoolean FALSE 
MainAgreementძირითადი ხელშეკრულებაCatalogSupplier Contract“Default contrcat” 
PayablesAccountანგარიშსწორების აღრიცხვის ანგარიშიAccount Default Accounts 
AdvancesAccountავანსების აღრიცხვის ანგარიშიAccount Default Accounts 
ReverseChargeVATAccountუკუდაბეგვრის დღგ-ის ანგარიშიAccount Default Accounts 
PersonalIncomeTaxსაშ. გად.-ის გათვალისწინებაBoolean FALSE 
PersonalIncomeTaxRateსაშ. გად.-ის განაკვეთიCatalogWithholding Tax Rate  
ItemComplianceTypeნომენკლატურების შესაბამისობაListItem correspondence“According to the names” 
LegalAddressიურიდიული მისამართიString (150)   
PhysicalAddressფაქტიური მისამართიString (150)   
PhoneტელეფონიString (150)   
FaxფაქსიString (150)   
Emailელექტრონული ფოსტაString (255)   
PostAddressსაფოსტო მისამართიString (Indefinite)   
AdditionalInformationდამატებითი ინფორმაციაString (Indefinite)   
RecoverableVATAccountჩასათვლელი დღგ-ს ანგარიშიAccount Default Accounts 
CountryქვეყანაCatalogCountries“საქართველო” 
WaybillComplianceTypeსზ შესაბამისობის კონტროლის ტიპიListWaybill correspondence control„Auto“ 
BankAccountსაბანკო ანგარიშიString (50)Bank account number  

 

 

Vendors agreements

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/VendorsAgreements

 

The description of the services is generated from the program.

Purchase > Suppliers> The description of the services;

Master data – Vendor Contracts

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
OwnerმფლობელიCatalogSupplier YES
CurrencyვალუტაCatalogCurrencyDepends on owner 
NumberნომერიString (30)   
DateთარიღიDate Current date 
CommentsკომენტარებიString (Indefinite)   
PersonalIncomeTaxსაშ. გად.-ის გათვალისწინებაBoolean Owner by the meaning (if is not transmissioned PersonalIncomeTaxRate) 
PersonalIncomeTaxRateსაშ. გად.-ის განაკვეთიCatalogWithholding Tax RateDepends on owner 
StartDateმოქმედების დაწყების თარიღიDate   
EndDateმოქმედების დასრულების თარიღიDate   
VATTypeდღგ-ით დაბეგვრაListVAT taxable typesDepends on owner 
PayablesAccountანგარიშსწორების აღრიცხვის ანგარიშიAccount Depends on owner 
AdvancesAccountავანსების აღრიცხვის ანგარიშიAccount Depends on owner 
ReverseChargeVATAccountუკუდაბეგვრის დღგ-ის ანგარიშიAccount Depends on owner 
RecoverableVATAccountჩასათვლელი დღგ-ს ანგარიშიAccount Depends on owner 
IncomeTaxObjectმოგების გადასახადით დაბეგვრის ობიექტიCatalogProfit tax taxable objects  
IndicateIncomeTaxObjectმიეთითოს დაბეგვრის ობიექტი მოგების გადასახადის მიხედვითBoolean FALSE 

 

 

Employees

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Employees

The description of the services is generated from the program.

 

Salary> Staff> The description of the services;

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
GroupჯგუფიCatalogStaff  
IDპირადი ნომერიString (12)  YES
LegalAddressიურიდიული მისამართიString (150)   
PhysicalAddressფაქტიური მისამართიString (150)   
PhoneNumberტელეფონიString (150)   
FaxფაქსიString (150)   
Emailელექტრონული ფოსტაString (255)   
PostAddressსაფოსტო მისამართიString (Indefinite)   
OtherსხვაString (Indefinite)   
SexსქესიListIndividual gender  
BirthDateდაბადების თარიღიDate   
HireDateმიღების თარიღიDate  YES
DismissalDateგათავისუფლების თარიღიDate   
ConditionმდგომარეობაListEmployee status“Received on work” 
Countryრეზიდენტობის ქვეყანაCatalogCountries„საქართველო“ 
BankAccountსაბანკო ანგარიშიString (50)Bank account number  
DepartmentდეპარტამენტიCatalogDepartment YES
PositionთანამდებობაCatalogPosition  
AccrualTypeდარიცხვაCatalogAccruals and deductionsDefault Accrual Type 
AccrualGrossAmountთანხა გროსიNumber (13/2)   
DeductionTypeდაკავებაCatalogAccruals and deductions  
DeductionGrossAmountთანხა გროსიNumber (13/2)   
TaxPreferenceგამოქვითვა გამოიყენებაDate   
PreferenceRateგამოქვითვის პროცენტიNumber (3/0)   
PreferenceAmountგამოქვითვის თანხაNumber (13/2)   
PreviousIncomeშემოსავალი წინა სამუშაო ადგილიდანNumber (13/2)   

 

 

 

Fixed assets

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/FixedAssets

The description of the services is generated from the program.

Fixed Assets> Fixed Assets > The description of the services;

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
GroupჯგუფიCatalogFixed assets  
DescriptionაღწერაString (150)   
AssetNumberსაინვენტარო ნომერიString (25)   
InsuredდაზღვეულიაBoolean FALSE 
WarrantyReceivedმიღებულია გარანტიაBoolean FALSE 
CategoryკატეგორიაCatalogCategories of fixed assets  
LeaseლიზინგიListLeasing status  
LeaseDateლიზინგის თარიღიDate   
AssetAccountაღრიცხვის ანგარიშიAccount Depends on CategoryYES
DepreciationAccountამორტიზაციის ანგარიშიAccount Depends on Category 
ExpensesAccountხარჯების ანგარიშიAccount Depends on Category 
StateსტატუსიListFixed assets status“Active” 
ServiceStartDateექსპლუატაციაში შესვლის თარიღიDate   
TaxGroupსაგადასახადო ჯგუფიCatalogTax groups of fixed assetsDepends on CategoryYES
OwnershipTypeსაკუთრების ფორმაListFixed assets possession form  
ModelმოდელიString (100)   
ReleaseDateგამოშვების (აშენების) თარიღიDate   
PurchaseDateშესყიდვის თარიღიDate Current date 
PurchasePriceშესყიდვის ღირებულებაNumber (13/2)   
WriteOffDateჩამოწერის თარიღიDate   
DepartmentდეპარტამენტიCatalogDepartment  
Warehouseადგილმდებარეობა (საწყობი)CatalogWarehouse  
ResponsiblePersonპასუხისმგებელი პირიCatalogStaff  
DepreciationStartDateამორტიზაციის დაწყების თარიღიDate   
DepreciationMethodამორტიზაციის დარიცხვის მეთოდიListDepreciation parameters  
ResidualValueსალიკვიდაციო ღირებულებაNumber (13/2)   
UsefulLifeგამოყენების ვადა (თვე)Number (4/0)   
Analytics1ანალიტიკა 1AnalyticsExpensesAccountAnalytics  
Analytics2ანალიტიკა 2AnalyticsExpensesAccountAnalytics  
Analytics3ანალიტიკა 3AnalyticsExpensesAccountAnalytics  
Analytics4ანალიტიკა 4AnalyticsExpensesAccountAnalytics  

 

Items

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Items

 

 

The description of the services is generated from the program.

Warehouse > Item > The description of the services;

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificatorWith PATCH method
NameდასახელებაString (150)  YES
GroupჯგუფიCatalogItem  
InternalArticleარტიკულიString (12)   
Unitზომ. ერთეულიCatalogClassification of units of measurement„ცალი“ 
ItemTypeნომენკლატურის ტიპიListItem types„Goods” 
WeightწონაNumber (12/3)   
VATRateდღგ-ის განაკვეთიCatalogVAT rate„ჩვეულებრივი“ 
InventoriesAccountმარაგების აღრიცხვის ანგარიშიAccount Default Accounts 
ExpensesAccountხარჯების აღრიცხვის ანგარიში (მომსახურების)Account Default Accounts 
RevenuesAccountშემოსავლების აღრიცხვის ანგარიშიAccount Default Accounts 
CostsAccountხარჯების აღრიცხვის ანგარიში (საქონლის)Account Default Accounts 
VATPayableAccountდარიცხული დღგ-ის ანგარიშიAccount Default Accounts 
ImportTaxRateიმპორტის განაკვეთიCatalogImport rate  
BarcodeშტრიხკოდიString (200)   
FullNameსრული დასახელებაString (150) Depends on Name 
VATArticleდღგ-ის მუხლიCatalogVAT article1. „Sale by compensation” 
2. If the articale does not match to VATRate, by the meaning of VATRate.
OwnProductionსაკუთარი წარმოების პროდუქტიBoolean FALSE 
ProductionAccountწარმოებისAccount   
UnitCostტარიფიNumber (13/2)   
LoadingPerVehicleტევადობა ერთ ტრანსპორტზეNumber (13/2)   
PriceფასიNumber (11/4)Not negative  

 

 

ცხრილი: Packages

 

 

NameDescriptionExchange typeTypeDefault valueRequired
PackageდასახელებაString (150)   
CoefficientკოეფიციენტიNumber (7/3)   

 

 

 

Typical operations

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/TypicalOperations/{TemplateCode}

The parameterTemplateCodeis template’s code.

 

 

Types, defaultfillings and necessaryfields depend on the template.

The description of the services is generated from the program:

 

Operations > Typical operations > description of web services;

 

After choosing the template, server address and description will be generated

 

 

Purchase

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Purchase

 

The description of the services is generated from the program.

 

Purchases > purchase > The description of the services;

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificator 
DateთარიღიDate  YES
OperationTypeოპერაციის ტიპიListPurchase operation types“Purchase from the supplier” 
BranchფილიალიCatalogBranchDefault BranchYES
WarehouseსაწყობიCatalogWarehouseDefault WarehouseIf Item type is Good
VendorმომწოდებელიCatalogSupplier YES
AgreementხელშეკრულებაCatalogSupplier contractDepends on Vendor 
AmountIncludesVATთანხა შეიცავს დღგ-ისBoolean TRUE 
PriceTypeფასის ტიპიCatalogPrice typeDefault Price Type 
CurrencyვალუტაCatalogCurrency1. Depends on Vendor/Agreement 
2. Accounting Currency
CurrencyRateკურსიNumber (2/13) Current Currency Rate 
VendorAccountმომწოდებლის ანგარიშიAccount Depends on Vendor/AgreementYES
AdvancesAccountავანსის ანგარიშიAccount Depends on Vendor/AgreementIf table: AdvancesPaid is filled
ReverseChargeVATAccountუკუდაბეგვრის დღგ-ის ანგარიშიAccount Depends on Vendor/AgreementVATType = “Reverse charge VAT”
IncludeWithholdingTaxსაშ. გად.-ის გათვალისწინებაBoolean FALSE 
If OperationType = „Purchase by import” , always false
CommentsკომენტარებიString (Indefinite)   
AdvanceHolderანგარიშვალდებული პირიCatalogStaff  
AdvanceHolderAccountანგარიშვალდებულის ანგარიშიAccount Default AccountsOperationType =
“Purchase by advance holder”
VATTypeდღგ-ით დაბეგვრაListVAT taxable types1. Depends on Vendor/Agreement; 
2. If OperationType = „Purchase by import”, „Import“
ReceivableVATAccountდღგ-ის ანგარიშიAccount Depends on Vendor/AgreementVATType = „VAT Payer“ or “Reverse charge VAT”
WithholdingTaxExpenseAccountსაშემოსავლოს ხარჯის ანგარიშიAccount Default AccountsIncludeWithholdingTax = true and WithholdingTaxAccount filled
WithholdingTaxAccountგადასახდელი საშემოსავლო გადასახადის ანგარიშიAccount Default AccountsIncludeWithholdingTax = true and OperationType = “Purchase by advance holder”
PrimaryDocumentპირველადი დოკუმენტიString (50)   
RevenuesAndExpensesAnalyticsშემოსავალ-ხარჯების ანალიტიკაCatalogRevenue-Expenses analytics  
DepartmentდეპარტამენტიCatalogDepartmentDefault Department 

 

 

ცხრილი: AdvancesPaid

 

 

NameDescriptionExchange typeDefault valueRequired
AdvanceDateავანსის თარიღიDate  
AmountInCurrencyვალ. თანხაNumber (13/2)Depends on AmountAmount = 0
AmountთანხაNumber (13/2)Depends on AmountInCurrencyAmountInCurrency = 0
CurrencyRate კურსი Number (6/4)1. Depends on AmountInCurrency and Amount when both are filled. 
2. Current Currency Rate

 

 

ცხრილი: Others

 

 

NameDescriptionExchange typeTypeDefault valueRequired
DescriptionშინაარსიString (1024)  YES
AmountთანხაNumber (13/2)  YES
VATRateდღგ-ის განაკვეთიCatalogVAT rate1. If VATType = „No VAT tax payer”, - “Without VAT“ 
2. „ჩვეულებრივი“
WithholdingTaxRateსაშ. გად.-ის განაკვეთიCatalogWitholding Tax rateIf IncludeWithholdingTax = true, Depends on Vendor/Agreement 
AccountNumberაღრიცხვის ანგარიშიAccount  YES
Analytics1ანალიტიკა 1AnalyticsAccountNumberAnalytics  
Analytics2ანალიტიკა 2AnalyticsAccountNumberAnalytics  
Analytics3ანალიტიკა 3AnalyticsAccountNumberAnalytics  
Analytics4ანალიტიკა 4AnalyticsAccountNumberAnalytics  

 

 

ცხრილი: Items

 

 

NameDescriptionExchange typeTypeDefault valueRequired
ItemნომენკლატურაCatalogItem YES
Unitერთ.CatalogUnites of measurement,Item by the meaning 
Classification of units of measurement.
QuantityრაოდენობაNumber (12/3) 1 
PriceფასიNumber (11/4) 1. Depends on ItemIf Price is not set and
2. Depends on AmountAmount=0
AmountთანხაNumber (13/2) Price, WithholdingTaxRate, VATRate  by the meaningPrice = 0
WithholdingTaxRateსაშ. გად.-ის განაკვეთიCatalogWitholding Tax rateIf IncludeWithholdingTax = true, Depends on Vendor/Agreement 
VATRateდღგ-ის განაკვეთიCatalogVAT rate1. If VATType = „No VAT tax payer”, - “Without VAT“ 
2. Depends on Item
3. „ჩვეულებრივი“
AccountNumberაღრიცხვის ანგარიშიAccount Depends on ItemYES
Analytics1ანალიტიკა 1AnalyticsAccountNumberAnalytics  
Analytics2ანალიტიკა 2AnalyticsAccountNumberAnalytics  
Analytics3ანალიტიკა 3AnalyticsAccountNumberAnalytics  
Analytics4ანალიტიკა 4AnalyticsAccountNumberAnalytics  

 

 

Sales

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Sale

 

 

The description of the services is generated from the program.

 

Sales > Sale > The description of the services;

 

 

NameDescriptionExchange typeTypeDefault valueRequired
uidუნიკალური იდენტიფიკატორიGuid New unique identificator 
DateთარიღიDate  YES
BranchფილიალიCatalogBranchDefault BranchYES
DepartmentდეპარტამენტიCatalogDepartmentDefault Department 
WarehouseსაწყობიCatalogWarehouseDefault WarehouseYES
ClientმყიდველიCatalogCustomer YES
AgreementხელშეკრულებაCatalogCustomer contractDepends on Client 
AmountIncludesVATთანხა შეიცავს დღგ-ისBoolean TRUE 
PriceTypeფასის ტიპიCatalogPrice types1. Depends on Client 
2. Default Price Type
CurrencyვალუტაCatalogCurrency1. Depends on Client/Agreement 
2. Accounting Currency
CurrencyRateკურსიNumber (2/13) Current Currency Rate 
ReceivablesAccountმყიდველის ანგარიშიAccount Depends on Client/AgreementYES
AdvancesAccountავანსის ანგარიშიAccount Depends on Client/AgreementIf table: AdvancesPaid is filled
CommentsკომენტარებიString (Indefinite)   
VATExpenseAccountდღგ - ფინანსური ხარჯის ანგარიშიAccount Default AccountsDoesNotAffectReceivables = true, or
VATArticle = „Sales without compensation” and profit tax payble object is „Difference between Gross income and deducitions”
DifferenceAccountსხვაობის ანგარიშიAccount Default AccountsDoesNotAffectReceivables = true and profit tax payble object is „Difference between Gross income and deducitions”
ReceivablesWriteoffAccountდავალიანების გადაფარვის ანგარიში  Default AccountsVATArticle = „Sale without compensation” and DoesNotAffectReceivables = false
VATArticleდღგ-ის მუხლიCatalogVAT article1. Depends on Client/Agreement 
2. “Sale by compensation”
DoesNotAffectReceivablesარ აისახება ანგარიშსწორების ანგარიშზეBoolean FALSE 
PrimaryDocumentპირველადი დოკუმენტიString (50)   
RevenuesAndExpensesAnalyticsშემოსავალ-ხარჯების ანალიტიკაCatalogRevenue-Expenses analytics.  
SubjetToIncomeTaxიბეგრება მოგების გადასახადითBoolean If VATArticle = „Sale without compensation” and profit tax payble object is „Distributed profit”,- True 
IncomeTaxTypeმოგების გადასახადით დაბეგვრის ობიექტიCatalogProfit Tax payble“Free delivery of goods service”SubjetToIncomeTax = true
CapitalAccountკაპიტალის ანგარიშიAccount Default AccountsSubjetToIncomeTax = true
IncomeTaxAccountმოგების გადასახადის ანგარიშიAccount Default AccountsSubjetToIncomeTax = true

 

 

 

ცხრილი: AdvancesPaid

 

 

NameDescriptionExchange typeDefault valueRequired
AdvanceDateავანსის თარიღიDate  
AmountInCurrencyვალ. თანხაNumber (13/2)Depends on AmountAmount = 0
AmountთანხაNumber (13/2)Depends on AmountInCurrencyAmountInCurrency = 0
CurrencyRate კურსი Number (6/4)1. Depends on AmountInCurrency and Amount by the meaning, if both are filled. 
2. Current Currency Rate

 

 

 

ცხრილი: Others

 

 

NameDescriptionExchange typeTypeDefault valueRequired
DescriptionშინაარსიString (1024)  YES
AmountთანხაNumber (13/2)  YES
VATArticleდღგ-ის მუხლიCatalogVAT articleDocument’s VATArticle 
VATRateდღგ-ის განაკვეთიCatalogVAT rateVATArticle by the meaning 
VATPayableAccountდღგ-ის ანგარიშიAccount  VAT > 0
RevenueAccountშემოსავლების ანგარიშიAccount  YES
Waybillს/ზBoolean FALSE 
RevenuesAndExpensesAnalyticsშემოსავალ-ხარჯების ანალიტიკაCatalogRevenue-Expenses analytics  

 

 

 

ცხრილი: Items

 

 

 

NameDescriptionExchange typeTypeDefault valueRequired
ItemნომენკლატურაCatalogItem YES
Unitერთ.CatalogUnit of measurementDepends on Item 
QuantityრაოდენობაNumber (12/3) 1 
PriceფასიNumber (11/4) 1. Depends on ItemPrice is not set and fields calculated = 0
2. Depends on Amount
DiscountფასდაკლებაNumber (13/2) Depends on Price, Amount, DiscountedPrice if  * always 0Fields calculated = 0
DiscountedPriceფასი ფასდაკლებითNumber (11/4) Depends on Price, Amount, Discount if  * always PriceFields calculated = 0
AmountთანხაNumber (13/2) Depends on Price, Discount, DiscountedPrice, VATRateFields calculated = 0
AccountNumberაღრიცხვის ანგარიშიAccount Depends on ItemIf Item type is Good
VATPayableAccountდღგ-ის ანგარიშიAccount Depends on ItemVAT > 0
IncomeAccountშემოსავლების ანგარიშიAccount Depends on ItemYES
ExpensesAccountხარჯების ანგარიშიAccount Depends on ItemIf Item type is Good
RevenuesAndExpensesAnalyticsშემოსავალ-ხარჯების ანალიტიკაCatalogRevenue-Expenses Analytics  

 

 

Sale order

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/SalesOrders

 

 

The description of the services is generated from the program.

 

Salees > Sales orders > The description of the services;

 

 

 

ცხრილი: Inventory

 

 

NameDescriptionExchange typeTypeDefault valueRequired
ProductionპროდუქციაCatalogItem  
ItemნომენკლატურაCatalogItem  
QuantityრაოდენობაNumber (12/3) 1 
Unitერთ.CatalogUnit of measurmentDepends on Item 
ReserveრეზერვიNumber (12/3) 0 

 

 

ცხრილი: Items

 

 

Name

Description

Exchange type

Type

Default value

Required

Item

ნომენკლატურა

Catalog

Item

 

YES

Unit

ერთ.

Catalog

Unit of measurment

Depends on Item

 

Quantity

რაოდენობა

Number (12/3)

 

1

Price

ფასი

Number (11/4)

 

  1. Depends on Item

2. Depends on Amount

If Price is not set and calculated fields = 0

Discount

ფასდაკლება

Number (13/2)

 

Depends on Price, Amount, DiscountedPrice if  * always 0

Calculated fields  = 0

DiscountedPrice

ფასი ფასდაკლებით

Number (11/4)

 

Depends on Price, Amount, Discount if  * always Price

Calculated fields  = 0

Amount

თანხა

Number (13/2)

 

Depends on Price, Discount, DiscountedPrice, VATRate

Calculated fields  = 0

VATRate

დღგ-ისგანაკვეთი

Catalog

VAT rate

1. თუ VATType = „No VAT tax payer” – “Without VAT”

2. Depends on Item

3. „ჩვეულებრივი“

 

Reserve

რეზერვი

Number (12/3)

 

0

 

Specification

სპეციფიკაცია

Catalog

 

Specification

 

 

 

Prices

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Prices

 

  •        Read–With GET method.

 

Optional parameters: Date, PriceType, Item.

 

Service returns all item prices for given date (Date).

 

Service will return item prices for current date if parameters ar not given.

 

If parameters ar given, returned information can be filtered by given one price type (PriceType) and by given one item (Item). Objects will be identified based on search types, indicated in settings. Search types can be found in Settings.

 

Simultaniosly it is possible to use one or several filters.

 

For example, for current date all item prices can be returned with:

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Prices

For given date, given price type and given item, prices can be returned with:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Prices?Date=""&PriceType=""&Item=""

Items will not be returned if no set price was found for given parameters.

 

Restrictions:

 

As a default service have access to all prices for any price type.

It is possible to grant access to prices for one given price type in the program.

To view or edit list of permitted price types, go to:

Administration > Data synchronization settings > All price types are allowed

 

 

 

After entering the price types in the list, service will only have access to item prices for entered price types.

 

Responses:

 

400 Invalid date format

404 Price type / Item not found

200 OK

 

 

Stocks

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Stocks

 

  •        Read–With GET method.

 

Optional parameters: Date, Item, Warehouse, Branch.

Service returns all item stocks for given date (Date).

Service will return item stocks for current date if parameters ar not given.

 

If parameters ar given, returned information can be filtered by given one item (Item), by given one warehouse (Warehouse) and by given one branch (Branch). Objects will be identified based on search types, indicated in settings. Search types can be found in Settings.

 

Simultaniosly it is possible to use one or several filters.

 

For example, for current date all item stocks can be returned with:

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Stocks

For given date, given item, given warehouse and given branch, stocks can be returned with:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Stocks?Date=""&Item=""&Warehouse=""&Branch=""

Items will not be returned if no free stock was found for given parameters.

 

Restrictions:

 

As a default service have access to all item stocks for any warehouse.

It is possible to grant access to item stocks for one given warehouse in the program.

To view or edit list of permitted warehouses, go to:

 

Administration > Data synchronization settings > All warehouses are allowed

 

 

 

After entering the warehouses in the list, service will only have access to item stocks for entered warehouses.

 

Responses:

 

400 Invalid date format

404 Item / Warehouse / Branch not found

200 OK

 

 

 

Vendor Balances

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/VendorsBalances

 

  •        Read – With GET method.

 

Optional parameters: Date, Vendor, VendorAgreement, Branch.

Service returns all vendors balances for given date (Date).

Service will return vendors balances for current date if parameters ar not given.

 

If parameters ar given, returned information can be filtered by given one vendor (Vendor), by given vendor agreement (VendorAgreement) and by given one branch (Branch). Objects will be identified based on search types, indicated in settings. Search types can be found in Settings.

 

Simultaniosly it is possible to use one or several filters.

 

For example, for current date all vendors balances can be returned with:

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/VendorsBalances

For given date, given vendor, given vendor agreement and given branch, balances can be returned with:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/VendorsBalances?Date=""&Vendor=""&VendorAgreement=""&Branch=""

Vendors will not be returned if no debt balance was found for given parameters.

 

Responses:

 

400 Invalid date format

404Vendor / VendorAgreement / Branch not found

200 OK

 

 

 

Client Balances

 

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/ClientsBalances

 

  •        Read – With GET method.

 

Optional parameters: Date, Client, ClientAgreement, Branch.

Service returns all clients balances for given date (Date).

Service will return clients balances for current date if parameters ar not given.

 

If parameters ar given, returned information can be filtered by given one client (Client), by given client agreement (ClientAgreement) and by given one branch (Branch). Objects will be identified based on search types, indicated in settings. Search types can be found in Settings.

 

Simultaniosly it is possible to use one or several filters.

 

For example, for current date all clients balances can be returned with:

 

<ServerIPaddress>/Balance_Exchange/hs/Exchange/ClientsBalances

For given date, given client, given client agreement and given branch, balances can be returned with:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/ClientsBalances?Date=""&Client=""&ClientAgreement=""&Branch=""

Clients will not be returned if no debt balance was found for given parameters.

 

Responses:

 

400 Invalid date format

404Client / ClientAgreement / Branch not found

200 OK

 

 

Description of Web-Services

 

Catalogs

Web-service description is generated from the program for any Catalog object.

For example, for clients:

 

  •        Select “Sales” tab
  •        Select Clients from Master data

 

Select “Description of Web Services” on list of clients 

 

 

 

 

List of clients:

 

 

 

Parameters description table and JSON code is generated:

 

 

 

  Agreements

 

Open description for client or vendor agreements and select desired agreement:

 

 

 

Methods

 

Create – With POST method.

 

Only used for new objects.

It is necessary to give all parameters. (Parameters that will not be given, will be filled with default values or will remain empty).

Objects are identified according to settings. If object already exists in the database response will be an error.

New object will get new unique identifier or given uid.

* Used for only one object. Incase of posting catalogue, only the first object will be created.

 

Responses:

 

400 Bad Request (JSON cannot be read. E.g. Syntax error.)

400 Invalid uid (Invalid uid was given.)

400 Not saved (Object cannot be saved. Detailed information in the text.)

409 Already exists (Object already exists.)

201 Created (Object was created successfully)

Location: Link of created object. Returns it’s data incase of GET method.

 

Update/Create – With PUT method.

 

Existing objects can be updated or created new ones.

It is necessary to give all parameters. (Parameters that will not be given, will be filled with default values or will be cleared/will remain empty).

Objects are identified according to settings. If object cannot be found in database, it will be created. (New object will get new unique identifier or given uid.)

If object has tabular parts, only the necessary table data should be given. If empty parameters will be given, an empty line will be added.

* Used for only one object. Incase of putting catalogue, only the first object will be created / updated.

* Use POST method for creating new objects.

 

Responses:

 

400 Bad Request (JSON cannot be read. E.g. Syntax error.)

400 Invalid uid (Invalid uid was given.)

400 Not saved (Object cannot be saved. Detailed information in the text.)

400 Not posted. Required fields are empty

400 Not posted (document cannot be posted. Detailed information in the text.)

404 Template not found

200 OK (Catalog/document updated/posted successfully.)

201 Created (Catalog/document created/posted successfully.)

Location: Link of created object. Returns it’s data using GET method.

 

 

Modify – With PATCH method.

 

Used only for existing objects.

 

Only those parameters can be given, that need to be updated (Not given parameters won’t be modified).

Objects are identified according to settings. If object cannot be found in database, response will be error.

* Used for only one object. Incase of patching catalogue, only the first object will be modified.

 

Responses:

 

400 Bad Request (JSON cannot be read. E.g. Syntax error.)

400 Invalid uid (Invalid uid was given.)

400 Not saved (Object cannot be saved. Detailed information in the text.)

404 Unknown parameter

404 Not Found (Object not found.)

200 OK (Object was modified successfully.)

 

 

Read– With GET method.

 

Used for reading existing objects.

Can read one or more object, or even the whole catalogue.

Method returns JSON code or consequent response.

To read whole catalogue, use same format.

For example, for clients address will be:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Clients

To read pack of the catalogue, pack number and pack size should be given as a parameter.

For example, to read the third pack of a twenty items, address will be:

ServerIPaddress>/Balance_Exchange/hs/Exchange/Items?Pack=3&PackSize=20

If PackSize is not given as a parameter, default packsize will be 1000

To read one object, use search type and value as a parameter.

For given object, any search type can be used.

For example, to read client, with ID – “01234567890”, address will be:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/Clients?ID=01234567890

Search types can be found insettings.

 

! Important

 

* To read client/vendor agreements, additionally can be searched by Owner. With folowing address:

<ServerIPaddress>/Balance_Exchange/hs/Exchange/ClientsAgreements?Owner=01234567890

Owner will be idetified, by search type indicated to client/vendor settings.

 

Responses:

 

404 Unknown parameter

400 Invalid uid

404 Not Found (Object not found.)

200 OK (Object was successfully read.)

 

 

 

 

Search settings

 

To view or edit search settings, go to;

Administration > Data synchronization settings > WS exchange search settings

 

 

 

 

Search type can only be selected for listed objects.

 

Selected search type will be used for identify objects while creating, updating and reading. (Other objects will be identifed with Guid).

 

E.g. clients van be identified by one of these listed types:

 

 

 

To use desired search type to identify object, select it in the list and press “Save”. After this, you should use this parameter when you want to transfer Client data with web services. This parameter will be used to search objects while updating it or choosing it in the document.

 

 

Guid – Generate unique identifier

 

Guid can be generated for any object, that exists in the database. It can be geneated from list form of desired object (Catalog element/document).

For example, to fill currency with EUR for clients, we should generate Guid of EUR:

  •        Select “Sales” tab
  •        Select Clients from Master data
  •        Select “Description of Web Services” on list of clients
  •        Select “Guid Generator”
  •        Select Add > Tip > Currency > EUR
  •        Unique identifier will generate in Guid column

 

 

 

\

 

Default fillings

 

Default Accounts

Accounts, that are filled in default accounts on quick menu tab.

 

Accounting Currency

Currency indicated in “Accounting currency” on Admnistration tab > Accounting settings > Financial accounting

 

Default Accrual Type

Value of same constant name. (Is filled with “ხელფასი“ (Salary), by default if it exists in the database.)

 

Default Price Type

Price type indicated in user settings.

 

Default Department

Department indicated in user settings.

 

Default Branch

Branch indicated in user settings.

 

Default Warehouse

Warehouse indicated in user settings.

 

Current Currency Rate

Exchange rate of currency indicated in the object for object date.

 

Description of types

Number – Maximum length with format (Int / Fraction). For rational numbers, maximum length of parameter will be sum of length of integer and fraction part of the number (Int + Fraction).

 

String -  Maximum length is indicated.

Boolean – Standard JSON format: 'true' / 'false', 1 / 0.

Date – Standard JSON format. E.g: 'yyyy'-'MM'-'dd'T'HH':'mm':'ss'

Catalog – Master data

 

Is identifed by Guid identifier or it depends on search settings.

Document

Is identifed by Guid identifier

 

Account

Is identified by account code. (String type.)

 

List

Is identified by string values from the list.

 

Analytics

Depends on an account, of which analytics you are filling. (indicated in Type.) Values can be given by it’s own analytics rule.

 

Guid – Unique Identifier

Format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx

 

 

 

List

Legal forms

 

Individual Entity
Limited Liability Company
Individual
Joint liability community
Joint stock company
Limited Partnership
Cooperative
Nonprofit legal entity
Branch of foreign enterprise
Foreign enterprise
Legal entity of public law
State authority
Non-resident natural person
Partnership
Branch of a foreign non-commercial legal entity
Budgetary Organization

 

 

VAT taxable types

 

 

VAT Payer
No VAT tax payer
Import
Reverse charge VAT
Export
Diplomat

 

 

Item correspondence

 

 

According to article
According to the names

 

 

Waybill correspondence control

 

 

Do not control
According to the positions
According to the total amount
Auto

 

 

Individual gender

 

 

Female
Male

 

 

Employee status

 

 

Received on work
Dismissed

 

 

Leasing status

 

 

Issued
Accepted
Absent

 

 

Fixed assets status

 

 

Not active
Active
Written off

 

 

Fixed assets possession form

 

 

own
Rent
Leasing
Other

 

 

Depreciation parameters

 

 

Linear
Tax
Is not accrued
Linear (by days)

 

 

Item types

 

 

Goods
Service
Job

 

 

Purchase operation types

 

Purchase from the supplier
Purchase by import
Purchase by advance holder