RecognizeMixedInvoices - 混贴发票识别

支持各类票据的发票代码、价税合计、合计金额、购买方识别号、开票日期等关键字段结构化识别输出。

接口说明

本接口适用场景

  • 阿里云混贴发票识别,是阿里云官方自研 OCR 文字识别产品,适用于获取多种发票集合在一个页面的场景,需要获取多种发票上的关键信息。
  • 阿里云 OCR 产品基于阿里巴巴达摩院强大的 AI 技术及海量数据,历经多年沉淀打磨,具有服务稳定、操作简易、实时性高、能力全面等几大优势。
  • 本接口图片示例

本接口核心能力

分类概述
图像增强默认支持图像增强,包括图像自动旋转、畸变自动矫正、模糊图片自动增强等能力。
全字段识别智能识别混贴发票上所包含的全部字段。
多类型覆盖支持模糊、光照不均、透视畸变、任意背景等低质量图像识别。
高精度识别总体识别准确率可达 98%。

如何使用本接口

步骤概述
1开通 票据凭证识别 服务。开通服务前后,您可以通过体验馆免费体验本功能识别效果。
2购买混贴发票识别资源包。本 API 会赠送免费额度,可使用免费额度测试。您也可以不购买资源包,系统会通过“按量付费”方式按实际调用量自动扣款。
3可以参照调试页面提供的代码示例完成 API 接入开发。接入完成后,调用 API 获取识别结果。如果使用子账号调用接口,需要阿里云账号(主账号)对 RAM 账号进行授权。创建 RAM 用户的具体操作,请参考:创建 RAM 用户。文字识别服务提供一种系统授权策略,即 AliyunOCRFullAccess。具体授权操作,请参见在用户页面为 RAM 用户授权。

重要提示

类型概述
图片格式
  • 本接口支持:PNG、JPG、JPEG、BMP、GIF、TIFF、WebP、PDF、OFD。
图片尺寸
  • 图片长宽需要大于 15 像素,小于 8192 像素。
  • 长宽比需要小于 50。
  • 如需达到较好识别效果,建议长宽均大于 500px。
  • 图片尺寸过小,会影响识别精度。图片内单字大小在 10-50px 内时,识别效果较好。
图片大小
  • 图片二进制文件不能超过 10MB。
  • URL 长度不能超过 2048。
  • 图片过大会影响接口响应速度,建议使用小于 1.5M 图片进行识别,且通过传图片 URL 的方式调用接口。
当前支持的发票类型增值税发票、火车票、机票行程单、出租车票、定额发票、增值税发票卷票、机动车销售发票、网约车行程单、二手车销售统一发票、通用机打发票、客运车船票、过路过桥费发票、社会保障卡、税收完税证明、支付详情页、电商详情页、酒店流水、非税收入发票。
相关能力

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
ocr:RecognizeMixedInvoicesnone
*全部资源
*

请求参数

名称类型必填描述示例值
Urlstring
  • 本字段和 body 字段二选一,不可同时透传或同时为空。
  • 图片链接(长度不超 2048 字节,不支持 base64)。
https://img.alicdn.com/tfs/TB1.bnGbRWD3KVjSZFsXXcqkpXa-1654-2341.jpg
bodybyte
  • 本字段和 URL 字段二选一,不可同时透传或同时为空。
  • 图片二进制文件,最大 10MB。
  • 使用 HTTP 方式调用,把图片二进制文件放到 HTTP body 中上传即可。
  • 使用 SDK 的方式调用,把图片放到 SDK 的 body 中即可。
图片二进制文件
PageNointeger
  • 待识别的 PDF/OFD 页码。
  • 如果字段为空,或大于 PDF/OFD 总页数,则识别第一页。
  • 使用 SDK 设置此字段,请更新 SDK 版本。
1
MergePdfPagesboolean
  • 是否合并 PDF 的前几页,并返回合并页的识别结果(最大支持返回前 4 页识别结果)。例如上传的 PDF 有 3 页,且设置此参数为 true,返回前3 页所有识别结果。
  • 默认为 false
  • 如果上传的 PDF 总页数大于 4 页,且设置此参数为 true,则只识别前 4 页(此参数不支持选择任意页码号)。
  • 如果设置了 PageNo,同时 MergePdfPages 设置为 true,则 MergePdfPages 不生效,会识别 PageNo 指定的 PDF 页面。
false

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求唯一 ID

43A29C77-405E-4CC0-BC55-EE694AD00655
Datastring

返回数据

