进口报关单获取接口
POST
/post/rest/inmanifest/dii此接口支持获取外贸企业自身的进口报关单数据(含:报关单的进口日期,报关单号,申报日期,合同协议号,境内收发货人,境外收发货人名称,申报单位,提运单号,监管方式,运保杂费,随附单证,集装箱,报关回执等信息),帮助外贸企业实时拿到进口关单数据,提升工作效率,同时规避申报数据错误的风险。
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
authorize
object
安全凭证
appSecId
string
密钥ID
平台随机生成
appSec
string
签名串
根据密钥ID和KEY生成的签名串
globalInfo
object
接口信息
appId
string
接口ID
例:CKBGD
version
string
接口版本号
例:V1.0
interfaceCode
string
接口编码
例:MANIFEST.MGET
enterpriseCode
string
企业编码
dataExchangeId
string
接口数据加密
例:默认值dataExchangeId
data
object
获取条件参数
由获取条件参数通过用Base64加密生成的字符串
bgdNo
string
报关单号
cusDecStatus
string
报关单状态
例:1-保存 2-已申报 3-预录入接收失败 4-海关入库成功 5-海关入库失败 6-退单 7-审结 8-删单 9-放行 10-结关 11-查验通知
endDate
string
进口结束日期
格式:yyyy-MM-dd
flag
string
数据类型
条件判断
1:结关(startDate,endDate,cusDecStatust条件必填)
2:未结关
3或为空:全部
optStartDate
string
最新操作开始日期
格式:yyyy-MM-dd
optEndDate
string
最新操作结束日期
格式:yyyy-MM-dd
preEntryId
string
报关单预录入号
pageSize
integer
页数
默认10条
page
integer
当前第几页
默认从1开始
startDate
string
进口开始日期
格式:yyyy-MM-dd
spDecSeqNo
string
统一编号
hgOpStartDate
string
海关最新操作开始时间
hgOpEndDate
string
海关最新操作结束时间
示例
{
"authorize": {
"appSecId": "2AE5415E6FBD2BE9794575EDF88CEF1B",
"appSec": "/TGkBMNXDu05PiV2jlnANcpo2dw="
},
"globalInfo": {
"appId": "JKBGD",
"version": "V1.0",
"interfaceCode": "INMANIFEST.MGET",
"enterpriseCode": "TEST",
"dataExchangeId": "dataExchangeId"
},
"data": "eyJzdGFydERhdGUiOiIiLCJlbmREYXRlIjoiIiwicGFnZSI6MTEsInBhZ2VTaXplIjoxMCwiY3VzRGVjU3RhdHVzIjoiIiwib3B0U3RhcnREYXRlIjoiMjAyMC0wOS0yMSIsIm9wdEVuZERhdGUiOiIyMDIxLTAyLTE4IiwiZmxhZyI6IiIsImJnZE5vIjoiIn0="
}
//加密的获取参数
{
"startDate": "",
"endDate": "",
"page": 1,
"pageSize": 10,
"cusDecStatus": "",
"optStartDate": "2020-09-21",
"optEndDate": "2021-02-18",
"flag": "",
"bgdNo": "",
"hgOpStartDate":"",
"hgOpEndDate":""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
object
返回参数
由返回的参数通过用Base64加密生成的字符串
totalRows
integer
数据的总条数
currentRows
integer
当前返回条数
result
array [object {123}]
报关单列表数据
returnStateInfo
object
接口状态信息
returnCode
string
返回状态编码
例:0000
returnMessage
string
返回信息
例:处理成功
示例
{
"data": "eyJ0b3RhbFJvd3MiOjMwNTMsImN1cnJlbnRSb3dzIjoxMCwicmVz...",
"returnStateInfo": {
"returnCode": "0000",
"returnMessage": "处理成功"
}
}
//data加密前的数据
{
"totalRows": 1,
"currentRows": 1,
"result": [
{
"agentCode": "4419986606",
"agentName": "东莞市铂逸报关报检有限公司",
"agentScc": "91441900303830466R",
"appCertCode": " ",
"appCertName": " ",
"attaDocuCds": [
],
"attaDocuCdstr": "Y,O",
"billNo": "CULKHH20018675",
"bonNo": " ",
"ciqBillNo": " ",
"ciqEntyPortCode": "441914",
"ciqEntyPortCodeName": "东莞虎门港7、8号泊位",
"consigneeCname": "江苏舜天国际集团机械进出口有限公司",
"consigneeCode": "3201000071",
"consignorCode": " ",
"consignorEname": "TONGTAI MACHINE & TOOL CO.,LTD",
"contaCount": "2",
"containers": [
{
"goodsNo": "1,2",
"containerNo": "CICU9660362",
"contSeqNo": "1",
"lclFlag": null,
"lclFlagName": null,
"cusCiqNo": "I20200000520666235",
"containerMdCode": "11",
"containerMdCodeName": "普通2*标准箱(L)",
"containerWt": null
}
],
"contrNo": "20MCD(01)-0551957TW/20MCD(01)-05",
"correlationDeclNo": " ",
"correlationReasonFlag": " ",
"correlationReasonFlagName": " ",
"cusCiqNo": "I20200000520666235",
"cusDecStatus": "10",
"cusDecStatusName": "结关",
"cusRemark": "1000000000000",
"cusTradeCountry": "TWN",
"cusTradeCountryName": "中国台湾",
"cusTradeNationCode": "TWN",
"cusTradeNationCodeName": "中国台湾",
"cusTrafMode": "2",
"cusTrafModeName": "水路运输",
"cusVoyageNo": "2044W",
"customMaster": "5216",
"customMasterName": "沙田海关",
"customsField": "5250",
"customsFieldName": "78号泊位",
"cutMode": "101",
"cutModeName": "一般征税",
"dDate": "2020-11-05",
"decOtherPacksVo": " ",
"declRegNo": "4400910751",
"despDate": "2020-11-04",
"despPortCode": "TWN128",
"despPortCodeName": "高雄(中国台湾)",
"detailList": [
{
"bgdNo": "521620201160036580001",
"ciqCode": "999",
"ciqDestCode": "440306",
"ciqDestCodeName": "深圳市宝安区",
"ciqName": "切削金属的其他数控钻床(但品目8458的车床除外)",
"codeTs": "8459210000",
"contrItem": " ",
"cusOriginCountry": "TWN",
"cusOriginCountryName": "中国台湾",
"declPrice": 379203,
"declTotal": 379203,
"destinationCountry": "CHN",
"destinationCountryName": "中国",
"districtCode": "44031",
"districtCodeName": "深圳特区",
"dutyMode": "1",
"dutyModeName": "照章征税",
"exgNo": " ",
"exgVersion": " ",
"gModel": "4|3|用途:用于金属板上的钻孔的机器|功能:钻孔|控制方式:数控|品牌:TONGTAI|型号:SD-220|数控系统原产地:台湾|||控制系统品牌:SIEB&MEYER 西伯麦亚/控制系统的型号:CNC 84",
"gName": "数控钻床",
"gNo": "1",
"gQty": 1,
"gUnit": "001",
"gUnitName": "台",
"goodsAttr": "19",
"goodsAttrName": " ",
"inspGoodsLicenceInfo": " ",
"inspGoodsTarget": " ",
"origPlaceCode": " ",
"origPlaceCodeName": " ",
"pId": "b60c5454d2754fb0bc5503c67e3e6aae",
"preDecCiqGoodsLimit": " ",
"purpose": "26",
"purposeName": "仅工业用途 ",
"qty1": 1,
"qty2": 4465,
"rmbPrice": 379203,
"tradeCurr": "CNY",
"tradeCurrName": "人民币",
"unit1": "001",
"unit1Name": "台",
"unit2": "035",
"unit2Name": "千克",
"usdPrice": 56433.22
},
{
"bgdNo": "521620201160036580002",
"ciqCode": "999",
"ciqDestCode": "440306",
"ciqDestCodeName": "深圳市宝安区",
"ciqName": "切削金属的其他数控钻床(但品目8458的车床除外)",
"codeTs": "8459210000",
"contrItem": " ",
"cusOriginCountry": "TWN",
"cusOriginCountryName": "中国台湾",
"declPrice": 643362,
"declTotal": 643362,
"destinationCountry": "CHN",
"destinationCountryName": "中国",
"districtCode": "44031",
"districtCodeName": "深圳特区",
"dutyMode": "1",
"dutyModeName": "照章征税",
"exgNo": " ",
"exgVersion": " ",
"gModel": "4|3|用途:用于金属板上的钻孔的机器|功能:钻孔|控制方式:数控|品牌:TONGTAI|型号:SD-620|数控系统原产地:台湾|||控制系统品牌:SIEB&MEYER 西伯麦亚/控制系统的型号:CNC 84",
"gName": "数控钻床",
"gNo": "2",
"gQty": 1,
"gUnit": "001",
"gUnitName": "台",
"goodsAttr": "19",
"goodsAttrName": " ",
"inspGoodsLicenceInfo": " ",
"inspGoodsTarget": " ",
"origPlaceCode": " ",
"origPlaceCodeName": " ",
"pId": "b60c5454d2754fb0bc5503c67e3e6aae",
"preDecCiqGoodsLimit": " ",
"purpose": "26",
"purposeName": "仅工业用途 ",
"qty1": 1,
"qty2": 11908,
"rmbPrice": 643362,
"tradeCurr": "CNY",
"tradeCurrName": "人民币",
"unit1": "001",
"unit1Name": "台",
"unit2": "035",
"unit2Name": "千克",
"usdPrice": 95745.52
}
],
"distinatePort": "TWN128",
"distinatePortName": "高雄(中国台湾)",
"entQualifNo": " ",
"entryId": "521620201160036580",
"entryType": "M",
"entryTypeName": "通关无纸化",
"feeCurr": "",
"feeCurrName": " ",
"feeMark": " ",
"feeMarkName": " ",
"feeRate": 0,
"feeUsdAmt": 0,
"goodsPlace": "东莞虎门港7、8号泊位",
"grossWt": 17603,
"iEDate": "2020-11-06",
"iEPort": "5216",
"iEPortName": "沙田海关",
"id": "b60c5454d2754fb0bc5503c67e3e6aae",
"inDbTime": " ",
"inspOrgCode": "566600",
"inspOrgCodeName": "沙田海关本部",
"insurCurr": "",
"insurCurrName": " ",
"insurMark": " ",
"insurMarkName": " ",
"insurRate": 0,
"insurUsdAmt": 0,
"licenseNo": " ",
"manualNo": " ",
"markNo": "N/M",
"netWt": 16373,
"newFlag": "Y",
"noteS": "[装卸口岸]78号泊位 T/T 包装:木托盘,纸箱 境内收货人AEO认证编号:(134762588001) 厂家:东台精机股份有限公司 原理:利用高转速主轴夹头夹持钻孔刀具高速旋转,由CNC数控电脑系统,控制机台移动,达成金属板钻孔功能20201012签约 合同号:20MCD(01)-0551957TW/20MCD(01)-0551956TW",
"orgCode": "566600",
"orgCodeName": "沙田海关本部",
"origBoxFlag": " ",
"origBoxFlagName": " ",
"otherCurr": "CNY",
"otherCurrName": "人民币",
"otherMark": "3",
"otherMarkName": "总价",
"otherRate": 3200,
"otherUsdAmt": 476.23,
"ownerCiqCode": " ",
"ownerCode": "4403006729",
"ownerName": "深圳市快捷电子科技有限公司",
"ownerScc": "91440300672981585X",
"packNo": "2",
"preDecEntQualifListVo": " ",
"preDecRequCertList": " ",
"preDecUserList": " ",
"preEntryId": "521620201160036580",
"promiseItems": "000",
"purpOrgCode": "566600",
"purpOrgCodeName": "沙田海关本部",
"rcvgdTradeCode": "3201919018",
"rcvgdTradeScc": "91320000134762588N",
"receipts": [
{
"note": ";报关单放行",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-06 08:37:34",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003220793275",
"channel": "P",
"channelName": "海关已放行",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "结关;报关单结关",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-06 08:37:34",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003220793459",
"channel": "R",
"channelName": "海关已结关",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "检验检疫编号:[120000007424981]已检验检疫合格,请您与【沙田海关本部】签证部门联系通关证或换证凭单等放行相关事宜,联系电话:。特别提示:请凭检验检疫编号120000007424981办理报关。",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 14:42:26",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003218550275",
"channel": "S",
"channelName": null,
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "检验检疫编号:[120000007424981]已检验检疫合格,请您与【沙田海关本部】签证部门联系通关证或换证凭单等放行相关事宜,联系电话:。特别提示:请凭检验检疫编号120000007424981办理报关。",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 14:42:26",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003218551521",
"channel": "S",
"channelName": null,
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "检验检疫编号:[120000007424981]已正式受理通过。申请日期:2020-11-05 14:42:24。。特别提示:请凭检验检疫编号120000007424981办理报关。",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 14:42:25",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003218550951",
"channel": "d",
"channelName": "检务受理",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "上传自动进口许可证",
"iEDate": null,
"dDate": null,
"noticeDate": "2020-11-05 11:53:49",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003217589103",
"channel": "N",
"channelName": "补传随附单证电子数据",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": ";,,(适用自报自缴);。特别提示:请凭检验检疫编号120000007424981办理报关。",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 11:18:38",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003217331379",
"channel": "J",
"channelName": "通关无纸化审结",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "申请检验检疫成功!(进口)统一编号/(出口)检验检疫申请号【I20200000520666235/566600120054233E】,已成功接收数据,待审单。",
"iEDate": null,
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 11:18:17",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003217328341",
"channel": "b",
"channelName": "已发检验检疫审核",
"spDecSeqNo": "I20200000520666235",
"entryId": null
},
{
"note": "成功入海关预录入库;",
"iEDate": "2020-11-06",
"dDate": "2020-11-05",
"noticeDate": "2020-11-05 10:46:10",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003217075161",
"channel": "L",
"channelName": "海关入库成功",
"spDecSeqNo": "I20200000520666235",
"entryId": "521620201160036580"
},
{
"note": "I20200000520666235直接申报成功",
"iEDate": null,
"dDate": null,
"noticeDate": "2020-11-05 10:45:51",
"cusCiqNo": "I20200000520666235",
"cusRetSeqNo": "202000003217071767",
"channel": "7",
"channelName": "申报到海关预录入系统成功",
"spDecSeqNo": "I20200000520666235",
"entryId": null
}
],
"relManNo": " ",
"relativeId": " ",
"rmbAmt": 1022565,
"rn": 0,
"sjly": "2",
"spDecSeqNo": "I20200000520666235",
"specDeclFlag": "0000",
"supvModeCdde": "0110",
"supvModeCddeName": "一般贸易",
"trafName": "OSG BOSSTEC",
"transMode": "1",
"transModeName": "CIF",
"usdAmt": 152178.74,
"vsaOrgCode": "566600",
"vsaOrgCodeName": "沙田海关本部",
"wrapType": "93",
"wrapTypeName": "天然木托"
}
]
}
最后修改时间: 1 年前