Get Imports
The Imports API enables businesses to fetch detailed information on imported items declared in the Automated System for Customs Data (ASYCUDA).
This ensures seamless integration of imports into Smart Invoice and third-party systems, allowing accurate tracking of imported products, their values, and quantities.
This endpoint is mandatory and should be called to synchronize all declared imports.
GetPendingImportsAsync() method
This method retrieves a list of imported items saved in Smart Invoice from ASYCUDA.
It includes details such as product descriptions, item classifications, quantities, values, and related metadata.
Request Parameters
NB: These details are stored in the configuration files
| Parameter | Type | Description |
|---|---|---|
| TPIN | string | Taxpayer Identification Number of the business |
| Branch Id | string | Branch ID of the taxpayer |
| LastReqDt | string | Timestamp of the last request (format: yyyyMMddHHmmss) |
Usage Example
![]()
Example Successful Response
{
"resultCd": "000",
"resultMsg": "It is succeeded",
"resultDt": "20250911134500",
"data": {
"importList": [
{
"importCd": "IMP001",
"itemCd": "ITEM001",
"itemNm": "Imported Product 1",
"qty": 100,
"value": 2000.00,
"currency": "USD",
"importDate": "20250910"
},
{
"importCd": "IMP002",
"itemCd": "ITEM002",
"itemNm": "Imported Product 2",
"qty": 50,
"value": 1500.00,
"currency": "USD",
"importDate": "20250910"
}
]
}
}