首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >OCR-增值税发票识别?

OCR-增值税发票识别?

提问于 2018-07-26 14:04:35
回答 3关注 0查看 1.2K

为何缺少了----> 发票的商品明细数据 例如 : 货物或应收劳务、服务名称 规格型号 单位 数量 单价 金额 *餐饮服务*餐饮服务 数量 1 153.77 153.77

根据 :https://cloud.tencent.com/document/product/866/17606 解析增值税发票

解析后的JSON数据 ocrInvoice: {

"code": 0,

"message": "OK",

"data": {

"recognize_warn_msg": [],

"recognize_warn_code": [],

"items": [{

"item": "密码区1",

"itemcoord": {

"x": 508,

"y": 117,

"width": 260,

"height": 16

},

"itemconf": 0.9990660548210144,

"itemstring": "/0*0/+>+8+360>1738<7><>30-*"

}, {

"item": "密码区2",

"itemcoord": {

"x": 508,

"y": 137,

"width": 259,

"height": 16

},

"itemconf": 0.9990619421005248,

"itemstring": ">935*<33<3/9-*34186+477+823"

}, {

"item": "密码区3",

"itemcoord": {

"x": 509,

"y": 157,

"width": 258,

"height": 16

},

"itemconf": 0.991845428943634,

"itemstring": "5<79-37-><37642-1-1148<->/6"

}, {

"item": "密码区4",

"itemcoord": {

"x": 509,

"y": 177,

"width": 259,

"height": 16

},

"itemconf": 0.958845853805542,

"itemstring": "32>88-15*257>29/*<151<7*/92"

}, {

"item": "发票名称",

"itemcoord": {

"x": 264,

"y": 33,

"width": 291,

"height": 28

},

"itemconf": 0.9362583160400392,

"itemstring": "上海增值税电子普通发票"

}, {

"item": "购买方识别号",

"itemcoord": {

"x": 66,

"y": 137,

"width": 252,

"height": 14

},

"itemconf": 0.9997414946556092,

"itemstring": "9131000067457924XL"

}, {

"item": "销售方识别号",

"itemcoord": {

"x": 65,

"y": 414,

"width": 253,

"height": 15

},

"itemconf": 0.9850531816482544,

"itemstring": "913101156073309979"

}, {

"item": "发票代码",

"itemcoord": {

"x": 581,

"y": 18,

"width": 120,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "031001600211"

}, {

"item": "校验码",

"itemcoord": {

"x": 580,

"y": 88,

"width": 180,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "51501846731755301593"

}, {

"item": "发票号码",

"itemcoord": {

"x": 581,

"y": 43,

"width": 98,

"height": 13

},

"itemconf": 0.9998999834060668,

"itemstring": "No77893170"

}, {

"item": "开票日期",

"itemcoord": {

"x": 580,

"y": 64,

"width": 155,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "2018年07月24日"

}, {

"item": "税率",

"itemcoord": {

"x": 681,

"y": 475,

"width": 63,

"height": 17

},

"itemconf": 0.9998999834060668,

"itemstring": "6%"

}, {

"item": "合计金额",

"itemcoord": {

"x": 575,

"y": 347,

"width": 64,

"height": 15

},

"itemconf": 0.9998999834060668,

"itemstring": "¥153.77"

}, {

"item": "合计税额",

"itemcoord": {

"x": 743,

"y": 348,

"width": 46,

"height": 14

},

"itemconf": 0.9996492862701416,

"itemstring": "¥9.23"

}, {

"item": "价税合计(大写)",

"itemcoord": {

"x": 238,

"y": 369,

"width": 102,

"height": 15

},

"itemconf": 0.9951887130737304,

"itemstring": "壹佰陆拾叁圆整"

}, {

"item": "备注",

"itemcoord": {

"x": 689,

"y": 411,

"width": 53,

"height": 22

},

"itemconf": 0.9253317713737488,

"itemstring": "胜客有"

}, {

"item": "备注",

"itemcoord": {

"x": 653,

"y": 454,

"width": 116,

"height": 15

},

"itemconf": 0.624378502368927,

"itemstring": "兰931510309979"

}],

"class": [],

"angle": 0.0

}

}

相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档