价格: ¥ 99 积分可抵¥ 1
最后更新: 2019-12-15 20:58:26
演示地址: 无
安装费: 免费
调用地址:http(s)://generali.market.alicloudapi.com/medical/invoice
请求方式:POST
返回类型:JSON
API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)
调试工具:去调试
无参数
无参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
image | STRING | 必选 | 发票图像base64编码数据 |
curl -i -k -X POST 'https://generali.market.alicloudapi.com/medical/invoice' -H 'Authorization:APPCODE 你自己的AppCode' --data 'image=image'
{
"request_id": "TID829be1cdd7974c4fafdd8a86943980cd",
"status": "OK",
"image_id": "edd96f5debdc4a76b9411404d871164c",
"degree": 0,
"medical_result": {
"average_prob": 0.7799552732899758,
"billing_date": "2018-03-27",
"cash_payment_situation": [{
"cost": 211.58,
"name": "个人支付金额"
}],
"checksum": {
"cost_categories": true,
"total_check_payment": true,
"total_cost": true
},
"cost_categories": [{
"cost": 200.5,
"name": "治疗费"
}, {
"cost": 7.0,
"name": "西药费"
}, {
"cost": 4.08,
"name": "卫生材料费"
}],
"cost_detail_list": [{
"amount": 90.00001,
"check_info": null,
"medical_type": 3,
"name": null,
"ocr_name": "神经阴润麻醉/",
"price": 90.0,
"selfpay": null,
"selfpay_ratio": null,
"spec": null,
"unit_price": 0.9999998888889012
}, {
"amount": 1.0,
"check_info": null,
"medical_type": 3,
"name": null,
"ocr_name": "专科综合治疗合/",
"price": 4.0,
"selfpay": null,
"selfpay_ratio": null,
"spec": null,
"unit_price": 4.0
}],
"else_payment_situation": [],
"fund_payments": [{
"cost": 0.0,
"name": "基金支付"
}],
"fund_subitem_situation": [{
"cost": 0.0,
"name": "退休补充支付"
}, {
"cost": 0.0,
"name": "门诊大额支付"
}, {
"cost": 0.0,
"name": "残军补助支付"
}, {
"cost": 0.0,
"name": "单位补充险[原公疗]支付"
}],
"hospital_name":"北京市朝阳医院",
"medical_insurance_type": "城镇职工",
"medical_organization_type": "专科医院",
"note_no": "1701410255",
"patient_gender": 1,
"patient_name": "张三",
"person_assume_situation": [],
"person_payment_situation": [{
"cost": 0.0,
"name": "个人账户支付"
}],
"social_security_card_number": "110751190002",
"supplement_payment_situation": []
"total_cost": 211.58,
"type": 1
}
}
{
"status": "INVALID_ARGUMENT",
"reason": "invalid image format or size",
"request_id": "TID8bf47ab6eda64476973cc5f5b6ebf57e"
}
错误码 | 错误信息 | 描述 |
---|---|---|
400 | DETETION_FAILED | 图片检测失败 |
403 | RATE_LIMIT_EXCEEDED | 调用频率超出限额 |
500 | INTERNAL_ERROR | 服务器内部错误 |
0 (0%) 好评 | 0 (0%) 中评 | 0 (0%) 差评 |