匯總版——奇門(mén)(保稅倉(cāng))服務(wù)接口-V12(2016413)_第1頁(yè)
匯總版——奇門(mén)(保稅倉(cāng))服務(wù)接口-V12(2016413)_第2頁(yè)
匯總版——奇門(mén)(保稅倉(cāng))服務(wù)接口-V12(2016413)_第3頁(yè)
匯總版——奇門(mén)(保稅倉(cāng))服務(wù)接口-V12(2016413)_第4頁(yè)
匯總版——奇門(mén)(保稅倉(cāng))服務(wù)接口-V12(2016413)_第5頁(yè)
已閱讀5頁(yè),還剩18頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、奇門(mén)(保稅倉(cāng))服務(wù)接口V1.1版本號(hào)版本號(hào)時(shí)間修改歷史V1.02016/1/21新建文檔V1.12016/3/28新增統(tǒng)一版統(tǒng)一版1.接口說(shuō)明接口只支持淘系訂單。2.統(tǒng)一報(bào)關(guān)接口:2.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.customs.declare2.2入?yún)⒁?guī)范<request> <actionType>NEW=新增,UPDATE=更新,DELETE=刪除,必填</actionType><orderInfo> <customsCode>海關(guān)編碼,string(50),GUANGZHOU=廣

2、州,必填</customsCode> <merchantCustomsCode>商戶海關(guān)備案編碼,string(18) ,非必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,string(100) ,必填</merchantCustomsName> <sourceOrderCode>淘寶的訂單編碼,string(60) ,必填</sourceOrderCode> <declareTime>申報(bào)時(shí)間,YYYY-MM-DD hh:mm:ss,s

3、tring(19) ,淘系非必填;非淘系必填</ declareTime ></orderTime></orderInfo></receiverInfo><items> <item> <orderLineNo>子訂單號(hào),int,必填</orderLineNo> <itemCode>平臺(tái)商品編碼,string(30) ,必填</itemCode> <itemName>平臺(tái)商品名稱,string(250) </itemName> <barCode&g

4、t;條形碼,string(50),必填</barCode><originCountry>原產(chǎn)國(guó)國(guó)家編碼,string(3),必填</originCountry> <unit>計(jì)量單位(需與商品備案時(shí)的單位一致),string(3),必填</unit> <remark>備注,string(250)</remark></item></items></request>2.3出參規(guī)范<?xml version="1.0" encoding="utf

5、-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message></response>3.報(bào)關(guān)結(jié)果查詢接口:3.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.declarationresult.query3.2入?yún)⒁?guī)范<request> <customsCode>海關(guān)編碼,string(50), GUANGZHOU=廣州,

6、必填</customsCode> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,string(50) </merchantCustomsName> <sourceOrderCode>淘寶訂單編碼,string(50) ,必填</sourceOrderCode></request>3.3出參規(guī)范<?xml version="1.0"

7、; encoding="utf-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message> <sourceOrderCode>平臺(tái)訂單編碼,string(50) ,必填</sourceOrderCode> <result>申報(bào)結(jié)果,string(10),必填</result> <reason>失敗原因,string(1

8、000) ,必填</reason></response>杭州版1.接口說(shuō)明接口支持淘系、非淘系用支付寶支付的訂單。淘系訂單,報(bào)關(guān)部分關(guān)于訂單的字段以淘寶平臺(tái)為準(zhǔn)。2.統(tǒng)一報(bào)關(guān)接口:2.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.customs.declare2.2入?yún)⒁?guī)范<request> <actionType>NEW=新增,UPDATE=更新,必填</actionType><orderInfo> <customsCode>海關(guān)編碼,string(50),HANGZHOU=

9、杭州,必填</customsCode> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,string(50) ,必填</merchantCustomsName> <payType>和海關(guān)結(jié)稅的支付類型。01=銀行卡支付,02=余額支付,03=其他,必填</payType> <sourcePlatformCodeCus>來(lái)源平臺(tái)海關(guān)備案號(hào),string(50

10、),條件必填(非淘系訂單必填)</sourcePlatformCodeCus> <sourcePlatformNameCus>來(lái)源平臺(tái)海關(guān)備案名稱,string(50),條件必填(非淘系訂單必填)</sourcePlatformNameCus> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode> <sourceOrderCodeAlipay>來(lái)源訂單編碼(如:支付寶加過(guò)前綴的訂單號(hào),如T2700P+訂單號(hào),如不需要加前綴的,填原始訂單編碼。),string(50

11、) ,必填</sourceOrderCodeAlipay> <orderTime>下單時(shí)間,YYYY-MM-DD hh:mm:ss,string(19) ,必填</orderTime> <currencyCus>幣制(110=港幣,142=人民幣,502=美元),string(50),必填</currencyCus> <orderAmount>訂單總金額=貨值+運(yùn)費(fèi)+稅款總額+其他費(fèi)用-優(yōu)惠總金額,double(18,2) ,必填</orderAmount> <goodsValue>貨值,doubl

