EAS供应链Web Service应收单接口JSON参数样例

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

EAS供应链Web Service应收单接口JSON参数样例

客户项目需要将发票数据传入EAS系统应收单,想用EAS供应链Web Service应收单接口,服务也调用成功了,就传入应收单JSON参数,怎么传都不对!请各路大神指点。
18861332663 李

StringBuilder datastring = new StringBuilder();
datastring.append("[{");
//应收单据头

datastring.append("\"company\":{\"number\":\"101000\"}");
datastring.append(",\"number\":\"ap-20190408-0001\"");
datastring.append(",\"bizDate\":\"2019-04-08\"");
datastring.append(",\"billDate\":\"2019-04-08\"");
datastring.append(",\"asstActType\":{\"number\":\"00001\"}");
datastring.append(",\"asstActNumber\":\"2.02.01.001\"");
datastring.append(",\"currency\":{\"number\":\"BB01\"}");
datastring.append(",\"exchangeRate\":1");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"paymentType\":{\"number\":\"001\"}");
datastring.append(",\"totalAmount\":3000.00");
datastring.append(",\"totalTax\":0");
datastring.append(",\"saleOrg\":{\"number\":\"101000\"}");
datastring.append(",\"billType\":102");
datastring.append(",\"bizType\":{\"number\":\"210\"}");
// //收款计划
//
// datastring.append(",\"payPlan\":{\"recievePayDate\":\"101000\"}");
// datastring.append(",{\"recievePayAmount\":3000.00\"}");

//应收单据体

datastring.append(",\"entry\":[{\"material\":{\"number\":\"3.103.003\"}");
datastring.append(",\"measureUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"recievePayAmount\":3000.00");
datastring.append(",\"unVerifyAmount\":3000.00");
datastring.append(",\"lockUnVerifyAmt\":3000.00");
datastring.append(",\"quantity\":1");
datastring.append(",\"price\":3000.00");
datastring.append(",\"realPrice\":3000.00");
datastring.append(",\"taxPrice\":3000.00");
datastring.append(",\"actualPrice\":3000.00");
datastring.append(",\"taxAmount\":0");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"baseUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"baseQty\":1");
datastring.append(",\"unwriteOffBaseQty\":1");
datastring.append(",\"localUnwriteOffAmount\":3000.00");
datastring.append(",\"recAsstActType\":{\"number\":\"00001\"}");
datastring.append(",\"recAsstActNumber\":\"2.02.01.001\"");
datastring.append(",\"recAsstActName\":\"香港翔富数控有限公司\"}");
//第二条分录
datastring.append(",{\"material\":{\"number\":\"3.103.003\"}");
datastring.append(",\"measureUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"recievePayAmount\":3000.00");
datastring.append(",\"unVerifyAmount\":3000.00");
datastring.append(",\"lockUnVerifyAmt\":3000.00");
datastring.append(",\"quantity\":2");
datastring.append(",\"price\":3000.00");
datastring.append(",\"realPrice\":3000.00");
datastring.append(",\"taxPrice\":3000.00");
datastring.append(",\"actualPrice\":3000.00");
datastring.append(",\"taxAmount\":0");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"baseUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"baseQty\":2");
datastring.append(",\"unwriteOffBaseQty\":1");
datastring.append(",\"localUnwriteOffAmount\":3000.00");
datastring.append(",\"recAsstActType\":{\"number\":\"00001\"}");
datastring.append(",\"recAsstActNumber\":\"2.02.01.001\"");
datastring.append(",\"recAsstActName\":\"香港翔富数控有限公司\"}]");

datastring.append("}]");

System.out.println(datastring.toString());

String rs= wssProxy.importBill("010",datastring.toString(), 1);
System.out.println(rs);


请问有标准接口吗 接口名称是什么?

EAS供应链Web Service应收单接口JSON参数样例

客户项目需要将发票数据传入EAS系统应收单,想用EAS供应链Web Service应收单接口,服务也调用成功了,就传入应收单JSON参数,怎么传都不对...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息