Skip to content
On this page

7.4 查询电子发票

接口说明:

MethodURLContentType
POST/api/restful/getEInvoiceListapplication/json

请求入参说明:

参数类型说明是否必须描述
order_idsstring必须订单编号,多个订单以英文逗号分隔

返回结果说明:

参数参数说明描述
resultmapkey为订单编号,value为发票图片数组

请求示例:

{ "order_ids": "CG20220117155300002, CG20220117155300003" }

响应示例:

json
{
	"result": {
		"success": true,
		"result": {
			"CG20220117155300002": [
				"https://clpres.oss-cn-shanghai.aliyuncs.com/cip/project/HuaDian/e-invoice-demo.png",
				"https://clpres.oss-cn-shanghai.aliyuncs.com/cip/project/HuaDian/e-invoice-demo.png"
			],
			"CG20220117155300003": [
				"https://clpres.oss-cn-shanghai.aliyuncs.com/cip/project/HuaDian/e-invoice-demo.png"
			]
		}
	},
	"success": true,
	"errormsg": "",
	"errorcode": "0",
	"requestId": "c33740bc-cef0-4882-8e64-ee03c5f17764"
}