12、e(18,2) ,必填</goodsValue> <freight>運(yùn)費(fèi),double(18,2) ,必填</freight> <taxAmount>進(jìn)口行郵稅稅額,double(18,2) ,必填</taxAmount><taxAmount>稅款總額,double(18,2) ,必填</taxAmount> <!包括關(guān)稅、消費(fèi)稅、增值稅-><insuranceFee>保價(jià)費(fèi), double(18,2), 必填</insuranceFee> <otherCost>

13、其他費(fèi)用</otherCost> <discountAmount>優(yōu)惠總金額,double(18,2)</discountAmount></orderInfo><buyerInfo> <!-買(mǎi)家信息-> <id>買(mǎi)家ID, string (50) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</id> <nick>買(mǎi)家nick, string (200) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</nick> <name>姓名, string (50) ,必填</name>

14、<mobile>移動(dòng)電話, string (50) ,必填</mobile><email>注冊(cè)郵箱, string (140) </email> <idType>收件人證件類型,string (50),必填,01=身份證(試點(diǎn)期間只能是身份證),02=護(hù)照,03=其他</idType> <idNumber>收件人證件號(hào)碼,string (50),必填</idNumber></buyerInfo><sellerInfo> <!-賣(mài)家信息-> <id>賣(mài)家

15、 ID, string (50) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</id> <nick>賣(mài)家nick, string (200) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</nick> </sellerInfo><senderInfo> <!發(fā)件人信息-> <countryCode>發(fā)件人國(guó)別,string (50) ,必填</countryCode> <name>姓名, string (50) ,必填</name></senderInfo><receiverInfo

16、 > <!-收件人信息-> <name>姓名, string (50) ,必填</name> <mobile>移動(dòng)電話, string (50) ,必填</mobile> <province>省份, string (50) ,必填</province> <city>城市, string (50) ,必填</city> <area>區(qū)域, string (50) ,必填</area> <town>村鎮(zhèn), string (50) ,必填</to

17、wn> <detailAddress>詳細(xì)地址, string (200) ,必填</detailAddress> </receiverInfo><items> <item> <orderLineNo>商品行號(hào)(總行數(shù)不超過(guò)50),int,必填</orderLineNo> <itemCodeCus>備案商品(關(guān)),string(50),必填</itemCodeCus> <originCountry>原產(chǎn)國(guó)國(guó)家編碼,string(50),必填</originCoun

18、try> <itemNameCus>備案商品名稱,string(50),必填</itemNameCus><codeTs>商品HS編碼,string(50),必填</codeTs> <taxCode>行郵稅號(hào),string(50) ,必填</taxCode> <price>該商品單價(jià),double(18,2) ,必填</price> <quantity>數(shù)量,int,必填</quantity> <unit>計(jì)量單位(需與商品備案時(shí)的單位一致),string(5

19、0),必填</unit> <itemAmount>該商品成交額,double(18,2) ,必填</itemAmount> </item> </items><paymentInfo> <paymentType>支付類型,ALIPAY=支付寶,WECHATPAY=微信支付,UNIONPAY=銀聯(lián),OTHER=其他,string(50) ,必填</paymentType> <paymentNo>支付流水號(hào),string(50) ,必填</paymentNo> <payTim

20、e>支付時(shí)間,YYYY-MM-DD hh:mm:ss,string(19) ,必填</payTime></paymentInfo> <logisticsInfo> <expressCode>運(yùn)單號(hào),string(50)</expressCode> <logisticsCode>快遞公司企業(yè)備案編碼,string(50) ,必填</logisticsCode> <logisticsName>快遞公司企業(yè)備案名稱,string(50) ,必填</logisticsName> </

