日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

首頁 文字識別 開發參考 API參考 API目錄 票據憑證識別 RecognizeMixedInvoices - 混貼發票識別

RecognizeMixedInvoices - 混貼發票識別

更新時間: 2024-12-26 17:54:21

支持各類票據的發票代碼、價稅合計、合計金額、購買方識別號、開票日期等關鍵字段結構化識別輸出。

接口說明

本接口適用場景

  • 阿里云混貼發票識別,是阿里云官方自研 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

錯誤碼(如果識別成功,不會返回此字段)

noPermission
Messagestring

錯誤提示(如果識別成功,不會返回此字段)

You are not authorized to perform this operation.

返回參數說明


字段類型說明
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": "noPermission",
  "Message": "You are not authorized to perform this operation."
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
2024-04-03OpenAPI 入參發生變更查看變更詳情
2023-07-06OpenAPI 入參發生變更查看變更詳情
2021-08-17OpenAPI 入參發生變更查看變更詳情
上一篇: 票據憑證識別 下一篇: RecognizeInvoice - 增值稅發票識別