Hi, We try to create a purchase receipt for a TR sales order but it fails with the error message "Error creating purchase receipt. No Record found. TransferOrderNbr: '500263'". I have checked that the sales order exists with the call: GET https://salesorder.visma.net/api/v3/SalesOrders/TR/500263 We do the following API call to create the receipt: POST https://integration.visma.net/API/controller/api/v1/purchaseReceipt {
"receiptType": {
"value": "TransferReceipt"
},
"hold": {
"value": false
},
"date": {
"value": "2024-12-09T12:01:33.2726361+01:00"
},
"warehouseId": {
"value": "6"
},
"lines": [
{
"allocations": [
{
"operation": "Insert",
"lineNbr": {
"value": 1
},
"location": {
"value": "1"
},
"lotSerialNumber": {
"value": "231228841011"
},
"quantity": {
"value": 1.000
}
},
{
"operation": "Insert",
"lineNbr": {
"value": 1
},
"location": {
"value": "1"
},
"lotSerialNumber": {
"value": "499125"
},
"quantity": {
"value": 1.000
}
}
],
"operation": "Insert",
"inventoryId": {
"value": "L137624"
},
"receiptQty": {
"value": 2.0
},
"transferOrderType": {
"value": "TransferOrder"
},
"transferOrderNbr": {
"value": "500263"
},
"transferOrderLineNbr": {
"value": 1
},
"warehouseId": {
"value": "6"
}
}
]
} We have encountered the same problem for two different customers using our integration to Visma.net. It does not happen for all orders. What do we do wrong?
... View more