cURL
curl --request GET \ --url https://agents.textin.com/doc-agent/api/v1/claims/{claim_id}/materials/invoice-verify \ --header 'x-ti-app-id: <x-ti-app-id>' \ --header 'x-ti-secret-code: <x-ti-secret-code>'
{ "materials": [ { "file_name": "发票.jpg", "file_size": "523393", "file_type": ".jpg", "material_id": "material-1234", "status": 31, "verify_vat_ret": { "code": "1", "message": "成功" } } ], "status": "2" }
发票验真
案件ID
材料ID 不传材料ID时,获取案件下所有材料的发票验真结果
OK
发票验真结果
Show child attributes
[ { "file_name": "发票.jpg", "file_size": "523393", "file_type": ".jpg", "material_id": "material-1234", "status": 31, "verify_vat_ret": { "code": "1", "message": "成功" } }]
status 0 未开始 1 进行中 2 成功 3 失败
"2"