增值税发票识别 API
开发环境
开发环境
POST
http(s): //api.xf-yun.com/v1/private/s824758f1
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.comhttp(s): //api.xf-yun.com/v1/private/s824758f1' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"app_id": "xxxxxxxx",
"status": 3
},
"parameter": {
"s824758f1": {
"result": {
"encoding": "utf8",
"format": "json",
"compress": "raw"
},
"template_list": "vat_invoice"
}
},
"payload": {
"s824758f1_data_1": {
"encoding": "png",
"status": 3,
"image": "iVBORw0KGgoAA..."
}
}
}'
响应示例响应示例
{
"header": {
"code": 0,
"message": "success",
"sid": "ase0007fd3c@hu175f7eac5ab0212882"
},
"payload": {
"result": {
"compress": "raw",
"encoding": "utf8",
"format": "json",
"text": "ewogICAiZW5naW5lX3Zlc..."
}
}
}
请求参数
Body 参数application/json
返回响应
修改于 2023-12-21 02:38:25