21、logisticsInfo> <userProcotol>本人承諾所購(gòu)買(mǎi)商品系個(gè)人合理自用,現(xiàn)委托商家代理申報(bào)、代繳稅款等通關(guān)事宜,本人保證遵守海關(guān)法和國(guó)家相關(guān)法律法規(guī),保證所提供的身份信息和收貨信息真實(shí)完整,無(wú)侵犯他人權(quán)益的行為,以上委托關(guān)系系如實(shí)填寫(xiě),本人愿意接受海關(guān)、檢驗(yàn)檢疫機(jī)構(gòu)及其他監(jiān)管部門(mén)的監(jiān)管,并承擔(dān)相應(yīng)法律責(zé)任。,必填</userProcotol></request>2.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?><response>

22、 <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message></response>3.報(bào)關(guān)結(jié)果查詢接口:3.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.declarationresult.query3.2入?yún)⒁?guī)范<request> <customsCode>海關(guān)編碼,string(50),HANGZHOU=杭州,GUANGZHOU=廣州,ZHENGZHOU=鄭州(E貿(mào)易),

23、NINGBO=寧波,CHONGQING=重慶,SHENZHEN=深圳,SHANGHAI=上海,HENAN=河南(新鄭綜合保稅區(qū)),必填</customsCode> <subCustoms>關(guān)區(qū)代碼,string(50),條件必填(部分海關(guān)需要,如寧波的北侖保稅區(qū),空港保稅區(qū)等)</subCustoms> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,string(50) <

24、;/merchantCustomsName> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode></request>3.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message&

25、gt; <result>申報(bào)結(jié)果,string(50),必填</result> <operateTime>處理時(shí)間,string(19),YYYY-MM-DD hh:mm:ss</operateTime></response>4.申報(bào)關(guān)閉接口:4.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.declaration.close4.2入?yún)⒁?guī)范<request> <customsCode>海關(guān)編碼,string(50),HANGZHOU=杭州,GUANGZHOU=廣州,ZHENGZ

26、HOU=鄭州(E貿(mào)易),NINGBO=寧波,CHONGQING=重慶,SHENZHEN=深圳,SHANGHAI=上海,HENAN=河南(新鄭綜合保稅區(qū)),必填</customsCode> <subCustoms>關(guān)區(qū)代碼,string(50),條件必填(部分海關(guān)需要,如寧波的北侖保稅區(qū),空港保稅區(qū)等)</subCustoms> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,st

27、ring(50) ,必填</merchantCustomsName> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode> <expressCode>運(yùn)單號(hào),string(50) ,必填</expressCode> <reason>關(guān)閉原因,string(50) ,必填</reason></request>4.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?&

28、gt;<response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message></response>寧波版1.接口說(shuō)明接口支持淘系、非淘系用支付寶支付的訂單。淘系訂單,報(bào)關(guān)部分關(guān)于訂單的字段以淘寶平臺(tái)為準(zhǔn)。寧波海關(guān):所有的店鋪需要讓店鋪所在平臺(tái)配置授權(quán)。(如淘寶平臺(tái)在海關(guān)授權(quán)某全球購(gòu)店鋪)。2.統(tǒng)一報(bào)關(guān)接口:2.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.customs.dec

29、lare2.2入?yún)⒁?guī)范<request> <actionType>NEW=新增,UPDATE=更新,必填</actionType> <declarationCode>申報(bào)單號(hào),string(50),當(dāng)actionType=UPDATE時(shí),必填</declarationCode><orderInfo> <customsCode>海關(guān)編碼,string(50), NINGBO=寧波,必填</customsCode> <subCustoms>關(guān)區(qū)代碼(北侖保稅區(qū):3105 空港保稅物

30、流中心:3115 櫟社機(jī)場(chǎng)3109 梅山保稅區(qū):3117),string(50),必填</subCustoms> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCustomsName>商戶海關(guān)備案名稱,string(50) ,必填</merchantCustomsName> <shopCode>店鋪代碼,必填</shopCode> <sourcePlatformCode>來(lái)源

