本文主要是介绍【乐企】有关乐企能力测试接口对接-货物运输服务(详细),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1、前置条件,参考【乐企】有关乐企能力测试接口对接-基础版(详细)
2、接口文档
和基础版区别:
1、传参的时候添加了 用例编码:ylbm
2、发票上传接口的服务编码变化了:fwbm:HWYSFPSC
3、能力编码和用例编码按照平台的传就行
4、由于是特殊票种,需要传特定要素,以及对应节点(具体按照接口文档传)
3、接口示例
上次发票接口示例
{ "ylbm":"230207004","nlbm": "202026","fwbm": "HWYSFPSC","paramList": [{"fphm": "xxxx","lzfpbz": "0","ptbh": "xxxx","fppz": "02","gmfzrrbz": "N","tdys": "04",//特定要素 04:货物运输服务发票"qyDm": "420600000000","cezslxDm": "","sgfplxDm": "","ckywsyzcDm": "","zzsjzjtDm": "","xsfnsrsbh": "91xxxxxxx1203J","xsfmc": "xxxxxx集团有限责任公司","xsfdz": "","xsfdh": "","xsfkhh": "","xsfzh": "","gmfnsrsbh": "9199xxxxx72095","gmfmc": "北京xxxxx有限公司","gmfdz": "","gmfdh": "","gmfkhh": "","gmfzh": "","gmfjbr": "","jbrsfzjhm": "","gmfjbrlxdh": "","hjje": 100,"hjse": 13,"jshj": 113,"skyhmc": "","skyhzh": "","jsfs": "","ysxwfsd": "","kpr": "张三","kprzjhm": "412xxx05xxxx","kprzjlx": "201","dylzfphm": "","hzqrxxdbh": "","hzqrduuid": "","bz": "备注","ip": "17x22xxx5","macdz": "00-xxx4-52","cpuid": "","zbxlh": "","kprq": "2024-08-29 09:09:09","sfzsxsfyhzhbq": "","sfzsgmfyhzhbq": "","skrxm": "","fhrxm": "","fpmxList": [{"mxxh": "1","dylzfpmxxh": "","hwhyslwfwmc": "*运输服务*运输费","spfwjc": "运输服务","xmmc": "运输费","ggxh": "","dw": "","sl": "1","dj": "100","je": 100,"slv": 0.13,"se": 13,"hsje": 113,"kce": "","sphfwssflhbbm": "3010102020100000000","fphxz": "00","yhzcbs": ""}],"ysmxList": [{"ysmxxh": "1",//运输明细序号"qyd": "苏州",//起运地"ddd": "上海",//到达地"ysgjzl": "公路运输",//运输工具种类"ysgjph": "xxxxx",//运输工具牌号"yshwmc": "海鲜"//运输货物名称}],"fjysList": [{"fjysmc": "",//附加要素名称"fjyslx": "",//附加要素类型"fjysz": ""//附加要素值}]// ,// "cekcList": [// {// "xh": "",//序号// "pzlx": "",//凭证类型// "fpdm": "",//发票代码// "fphm": "",//发票号码// "cepzhm": "",//差额凭证号码// "kjrq": "",//开具日期// "pzhjje": "",//凭证合计金额// "bckcje": "",//本次扣除金额// "bz": ""//备注// }// ]}],"url": "http://xxxxxx:xx/leqi-api/access/sandbox/v2/invoke"
}
4、最终效果
这篇关于【乐企】有关乐企能力测试接口对接-货物运输服务(详细)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!