Lingxing
切换旧版

报关资料批量详情查询

POST/supplyShipmentBasic/openApi/customsDeclaration/batchDetail

接口信息

API Path请求协议请求方式令牌桶容量
/supplyShipmentBasic/openApi/customsDeclaration/batchDetailHTTPSPOST1

根据报关资料编号列表查询报关资料详情列表。

海关通关参数:海关政务服务

请求参数

declarationNosarray<object>必填
报关资料编号列表,单次最多50个
隐藏子属性
itemstring必填
报关资料编号

请求cURL示例

curl --location 'https://openapi.lingxing.com/supplyShipmentBasic/openApi/customsDeclaration/batchDetail?access_token=value&timestamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
    "declarationNos": [
        "CD20260417001"
    ]
}'

返回结果

JSON Object

codenumber
状态码,0表示成功
示例 0
messagestring
提示信息
示例 success
error_detailsarray<object>
错误详情列表
示例 []
隐藏子属性
itemstring
错误详情
request_idstring
请求链路ID
示例 D249661DE71EDD03A98BE06987F71D80
response_timestring
响应时间
示例 2026-04-21 15:46:46
totalnumber
数据总数
示例 1
dataarray<object>
响应数据
隐藏子属性
declarationNostring必填
报关资料编号
示例 CD20260415002
referenceNosarray<object>必填
关联单号
示例 ["SP260410001","SP260409005","SP260409004"]
隐藏子属性
itemstring必填
关联单号
示例 SP260410001
referenceTypenumber必填
关联单号类型,1:发货单,2:备货单
示例 1
shipmentNoarray<object>
货件号/三方入库单号
示例 ["FBA1700DJSRL","FBA16SY8SFH1","FBA16SY8616B"]
隐藏子属性
itemstring
货件号/三方入库单号
示例 FBA1700DJSRL
shipperInfoobject必填
境内发货人信息
隐藏子属性
companyNamestring
境内发货人公司名
示例 领星科技有限公司
socialCreditCodestring
社会信用代码
consigneeInfoobject必填
境外收货人信息
隐藏子属性
companyNamestring
境外收货人公司名
示例 505050
attachmentsarray<object>
附件
隐藏子属性
fileNamestring
文件名
示例 901184306044203008_2036740114264981506_1776218057363.xlsx
fileUrlstring
文件URL
fileTypestring
文件类型
declarationFormobject
报关单
隐藏子属性
unifiedNostring
统一编号
preEntryNostring
预录入编号
示例 预录入编号
customsNostring
海关编号
示例 海关编号
serviceNostring
服务商编号
declaringCustomsstring
申报地海关,海关通关参数:海关关区
示例 0000
exitCustomsstring
出境关别,海关通关参数:海关关区
示例 0000
exportDatestring
出口日期
示例 2026-04-14
declareDatestring
申报日期
示例 2026-04-15
recordNostring
备案号
示例 备案号
transportModestring
运输方式,2:水路运输,3:铁路运输,4:公路运输,5:航空运输,6:邮件运输,7:旅客携带,9:其他运输
示例 2
transportNamestring
运输工具名称
示例 船
voyageNumberstring
航次号
示例 船 航次号
billOfLadingNostring
提运单号
示例 提运单号
producerSalesUnitstring
生产销售单位
示例 领星科技有限公司
supervisionModestring
监管方式,海关通关参数:监管方式
示例 9710
taxExemptionNaturestring
征免性质,海关通关参数:征免性质
示例 101
licenseNostring
许可证号
示例 许可证号
contractNostring
合同协议号
示例 合同协议号
tradeCountrystring
贸易国,海关通关参数:国别(地区)(对应原报关、报检)
示例 USA
destinationCountrystring
运抵国
示例 美国
destinationPortstring
指运港,海关通关参数:港口(对应原报关、报检)
示例 991101
departurePortstring
离境口岸,海关通关参数:国内口岸
示例 110001
packageTypestring
包装种类,海关通关参数:包装种类(对应原报关、报检),00:散装,01:裸装,04:球状罐类,06:包/袋,22:纸制或纤维板制盒/箱,23:木制或竹藤等植物性材料制盒/箱,29:其他材料制盒/箱,32:纸制或纤维板制桶,33:木制或竹藤等植物性材料制桶,39:其他材料制桶,41:中型散装容器,42:便携式罐体,43:可移动罐柜,92:再生木托,93:天然木托,97:其他木制包装,98:植物性铺垫材料,99:其他包装
示例 22
packageCountnumber
件数
示例 62
grossWeightstring
毛重(千克)
示例 142
netWeightstring
净重(千克)
示例 56041.1688
goodsTotalNetWeightstring
商品总净重(千克)
示例 56041.1688
tradeModestring
成交方式,1:CIF,2:C&F,3:FOB,4:C&I,5:市场价,6:垫仓,7:EXW
示例 1
freightCurrencystring
运费币种,海关通关参数:币制
示例 USD
freightAmountstring
运费金额
示例 12
freightFlagstring
运费标记,1:费率,2:单价,3:总价
示例 3
insuranceCurrencystring
保费币种,海关通关参数:币制
示例 USD
insuranceAmountstring
保费金额
示例 12
insuranceFlagstring
保费标记,1:费率,2:单价,3:总价
示例 3
otherFeeCurrencystring
杂费币种,海关通关参数:币制
示例 USD
otherFeeAmountstring
杂费金额
示例 12
otherFeeFlagstring
杂费标记,1:费率,2:单价,3:总价
示例 3
attachedDocumentsstring
随附单证及编号
示例 12
shippingMarkstring
标记唛码
示例 23
remarkstring
备注
specialRelationConfirmstring
特殊关系确认,Y:是,N:否
示例 Y
priceInfluenceConfirmstring
价格影响确认,Y:是,N:否
示例 N
royaltyPaymentConfirmstring
支付特许权使用费确认,Y:是,N:否
示例 Y
formulaPricingConfirmstring
公式定价确认,Y:是,N:否
示例 N
provisionalPriceConfirmstring
暂定价格确认,Y:是,N:否
示例 Y
selfDeclarationTaxPaymentstring
自报自缴,Y:是,N:否
示例 N
waterwayTransitstring
水运中转,Y:是,N:否
示例 Y
orderInfoobject
订单信息
隐藏子属性
orderNostring
订单/订仓单号
示例 FBA1700DJSRL/FBA16SY8SFH1/FBA16SY8616B
platformstring
电商平台
goodsAmountstring
商品金额
示例 702.1994
freightstring
运杂费
示例 12
currencystring
币制,海关报关参数:币制
示例 CNY
productsarray<object>必填
商品信息
隐藏子属性
productIdstring必填
商品id,与箱内商品关联
示例 2044700226186326017
itemNonumber
项号
示例 1
productCodestring必填
商品编号
示例 1
productNamestring
品名
示例 KT7—LA4
productTitlestring
商品名称
示例 1
specificationstring
规格型号
customsNameCnstring
中文报关名
customsNameEnstring
英文报关名
materialCnstring
中文材质
materialEnstring
英文材质
useCnstring
中文用途
useEnstring
英文用途
modelstring
型号
示例 LA4
brandTypestring
品牌类型,0:无品牌,1:境内自主品牌,2:境内收购品牌,3:境外品牌(贴牌生产),4:境外品牌(其他)
exportPreferentialstring
出口享惠情况,0:不享惠,1:享惠,2:不确定享惠情况
additionalDeclarationItemsstring
其他申报要素
internalCodestring
内部编码
specialAttributearray<object>
特殊属性
隐藏子属性
itemstring
特殊属性,0:普货,1:含电,2:纯电,3:液体,4:粉末,5:膏体,6:带磁,7:纺织品,8:木质
identificationCodestring
识别码
categorystring
分类
示例 xhp\男鞋\篮球鞋
brandstring
品牌
示例 ANT
firstLegalQuantitystring必填
第一法定数量
示例 2
firstLegalUnitstring必填
第一法定单位,海关通关参数:计量单位
示例 001
secondLegalQuantitystring
第二法定数量
示例 0
secondLegalUnitstring
第二法定单位
示例 千克
transactionQuantitystring必填
成交数量
示例 2
transactionUnitstring必填
成交单位,海关通关参数:计量单位
示例 001
pricestring必填
单价
示例 99.9
batchNostring
批次号
示例 2302103184-1
totalPricestring
总价
示例 199.8
currencystring必填
币制,海关通关参数:币制
示例 CNY
originCountrystring
原产国(地区),海关通关参数:国别(地区)(对应原报关、报检)
destinationCountrystring
最终目的国(地区)
示例 美国
domesticSourcestring必填
境内货源地,海关通关参数:国内地区
示例 11019
taxExemptionstring必填
征免,海关通关参数:征减免税方式,1:照章征税,2:折半征税,3:全免,4:特案,5:随征免性质,6:保证金,7:保函,8:折半补税,9:全额退税,A:不计征关税、增值税和消费税,B:不计征关税,C:不计征关税、增值税,D:不计征增值税和消费税,E:不计征增值税
示例 2
skustring
SKU
示例 SKUKT7LA4
spustring
SPU
示例 SPUPinkW
mskustring
MSKU
示例 DEE-216
fnskustring
FNSKU
示例 B085M7NH7K
goodsItemNostring
商品货号,仅当监管方式为9710或9810时返回,其余情况为null
listingPricestring
listing价格
示例 0
listingCurrencystring
listing币种,海关通关参数:币制
示例 CNY
purchaseNostring
采购单号
shipmentNoarray<object>
货件单号
示例 ["FBA1700DJSRL"]
隐藏子属性
itemstring
货件单号
示例 FBA1700DJSRL
quarantineCodestring
检疫附加码
productLengthstring
产品长(cm)
示例 0
productWidthstring
产品宽(cm)
示例 0
productHeightstring
产品高(cm)
示例 0
cartonsarray<object>必填
装箱信息
隐藏子属性
cartonNostring
箱号
示例 FBA1700DJSRLU000001
boxRangestring
箱号范围
示例 1
cartonCountnumber
箱数
示例 1
singleCartonGrossWeightstring
单箱毛重(kg)
示例 1
grossWeightstring
毛重(kg)
示例 1
totalNetWeightstring
总净重(kg)
示例 0
cartonLengthstring
箱子长度(cm)
示例 1
cartonWidthstring
箱子宽度(cm)
示例 2
cartonHeightstring
箱子高度(cm)
示例 3
cbmstring
单箱体积(CBM)
示例 0.000006
productsarray<object>
箱内商品
隐藏子属性
productIdstring必填
商品id,与商品列表关联
示例 2044700226186326017
batchNostring
批次号
示例 2302103184-1
productCodestring
商品编号
示例 1
productNamestring
品名
示例 KT7—LA4
productTitlestring
商品名称
示例 1
mskustring
MSKU
示例 DEE-216
fnskustring
FNSKU
示例 B085M7NH7K
skustring
SKU
示例 SKUKT7LA4
quantityPerCartonnumber
单箱数量
示例 2
netWeightPerItemstring
单品净重(kg)
示例 0
totalQuantitynumber
商品数量
示例 2
productTotalNetWeightstring
商品总净重(kg)
示例 0
unitstring
单位,海关通关参数:计量单位
示例 001

