Skip to content
Axis Solutions ZMB
YouTube

Save Stock Items

The Stock API allows businesses to record new stock items in Smart Invoice.
This endpoint ensures that inventory updates from approved purchases, imports, sales, and stock movement adjustments (e.g., interbranch transfers) are reflected accurately.

⚠️ Dependency: After calling this endpoint, a subsequent call to Save Stock Master must be made to update the overall stock quantities.

SaveStockItems() method

This method saves stock item data into Smart Invoice. It is mandatory for all industries except the service industry.

Request Parameters

ParameterTypeDescription
TPINstringTaxpayer Identification Number of the business
Branch IdstringBranch identifier where the stock is being saved
Item CodestringUnique identifier for the item
QuantitydecimalQuantity of the stock item being added
Adjustment ReasonstringReason for stock adjustment (e.g., Purchase, Import, Transfer)
Total AmountdecimalTotal stock amount for the item

Usage Example

classification codes

Successful Response

{
  "success": true,
  "code": "000",
  "message": "Operation completed successfully",
  "timestamp": "2025-09-22 15:14:37",
  "data": null,
  "error": null
}