31、平臺(tái), 0001=淘寶,0002=天貓,0003=天貓國(guó)際,0004=善融商務(wù),0005=1號(hào)店,0006=蘇寧易購(gòu),0007=順暢天下保稅超市,0008=洋碼頭,0009=順豐嘿客,0010=京東,0011=聚美優(yōu)品,0012=唯品會(huì),0013=口袋通,string(50),必填</sourcePlatformCode> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode> <orderTime>下單時(shí)間,YYYY-MM-DD hh:mm:ss,string(19) ,必填(淘系訂單會(huì)

32、已平臺(tái)為準(zhǔn))</orderTime> <orderAmount>訂單總金額=貨值+運(yùn)費(fèi)+進(jìn)口行郵稅+其他費(fèi)用+消費(fèi)稅+增值稅-優(yōu)惠總金額,double(19,3) ,必填</orderAmount> <goodsValue>貨值(商品裸價(jià)*數(shù)量),double(19,3) ,必填</goodsValue> <freight>運(yùn)費(fèi),double(19,3) ,必填</freight> <taxAmount>進(jìn)口行郵稅稅額,double(19,3) ,必填</taxAmount> <o

33、therCost>其他費(fèi)用</otherCost> <discountAmount>優(yōu)惠總金額,double(19,3)</discountAmount><tariffAmount>關(guān)稅額,double(19,3) ,必填</tariffAmount><addedValueTaxAmount>增值稅,double(19,3) ,必填</addedValueTaxAmount><consumptionDutyAmount>消費(fèi)稅,double(19,3) ,必填</consumptionD

34、utyAmount><grossWeight>毛重,double(19,3),必填</grossWeight> <insuranceFee>保價(jià)費(fèi),double(19,3) </insuranceFee></orderInfo><buyerInfo> <!-買(mǎi)家信息-> <id>買(mǎi)家ID, string (50) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</id> <nick>買(mǎi)家nick, string (200) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</nick> &l

35、t;/buyerInfo><sellerInfo> <!-賣(mài)家信息-> <id>賣(mài)家 ID, string (50) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</id> <nick>賣(mài)家nick, string (200) ,必填(淘系訂單會(huì)已平臺(tái)為準(zhǔn))</nick> </sellerInfo><receiverInfo > <!-收件人信息-> <name>姓名, string (50) ,必填</name> <mobile>移動(dòng)電話, string (

36、50) ,必填</mobile> <province>省份, string (50) ,必填</province> <city>城市, string (50) ,必填</city> <area>區(qū)域, string (50) ,必填</area> <town>村鎮(zhèn), string (50) ,必填</town> <detailAddress>詳細(xì)地址, string (200) ,必填</detailAddress> </receiverInfo>&l

37、t;items> <item> <itemCodeCus>備案商品(關(guān)),string(50),必填</itemCodeCus> <itemName>電商平臺(tái)商品名稱,string(50),必填</itemName> <price>該商品單價(jià),double(19,3) ,必填</price> <quantity>數(shù)量,int,必填</quantity> <unit>計(jì)量單位(需與商品備案時(shí)的單位一致),string(50),必填</unit> <ite

38、mAmount>該商品成交額(為單價(jià)*數(shù)量),double(19,3) ,必填</itemAmount> </item> </items><paymentInfo> <paymentType>支付類型,ALIPAY=支付寶,WECHATPAY=微信支付,UNIONPAY=銀聯(lián),OTHER=其他,string(50) ,必填</paymentType> <paymentNo>支付流水號(hào),string(50) ,必填</paymentNo> <payTime>支付時(shí)間,YYYY-MM-

39、DD hh:mm:ss,string(19) ,必填</payTime></paymentInfo> <logisticsInfo> <expressCode>運(yùn)單號(hào),string(50)</expressCode> <logisticsName>快遞公司名稱,string(50) ,必填</logisticsName> </logisticsInfo></request>2.3出參規(guī)范<?xml version="1.0" encoding="utf

40、-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message> <declarationCode>申報(bào)單號(hào),string(50) ,必填</declarationCode></response>3.報(bào)關(guān)結(jié)果查詢接口:3.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.declarationresult.query3.2入?yún)?/p>

41、規(guī)范<request> <customsCode>海關(guān)編碼,string(50), NINGBO=寧波,必填</customsCode> <subCustoms>關(guān)區(qū)代碼,string(50),關(guān)區(qū)代碼(北侖保稅區(qū):3105 空港保稅物流中心:3115 櫟社機(jī)場(chǎng)3109 梅山保稅區(qū):3117)</subCustoms> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCus

42、tomsName>商戶海關(guān)備案名稱,string(50) </merchantCustomsName> <declarationCode>申報(bào)單號(hào),string(50) ,必填</declarationCode></request>3.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code>

