Options
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Anonymous
Not applicable
inventoryReciept do not return transferNumber
‎06-09-2021
10:31
by
Anonymous
Hi!
The field transferNumber is not included in the reply from /controller/api/v1/inventoryReceipt. No success in either Swagger or in Postman.
I have tested the URL https://integration.visma.net/API/controller/api/v1/inventoryReceipt/1500996 to a Visma.net company that has a value in the transferNumber field but the respons I get is: (removed all the compnany related values to XXX)
"totalCost": 30865.68,
"controlCost": 30865.68,
"receiptLines": [
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 19,
"extCost": 2736,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 1,
"inventoryItem": {
"number": "3458",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 144,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 56.82,
"extCost": 681.87,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 3,
"inventoryItem": {
"number": "7925",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "Standard konsignationslager"
},
"quantity": 12,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 22.44,
"extCost": 1615.47,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 5,
"inventoryItem": {
"number": "3244",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 72,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": ""
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 48,
"extCost": 23040,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 7,
"inventoryItem": {
"number": "7993",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 480,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 19.39,
"extCost": 2791.63,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 9,
"inventoryItem": {
"number": "3467",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 144,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
}
],
"referenceNumber": "1500996",
"status": "Released",
"hold": false,
"date": "2021-03-11T00:00:00",
"postPeriod": "202103",
"totalQuantity": 852,
"controlQuantity": 852,
"batchNumber": "032934",
"lastModifiedDateTime": "2021-03-11T15:04:17.513",
"branchNumber": {
"number": "1",
"name": "XXXXXX"
},
"metadata": {
"totalCount": 1,
"maxPageSize": 1000
}
}
I don't get transferNumber anywhere but according to swagger I should get it in my response:
"totalCost": 0,
"controlCost": 0,
"transferNumber": "string",
"receiptLines": [
{
"warehouse": {
"id": "string",
"description": "string"
},
"unitCost": 0,
"extCost": 0,
"project": {
"id": "string",
"description": "string"
},
"projectTask": {
"id": "string",
"description": "string"
},
"lineNumber": 0,
"inventoryItem": {
"number": "string",
"description": "string"
},
"location": {
"countryId": "string",
"id": "string",
"name": "string"
},
"quantity": 0,
"uom": "string",
"reasonCode": {
"id": "string",
"description": "string"
},
"description": "string",
"attachments": [
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0
}
],
"branchNumber": {
"number": "string",
"name": "string"
}
}
],
"referenceNumber": "string",
"status": "Hold",
"hold": true,
"date": "2021-09-06T08:17:04.319Z",
"postPeriod": "string",
"externalReference": "string",
"description": "string",
"totalQuantity": 0,
"controlQuantity": 0,
"batchNumber": "string",
"lastModifiedDateTime": "2021-09-06T08:17:04.319Z",
"branchNumber": {
"number": "string",
"name": "string"
},
"attachments": [
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0
}
],
"errorInfo": "string",
"metadata": {
"totalCount": 0,
"maxPageSize": 0
}
}
How do we get the transferNumber?
Thanks!
/Frida
4 REPLIES 4
Hello Frida,
the fix has been planned to be implemented in 8.67 version. Please follow the thread Visma.net Financials API updates for version 8.67.0 (September 2021) to receive the latest updates.
Thanks !
Hello again,
we confirm that there seems to be a bug that does not return the "TransferNo" field via the GET Inventory Receipt Endpoint, although the process has been correctly followed and the value populated in the Financials UI.
This has now been escalated. We'll keep you informed of any progress and details.
Hello,
we'll look into this and get back to you soon.
