Skip to content
Axis Solutions ZMB
YouTube

Save Stock Master

The Stock Master API is responsible for updating existing stock quantities in Smart Invoice.
It ensures that all approved purchases, imports, sales, and stock adjustments (including interbranch transfers) are accurately reflected in the system.

This endpoint is mandatory and should be called immediately after using the Save Stock Items endpoint.

SaveStockMaster() method

This method updates stock quantities for items already registered in Smart Invoice.

Request Parameters

ParameterTypeDescription
TPINstringTaxpayer Identification Number of the business
Branch IdstringBranch identifier where the stock update is applied
Item CodestringUnique identifier for the stock item
Remain QuantitydecimalRemaining stock quantity after adjustment
Adjustment TypestringAdjustment reason (Purchase, Sale, Import, Transfer, etc.)

Usage Example

classification codes

Example Successful Response

{
  "success": true,
  "code": "000",
  "message": "Operation completed successfully",
  "timestamp": "2025-09-22 11:16:54",
  "data": null,
  "error": null
}