43、 <message>響應(yīng)信息</message> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode> <expressCode>運(yùn)單號(hào),string(50) ,必填</expressCode> <result>申報(bào)結(jié)果,string(50),必填</result></response>4.申報(bào)關(guān)閉接口:4.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.declaration.close4.2入

44、參規(guī)范<request> <customsCode>海關(guān)編碼,string(50), NINGBO=寧波,必填</customsCode> <subCustoms>關(guān)區(qū)代碼,string(50),關(guān)區(qū)代碼(北侖保稅區(qū):3105 空港保稅物流中心:3115 櫟社機(jī)場(chǎng)3109 梅山保稅區(qū):3117)</subCustoms> <merchantCustomsCode>商戶海關(guān)備案編碼,string(50) ,必填</merchantCustomsCode> <merchantCu

45、stomsName>商戶海關(guān)備案名稱,string(50) ,必填</merchantCustomsName> <declarationCode>申報(bào)單號(hào),string(50) ,必填</declarationCode></request>4.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code

46、> <message>響應(yīng)信息</message></response>鄭州版1.接口說(shuō)明接口支持淘系、非淘系用支付寶支付的訂單。淘系訂單,報(bào)關(guān)部分關(guān)于訂單的字段以淘寶平臺(tái)為準(zhǔn)。2.統(tǒng)一報(bào)關(guān)接口:2.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.qimen.service.customs.declare2.2入?yún)⒁?guī)范<request> <actionType>NEW=新增,UPDATE=更新,必填</actionType><orderInfo> <customsCode>海關(guān)編碼,str

47、ing(50), ZHENGZHOU=鄭州,必填</customsCode> <merchantCustomsCodeCiq>商戶海關(guān)備案編碼(檢),string(50) ,條件必填(非淘系訂單必填)</merchantCustomsCodeCiq> <merchantCustomsCodeCus>商戶海關(guān)備案編碼(關(guān)),string(50) ,條件必填(非淘系訂單必填)</merchantCustomsCodeCus> <merchantCustomsNameCiq>商戶海關(guān)備案名稱(檢),string(50) ,條件必

48、填(非淘系訂單必填)</merchantCustomsNameCiq> <merchantCustomsNameCus>商戶海關(guān)備案名稱(關(guān)),string(50) ,條件必填(非淘系訂單必填)</merchantCustomsNameCus> <sourcePlatformCodeCiq>來(lái)源平臺(tái)海關(guān)備案號(hào)(檢),string(50),條件必填(非淘系訂單必填)</sourcePlatformCodeCiq> <sourcePlatformCodeCus>來(lái)源平臺(tái)海關(guān)備案號(hào)(關(guān)),string(50),條件必填(非淘系訂

49、單必填)</sourcePlatformCodeCus> <sourcePlatformNameCiq>來(lái)源平臺(tái)海關(guān)備案名稱(檢),string(50),條件必填(非淘系訂單必填)</sourcePlatformNameCiq> <sourcePlatformNameCus>來(lái)源平臺(tái)海關(guān)備案名稱(關(guān)),string(50),條件必填(非淘系訂單必填)</sourcePlatformNameCus> <sourcePlatformCode>來(lái)源平臺(tái), 0001=淘寶,0002=天貓,0003=天貓國(guó)際,0004=善融商務(wù),0

50、005=1號(hào)店,0006=蘇寧易購(gòu),0007=順暢天下保稅超市,0008=洋碼頭,0009=順豐嘿客,0010=京東,0011=聚美優(yōu)品,0012=唯品會(huì),0013=口袋通,string(50),必填</sourcePlatformCode> <sourceOrderCode>來(lái)源訂單編碼,string(50) ,必填</sourceOrderCode> <orderTime>下單時(shí)間,YYYY-MM-DD hh:mm:ss,string(19) ,必填(淘系訂單會(huì)以平臺(tái)為準(zhǔn))</orderTime> <orderAmount&

51、gt;訂單總金額=貨值+運(yùn)費(fèi)+進(jìn)口行郵稅+其他費(fèi)用-優(yōu)惠總金額,double(18,2) ,必填</orderAmount> <goodsValue>貨值,double(18,2) ,必填</goodsValue> <freight>運(yùn)費(fèi),double(18,2) ,必填</freight> <taxAmount>進(jìn)口行郵稅稅額,double(18,2) ,必填</taxAmount> <otherCost>其他費(fèi)用</otherCost> <discountAmount>優(yōu)

