Inventory Movements

Endpoints

Estonia:    https://aktiva.merit.ee/api/v1/sendinvmove

Finland:    https://aktiva.meritaktiva.fi/api/v1/sendinvmove

Poland:     https://program.360ksiegowosc.pl/api/v1/sendinvmove

Query Payload

To run following examples, please make sure you have configured:

  1. Location named “a” and “2”
  2. Department “a”

Example 1: Example JSON for getting inventory in

Example 2: Exmaple for getting inventory from “A” to “2”.

Example 3: Example of moving inventory out

ArticleObject

FieldTypeComment 
CodeStr 20Required
Description Str 100Required
TypeInt1 = stock item, 2 = service, 3 = item. Required.
UOMNameStr 64
DefLocationCodeStr 20

MoveRowObject

FieldTypeComment 
ItemArticleObject with structure described above
QuantityDecimal(18,3)Required
PriceDecimal(18,7)Required, if moved in. Other cases – ignored.
GLAccountCodeStr 10By default using stock item account, if noted, has to be found in Aktiva
ProjectCodeStr 20Has to be found in Aktiva
CostCentercodeStr 20Has to be found in Aktiva

InventoryMovementObject

FieldTypeComment 
DepartmentCodeStr 20Has to be found in Aktiva
TypeInt1 – moving in
2 – moving out
3 – moving from one to another
DocNoStr 35
DocDateStr 8YYYYMMDD e.g. 20191224
Loc1CodeStr 20Required
Loc2CodeStr 20Only if type 3