{ "count": 2, "height": 2341, "orgHeight": 2341, "orgWidth": 1654, "subMsgs": [{ "index": 1, "op": "invoice", "result": { "data": { "invoiceCode": "044031800111", "invoiceNumber": "35080026", "printedInvoiceCode": "", "printedInvoiceNumber": "", "invoiceDate": "2018年11月05日", "machineCode": "499099825015", "checkCode": "10039568112588495269", "purchaserName": "深圳市中兴新云服务有限公司", "purchaserTaxNumber": "91440300MA5EXWHW6F", "purchaserContactInfo": "深市海作一1号A室市有限12", "purchaserBankAccountInfo": "中信银行深圳市民中心支行8110301013100278455", "passwordArea": "0394+-*/4+640<-<1>>>59861>57 869-1>9/46544754742426235-8- 42<12-+6<3<30*927-64--7-+5-- 7++713>+<201-3>91951+4412>47", "invoiceAmountPreTax": "18.87", "invoiceTax": "1.13", "totalAmountInWords": "贰拾元整", "totalAmount": "20.00", "sellerName": "顺丰速运有限公司", "sellerTaxNumber": "914403000743520254", "sellerContactInfo": "深圳市宝安区国际机场航站四路1111号0755-36395027", "sellerBankAccountInfo": "中国工商银行深圳车公庙支行4000025319200395130", "recipient": "廖柳英", "reviewer": "陈虎", "drawer": ":张德胜", "remarks": "", "title": "深圳增值税电子普通发票", "formType": "", "invoiceType": "电子普通发票", "specialTag": "", "invoiceDetails": [{ "itemName": "*物流辅助服务*收派服务费", "specification": "", "unit": "次", "quantity": "1.000000", "unitPrice": "18.870000", "amount": "18.87", "taxRate": "6%", "tax": "1.13" }] }, "ftype": 0, "height": 720, "orgHeight": 720, "orgWidth": 1067, "prism_keyValueInfo": [{ "key": "invoiceCode", "keyProb": 99, "value": "044031800111", "valuePos": [{ "x": 861, "y": 50 }, { "x": 971, "y": 50 }, { "x": 971, "y": 67 }, { "x": 861, "y": 67 }], "valueProb": 99 }, { "key": "invoiceNumber", "keyProb": 100, "value": "35080026", "valuePos": [{ "x": 862, "y": 79 }, { "x": 938, "y": 78 }, { "x": 938, "y": 93 }, { "x": 863, "y": 95 }], "valueProb": 100 }, { "key": "printedInvoiceCode", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "printedInvoiceNumber", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDate", "keyProb": 100, "value": "2018年11月05日", "valuePos": [{ "x": 861, "y": 107 }, { "x": 964, "y": 106 }, { "x": 964, "y": 122 }, { "x": 862, "y": 124 }], "valueProb": 100 }, { "key": "machineCode", "keyProb": 100, "value": "499099825015", "valuePos": [{ "x": 208, "y": 138 }, { "x": 208, "y": 154 }, { "x": 97, "y": 154 }, { "x": 97, "y": 138 }], "valueProb": 100 }, { "key": "checkCode", "keyProb": 100, "value": "10039568112588495269", "valuePos": [{ "x": 865, "y": 134 }, { "x": 1053, "y": 133 }, { "x": 1053, "y": 149 }, { "x": 866, "y": 151 }], "valueProb": 100 }, { "key": "purchaserName", "keyProb": 100, "value": "深圳市中兴新云服务有限公司", "valuePos": [{ "x": 179, "y": 171 }, { "x": 376, "y": 170 }, { "x": 376, "y": 186 }, { "x": 180, "y": 188 }], "valueProb": 100 }, { "key": "purchaserTaxNumber", "keyProb": 100, "value": "91440300MA5EXWHW6F", "valuePos": [{ "x": 179, "y": 197 }, { "x": 367, "y": 195 }, { "x": 367, "y": 212 }, { "x": 180, "y": 213 }], "valueProb": 100 }, { "key": "purchaserContactInfo", "keyProb": 99, "value": "深市海作一1号A室市有限12", "valuePos": [{ "x": 178, "y": 226 }, { "x": 550, "y": 223 }, { "x": 550, "y": 236 }, { "x": 178, "y": 240 }], "valueProb": 99 }, { "key": "purchaserBankAccountInfo", "keyProb": 100, "value": "中信银行深圳市民中心支行8110301013100278455", "valuePos": [{ "x": 180, "y": 251 }, { "x": 491, "y": 250 }, { "x": 491, "y": 266 }, { "x": 181, "y": 268 }], "valueProb": 100 }, { "key": "passwordArea", "keyProb": 100, "value": "0394+-*/4+640<-<1>>>59861>57 869-1>9/46544754742426235-8- 42<12-+6<3<30*927-64--7-+5-- 7++713>+<201-3>91951+4412>47", "valuePos": [{ "x": 704, "y": 167 }, { "x": 961, "y": 167 }, { "x": 961, "y": 255 }, { "x": 704, "y": 255 }], "valueProb": 100 }, { "key": "invoiceAmountPreTax", "keyProb": 100, "value": "18.87", "valuePos": [{ "x": 786, "y": 472 }, { "x": 847, "y": 471 }, { "x": 847, "y": 485 }, { "x": 787, "y": 487 }], "valueProb": 100 }, { "key": "invoiceTax", "keyProb": 100, "value": "1.13", "valuePos": [{ "x": 1052, "y": 469 }, { "x": 1052, "y": 486 }, { "x": 999, "y": 486 }, { "x": 999, "y": 469 }], "valueProb": 100 }, { "key": "totalAmountInWords", "keyProb": 100, "value": "贰拾元整", "valuePos": [{ "x": 364, "y": 518 }, { "x": 364, "y": 536 }, { "x": 304, "y": 536 }, { "x": 304, "y": 518 }], "valueProb": 100 }, { "key": "totalAmount", "keyProb": 100, "value": "20.00", "valuePos": [{ "x": 1049, "y": 512 }, { "x": 1049, "y": 530 }, { "x": 987, "y": 530 }, { "x": 987, "y": 512 }], "valueProb": 100 }, { "key": "sellerName", "keyProb": 100, "value": "顺丰速运有限公司", "valuePos": [{ "x": 183, "y": 553 }, { "x": 304, "y": 552 }, { "x": 305, "y": 568 }, { "x": 183, "y": 570 }], "valueProb": 100 }, { "key": "sellerTaxNumber", "keyProb": 100, "value": "914403000743520254", "valuePos": [{ "x": 184, "y": 578 }, { "x": 345, "y": 576 }, { "x": 345, "y": 591 }, { "x": 185, "y": 594 }], "valueProb": 100 }, { "key": "sellerContactInfo", "keyProb": 100, "value": "深圳市宝安区国际机场航站四路1111号0755-36395027", "valuePos": [{ "x": 185, "y": 604 }, { "x": 526, "y": 600 }, { "x": 527, "y": 619 }, { "x": 185, "y": 622 }], "valueProb": 100 }, { "key": "sellerBankAccountInfo", "keyProb": 100, "value": "中国工商银行深圳车公庙支行4000025319200395130", "valuePos": [{ "x": 187, "y": 631 }, { "x": 509, "y": 628 }, { "x": 509, "y": 646 }, { "x": 187, "y": 649 }], "valueProb": 100 }, { "key": "recipient", "keyProb": 100, "value": "廖柳英", "valuePos": [{ "x": 108, "y": 663 }, { "x": 158, "y": 661 }, { "x": 159, "y": 680 }, { "x": 108, "y": 681 }], "valueProb": 100 }, { "key": "reviewer", "keyProb": 100, "value": "陈虎", "valuePos": [{ "x": 398, "y": 661 }, { "x": 398, "y": 678 }, { "x": 361, "y": 678 }, { "x": 361, "y": 661 }], "valueProb": 100 }, { "key": "drawer", "keyProb": 100, "value": ":张德胜", "valuePos": [{ "x": 689, "y": 658 }, { "x": 689, "y": 677 }, { "x": 638, "y": 677 }, { "x": 638, "y": 658 }], "valueProb": 100 }, { "key": "remarks", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "title", "keyProb": 100, "value": "深圳增值税电子普通发票", "valuePos": [{ "x": 325, "y": 28 }, { "x": 746, "y": 22 }, { "x": 747, "y": 61 }, { "x": 325, "y": 66 }], "valueProb": 100 }, { "key": "formType", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceType", "keyProb": 100, "value": "电子普通发票", "valuePos": [{ "x": 325, "y": 28 }, { "x": 746, "y": 22 }, { "x": 747, "y": 61 }, { "x": 325, "y": 66 }], "valueProb": 100 }, { "key": "specialTag", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDetails", "keyProb": 100, "value": "[{\"itemName\":\"*物流辅助服务*收派服务费\",\"specification\":\"\",\"unit\":\"次\",\"quantity\":\"1.000000\",\"unitPrice\":\"18.870000\",\"amount\":\"18.87\",\"taxRate\":\"6%\",\"tax\":\"1.13\"}]", "valueProb": 100 }], "sliceRect": { "x0": 280, "y0": 950, "x1": 1344, "y1": 952, "x2": 1346, "y2": 1669, "x3": 280, "y3": 1665 }, "width": 1067 }, "sliceRect": { "x0": 280, "y0": 950, "x1": 1344, "y1": 952, "x2": 1346, "y2": 1669, "x3": 280, "y3": 1665 }, "type": "增值税发票" }, { "index": 2, "op": "invoice", "result": { "data": { "invoiceCode": "033001800211", "invoiceNumber": "34111823", "printedInvoiceCode": "", "printedInvoiceNumber": "", "invoiceDate": "2018年11月05日", "machineCode": "499099843758", "checkCode": "06975265980776194342", "purchaserName": "深圳市中兴新云服务有限公司", "purchaserTaxNumber": "91440300MA5EXWHW6F", "purchaserContactInfo": "深圳市麻海洋港合作区前湾一路1号A林2对室(入非州市前商务秘书有限公号:15525KM", "purchaserBankAccountInfo": "中信银行深圳市民中心支行8110301013100278455", "passwordArea": "03+*2349>010+9*+571>36>104*5 3558*9684/7*<9<20983737<4<+3 -9850/+5+1/>230+*53+1><067-0 1><348954201-->319--28424675", "invoiceAmountPreTax": "22.64", "invoiceTax": "1.36", "totalAmountInWords": "贰拾肆元整", "totalAmount": "24.00", "sellerName": "绍兴顺丰速运有限公司", "sellerTaxNumber": "91330600670285279B", "sellerContactInfo": "绍兴市越东南路328号物流中心A区0575-88900058", "sellerBankAccountInfo": "工行绍兴市城东新区支行1211018129200020107", "recipient": "孙琳", "reviewer": "叶丹丹", "drawer": "陈超群", "remarks": "", "title": "浙江增值税电子普通发票", "formType": "", "invoiceType": "电子普通发票", "specialTag": "", "invoiceDetails": [{ "itemName": "“物流辅助服务*收派服务费", "specification": "", "unit": "次", "quantity": "1.000000", "unitPrice": "22.640000", "amount": "22.64", "taxRate": "6%", "tax": "1.36" }] }, "ftype": 0, "height": 685, "orgHeight": 685, "orgWidth": 1067, "prism_keyValueInfo": [{ "key": "invoiceCode", "keyProb": 98, "value": "033001800211", "valuePos": [{ "x": 967, "y": 28 }, { "x": 967, "y": 44 }, { "x": 859, "y": 43 }, { "x": 859, "y": 27 }], "valueProb": 98 }, { "key": "invoiceNumber", "keyProb": 100, "value": "34111823", "valuePos": [{ "x": 934, "y": 56 }, { "x": 934, "y": 72 }, { "x": 859, "y": 72 }, { "x": 859, "y": 56 }], "valueProb": 100 }, { "key": "printedInvoiceCode", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "printedInvoiceNumber", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDate", "keyProb": 100, "value": "2018年11月05日", "valuePos": [{ "x": 961, "y": 84 }, { "x": 961, "y": 101 }, { "x": 859, "y": 101 }, { "x": 859, "y": 84 }], "valueProb": 100 }, { "key": "machineCode", "keyProb": 100, "value": "499099843758", "valuePos": [{ "x": 91, "y": 115 }, { "x": 202, "y": 114 }, { "x": 202, "y": 129 }, { "x": 92, "y": 131 }], "valueProb": 100 }, { "key": "checkCode", "keyProb": 100, "value": "06975265980776194342", "valuePos": [{ "x": 1051, "y": 111 }, { "x": 1051, "y": 128 }, { "x": 861, "y": 127 }, { "x": 861, "y": 110 }], "valueProb": 100 }, { "key": "purchaserName", "keyProb": 100, "value": "深圳市中兴新云服务有限公司", "valuePos": [{ "x": 176, "y": 147 }, { "x": 361, "y": 146 }, { "x": 361, "y": 162 }, { "x": 176, "y": 164 }], "valueProb": 100 }, { "key": "purchaserTaxNumber", "keyProb": 100, "value": "91440300MA5EXWHW6F", "valuePos": [{ "x": 176, "y": 173 }, { "x": 365, "y": 172 }, { "x": 365, "y": 188 }, { "x": 177, "y": 190 }], "valueProb": 100 }, { "key": "purchaserContactInfo", "keyProb": 76, "value": "深圳市麻海洋港合作区前湾一路1号A林2对室(入非州市前商务秘书有限公号:15525KM", "valuePos": [{ "x": 177, "y": 202 }, { "x": 541, "y": 201 }, { "x": 542, "y": 214 }, { "x": 178, "y": 216 }], "valueProb": 76 }, { "key": "purchaserBankAccountInfo", "keyProb": 100, "value": "中信银行深圳市民中心支行8110301013100278455", "valuePos": [{ "x": 178, "y": 228 }, { "x": 490, "y": 226 }, { "x": 490, "y": 242 }, { "x": 179, "y": 245 }], "valueProb": 100 }, { "key": "passwordArea", "keyProb": 100, "value": "03+*2349>010+9*+571>36>104*5 3558*9684/7*<9<20983737<4<+3 -9850/+5+1/>230+*53+1><067-0 1><348954201-->319--28424675", "valuePos": [{ "x": 700, "y": 143 }, { "x": 957, "y": 143 }, { "x": 957, "y": 234 }, { "x": 700, "y": 234 }], "valueProb": 100 }, { "key": "invoiceAmountPreTax", "keyProb": 100, "value": "22.64", "valuePos": [{ "x": 843, "y": 448 }, { "x": 843, "y": 465 }, { "x": 783, "y": 465 }, { "x": 783, "y": 448 }], "valueProb": 100 }, { "key": "invoiceTax", "keyProb": 100, "value": "1.36", "valuePos": [{ "x": 993, "y": 464 }, { "x": 994, "y": 446 }, { "x": 1047, "y": 448 }, { "x": 1047, "y": 465 }], "valueProb": 100 }, { "key": "totalAmountInWords", "keyProb": 100, "value": "贰拾肆元整", "valuePos": [{ "x": 375, "y": 495 }, { "x": 375, "y": 513 }, { "x": 301, "y": 513 }, { "x": 301, "y": 495 }], "valueProb": 100 }, { "key": "totalAmount", "keyProb": 100, "value": "24.00", "valuePos": [{ "x": 1043, "y": 491 }, { "x": 1043, "y": 507 }, { "x": 983, "y": 507 }, { "x": 983, "y": 491 }], "valueProb": 100 }, { "key": "sellerName", "keyProb": 100, "value": "绍兴顺丰速运有限公司", "valuePos": [{ "x": 331, "y": 528 }, { "x": 331, "y": 545 }, { "x": 180, "y": 545 }, { "x": 180, "y": 528 }], "valueProb": 100 }, { "key": "sellerTaxNumber", "keyProb": 100, "value": "91330600670285279B", "valuePos": [{ "x": 178, "y": 553 }, { "x": 342, "y": 552 }, { "x": 342, "y": 568 }, { "x": 178, "y": 570 }], "valueProb": 100 }, { "key": "sellerContactInfo", "keyProb": 100, "value": "绍兴市越东南路328号物流中心A区0575-88900058", "valuePos": [{ "x": 180, "y": 581 }, { "x": 495, "y": 579 }, { "x": 495, "y": 595 }, { "x": 181, "y": 598 }], "valueProb": 100 }, { "key": "sellerBankAccountInfo", "keyProb": 100, "value": "工行绍兴市城东新区支行1211018129200020107", "valuePos": [{ "x": 479, "y": 606 }, { "x": 479, "y": 625 }, { "x": 181, "y": 625 }, { "x": 181, "y": 606 }], "valueProb": 100 }, { "key": "recipient", "keyProb": 100, "value": "孙琳", "valuePos": [{ "x": 136, "y": 638 }, { "x": 136, "y": 655 }, { "x": 102, "y": 655 }, { "x": 102, "y": 638 }], "valueProb": 100 }, { "key": "reviewer", "keyProb": 100, "value": "叶丹丹", "valuePos": [{ "x": 405, "y": 637 }, { "x": 405, "y": 655 }, { "x": 357, "y": 655 }, { "x": 357, "y": 637 }], "valueProb": 100 }, { "key": "drawer", "keyProb": 100, "value": "陈超群", "valuePos": [{ "x": 633, "y": 635 }, { "x": 680, "y": 635 }, { "x": 680, "y": 652 }, { "x": 633, "y": 652 }], "valueProb": 100 }, { "key": "remarks", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "title", "keyProb": 100, "value": "浙江增值税电子普通发票", "valuePos": [{ "x": 746, "y": 3 }, { "x": 746, "y": 40 }, { "x": 325, "y": 42 }, { "x": 324, "y": 5 }], "valueProb": 100 }, { "key": "formType", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceType", "keyProb": 100, "value": "电子普通发票", "valuePos": [{ "x": 746, "y": 3 }, { "x": 746, "y": 40 }, { "x": 325, "y": 42 }, { "x": 324, "y": 5 }], "valueProb": 100 }, { "key": "specialTag", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDetails", "keyProb": 100, "value": "[{\"itemName\":\"“物流辅助服务*收派服务费\",\"specification\":\"\",\"unit\":\"次\",\"quantity\":\"1.000000\",\"unitPrice\":\"22.640000\",\"amount\":\"22.64\",\"taxRate\":\"6%\",\"tax\":\"1.36\"}]", "valueProb": 100 }], "sliceRect": { "x0": 280, "y0": 237, "x1": 1344, "y1": 239, "x2": 1345, "y2": 920, "x3": 279, "y3": 916 }, "width": 1067 }, "sliceRect": { "x0": 280, "y0": 237, "x1": 1344, "y1": 239, "x2": 1345, "y2": 920, "x3": 279, "y3": 916 }, "type": "增值税发票" }], "width": 1654 }
Codestring

状态码

200
Messagestring

详细信息

message

返回参数说明


字段类型说明
heightint算法矫正图片后的高度。
widthint算法矫正图片后的宽度。
orgHeightint原图的高度。
orgWidthint原图的宽度。
countint识别的图片个数。
subMsgslist图片信息。

发票信息(subMsgs 字段)

字段类型说明
resultobject结构化信息。
opString图片类型-英文。
sliceRectobject检测出的子图坐标信息。
indexint图片顺序。
typeString图片类型-中文。

op 类型信息

类型说明
car_invoice机动车销售发票
bank_acceptance银行承兑汇票
train_ticket火车票
invoice增值税发票
air_itinerary航空行程单
taxi_ticket出租车发票
nontax_invoice非税收入发票
payment_record支付详情页
tax_clearance_certificate税收完税证明
used_car_invoice二手车销售统一发票
quota_invoice定额发票
toll_invoice过路过桥费发票
purchase_record电商详情页
Hotel_Consume酒店流水
shopping_receipt购物小票
roll_ticket增值税发票卷票
bus_ship_ticket客运车船票
online_taxi_itinerary网约车行程单
common_printed_invoice通用机打发票

结构化信息(result 字段)

字段类型说明
ftypeint是否为复印件(1:是,0:否)。
dataobject结构化信息。
sliceRectobject检测出的子图坐标信息。
angleint文字块的角度。
prism_keyValueInfolist结构化信息的坐标信息。
heightint算法矫正图片后的高度。
widthint算法矫正图片后的宽度。
orgHeightint原图的高度。
orgWidthint原图的宽度。

结构化坐标信息(prism_keyValueInfo 字段)

字段类型说明
keystring识别出的字段名称。
keyProbint字段名称置信度。
valuestring识别出的字段名称对应的值。
valueProbint字段名称对应值的置信度。
valuePoslist字段在原图中的四个点坐标(左上、右上、右下、左下)。

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{ \t\"count\": 2, \t\"height\": 2341, \t\"orgHeight\": 2341, \t\"orgWidth\": 1654, \t\"subMsgs\": [{ \t\t\"index\": 1, \t\t\"op\": \"invoice\", \t\t\"result\": { \t\t\t\"data\": { \t\t\t\t\"invoiceCode\": \"044031800111\", \t\t\t\t\"invoiceNumber\": \"35080026\", \t\t\t\t\"printedInvoiceCode\": \"\", \t\t\t\t\"printedInvoiceNumber\": \"\", \t\t\t\t\"invoiceDate\": \"2018年11月05日\", \t\t\t\t\"machineCode\": \"499099825015\", \t\t\t\t\"checkCode\": \"10039568112588495269\", \t\t\t\t\"purchaserName\": \"深圳市中兴新云服务有限公司\", \t\t\t\t\"purchaserTaxNumber\": \"91440300MA5EXWHW6F\", \t\t\t\t\"purchaserContactInfo\": \"深市海作一1号A室市有限12\", \t\t\t\t\"purchaserBankAccountInfo\": \"中信银行深圳市民中心支行8110301013100278455\", \t\t\t\t\"passwordArea\": \"0394+-*/4+640<-<1>>>59861>57 869-1>9/46544754742426235-8- 42<12-+6<3<30*927-64--7-+5-- 7++713>+<201-3>91951+4412>47\", \t\t\t\t\"invoiceAmountPreTax\": \"18.87\", \t\t\t\t\"invoiceTax\": \"1.13\", \t\t\t\t\"totalAmountInWords\": \"贰拾元整\", \t\t\t\t\"totalAmount\": \"20.00\", \t\t\t\t\"sellerName\": \"顺丰速运有限公司\", \t\t\t\t\"sellerTaxNumber\": \"914403000743520254\", \t\t\t\t\"sellerContactInfo\": \"深圳市宝安区国际机场航站四路1111号0755-36395027\", \t\t\t\t\"sellerBankAccountInfo\": \"中国工商银行深圳车公庙支行4000025319200395130\", \t\t\t\t\"recipient\": \"廖柳英\", \t\t\t\t\"reviewer\": \"陈虎\", \t\t\t\t\"drawer\": \":张德胜\", \t\t\t\t\"remarks\": \"\", \t\t\t\t\"title\": \"深圳增值税电子普通发票\", \t\t\t\t\"formType\": \"\", \t\t\t\t\"invoiceType\": \"电子普通发票\", \t\t\t\t\"specialTag\": \"\", \t\t\t\t\"invoiceDetails\": [{ \t\t\t\t\t\"itemName\": \"*物流辅助服务*收派服务费\", \t\t\t\t\t\"specification\": \"\", \t\t\t\t\t\"unit\": \"次\", \t\t\t\t\t\"quantity\": \"1.000000\", \t\t\t\t\t\"unitPrice\": \"18.870000\", \t\t\t\t\t\"amount\": \"18.87\", \t\t\t\t\t\"taxRate\": \"6%\", \t\t\t\t\t\"tax\": \"1.13\" \t\t\t\t}] \t\t\t}, \t\t\t\"ftype\": 0, \t\t\t\"height\": 720, \t\t\t\"orgHeight\": 720, \t\t\t\"orgWidth\": 1067, \t\t\t\"prism_keyValueInfo\": [{ \t\t\t\t\"key\": \"invoiceCode\", \t\t\t\t\"keyProb\": 99, \t\t\t\t\"value\": \"044031800111\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 861, \t\t\t\t\t\"y\": 50 \t\t\t\t}, { \t\t\t\t\t\"x\": 971, \t\t\t\t\t\"y\": 50 \t\t\t\t}, { \t\t\t\t\t\"x\": 971, \t\t\t\t\t\"y\": 67 \t\t\t\t}, { \t\t\t\t\t\"x\": 861, \t\t\t\t\t\"y\": 67 \t\t\t\t}], \t\t\t\t\"valueProb\": 99 \t\t\t}, { \t\t\t\t\"key\": \"invoiceNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"35080026\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 862, \t\t\t\t\t\"y\": 79 \t\t\t\t}, { \t\t\t\t\t\"x\": 938, \t\t\t\t\t\"y\": 78 \t\t\t\t}, { \t\t\t\t\t\"x\": 938, \t\t\t\t\t\"y\": 93 \t\t\t\t}, { \t\t\t\t\t\"x\": 863, \t\t\t\t\t\"y\": 95 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"printedInvoiceCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"printedInvoiceNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceDate\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"2018年11月05日\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 861, \t\t\t\t\t\"y\": 107 \t\t\t\t}, { \t\t\t\t\t\"x\": 964, \t\t\t\t\t\"y\": 106 \t\t\t\t}, { \t\t\t\t\t\"x\": 964, \t\t\t\t\t\"y\": 122 \t\t\t\t}, { \t\t\t\t\t\"x\": 862, \t\t\t\t\t\"y\": 124 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"machineCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"499099825015\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 208, \t\t\t\t\t\"y\": 138 \t\t\t\t}, { \t\t\t\t\t\"x\": 208, \t\t\t\t\t\"y\": 154 \t\t\t\t}, { \t\t\t\t\t\"x\": 97, \t\t\t\t\t\"y\": 154 \t\t\t\t}, { \t\t\t\t\t\"x\": 97, \t\t\t\t\t\"y\": 138 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"checkCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"10039568112588495269\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 865, \t\t\t\t\t\"y\": 134 \t\t\t\t}, { \t\t\t\t\t\"x\": 1053, \t\t\t\t\t\"y\": 133 \t\t\t\t}, { \t\t\t\t\t\"x\": 1053, \t\t\t\t\t\"y\": 149 \t\t\t\t}, { \t\t\t\t\t\"x\": 866, \t\t\t\t\t\"y\": 151 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserName\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"深圳市中兴新云服务有限公司\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 179, \t\t\t\t\t\"y\": 171 \t\t\t\t}, { \t\t\t\t\t\"x\": 376, \t\t\t\t\t\"y\": 170 \t\t\t\t}, { \t\t\t\t\t\"x\": 376, \t\t\t\t\t\"y\": 186 \t\t\t\t}, { \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 188 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserTaxNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"91440300MA5EXWHW6F\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 179, \t\t\t\t\t\"y\": 197 \t\t\t\t}, { \t\t\t\t\t\"x\": 367, \t\t\t\t\t\"y\": 195 \t\t\t\t}, { \t\t\t\t\t\"x\": 367, \t\t\t\t\t\"y\": 212 \t\t\t\t}, { \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 213 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserContactInfo\", \t\t\t\t\"keyProb\": 99, \t\t\t\t\"value\": \"深市海作一1号A室市有限12\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 226 \t\t\t\t}, { \t\t\t\t\t\"x\": 550, \t\t\t\t\t\"y\": 223 \t\t\t\t}, { \t\t\t\t\t\"x\": 550, \t\t\t\t\t\"y\": 236 \t\t\t\t}, { \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 240 \t\t\t\t}], \t\t\t\t\"valueProb\": 99 \t\t\t}, { \t\t\t\t\"key\": \"purchaserBankAccountInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"中信银行深圳市民中心支行8110301013100278455\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 251 \t\t\t\t}, { \t\t\t\t\t\"x\": 491, \t\t\t\t\t\"y\": 250 \t\t\t\t}, { \t\t\t\t\t\"x\": 491, \t\t\t\t\t\"y\": 266 \t\t\t\t}, { \t\t\t\t\t\"x\": 181, \t\t\t\t\t\"y\": 268 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"passwordArea\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"0394+-*/4+640<-<1>>>59861>57 869-1>9/46544754742426235-8- 42<12-+6<3<30*927-64--7-+5-- 7++713>+<201-3>91951+4412>47\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 704, \t\t\t\t\t\"y\": 167 \t\t\t\t}, { \t\t\t\t\t\"x\": 961, \t\t\t\t\t\"y\": 167 \t\t\t\t}, { \t\t\t\t\t\"x\": 961, \t\t\t\t\t\"y\": 255 \t\t\t\t}, { \t\t\t\t\t\"x\": 704, \t\t\t\t\t\"y\": 255 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceAmountPreTax\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"18.87\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 786, \t\t\t\t\t\"y\": 472 \t\t\t\t}, { \t\t\t\t\t\"x\": 847, \t\t\t\t\t\"y\": 471 \t\t\t\t}, { \t\t\t\t\t\"x\": 847, \t\t\t\t\t\"y\": 485 \t\t\t\t}, { \t\t\t\t\t\"x\": 787, \t\t\t\t\t\"y\": 487 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceTax\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"1.13\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 1052, \t\t\t\t\t\"y\": 469 \t\t\t\t}, { \t\t\t\t\t\"x\": 1052, \t\t\t\t\t\"y\": 486 \t\t\t\t}, { \t\t\t\t\t\"x\": 999, \t\t\t\t\t\"y\": 486 \t\t\t\t}, { \t\t\t\t\t\"x\": 999, \t\t\t\t\t\"y\": 469 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"totalAmountInWords\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"贰拾元整\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 364, \t\t\t\t\t\"y\": 518 \t\t\t\t}, { \t\t\t\t\t\"x\": 364, \t\t\t\t\t\"y\": 536 \t\t\t\t}, { \t\t\t\t\t\"x\": 304, \t\t\t\t\t\"y\": 536 \t\t\t\t}, { \t\t\t\t\t\"x\": 304, \t\t\t\t\t\"y\": 518 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"totalAmount\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"20.00\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 1049, \t\t\t\t\t\"y\": 512 \t\t\t\t}, { \t\t\t\t\t\"x\": 1049, \t\t\t\t\t\"y\": 530 \t\t\t\t}, { \t\t\t\t\t\"x\": 987, \t\t\t\t\t\"y\": 530 \t\t\t\t}, { \t\t\t\t\t\"x\": 987, \t\t\t\t\t\"y\": 512 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerName\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"顺丰速运有限公司\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 183, \t\t\t\t\t\"y\": 553 \t\t\t\t}, { \t\t\t\t\t\"x\": 304, \t\t\t\t\t\"y\": 552 \t\t\t\t}, { \t\t\t\t\t\"x\": 305, \t\t\t\t\t\"y\": 568 \t\t\t\t}, { \t\t\t\t\t\"x\": 183, \t\t\t\t\t\"y\": 570 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerTaxNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"914403000743520254\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 184, \t\t\t\t\t\"y\": 578 \t\t\t\t}, { \t\t\t\t\t\"x\": 345, \t\t\t\t\t\"y\": 576 \t\t\t\t}, { \t\t\t\t\t\"x\": 345, \t\t\t\t\t\"y\": 591 \t\t\t\t}, { \t\t\t\t\t\"x\": 185, \t\t\t\t\t\"y\": 594 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerContactInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"深圳市宝安区国际机场航站四路1111号0755-36395027\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 185, \t\t\t\t\t\"y\": 604 \t\t\t\t}, { \t\t\t\t\t\"x\": 526, \t\t\t\t\t\"y\": 600 \t\t\t\t}, { \t\t\t\t\t\"x\": 527, \t\t\t\t\t\"y\": 619 \t\t\t\t}, { \t\t\t\t\t\"x\": 185, \t\t\t\t\t\"y\": 622 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerBankAccountInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"中国工商银行深圳车公庙支行4000025319200395130\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 187, \t\t\t\t\t\"y\": 631 \t\t\t\t}, { \t\t\t\t\t\"x\": 509, \t\t\t\t\t\"y\": 628 \t\t\t\t}, { \t\t\t\t\t\"x\": 509, \t\t\t\t\t\"y\": 646 \t\t\t\t}, { \t\t\t\t\t\"x\": 187, \t\t\t\t\t\"y\": 649 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"recipient\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"廖柳英\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 108, \t\t\t\t\t\"y\": 663 \t\t\t\t}, { \t\t\t\t\t\"x\": 158, \t\t\t\t\t\"y\": 661 \t\t\t\t}, { \t\t\t\t\t\"x\": 159, \t\t\t\t\t\"y\": 680 \t\t\t\t}, { \t\t\t\t\t\"x\": 108, \t\t\t\t\t\"y\": 681 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"reviewer\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"陈虎\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 398, \t\t\t\t\t\"y\": 661 \t\t\t\t}, { \t\t\t\t\t\"x\": 398, \t\t\t\t\t\"y\": 678 \t\t\t\t}, { \t\t\t\t\t\"x\": 361, \t\t\t\t\t\"y\": 678 \t\t\t\t}, { \t\t\t\t\t\"x\": 361, \t\t\t\t\t\"y\": 661 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"drawer\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \":张德胜\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 689, \t\t\t\t\t\"y\": 658 \t\t\t\t}, { \t\t\t\t\t\"x\": 689, \t\t\t\t\t\"y\": 677 \t\t\t\t}, { \t\t\t\t\t\"x\": 638, \t\t\t\t\t\"y\": 677 \t\t\t\t}, { \t\t\t\t\t\"x\": 638, \t\t\t\t\t\"y\": 658 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"remarks\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"title\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"深圳增值税电子普通发票\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 28 \t\t\t\t}, { \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 22 \t\t\t\t}, { \t\t\t\t\t\"x\": 747, \t\t\t\t\t\"y\": 61 \t\t\t\t}, { \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 66 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"formType\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceType\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"电子普通发票\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 28 \t\t\t\t}, { \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 22 \t\t\t\t}, { \t\t\t\t\t\"x\": 747, \t\t\t\t\t\"y\": 61 \t\t\t\t}, { \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 66 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"specialTag\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceDetails\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"[{\\\"itemName\\\":\\\"*物流辅助服务*收派服务费\\\",\\\"specification\\\":\\\"\\\",\\\"unit\\\":\\\"次\\\",\\\"quantity\\\":\\\"1.000000\\\",\\\"unitPrice\\\":\\\"18.870000\\\",\\\"amount\\\":\\\"18.87\\\",\\\"taxRate\\\":\\\"6%\\\",\\\"tax\\\":\\\"1.13\\\"}]\", \t\t\t\t\"valueProb\": 100 \t\t\t}], \t\t\t\"sliceRect\": { \t\t\t\t\"x0\": 280, \t\t\t\t\"y0\": 950, \t\t\t\t\"x1\": 1344, \t\t\t\t\"y1\": 952, \t\t\t\t\"x2\": 1346, \t\t\t\t\"y2\": 1669, \t\t\t\t\"x3\": 280, \t\t\t\t\"y3\": 1665 \t\t\t}, \t\t\t\"width\": 1067 \t\t}, \t\t\"sliceRect\": { \t\t\t\"x0\": 280, \t\t\t\"y0\": 950, \t\t\t\"x1\": 1344, \t\t\t\"y1\": 952, \t\t\t\"x2\": 1346, \t\t\t\"y2\": 1669, \t\t\t\"x3\": 280, \t\t\t\"y3\": 1665 \t\t}, \t\t\"type\": \"增值税发票\" \t}, { \t\t\"index\": 2, \t\t\"op\": \"invoice\", \t\t\"result\": { \t\t\t\"data\": { \t\t\t\t\"invoiceCode\": \"033001800211\", \t\t\t\t\"invoiceNumber\": \"34111823\", \t\t\t\t\"printedInvoiceCode\": \"\", \t\t\t\t\"printedInvoiceNumber\": \"\", \t\t\t\t\"invoiceDate\": \"2018年11月05日\", \t\t\t\t\"machineCode\": \"499099843758\", \t\t\t\t\"checkCode\": \"06975265980776194342\", \t\t\t\t\"purchaserName\": \"深圳市中兴新云服务有限公司\", \t\t\t\t\"purchaserTaxNumber\": \"91440300MA5EXWHW6F\", \t\t\t\t\"purchaserContactInfo\": \"深圳市麻海洋港合作区前湾一路1号A林2对室(入非州市前商务秘书有限公号:15525KM\", \t\t\t\t\"purchaserBankAccountInfo\": \"中信银行深圳市民中心支行8110301013100278455\", \t\t\t\t\"passwordArea\": \"03+*2349>010+9*+571>36>104*5 3558*9684/7*<9<20983737<4<+3 -9850/+5+1/>230+*53+1><067-0 1><348954201-->319--28424675\", \t\t\t\t\"invoiceAmountPreTax\": \"22.64\", \t\t\t\t\"invoiceTax\": \"1.36\", \t\t\t\t\"totalAmountInWords\": \"贰拾肆元整\", \t\t\t\t\"totalAmount\": \"24.00\", \t\t\t\t\"sellerName\": \"绍兴顺丰速运有限公司\", \t\t\t\t\"sellerTaxNumber\": \"91330600670285279B\", \t\t\t\t\"sellerContactInfo\": \"绍兴市越东南路328号物流中心A区0575-88900058\", \t\t\t\t\"sellerBankAccountInfo\": \"工行绍兴市城东新区支行1211018129200020107\", \t\t\t\t\"recipient\": \"孙琳\", \t\t\t\t\"reviewer\": \"叶丹丹\", \t\t\t\t\"drawer\": \"陈超群\", \t\t\t\t\"remarks\": \"\", \t\t\t\t\"title\": \"浙江增值税电子普通发票\", \t\t\t\t\"formType\": \"\", \t\t\t\t\"invoiceType\": \"电子普通发票\", \t\t\t\t\"specialTag\": \"\", \t\t\t\t\"invoiceDetails\": [{ \t\t\t\t\t\"itemName\": \"“物流辅助服务*收派服务费\", \t\t\t\t\t\"specification\": \"\", \t\t\t\t\t\"unit\": \"次\", \t\t\t\t\t\"quantity\": \"1.000000\", \t\t\t\t\t\"unitPrice\": \"22.640000\", \t\t\t\t\t\"amount\": \"22.64\", \t\t\t\t\t\"taxRate\": \"6%\", \t\t\t\t\t\"tax\": \"1.36\" \t\t\t\t}] \t\t\t}, \t\t\t\"ftype\": 0, \t\t\t\"height\": 685, \t\t\t\"orgHeight\": 685, \t\t\t\"orgWidth\": 1067, \t\t\t\"prism_keyValueInfo\": [{ \t\t\t\t\"key\": \"invoiceCode\", \t\t\t\t\"keyProb\": 98, \t\t\t\t\"value\": \"033001800211\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 967, \t\t\t\t\t\"y\": 28 \t\t\t\t}, { \t\t\t\t\t\"x\": 967, \t\t\t\t\t\"y\": 44 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 43 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 27 \t\t\t\t}], \t\t\t\t\"valueProb\": 98 \t\t\t}, { \t\t\t\t\"key\": \"invoiceNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"34111823\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 934, \t\t\t\t\t\"y\": 56 \t\t\t\t}, { \t\t\t\t\t\"x\": 934, \t\t\t\t\t\"y\": 72 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 72 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 56 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"printedInvoiceCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"printedInvoiceNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceDate\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"2018年11月05日\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 961, \t\t\t\t\t\"y\": 84 \t\t\t\t}, { \t\t\t\t\t\"x\": 961, \t\t\t\t\t\"y\": 101 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 101 \t\t\t\t}, { \t\t\t\t\t\"x\": 859, \t\t\t\t\t\"y\": 84 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"machineCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"499099843758\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 91, \t\t\t\t\t\"y\": 115 \t\t\t\t}, { \t\t\t\t\t\"x\": 202, \t\t\t\t\t\"y\": 114 \t\t\t\t}, { \t\t\t\t\t\"x\": 202, \t\t\t\t\t\"y\": 129 \t\t\t\t}, { \t\t\t\t\t\"x\": 92, \t\t\t\t\t\"y\": 131 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"checkCode\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"06975265980776194342\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 1051, \t\t\t\t\t\"y\": 111 \t\t\t\t}, { \t\t\t\t\t\"x\": 1051, \t\t\t\t\t\"y\": 128 \t\t\t\t}, { \t\t\t\t\t\"x\": 861, \t\t\t\t\t\"y\": 127 \t\t\t\t}, { \t\t\t\t\t\"x\": 861, \t\t\t\t\t\"y\": 110 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserName\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"深圳市中兴新云服务有限公司\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 176, \t\t\t\t\t\"y\": 147 \t\t\t\t}, { \t\t\t\t\t\"x\": 361, \t\t\t\t\t\"y\": 146 \t\t\t\t}, { \t\t\t\t\t\"x\": 361, \t\t\t\t\t\"y\": 162 \t\t\t\t}, { \t\t\t\t\t\"x\": 176, \t\t\t\t\t\"y\": 164 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserTaxNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"91440300MA5EXWHW6F\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 176, \t\t\t\t\t\"y\": 173 \t\t\t\t}, { \t\t\t\t\t\"x\": 365, \t\t\t\t\t\"y\": 172 \t\t\t\t}, { \t\t\t\t\t\"x\": 365, \t\t\t\t\t\"y\": 188 \t\t\t\t}, { \t\t\t\t\t\"x\": 177, \t\t\t\t\t\"y\": 190 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"purchaserContactInfo\", \t\t\t\t\"keyProb\": 76, \t\t\t\t\"value\": \"深圳市麻海洋港合作区前湾一路1号A林2对室(入非州市前商务秘书有限公号:15525KM\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 177, \t\t\t\t\t\"y\": 202 \t\t\t\t}, { \t\t\t\t\t\"x\": 541, \t\t\t\t\t\"y\": 201 \t\t\t\t}, { \t\t\t\t\t\"x\": 542, \t\t\t\t\t\"y\": 214 \t\t\t\t}, { \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 216 \t\t\t\t}], \t\t\t\t\"valueProb\": 76 \t\t\t}, { \t\t\t\t\"key\": \"purchaserBankAccountInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"中信银行深圳市民中心支行8110301013100278455\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 228 \t\t\t\t}, { \t\t\t\t\t\"x\": 490, \t\t\t\t\t\"y\": 226 \t\t\t\t}, { \t\t\t\t\t\"x\": 490, \t\t\t\t\t\"y\": 242 \t\t\t\t}, { \t\t\t\t\t\"x\": 179, \t\t\t\t\t\"y\": 245 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"passwordArea\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"03+*2349>010+9*+571>36>104*5 3558*9684/7*<9<20983737<4<+3 -9850/+5+1/>230+*53+1><067-0 1><348954201-->319--28424675\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 700, \t\t\t\t\t\"y\": 143 \t\t\t\t}, { \t\t\t\t\t\"x\": 957, \t\t\t\t\t\"y\": 143 \t\t\t\t}, { \t\t\t\t\t\"x\": 957, \t\t\t\t\t\"y\": 234 \t\t\t\t}, { \t\t\t\t\t\"x\": 700, \t\t\t\t\t\"y\": 234 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceAmountPreTax\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"22.64\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 843, \t\t\t\t\t\"y\": 448 \t\t\t\t}, { \t\t\t\t\t\"x\": 843, \t\t\t\t\t\"y\": 465 \t\t\t\t}, { \t\t\t\t\t\"x\": 783, \t\t\t\t\t\"y\": 465 \t\t\t\t}, { \t\t\t\t\t\"x\": 783, \t\t\t\t\t\"y\": 448 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceTax\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"1.36\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 993, \t\t\t\t\t\"y\": 464 \t\t\t\t}, { \t\t\t\t\t\"x\": 994, \t\t\t\t\t\"y\": 446 \t\t\t\t}, { \t\t\t\t\t\"x\": 1047, \t\t\t\t\t\"y\": 448 \t\t\t\t}, { \t\t\t\t\t\"x\": 1047, \t\t\t\t\t\"y\": 465 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"totalAmountInWords\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"贰拾肆元整\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 375, \t\t\t\t\t\"y\": 495 \t\t\t\t}, { \t\t\t\t\t\"x\": 375, \t\t\t\t\t\"y\": 513 \t\t\t\t}, { \t\t\t\t\t\"x\": 301, \t\t\t\t\t\"y\": 513 \t\t\t\t}, { \t\t\t\t\t\"x\": 301, \t\t\t\t\t\"y\": 495 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"totalAmount\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"24.00\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 1043, \t\t\t\t\t\"y\": 491 \t\t\t\t}, { \t\t\t\t\t\"x\": 1043, \t\t\t\t\t\"y\": 507 \t\t\t\t}, { \t\t\t\t\t\"x\": 983, \t\t\t\t\t\"y\": 507 \t\t\t\t}, { \t\t\t\t\t\"x\": 983, \t\t\t\t\t\"y\": 491 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerName\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"绍兴顺丰速运有限公司\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 331, \t\t\t\t\t\"y\": 528 \t\t\t\t}, { \t\t\t\t\t\"x\": 331, \t\t\t\t\t\"y\": 545 \t\t\t\t}, { \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 545 \t\t\t\t}, { \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 528 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerTaxNumber\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"91330600670285279B\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 553 \t\t\t\t}, { \t\t\t\t\t\"x\": 342, \t\t\t\t\t\"y\": 552 \t\t\t\t}, { \t\t\t\t\t\"x\": 342, \t\t\t\t\t\"y\": 568 \t\t\t\t}, { \t\t\t\t\t\"x\": 178, \t\t\t\t\t\"y\": 570 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerContactInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"绍兴市越东南路328号物流中心A区0575-88900058\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 180, \t\t\t\t\t\"y\": 581 \t\t\t\t}, { \t\t\t\t\t\"x\": 495, \t\t\t\t\t\"y\": 579 \t\t\t\t}, { \t\t\t\t\t\"x\": 495, \t\t\t\t\t\"y\": 595 \t\t\t\t}, { \t\t\t\t\t\"x\": 181, \t\t\t\t\t\"y\": 598 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"sellerBankAccountInfo\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"工行绍兴市城东新区支行1211018129200020107\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 479, \t\t\t\t\t\"y\": 606 \t\t\t\t}, { \t\t\t\t\t\"x\": 479, \t\t\t\t\t\"y\": 625 \t\t\t\t}, { \t\t\t\t\t\"x\": 181, \t\t\t\t\t\"y\": 625 \t\t\t\t}, { \t\t\t\t\t\"x\": 181, \t\t\t\t\t\"y\": 606 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"recipient\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"孙琳\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 136, \t\t\t\t\t\"y\": 638 \t\t\t\t}, { \t\t\t\t\t\"x\": 136, \t\t\t\t\t\"y\": 655 \t\t\t\t}, { \t\t\t\t\t\"x\": 102, \t\t\t\t\t\"y\": 655 \t\t\t\t}, { \t\t\t\t\t\"x\": 102, \t\t\t\t\t\"y\": 638 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"reviewer\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"叶丹丹\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 405, \t\t\t\t\t\"y\": 637 \t\t\t\t}, { \t\t\t\t\t\"x\": 405, \t\t\t\t\t\"y\": 655 \t\t\t\t}, { \t\t\t\t\t\"x\": 357, \t\t\t\t\t\"y\": 655 \t\t\t\t}, { \t\t\t\t\t\"x\": 357, \t\t\t\t\t\"y\": 637 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"drawer\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"陈超群\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 633, \t\t\t\t\t\"y\": 635 \t\t\t\t}, { \t\t\t\t\t\"x\": 680, \t\t\t\t\t\"y\": 635 \t\t\t\t}, { \t\t\t\t\t\"x\": 680, \t\t\t\t\t\"y\": 652 \t\t\t\t}, { \t\t\t\t\t\"x\": 633, \t\t\t\t\t\"y\": 652 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"remarks\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"title\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"浙江增值税电子普通发票\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 3 \t\t\t\t}, { \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 40 \t\t\t\t}, { \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 42 \t\t\t\t}, { \t\t\t\t\t\"x\": 324, \t\t\t\t\t\"y\": 5 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"formType\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceType\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"电子普通发票\", \t\t\t\t\"valuePos\": [{ \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 3 \t\t\t\t}, { \t\t\t\t\t\"x\": 746, \t\t\t\t\t\"y\": 40 \t\t\t\t}, { \t\t\t\t\t\"x\": 325, \t\t\t\t\t\"y\": 42 \t\t\t\t}, { \t\t\t\t\t\"x\": 324, \t\t\t\t\t\"y\": 5 \t\t\t\t}], \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"specialTag\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"\", \t\t\t\t\"valueProb\": 100 \t\t\t}, { \t\t\t\t\"key\": \"invoiceDetails\", \t\t\t\t\"keyProb\": 100, \t\t\t\t\"value\": \"[{\\\"itemName\\\":\\\"“物流辅助服务*收派服务费\\\",\\\"specification\\\":\\\"\\\",\\\"unit\\\":\\\"次\\\",\\\"quantity\\\":\\\"1.000000\\\",\\\"unitPrice\\\":\\\"22.640000\\\",\\\"amount\\\":\\\"22.64\\\",\\\"taxRate\\\":\\\"6%\\\",\\\"tax\\\":\\\"1.36\\\"}]\", \t\t\t\t\"valueProb\": 100 \t\t\t}], \t\t\t\"sliceRect\": { \t\t\t\t\"x0\": 280, \t\t\t\t\"y0\": 237, \t\t\t\t\"x1\": 1344, \t\t\t\t\"y1\": 239, \t\t\t\t\"x2\": 1345, \t\t\t\t\"y2\": 920, \t\t\t\t\"x3\": 279, \t\t\t\t\"y3\": 916 \t\t\t}, \t\t\t\"width\": 1067 \t\t}, \t\t\"sliceRect\": { \t\t\t\"x0\": 280, \t\t\t\"y0\": 237, \t\t\t\"x1\": 1344, \t\t\t\"y1\": 239, \t\t\t\"x2\": 1345, \t\t\t\"y2\": 920, \t\t\t\"x3\": 279, \t\t\t\"y3\": 916 \t\t}, \t\t\"type\": \"增值税发票\" \t}], \t\"width\": 1654 }",
  "Code": "200",
  "Message": "message"
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-04-03OpenAPI 入参发生变更查看变更详情
2023-07-06OpenAPI 入参发生变更查看变更详情
2021-08-17OpenAPI 入参发生变更查看变更详情