52、惠總金額,double(18,2)</discountAmount></orderInfo><senderInfo> <!-發(fā)貨人信息-> <name>發(fā)貨人姓名, string (50) ,必填</name> <detailAddress>發(fā)貨人詳細(xì)地址, string (200) ,必填</detailAddress> <mobile>發(fā)貨人電話, string (50) ,必填</mobile> <countryCodeCiq>發(fā)貨人所在國(guó)(檢),strin

53、g (50),必填,國(guó)檢系統(tǒng)的發(fā)貨人所在國(guó)編碼</countryCodeCiq> <countryCodeCus>發(fā)貨人所在國(guó)(關(guān)),string (50),必填,海關(guān)系統(tǒng)的發(fā)貨人所在國(guó)編</countryCodeCus></senderInfo><receiverInfo> <!-收件人信息-> <name>收件人姓名, string (50) ,必填</name> <mobile>收件人移動(dòng)電話, string (50) ,必填</mobile> <province

54、>收件人省份, string (50) ,必填</province> <city>收件人城市, string (50) ,必填</city> <area>收件人區(qū)縣, string (50) ,必填</area> <detailAddress>收件人詳細(xì)地址, string (200) ,必填</detailAddress> <countryCodeCiq>收件人所在國(guó)(檢),string (50),必填,國(guó)檢系統(tǒng)的收獲人所在國(guó)編碼</countryCodeCiq> <cou

55、ntryCodeCus>收件人所在國(guó)(關(guān)),string (50),必填,海關(guān)系統(tǒng)的收獲人所在國(guó)編碼</countryCodeCus> <idType>收件人證件類型,string (50),必填,1-身份證 2-軍官證 3-護(hù)照 4-其他</idType> <idNumber>收件人證件號(hào)碼,string (50),必填</idNumber></receiverInfo><stockFlag> 1-集貨 2-備貨,必填</stockFlag><batchNumbers>批次號(hào),s

56、tring (50) ,必填</batchNumbers><tradeCountryCodeCiq>貿(mào)易國(guó)別(檢),string (50),必填, 發(fā)貨人國(guó)家的國(guó)檢編碼</tradeCountryCodeCiq><tradeCountryCodeCus>貿(mào)易國(guó)別(關(guān)),string (50),必填, 發(fā)貨人國(guó)家的海關(guān)編碼</tradeCountryCodeCus><agentCodeCiq>代理企業(yè)(檢),string (50),必填</agentCodeCiq><agentCodeCus>代理企業(yè)

57、(關(guān)),string (50),必填</agentCodeCus><agentNameCiq>代理企業(yè)名稱(檢),string (100),必填</agentNameCiq><agentNameCus>代理企業(yè)名稱(關(guān)),string (50),必填</agentNameCus><packageTypeCiq>包裝種類(檢),string (50),必填</packageTypeCiq><packageTypeCus>包裝種類(關(guān)),string (50),必填</packageTypeCus

58、><remark>備注,string(200)</remark><items> <item> <itemCode>商品貨號(hào),string(50),必填</itemCode> <itemName>商品上架品名</itemName> <currencyCiq>幣制(檢),string(50),必填</currencyCiq> <currencyCus>幣制(關(guān)),string(50),必填</currencyCus> <itemAmount&g

59、t;該商品成交額(為單價(jià)*數(shù)量),double(18,2) ,必填</itemAmount> <quantity>數(shù)量,int,必填</quantity> <price>成交單價(jià),double(18,2)</price> <unitCiq>計(jì)量單位(檢),string(50),必填</unitCiq> <unitCus>計(jì)量單位(關(guān)),string(50),必填</unitCus> <countryCodeCiq>原產(chǎn)國(guó)(檢),string(50),必填</countr

60、yCodeCiq> <countryCodeCus>原產(chǎn)國(guó)(關(guān)),string(50),必填</countryCodeCus> <wasteMaterials>廢舊物品,string(50),必填,1-正常 2-廢品 5-舊品 9-其他</wasteMaterials> </item></items><paymentInfo> <paymentNo>支付流水號(hào),string(50) ,必填</paymentNo> </paymentInfo> <logistics

