Sync service
Request format
All Requests accept optionally the following query parameters
RevisionNumber:Integer
WebScenID:String
Agencies
Gets all means of transport.
Allowed Verbs: GET
Path: /services/sync/agencies
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Banks
Gets all banks.
Allowed Verbs: GET
Path: /services/sync/banks
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Charges
Gets financial accounts of income or expense charge category, that are activated for all companies or the scenario's company.
Allowed Verbs: GET
Path: /services/sync/charges
Notes: Gets only the active financial accounts (charges).
Sample Response
[
{
"Type": 0,
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
Type | Charge (financial account) type - Expense=1, Income=2_________ |
Cities
Gets all regions.
Allowed Verbs: GET
Path: /services/sync/cities
Sample Response
[
{
"PrefectureID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Companies
Gets all companies.
Allowed Verbs: GET
Path: /services/sync/companies
Sample Response
[
{
"TIN": "String",
"CompanyGroupID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
TIN | Taxpayer Identification Number_________ |
Companygroups
Gets all groups of companies.
Allowed Verbs: GET
Path: /services/sync/companygroups
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Companysites
Gets the sites of scenario's company.
Allowed Verbs: GET
Path: /services/sync/companysites
Sample Response
[
{
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Countries
Gets all countries.
Allowed Verbs: GET
Path: /services/sync/countries
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Currencies
Gets all currencies.
Allowed Verbs: GET
Path: /services/sync/currencies
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Customers
Gets customers and customer sites that are activated for all companies or the scenario's company and that their revision number is greater than the input revision parameter.
Allowed Verbs: GET
Path: /services/sync/customers
Notes: Gets only the active traders/customers and traders/customers sites. The information of customer addresses is included in the customer sites
Sample Response
[
{
"TraderID": "String",
"CurrencyID": "String",
"CommentText1": "String",
"CommentText2": "String",
"KepyoLiability": 0,
"CustomerSites": [
{
"CustomerID": "String",
"VATStatusEnum": 0,
"PricelistID": "String",
"TasksParticipationEnum": 0,
"Phone1": "String",
"Phone2": "String",
"Fax": "String",
"DiscountPercent": 0.0,
"AgencyID": "String",
"Comment": "String",
"Email": "String",
"WebSite": "String",
"TraderSiteID": "String",
"IsPrimary": 0,
"Street": "String",
"StreetNumber": "String",
"PostalCode": "String",
"CityID": "String",
"PrefectureID": "String",
"CountryID": "String",
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
],
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
CommentText1 | Trader comments |
CommentText2 | Customer message |
KepyoLiability | Kepyo status_________ |
Customersites
Gets customer sites from customers that are activated for all companies or the scenario's company and that their revision number is greater than the input revision parameter.
Allowed Verbs: GET
Path: /services/sync/customersites
Notes: Gets only active customer sites.
Sample Response
[
{
"CustomerID": "String",
"VATStatusEnum": 0,
"PricelistID": "String",
"TasksParticipationEnum": 0,
"Phone1": "String",
"Phone2": "String",
"Fax": "String",
"DiscountPercent": 0.0,
"AgencyID": "String",
"Comment": "String",
"Email": "String",
"WebSite": "String",
"TraderSiteID": "String",
"IsPrimary": 0,
"Street": "String",
"StreetNumber": "String",
"PostalCode": "String",
"CityID": "String",
"PrefectureID": "String",
"CountryID": "String",
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
VATStatusEnum | VAT status- Normal=0, Reduced=1, Exempted=2, EU=3, NotEU=5 |
AgencyID | Transport mean |
IsPrimary | Has primary address status |
CityID | Region_________ |
Dispatchpurposes
Gets all transport purposes.
Allowed Verbs: GET
Path: /services/sync/dispatchpurposes
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Itemattributes
Gets attributes that belong to item attributes groups.
Allowed Verbs: GET
Path: /services/sync/itemattributes
Notes: Gets also attributes values and attributes (and attributes values) multilingual descriptions.
Sample Response
[
{
"Kind": 0,
"AttrValues": [
{
"ID": "String",
"Code": "String",
"Description": "String",
"Color": 0,
"AttrValuesLanguages": [
{
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
]
}
],
"AttrLanguages": [
{
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
],
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
Kind | Attribute kind - String=1, Decimal=2, Smallint=3, Integer=4, Datetime=5, Boolean=6, Lookup=7 |
AttrValues | Array of all item attribute values |
AttrLanguages | Array of all item attribute multilingual descriptions_________ |
Itembalances
Gets item balances per item or per item attribute combination based on warehouses and method that are specified in the scenario.
Allowed Verbs: GET
Path: /services/sync/itembalances
Sample Response
[
{
"AttCombinationID": "String",
"DimVal1ID": "String",
"DimVal2ID": "String",
"DimVal3ID": "String",
"Balance": 0.0,
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
AttCombinationID | Attribute combination. Reference to item detail array -> item dimensions |
DimVal1ID | Attribute value 1. Reference to item dimensions detail array -> item dimension values |
DimVal2ID | Attribute value 2. Reference to item dimensions detail array -> item dimension values |
DimVal3ID | Attribute value 3. Reference to item dimensions detail array -> item dimension values_________ |
Itemcategories
Gets item categories thar are specified in scenario's categories. If none is specified in the scenario, gets all item categories.
Allowed Verbs: GET
Path: /services/sync/itemcategories
Notes: Gets also multilingual descriptions.
Sample Response
[
{
"ParentNodeID": "String",
"LevelOfNode": 0,
"CatLanguages": [
{
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
],
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
ParentNodeID | Parent category. Reference to item category |
CatLanguages | Array of all item category multilingual descriptions_________ |
Itemdimensions
Gets item specific attributes that are specified in scenario's attributes. If none is specified in the scenario, gets all item specific attributes.
Allowed Verbs: GET
Path: /services/sync/itemdimensions
Notes: Gets also specific attributes values and specific attributes (and specific attributes values) multilingual descriptions.If attributes descriptions are specified in scenario then gets these.
Sample Response
[
{
"DimKind": 0,
"DimValues": [
{
"ID": "String",
"Code": "String",
"Description": "String",
"Color": 0,
"AttrValuesLanguages": [
{
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
]
}
],
"DimLanguages": [
{
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
],
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
DimKind | Attribute kind from scenario - Other=0, Color=1, Size=2, Searchable Color=3 |
DimValues | Array of all item dimension values. |
DimLanguages | Array of all item dimension multilingual descriptions_________ |
Itemimages
Gets a list of images ascociated with stock items
Allowed Verbs: GET
Path: /services/sync/itemimages
Sample Response
[
{
"ItemID": "String",
"AtLoid1": "String",
"AtLoid2": "String",
"AtLoid3": "String",
"TypeCode": "String",
"TypeDescription": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Itemprices
Gets item prices per item or per item attribute combination based on scenario's item price.
Allowed Verbs: GET
Path: /services/sync/itemprices
Notes: Gets also web items prices and discounts.
Sample Response
[
{
"AttCombinationID": "String",
"DimVal1ID": "String",
"DimVal2ID": "String",
"DimVal3ID": "String",
"ItemPrice": 0.0,
"WebRetailPrice": 0.0,
"WebRetailOfferPrice": 0.0,
"WebNetPrice": 0.0,
"WebMarketPrice": 0.0,
"WebDiscount": 0.0,
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
AttCombinationID | Attribute combination. Reference to item detail array -> item dimensions |
DimVal1ID | Attribute value 1. Reference to item dimensions detail array -> item dimension values |
DimVal2ID | Attribute value 2. Reference to item dimensions detail array -> item dimension values |
DimVal3ID | Attribute value 3. Reference to item dimensions detail array -> item dimension values |
ItemPrice | The price that is defined in the scenario |
WebRetailPrice | Retail price from web item -> item lines. |
WebRetailOfferPrice | Retail offer price from web item -> item lines. |
WebNetPrice | Net price from web item -> item lines. |
WebMarketPrice | Market price from web item -> item lines. |
WebDiscount | Discount(%) from web item -> item lines._________ |
Items
Get items that are activated for all companies or the scenario's company and are filtered with scenario's item category filter.Gets only web items if it is specified in the scenario.
Allowed Verbs: GET
Path: /services/sync/items
Notes: Gets item attributes values,item categories,item dimensions values and multilingual descriptions.If web items descriptions are specified then gets these.
Sample Response
[
{
"ItemID": "String",
"ExtDescription": "String",
"Weight": 0.0,
"Unit1ID": "String",
"Unit2ID": "String",
"Unit2Numerator": 0.0,
"Unit2Denominator": 0.0,
"Unit1NoOfDecimals": 0,
"Unit2NoOfDecimals": 0,
"UserDefinedString1": "String",
"UserDefinedString2": "String",
"IsActive": 0,
"ItemPrice": 0.0,
"WebRetailPrice": 0.0,
"WebRetailOfferPrice": 0.0,
"WebNetPrice": 0.0,
"WebMarketPrice": 0.0,
"WebDiscount": 0.0,
"IsSalesBlocked": 0,
"IsService": 0,
"IsCRMResult": 0,
"IsUsedInCRM": 0,
"Classification": 0,
"ManufacturerID": "String",
"SupplierID": "String",
"VATsMasterID": "String",
"Dimension1ID": "String",
"Dimension2ID": "String",
"Dimension3ID": "String",
"ItemCategories": [
{
"CategoryLeafID": "String",
"CategoryRootID": "String",
"IsPerCompany": 0
}
],
"ItemAttributes": [
{
"ID": "String",
"AttrID": "String",
"FldBoolean": 0,
"FldDateTime": "0001-01-01T00:00:00",
"FldDecimal": 0.0,
"FldString": "String",
"FldAttrValueID": "String"
}
],
"ItemDimensions": [
{
"AttCombinationID": "String",
"DimVal1ID": "String",
"DimVal2ID": "String",
"DimVal3ID": "String",
"BlockSales": 0
}
],
"ItemLanguages": [
{
"IsExtended": 0,
"CountryID": "String",
"Description": "String",
"LangOrder": 0
}
],
"StringField1": "String",
"StringField2": "String",
"StringField3": "String",
"StringField4": "String",
"StringField5": "String",
"StringField6": "String",
"StringField7": "String",
"FloatField1": 0.0,
"FloatField2": 0.0,
"FloatField3": 0.0,
"FloatField4": 0.0,
"FloatField5": 0.0,
"FloatField6": 0.0,
"FloatField7": 0.0,
"LookupField1": "String",
"LookupField2": "String",
"LookupField3": "String",
"LookupField4": "String",
"LookupField5": "String",
"LookupField6": "String",
"LookupField7": "String",
"DateField1": "0001-01-01T00:00:00",
"DateField2": "0001-01-01T00:00:00",
"DateField3": "0001-01-01T00:00:00",
"DateField4": "0001-01-01T00:00:00",
"BooleanField1": 0,
"BooleanField2": 0,
"BooleanField3": 0,
"BooleanField4": 0,
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
ExtDescription | Analytical description from web item or from item. |
Unit1ID | 1st Measurement Unit |
Unit2ID | 2nd Measurement Unit |
Unit2Numerator | Ratio relation between 1st & 2nd MU |
Unit2Denominator | Factor relation between 1st & 2nd MU |
Unit1NoOfDecimals | Number of decimals of 1st Measurement Unit |
Unit2NoOfDecimals | Number of decimals of 2nd Measurement Unit |
UserDefinedString1 | Item company properties user defined string field 1 |
UserDefinedString2 | Item company properties user defined string field 2 |
ItemPrice | The price that is defined in the scenario |
WebRetailPrice | Retail price from web item -> item lines. |
WebRetailOfferPrice | Retail offer price from web item -> item lines. |
WebNetPrice | Net price from web item -> item lines. |
WebMarketPrice | Market price from web item -> item lines. |
WebDiscount | Discount(%) from web item -> item lines. |
Classification | Stock item type - Product=1, Merchandise=2, Consumable=3, Packing=4 ,Returned=5, ReferenceItem=7, Raw=8, Subcontracting=9, SparePart=10, Semifinished=11 |
Dimension1ID | Specific attribute 1. Reference to item dimensions. |
Dimension2ID | Specific attribute 2. Reference to item dimensions. |
Dimension3ID | Specific attribute 3. Reference to item dimensions. |
ItemCategories | Array of item categories filtered from scenario’s categories. |
ItemAttributes | Array of all item attribute values. |
ItemDimensions | Array of all item specific attributes combinations. |
ItemLanguages | Array of all item multilingual descriptions |
StringField1 | User defined field from item or item company properties. Source is defined in scenario. |
FloatField1 | User defined field from item or item company properties. Source is defined in scenario. |
LookupField1 | User defined field from item or item company properties. Source is defined in scenario. |
DateField1 | User defined field from item or item company properties. Source is defined in scenario. |
BooleanField1 | User defined field from item or item company properties. Source is defined in scenario._________ |
Manufacturers
Gets manufacturers that are activated for all companies or the scenario's company.
Allowed Verbs: GET
Path: /services/sync/manufacturers
Notes: Gets mediators with manufacturer role, that is specified in the item settings.
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Occupations
Gets all professions.
Allowed Verbs: GET
Path: /services/sync/occupations
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Partners
Gets partners that are activated for all companies or the scenario's company.
Allowed Verbs: GET
Path: /services/sync/partners
Notes: Gets mediators with partner role, that is specified in the scenario general info.
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Paymethods
Gets payment terms that are specified for the scenario's company or for all companies.
Allowed Verbs: GET
Path: /services/sync/paymethods
Sample Response
[
{
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Prefectures
Gets all prefectures.
Allowed Verbs: GET
Path: /services/sync/prefectures
Sample Response
[
{
"CountryID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Prefixes
Gets sales and financial entry types that are specified for the scenario's company.
Allowed Verbs: GET
Path: /services/sync/prefixes
Notes: Gets only the active sales entry types of kind ‘Order’,‘Dispatch note’,‘Receipts’,‘Dispatch and Invoice’,‘Credit Invoice (Return)’,‘Return Dispatch note’,‘Credit Dispatch and Invoice’ or ‘Credit Invoice (Discount)’ and financial entry types of kind ‘Receipts’.
Sample Response
[
{
"ObjectType": 0,
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
ObjectType | Entry kind - Order=1, Dispatch note=3, Receipts=4, Dispatch and Invoice=5, Credit Invoice (Return)=6, Credit Dispatch and Invoice=7, Credit Invoice (Discount)=8,Return Dispatch note=12_________ |
Shippingmethods
Gets all means of shipping.
Allowed Verbs: GET
Path: /services/sync/shippingmethods
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Suppliers
Gets suppliers that are activated for all companies or the scenario's company and that their revision number is greater than the input revision parameter.
Allowed Verbs: GET
Path: /services/sync/suppliers
Notes: Gets only the active traders/suppliers.
Sample Response
[
{
"TraderID": "String",
"CurrencyID": "String",
"CommentText1": "String",
"CommentText2": "String",
"KepyoLiability": 0,
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
CommentText1 | Trader comments |
CommentText2 | Supplier message |
KepyoLiability | Kepyo status_________ |
Taxoffices
Gets all tax offices.
Allowed Verbs: GET
Path: /services/sync/taxoffices
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Traders
Gets traders that their revision number is greater than the input revision parameter.
Allowed Verbs: GET
Path: /services/sync/traders
Notes: Gets only the active traders.
Sample Response
[
{
"OccupationID": "String",
"TIN": "String",
"TaxOfficeID": "String",
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
TIN | Taxpayer Identification Number_________ |
Vatsmaster
Gets all item vat types and their assignments to normal,reduced and exempted vat statuses
Allowed Verbs: GET
Path: /services/sync/vatsmaster
Sample Response
[
{
"NormalPcd": 0.0,
"ReducedPcd": 0.0,
"DeductedPcd": 0.0,
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
NormalPcd | VAT percentage of site VAT status ‘Normal’. |
ReducedPcd | VAT percentage of site VAT status ‘Reduced’. |
DeductedPcd | VAT percentage of site VAT status ‘Exempted’._________ |
Warehouses
Gets warehouses that belong to the scenario's company.
Allowed Verbs: GET
Path: /services/sync/warehouses
Notes: Gets only the active warehouses.
Sample Response
[
{
"CompanySiteID": "String",
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Warehouseunits
Gets all measurement units.
Allowed Verbs: GET
Path: /services/sync/warehouseunits
Sample Response
[
{
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Webscenarios
Gets all web scenarios. If scenario or company is specified as input parameter, get only the web scenarios that belong to this company.
Allowed Verbs: GET
Path: /services/sync/webscenarios
Sample Response
[
{
"IsDefault": 0,
"Type": 0,
"CompanyID": "String",
"ID": "String",
"Code": "String",
"Description": "String",
"RevisionNumber": 0
}
]
Property | Description |
---|---|
Type | Scenario type - External=0, Default=1, External online=2_________ |
Postcustomer
Allowed Verbs: POST
Path: /services/sync/actions/postcustomer
Sample Request payload
{
"ID": "String",
"Code": "String",
"Description": "String",
"Name": "String",
"Comments": "String",
"MGUserID": "String",
"TIN": "String",
"CurrencyID": "String",
"CustomerSites": [
{
"ID": "String",
"Code": "String",
"Description": "String",
"IsBilling": 0,
"IsPrimary": 0,
"CountryID": "String",
"PrefectureID": "String",
"CityID": "String",
"PostalCode": "String",
"Street": "String",
"StreetNumber": "String",
"Email": "String",
"Phone1": "String"
}
]
}
Postentry
Allowed Verbs: POST
Path: /services/sync/actions/postentry
Sample Request payload
{
"header": null,
"body": {
"header": {
"version": "2.3.2",
"processtype": "B2C",
"source": "Webshop"
},
"data": {
"company": {
"identifier": {
"id": "59c7f302-f5b0-45f6-8a32-6c7f64e91c00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Best Market SA"
},
"revisionnumber": 1,
"doccurrency": {
"identifier": {
"id": "9efe2b51-f986-4071-9ce4-65d42075740b",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ευρώ"
},
"docid": null,
"docdate": "2016-03-09T10:44:40",
"billtoaddress": {
"identifier": {
"id": "246e6c01-135b-45ee-82ed-4c6d86ed211f",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"deliveryinfo": {
"delivdate": "2016-03-09T10:44:40",
"address": {
"identifier": {
"id": "246e6c01-135b-45ee-82ed-4c6d86ed211f",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"telephone": "2108196764",
"fax": null,
"email": null,
"additionalinfo": null
},
"trader": {
"identifier": {
"id": "19c11669-2e48-4c25-9dc4-b8fbd6667ca5",
"codelist": "RCP",
"idspecifier": null
},
"tin": "044444444",
"name": "FOT",
"localtaxoffice": {
"identifier": {
"id": "09eb69e9-db09-4924-9ab3-2cebab7f5a6d",
"codelist": "RCP",
"idspecifier": null
},
"descr": "ΚΗΦΙΣΙΑΣ"
},
"mainactivity": null,
"address": {
"identifier": {
"id": "1342b893-c872-4260-89ea-094da3bdd3ab",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"telephone": "2108196764",
"fax": null,
"email": null,
"website": null
},
"comment": null,
"transportmode": {
"identifier": {
"id": "c6115df2-e203-4d84-91ec-eb6743c8a787",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Οδική μεταφορά"
},
"transporter": {
"identifier": {
"id": "b2cef0cb-43a9-4b5e-9092-c72e9e1a7e62",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Οδικώς"
},
"dispatchpurpose": {
"identifier": {
"id": "9350af80-ec80-43cb-aad2-74dfdf99bf00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Προς Πώληση"
},
"paymentagreement": {
"paymentplan": {
"identifier": {
"id": "e6858a58-7368-4396-8758-bec724c9510f",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Payment in 90 days"
}
},
"payableamount": 179.95,
"totalamount": 189.95,
"netamount": 66.78,
"discamount": 14.65,
"vatamount": 23.28,
"charges": [
{
"identifier": {
"id": "9ec33dd5-13c9-4b7b-9c9b-5c644c4d2266",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Μεταφορικά Πωλήσεων",
"value": 40,
"vatvalue": 4
}
],
"chargestotal": 40,
"lines": [
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "58f21886-2326-4ce3-8260-82008afa5b4e",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 006 (23%-ALL COMP-ATTR-NOSTOCK) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 11.07,
"netamount": 9.08,
"vatprc": 21,
"vatamount": 2.09,
"discamount": 1.99,
"totalamount": 11.17,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.36
}
],
"chargestotal": 7.1,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
},
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "6ce2d504-de6a-42f9-a1e1-35f02bf7a4f7",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 029 (23%-ALL COMP-ATTR-SEMISTOCK-LOT_DECLLOT-SN) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 11.07,
"netamount": 9.08,
"vatprc": 23,
"vatamount": 2.09,
"discamount": 1.99,
"totalamount": 11.17,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.38
}
],
"chargestotal": 7.1,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
},
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "7748584f-49b2-41f8-a53d-2f39c74db6d0",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 020 (21%-ALL COMP-ATTR-SEMISTOCK-LOT_DECLLOT) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 10.89,
"netamount": 8.93,
"vatprc": 21,
"vatamount": 1.88,
"discamount": 1.96,
"totalamount": 10.81,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.38
}
],
"chargestotal": 7.08,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
}
]
}
},
"attachments": null
}
Calcentry
Allowed Verbs: POST
Path: /services/sync/actions/calcentry
Sample Request payload
{
"header": null,
"body": {
"header": {
"version": "2.3.2",
"processtype": "B2C",
"source": "Webshop"
},
"data": {
"company": {
"identifier": {
"id": "59c7f302-f5b0-45f6-8a32-6c7f64e91c00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Best Market SA"
},
"revisionnumber": 1,
"doccurrency": {
"identifier": {
"id": "9efe2b51-f986-4071-9ce4-65d42075740b",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ευρώ"
},
"docid": null,
"docdate": "2016-03-09T10:44:40",
"billtoaddress": {
"identifier": {
"id": "246e6c01-135b-45ee-82ed-4c6d86ed211f",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"deliveryinfo": {
"delivdate": "2016-03-09T10:44:40",
"address": {
"identifier": {
"id": "246e6c01-135b-45ee-82ed-4c6d86ed211f",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"telephone": "2108196764",
"fax": null,
"email": null,
"additionalinfo": null
},
"trader": {
"identifier": {
"id": "19c11669-2e48-4c25-9dc4-b8fbd6667ca5",
"codelist": "RCP",
"idspecifier": null
},
"tin": "044444444",
"name": "FOT",
"localtaxoffice": {
"identifier": {
"id": "09eb69e9-db09-4924-9ab3-2cebab7f5a6d",
"codelist": "RCP",
"idspecifier": null
},
"descr": "ΚΗΦΙΣΙΑΣ"
},
"mainactivity": null,
"address": {
"identifier": {
"id": "1342b893-c872-4260-89ea-094da3bdd3ab",
"codelist": "RCP",
"idspecifier": null
},
"country": {
"identifier": {
"id": "6a9a5bbe-3198-4ff7-8752-20e6dab2cda0",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Ελλάδα"
},
"municipality": null,
"prefecture": {
"identifier": {
"id": "89fc0de8-bd2f-4792-bab9-01d79cbe6f00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Αττική"
},
"city": {
"identifier": {
"id": "4ba007cb-fc73-4bf9-913c-0216dca9a2b7",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Κηφισιά"
},
"zipcode": "97643",
"streetname": "Πλουτάρχου",
"streetnum": "1313Α"
},
"telephone": "2108196764",
"fax": null,
"email": null,
"website": null
},
"comment": null,
"transportmode": {
"identifier": {
"id": "c6115df2-e203-4d84-91ec-eb6743c8a787",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Οδική μεταφορά"
},
"transporter": {
"identifier": {
"id": "b2cef0cb-43a9-4b5e-9092-c72e9e1a7e62",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Οδικώς"
},
"dispatchpurpose": {
"identifier": {
"id": "9350af80-ec80-43cb-aad2-74dfdf99bf00",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Προς Πώληση"
},
"paymentagreement": {
"paymentplan": {
"identifier": {
"id": "e6858a58-7368-4396-8758-bec724c9510f",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Payment in 90 days"
}
},
"payableamount": 179.95,
"totalamount": 189.95,
"netamount": 66.78,
"discamount": 14.65,
"vatamount": 23.28,
"charges": [
{
"identifier": {
"id": "9ec33dd5-13c9-4b7b-9c9b-5c644c4d2266",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Μεταφορικά Πωλήσεων",
"value": 40,
"vatvalue": 4
}
],
"chargestotal": 40,
"lines": [
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "58f21886-2326-4ce3-8260-82008afa5b4e",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 006 (23%-ALL COMP-ATTR-NOSTOCK) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 11.07,
"netamount": 9.08,
"vatprc": 21,
"vatamount": 2.09,
"discamount": 1.99,
"totalamount": 11.17,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.36
}
],
"chargestotal": 7.1,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
},
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "6ce2d504-de6a-42f9-a1e1-35f02bf7a4f7",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 029 (23%-ALL COMP-ATTR-SEMISTOCK-LOT_DECLLOT-SN) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 11.07,
"netamount": 9.08,
"vatprc": 23,
"vatamount": 2.09,
"discamount": 1.99,
"totalamount": 11.17,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.38
}
],
"chargestotal": 7.1,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
},
{
"item": {
"mgitemtypeid": 0,
"servicetype": null,
"sellersid": null,
"identifier": {
"id": "7748584f-49b2-41f8-a53d-2f39c74db6d0",
"codelist": "RCP",
"idspecifier": "ItcpID"
},
"descr": "FOT-STOCK ITEM 020 (21%-ALL COMP-ATTR-SEMISTOCK-LOT_DECLLOT) [COMP DESCR]"
},
"itemattributes": null,
"qtymunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"qty": 1,
"pricemunit": {
"identifier": {
"id": "ee45e954-69f5-4651-a659-3b19630bf479",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Τεμάχιο"
},
"netprice": 10.89,
"netamount": 8.93,
"vatprc": 21,
"vatamount": 1.88,
"discamount": 1.96,
"totalamount": 10.81,
"charges": [
{
"identifier": {
"id": "48d3f734-039f-4b05-b8e3-2c10a3d70c41",
"codelist": "RCP",
"idspecifier": null
},
"descr": "Επιβάρυνση για ειδική συσκευασία (πωλήσεις)",
"value": 5.99,
"vatvalue": 1.38
}
],
"chargestotal": 7.08,
"extrataxes": null,
"extrataxestotal": null,
"deductions": null,
"deductionstotal": null,
"comment": null
}
]
}
},
"attachments": null
}