Skip to content
Axis Solutions ZMB
YouTube

Stock Information

The GetStockLevelsAsync Method allows businesses to manage and maintain accurate inventory levels within the Smart Invoice system.

Through this , businesses can retrieve comprehensive stock information, including item details, quantities, and branch-level stock. This enables seamless integration and synchronization of stock data between third-party systems and Smart Invoice.

GetStockLevelsAsync() method

This method is used to retrieve stock information for all items. It provides details such as item code, quantity, branch-level availability, and other item metadata.

Request Parameters

NB: These details are stored in the configuration files

ParameterTypeDescription
TPINstringTaxpayer Identification Number
BranchIdstringBranch identifier for the stock query
LastRequestDatestringOptional. Filter stock items updated since this date (yyyyMMddHHmmss)

Usage Example

classification codes

Example Successful Response


{
  "resultCd": "000",
  "resultMsg": "It is succeeded",
  "resultDt": "20250911120000",
  "data": {
    "stockItemList": [
      {
        "itemCd": "TEST001",
        "itemNm": "Test Product",
        "itemClsCd": "43191501",
        "qtyAvailable": 50,
        "branchId": "000",
        "pkgUnitCd": "CT",
        "qtyUnitCd": "U",
        "lastUpdated": "20250910120000"
      },
      {
        "itemCd": "TEST002",
        "itemNm": "Sample Product",
        "itemClsCd": "43191502",
        "qtyAvailable": 100,
        "branchId": "000",
        "pkgUnitCd": "BOX",
        "qtyUnitCd": "U",
        "lastUpdated": "20250910120000"
      }
    ]
  }
}