返回成功示例

{
    "success": true,
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "3EBFDAD7CC8A4B2798CD8F389419498C",
    "response_time": "2026-04-22 15:35:23",
    "total": 1,
    "data": [
        {
            "declarationNo": "CD20260417001",
            "referenceNos": [
                "OWS260413002"
            ],
            "referenceType": 2,
            "shipmentNo": [],
            "shipperInfo": {
                "companyName": "领星科技有限公司",
                "socialCreditCode": null
            },
            "consigneeInfo": {
                "companyName": "505050"
            },
            "attachments": [],
            "declarationForm": {
                "unifiedNo": null,
                "preEntryNo": null,
                "customsNo": null,
                "serviceNo": null,
                "declaringCustoms": "0000",
                "exitCustoms": null,
                "exportDate": null,
                "declareDate": null,
                "recordNo": null,
                "transportMode": null,
                "transportName": null,
                "voyageNumber": null,
                "billOfLadingNo": null,
                "producerSalesUnit": "领星科技有限公司",
                "supervisionMode": "9710",
                "taxExemptionNature": "101",
                "licenseNo": null,
                "contractNo": null,
                "tradeCountry": "GBR",
                "destinationCountry": "英国",
                "destinationPort": null,
                "departurePort": null,
                "packageType": "22",
                "packageCount": 2,
                "grossWeight": "20",
                "netWeight": "216.24",
                "goodsTotalNetWeight": "216.24",
                "tradeMode": "1",
                "freightCurrency": "USD",
                "freightAmount": null,
                "freightFlag": "3",
                "insuranceCurrency": "USD",
                "insuranceAmount": null,
                "insuranceFlag": "3",
                "otherFeeCurrency": "USD",
                "otherFeeAmount": null,
                "otherFeeFlag": "3",
                "attachedDocuments": null,
                "shippingMark": null,
                "remark": null,
                "specialRelationConfirm": null,
                "priceInfluenceConfirm": null,
                "royaltyPaymentConfirm": null,
                "formulaPricingConfirm": null,
                "provisionalPriceConfirm": null,
                "selfDeclarationTaxPayment": null,
                "waterwayTransit": null
            },
            "orderInfo": {
                "orderNo": null,
                "platform": null,
                "goodsAmount": "67.65",
                "freight": "0",
                "currency": "CNY"
            },
            "products": [
                {
                    "productId": "2044817235691094018",
                    "itemNo": 1,
                    "productCode": "8422200000",
                    "productName": "款名2006-1",
                    "productTitle": "组合品的单品1",
                    "specification": "222",
                    "customsNameCn": "组合品的单品1",
                    "customsNameEn": "fd",
                    "materialCn": "订单",
                    "materialEn": "dfv发的",
                    "useCn": "发的",
                    "useEn": "梵蒂冈",
                    "model": "订单",
                    "brandType": "3",
                    "exportPreferential": "1",
                    "internalCode": "官方的不过v",
                    "specialAttribute": [
                        "2",
                        "7"
                    ],
                    "identificationCode": "888888",
                    "category": "xhp\\男鞋\\篮球鞋",
                    "brand": "ANT",
                    "firstLegalQuantity": "18",
                    "firstLegalUnit": "007",
                    "secondLegalQuantity": "216",
                    "secondLegalUnit": "千克",
                    "transactionQuantity": "18",
                    "transactionUnit": "007",
                    "price": "8.99",
                    "batchNo": null,
                    "totalPrice": "161.82",
                    "currency": "AUD",
                    "originCountry": null,
                    "destinationCountry": "英国",
                    "domesticSource": "11029",
                    "taxExemption": "E",
                    "sku": "spu2006-3",
                    "spu": "spu2006",
                    "msku": null,
                    "fnsku": null,
                    "listingPrice": null,
                    "listingCurrency": null,
                    "purchaseNo": null,
                    "shipmentNo": [],
                    "quarantineCode": null,
                    "productLength": "16.33",
                    "productWidth": "95.66",
                    "productHeight": "15.34"
                },
                {
                    "productId": "2044817235724648450",
                    "itemNo": 2,
                    "productCode": "78*&&",
                    "productName": "AT-WP-SKU00013",
                    "productTitle": "八八2",
                    "specification": "ddff1",
                    "customsNameCn": "八八2",
                    "customsNameEn": "baba",
                    "materialCn": "塑料",
                    "materialEn": "suliao",
                    "useCn": "解决问题",
                    "useEn": "jjjjj",
                    "model": "打火机¥",
                    "brandType": "1",
                    "exportPreferential": "2",
                    "internalCode": "444444",
                    "specialAttribute": [
                        "1",
                        "6"
                    ],
                    "identificationCode": "3345-0933",
                    "category": "空格 111",
                    "brand": "品牌4",
                    "firstLegalQuantity": "12",
                    "firstLegalUnit": "035",
                    "secondLegalQuantity": "0.24",
                    "secondLegalUnit": "千克",
                    "transactionQuantity": "12",
                    "transactionUnit": "035",
                    "price": "58.66",
                    "batchNo": null,
                    "totalPrice": "703.92",
                    "currency": "USD",
                    "originCountry": "DEU",
                    "destinationCountry": "英国",
                    "domesticSource": "11039",
                    "taxExemption": "6",
                    "sku": "AT-WP-SKU00013",
                    "spu": "spu2006",
                    "msku": null,
                    "fnsku": null,
                    "listingPrice": null,
                    "listingCurrency": null,
                    "purchaseNo": null,
                    "shipmentNo": [],
                    "quarantineCode": null,
                    "productLength": "10",
                    "productWidth": "20",
                    "productHeight": "31"
                }
            ],
            "cartons": [
                {
                    "cartonNo": null,
                    "boxRange": "1-2",
                    "cartonCount": 2,
                    "singleCartonGrossWeight": "10",
                    "grossWeight": "20",
                    "totalNetWeight": "216.24",
                    "cartonLength": "15.99",
                    "cartonWidth": "16.66",
                    "cartonHeight": "74.89",
                    "cbm": "0.0399",
                    "products": [
                        {
                            "productId": "2044817235691094018",
                            "batchNo": null,
                            "productCode": "8422200000",
                            "productName": "款名2006-1",
                            "productTitle": "组合品的单品1",
                            "msku": null,
                            "fnsku": null,
                            "sku": "spu2006-3",
                            "quantityPerCarton": 9,
                            "netWeightPerItem": "12",
                            "totalQuantity": 18,
                            "productTotalNetWeight": "216",
                            "unit": "007"
                        },
                        {
                            "productId": "2044817235724648450",
                            "batchNo": null,
                            "productCode": "78*&&",
                            "productName": "AT-WP-SKU00013",
                            "productTitle": "八八2",
                            "msku": null,
                            "fnsku": null,
                            "sku": "AT-WP-SKU00013",
                            "quantityPerCarton": 6,
                            "netWeightPerItem": "0.02",
                            "totalQuantity": 12,
                            "productTotalNetWeight": "0.24",
                            "unit": "035"
                        }
                    ]
                }
            ]
        }
    ]
}