错误 #222
edi对接部分三一接口返回数据异常
0%
描述
三一接口地址: http://gsp.sany.com.cn/gsp-api/edi/queryinvoice
三一接口名称: 发票状态查询
测试用例:
{
"end_time":"2020-10-25 20:40:13",
"begin_time":"2019-10-01 20:40:13",
"message_id":"1cfeeb16-1903-4a03-a453-717bda8ba2c7"
}
接口返回信息:
{
"returnCode": "fail",
"returnMsg": "财务查询权限未设置",
"invoices": null,
"message_id": "1cfeeb16-1903-4a03-a453-717bda8ba2c7"
}
<!-- ===========================分割线============================== -->
三一接口地址: http://gsp.sany.com.cn/gsp-api/edi/invoice
三一接口名称: 发票信息回传
测试用例:
{
"invoices": [{
"amount": "565679.29",
"car_no": "湘 A12538",
"customer_desc": "三一汽车",
"customer_number": "500000394",
"customer_trx_id": "1022084",
"delivery_date": "2018-12-10 19:14:54",
"description": "高强度结构板 0",
"item_desc": "高强度结构板 0",
"mat_no": "8C02646200",
"no_tax_amount": "487654.57",
"order_no": "52885982",
"purchase_line_number": "00020",
"purchase_number": "4502911460",
"tax_rate": "16",
"taxable_amount": "78024.72",
"trx_number": "20564893",
"trx_number_zzs": "01391699",
“trx_code_zzs”:”4200194130”,
"unit_price": "4847.68",
"weight": "5.181"
}],
"message_id": 10404
}
接口返回信息:
{
"returnCode": "fail",
"returnMsg": "EdiInvoiceController saveInvoice error : null"
}
<!-- ===========================分割线============================== -->
三一接口地址: http://gsp.sany.com.cn/gsp-api/edi/getInvoiceStatus
三一接口名称: 发票ap状态查询
测试用例:
{
"end_time":"2020-10-25",
"begin_time":"2020-10-01",
"message_id":"1cfeeb16-1903-4a03-a453-717bda8ba2c7"
}
接口返回信息:
{
"returnCode": "fail",
"returnMsg": "EDI_AP_INVOICE_STATUS URL attribute is null",
"message_id": "1cfeeb16-1903-4a03-a453-717bda8ba2c7"
}
没有任何数据可供显示