61、Info> <expressCode>總運(yùn)單號(hào),string (50),必填</expressCode> <logisticsCodeCiq>海關(guān)備案的物流企業(yè)代碼(檢),string(50),必填</logisticsCodeCiq> <logisticsCodeCus>海關(guān)備案的物流企業(yè)代碼(關(guān)),string(50),必填</logisticsCodeCus> <logisticsNameCiq>海關(guān)備案的物流企業(yè)名稱(檢),string(50),必填</logisticsNameCiq>

62、; <logisticsNameCus>海關(guān)備案的物流企業(yè)名稱(關(guān)),string(50),必填</logisticsNameCus> <weight>毛重, double (19, 5),必填</weight> <transportationWay>運(yùn)輸方式(檢),string(20),必填 </transportationWay> <shipCode>運(yùn)輸工具(檢),string(20),必填 </shipCode> </logisticsInfo></request>2

63、.3出參規(guī)范<?xml version="1.0" encoding="utf-8"?><response> <flag>success|failure</flag> <code>響應(yīng)碼</code> <message>響應(yīng)信息</message> </response>廣州版1.接口說(shuō)明接口支持淘系、非淘系用支付寶支付的訂單。淘系訂單,報(bào)關(guān)部分關(guān)于訂單的字段以淘寶平臺(tái)為準(zhǔn)。2.統(tǒng)一報(bào)關(guān)接口:2.1接口介紹ERP調(diào)用的奇門(mén)API名稱:taobao.

64、qimen.service.customs.declare2.2入?yún)⒁?guī)范<request> <actionType>NEW=新增,UPDATE=更新,必填</actionType><orderInfo> <customsCode>海關(guān)編碼,string(50),GUANGZHOU=廣州,必填</customsCode> <merchantCustomsCode>商戶海關(guān)備案編碼,string(18) ,必填</merchantCustomsCode> <merchantCustomsName&

65、gt;商戶海關(guān)備案名稱,string(100) ,必填</merchantCustomsName> <sourcePlatformCodeCus>來(lái)源平臺(tái)海關(guān)備案號(hào),string(18),淘系非必填;非淘系必填</sourcePlatformCodeCus> <sourcePlatformNameCus>來(lái)源平臺(tái)海關(guān)備案名稱,string(100),淘系非必填;非淘系必填</sourcePlatformNameCus><appUid>電子口岸持卡人IC卡或IKEY編號(hào),string(20),淘系非必填;非淘系必填</

66、 appUid><appName>電子口岸持卡人姓名,string(60),淘系非必填;非淘系必填</ appName><suid>企業(yè)系統(tǒng)生成36位唯一序號(hào)(英文字母大寫(xiě)),淘系非必填;非淘系必填</ suid> <sourceOrderCode>來(lái)源訂單編碼,string(60) ,必填</sourceOrderCode> <declareTime>申報(bào)時(shí)間,YYYYMMDDhhmmss,string(19) ,淘系非必填;非淘系必填</ declareTime ></orderTi

67、me> <goodsValue>貨值,double(19,5) ,淘系非必填;非淘系必填</goodsValue> <freight>運(yùn)雜費(fèi),double(19,5) ,淘系非必填;非淘系必填,無(wú)則填0</freight> <taxAmount>稅額(按照貨款金額計(jì)算的稅款),double(19,5) ,淘系非必填;非淘系必填,無(wú)則填0</taxAmount> <discountAmount>優(yōu)惠總金額,double(19,5),淘系非必填;非淘系必填,無(wú)則填0</discountAmount>

68、; <acturalPaidAmount>實(shí)際支付金額(貨款+運(yùn)費(fèi)+稅款-優(yōu)惠金額,與支付保持一致(精確到元) double(19,5),淘系非必填;非淘系必填</acturalPaidAmount > <currencyCus>幣制(110=港幣,142=人民幣,502=美元),string(3),淘系非必填;非淘系必填</currencyCus></orderInfo><buyerInfo> <!-買(mǎi)家信息-> <nick>買(mǎi)家nick(注冊(cè)號(hào)), string (60) ,淘系非必填;非淘系必填</nick> <name>買(mǎi)家真實(shí)姓名, string (60) ,淘系非必填;非淘系必填</name> <idType>證件類型,string (1), 1-身份證 2-軍官證 3-護(hù)照 4-其他,淘系非必填;非淘

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論