报关资料批量详情查询
POST
/supplyShipmentBasic/openApi/customsDeclaration/batchDetail接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/supplyShipmentBasic/openApi/customsDeclaration/batchDetail | HTTPS | POST | 1 |
根据报关资料编号列表查询报关资料详情列表。
海关通关参数:海关政务服务
请求参数
declarationNosarray<object>必填隐藏子属性
itemstring必填请求cURL示例
curl --location 'https://openapi.lingxing.com/supplyShipmentBasic/openApi/customsDeclaration/batchDetail?access_token=value×tamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
"declarationNos": [
"CD20260417001"
]
}'
返回结果
JSON Object
codenumbermessagestringerror_detailsarray<object>隐藏子属性
itemstringrequest_idstringresponse_timestringtotalnumberdataarray<object>隐藏子属性
declarationNostring必填referenceNosarray<object>必填隐藏子属性
itemstring必填referenceTypenumber必填shipmentNoarray<object>隐藏子属性
itemstringshipperInfoobject必填隐藏子属性
companyNamestringsocialCreditCodestringconsigneeInfoobject必填隐藏子属性
companyNamestringattachmentsarray<object>隐藏子属性
fileNamestringfileUrlstringfileTypestringdeclarationFormobject隐藏子属性
unifiedNostringpreEntryNostringcustomsNostringserviceNostringdeclaringCustomsstringexitCustomsstringexportDatestringdeclareDatestringrecordNostringtransportModestringtransportNamestringvoyageNumberstringbillOfLadingNostringproducerSalesUnitstringsupervisionModestringtaxExemptionNaturestringlicenseNostringcontractNostringtradeCountrystringdestinationCountrystringdestinationPortstringdeparturePortstringpackageTypestringpackageCountnumbergrossWeightstringnetWeightstringgoodsTotalNetWeightstringtradeModestringfreightCurrencystringfreightAmountstringfreightFlagstringinsuranceCurrencystringinsuranceAmountstringinsuranceFlagstringotherFeeCurrencystringotherFeeAmountstringotherFeeFlagstringattachedDocumentsstringshippingMarkstringremarkstringspecialRelationConfirmstringpriceInfluenceConfirmstringroyaltyPaymentConfirmstringformulaPricingConfirmstringprovisionalPriceConfirmstringselfDeclarationTaxPaymentstringwaterwayTransitstringorderInfoobject隐藏子属性
orderNostringplatformstringgoodsAmountstringfreightstringcurrencystringproductsarray<object>必填隐藏子属性
productIdstring必填itemNonumberproductCodestring必填productNamestringproductTitlestringspecificationstringcustomsNameCnstringcustomsNameEnstringmaterialCnstringmaterialEnstringuseCnstringuseEnstringmodelstringbrandTypestringexportPreferentialstringadditionalDeclarationItemsstringinternalCodestringspecialAttributearray<object>隐藏子属性
itemstringidentificationCodestringcategorystringbrandstringfirstLegalQuantitystring必填firstLegalUnitstring必填secondLegalQuantitystringsecondLegalUnitstringtransactionQuantitystring必填transactionUnitstring必填pricestring必填batchNostringtotalPricestringcurrencystring必填originCountrystringdestinationCountrystringdomesticSourcestring必填taxExemptionstring必填skustringspustringmskustringfnskustringgoodsItemNostringlistingPricestringlistingCurrencystringpurchaseNostringshipmentNoarray<object>隐藏子属性
itemstringquarantineCodestringproductLengthstringproductWidthstringproductHeightstringcartonsarray<object>必填隐藏子属性
cartonNostringboxRangestringcartonCountnumbersingleCartonGrossWeightstringgrossWeightstringtotalNetWeightstringcartonLengthstringcartonWidthstringcartonHeightstringcbmstringproductsarray<object>隐藏子属性
productIdstring必填batchNostringproductCodestringproductNamestringproductTitlestringmskustringfnskustringskustringquantityPerCartonnumbernetWeightPerItemstringtotalQuantitynumberproductTotalNetWeightstringunitstring返回成功示例
{
"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"
}
]
}
]
}
]
}