Skip to content
Axis Solutions ZMB
YouTube

Update Import Items

The Imports API provides functionality to update the status of imported items retrieved from ASYCUDA into Smart Invoice.
This endpoint is used to either acknowledge (approve) or disregard (reject) imported items.

  • Acknowledged imports must be saved in stock using the Save Stock Items endpoint.
  • After saving, call the Save Stock Master endpoint to ensure that stock levels are updated accordingly.
  • Disregarded imports are ignored and do not affect stock levels.

UpdateImportItemsAsync() method

This method updates the status of imported items in Smart Invoice.

Request Parameters

NB: The TPIN and Branch ID are stored in the configuration file

ParameterTypeDescription
TPINstringTaxpayer Identification Number of the business
BranchIdstringBranch ID of the taxpayer
ImportCodestringUnique import record code from Smart Invoice
ItemSequenceintSequence number of the item in the import record
ItemClassificationCodestringUNSPSC classification code for the imported item
ImportStatusCodestringStatus code for the import: A = Acknowledge, D = Disregard
DeclarationDatestringDeclaration date of the import (format: yyyyMMdd)
QuantitydecimalQuantity of imported item

Usage Example

classification codes

Example Successful Response

{
  "resultCd": "000",
  "resultMsg": "It is succeeded",
  "resultDt": "20250911140000",
  "data": {
    "updatedImports": [
      {
        "importCode": "IMP001",
        "itemSeq": 1,
        "status": "Acknowledged"
      }
    ]
  }
}