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 Itemsendpoint. - After saving, call the
Save Stock Masterendpoint 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
| Parameter | Type | Description |
|---|---|---|
| TPIN | string | Taxpayer Identification Number of the business |
| BranchId | string | Branch ID of the taxpayer |
| ImportCode | string | Unique import record code from Smart Invoice |
| ItemSequence | int | Sequence number of the item in the import record |
| ItemClassificationCode | string | UNSPSC classification code for the imported item |
| ImportStatusCode | string | Status code for the import: A = Acknowledge, D = Disregard |
| DeclarationDate | string | Declaration date of the import (format: yyyyMMdd) |
| Quantity | decimal | Quantity of imported item |
Usage Example

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