区块链发票识别

将pdf电子版发票转换成图片后通过二维码扫描工具类识别后获取到地址,如:

然后通过请求地址去查询发票信息

jsonObject.put("tx_hash", json.get("hash"));
 jsonObject.put("total_amount", json.get("total_amount"));
jsonObject.put("bill_num", json.get("bill_num"));

{"retcode":0,"retmsg":"SUCCESS","bill_record":{"bill_code":"144502320029110","bill_num":"035166361","tx_hash":"00f6cb58584ef009cs5f54b74f1ae7746520afd1d5881b206

猜你喜欢

转载自blog.csdn.net/qq_30920479/article/details/105405759