My Products
Help
Anonymous
Not applicable

Visma ERP API endpoint (InventoryReceipt) doesn't return LotSerialNumber

by Anonymous

I'm trying to get inventory receipts from API, but in response data I can't find LotSerialNumber field that I can see in Visma ERP UI.

https://integration.visma.net/API/controller/api/v1/inventoryReceipt/


For example, one of the receiptLines I could get the following:

{
        "warehouse": {
          "id": "1         ",
          "description": "Vantaa"
        },
        "unitCost": 0,
        "extCost": 0,
        "project": {
          "id": "X",
          "description": "Non-Project Code."
        },
        "lineNumber": 2,
        "inventoryItem": {
          "number": "TP1918",
          "description": "Eristevilla Isover Standard KL36 125x565x1310mm (5,92m²/pkt)"
        },
        "location": {
          "id": "1",
          "name": "Normaali"
        },
        "quantity": 20,
        "uom": "KPL",
        "reasonCode": {
          "id": "01",
          "description": "Varastoon tulo"
        },
        "description": "Eristevilla Isover Standard KL36 125x565x1310mm (5,92m²/pkt)",
        "branchNumber": {
          "number": "1",
          "name": "(removed)"
        }
      },

 
The same applies for the following endpoint:

https://integration.visma.net/API/controller/api/v1/inventoryReceipt/1500009

and there's no LotSerialNbr field anywhere.

The following screenshot shows where it is in the UI side:

filbe_0-1654078444192.png


So my question is: how to get the matching LotSerialNbr for specific InventoryReceipt lines from API side?

1 REPLY 1

by Magnus Johnsen

Hi,

This is currently not exposed via the InventoryReceipt.

If this is something you need, we recommend that you create a post in the "Ideas" part of the forum.