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

首頁 文字識別 開發(fā)參考 API參考 API目錄 票據(jù)憑證識別 RecognizeCommonPrintedInvoice - 通用機(jī)打發(fā)票識別

RecognizeCommonPrintedInvoice - 通用機(jī)打發(fā)票識別

更新時間: 2024-12-23 15:16:54

支持包括發(fā)票代碼、發(fā)票號碼、銷售方名稱、銷售方識別號、購買方名稱、購買方識別號、合計金額等關(guān)鍵字段結(jié)構(gòu)化識別輸出。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權(quán)信息

下表是API對應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

  • 操作:是指具體的權(quán)限點(diǎn)。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權(quán)的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權(quán)的操作,用全部資源表示。
  • 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
  • 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作訪問級別資源類型條件關(guān)鍵字關(guān)聯(lián)操作
ocr:RecognizeCommonPrintedInvoiceget
*全部資源
*

請求參數(shù)

名稱類型必填描述示例值
Urlstring

圖片鏈接(長度不超 2048 字節(jié),不支持 base64)

https://img.alicdn.com/imgextra/i2/O1CN01XU9dTh1O4CdHxXhMw_!!6000000001651-0-tps-1437-909.jpg
bodybyte

圖片二進(jìn)制字節(jié)流,最大 10MB

圖片二進(jìn)制

支持的圖片格式

  • PNG、JPG、JPEG、BMP、GIF、TIFF、WebP、OFD、PDF

返回參數(shù)

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請求唯一 ID

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

返回數(shù)據(jù)

{ "angle": 0, "data": { "title": "浙江通用機(jī)打發(fā)票", "formType": "發(fā)票聯(lián)", "invoiceCode": "133041930432", "invoiceNumber": "01488558", "printedInvoiceCode": "", "printedInvoiceNumber": "", "invoiceDate": "2019-11-19", "totalAmount": "170.00", "sellerName": "嘉興市南湖區(qū)余新鎮(zhèn)瘦汁味餐飲店", "sellerTaxNumber": "92330402MA28B4LL4B", "purchaserName": "阿里巴巴儷人購(上海)電子商務(wù)有限公司", "purchaserTaxNumber": "91310114312356647G", "drawer": "高偉", "recipient": "", "remarks": "", "invoiceDetails": [ { "itemName": "餐飲費(fèi)", "unit": "", "quantity": "1", "unitPrice": "170.00", "amount": "170.00" } ] }, "ftype": 0, "height": 909, "orgHeight": 909, "orgWidth": 1437, "prism_keyValueInfo": [ { "key": "title", "keyProb": 100, "value": "浙江通用機(jī)打發(fā)票", "valuePos": [ { "x": 431, "y": 68 }, { "x": 843, "y": 62 }, { "x": 843, "y": 125 }, { "x": 431, "y": 130 } ], "valueProb": 100 }, { "key": "formType", "keyProb": 100, "value": "發(fā)票聯(lián)", "valuePos": [ { "x": 507, "y": 154 }, { "x": 767, "y": 152 }, { "x": 768, "y": 214 }, { "x": 508, "y": 215 } ], "valueProb": 100 }, { "key": "invoiceCode", "keyProb": 100, "value": "133041930432", "valuePos": [ { "x": 990, "y": 134 }, { "x": 1283, "y": 131 }, { "x": 1283, "y": 167 }, { "x": 991, "y": 171 } ], "valueProb": 100 }, { "key": "invoiceNumber", "keyProb": 100, "value": "01488558", "valuePos": [ { "x": 999, "y": 195 }, { "x": 1197, "y": 193 }, { "x": 1198, "y": 234 }, { "x": 999, "y": 235 } ], "valueProb": 100 }, { "key": "printedInvoiceCode", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "printedInvoiceNumber", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDate", "keyProb": 100, "value": "2019-11-19", "valuePos": [ { "x": 153, "y": 280 }, { "x": 351, "y": 278 }, { "x": 351, "y": 309 }, { "x": 154, "y": 312 } ], "valueProb": 100 }, { "key": "totalAmount", "keyProb": 100, "value": "170.00", "valuePos": [ { "x": 300, "y": 752 }, { "x": 461, "y": 749 }, { "x": 462, "y": 786 }, { "x": 300, "y": 788 } ], "valueProb": 100 }, { "key": "sellerName", "keyProb": 100, "value": "嘉興市南湖區(qū)余新鎮(zhèn)瘦汁味餐飲店", "valuePos": [ { "x": 220, "y": 455 }, { "x": 612, "y": 450 }, { "x": 612, "y": 482 }, { "x": 221, "y": 488 } ], "valueProb": 100 }, { "key": "sellerTaxNumber", "keyProb": 97, "value": "92330402MA28B4LL4B", "valuePos": [ { "x": 224, "y": 511 }, { "x": 476, "y": 509 }, { "x": 477, "y": 537 }, { "x": 225, "y": 539 } ], "valueProb": 97 }, { "key": "purchaserName", "keyProb": 98, "value": "阿里巴巴儷人購(上海)電子商務(wù)有限公司", "valuePos": [ { "x": 213, "y": 327 }, { "x": 714, "y": 324 }, { "x": 715, "y": 359 }, { "x": 214, "y": 363 } ], "valueProb": 98 }, { "key": "purchaserTaxNumber", "keyProb": 100, "value": "91310114312356647G", "valuePos": [ { "x": 221, "y": 406 }, { "x": 480, "y": 402 }, { "x": 481, "y": 432 }, { "x": 221, "y": 435 } ], "valueProb": 100 }, { "key": "drawer", "keyProb": 100, "value": "高偉", "valuePos": [ { "x": 680, "y": 819 }, { "x": 680, "y": 850 }, { "x": 627, "y": 850 }, { "x": 627, "y": 819 } ], "valueProb": 100 }, { "key": "recipient", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "remarks", "keyProb": 100, "value": "", "valueProb": 100 }, { "key": "invoiceDetails", "keyProb": 100, "value": "[{\"itemName\":\"餐飲費(fèi)\",\"unit\":\"\",\"quantity\":\"1\",\"unitPrice\":\"170.00\",\"amount\":\"170.00\"}]", "valueProb": 100 } ], "sliceRect": { "x0": 0, "y0": 7, "x1": 1416, "y1": 0, "x2": 1421, "y2": 907, "x3": 0, "y3": 904 }, "width": 1437 }
Codestring

錯誤碼

noPermission
Messagestring

錯誤提示

You are not authorized to perform this operation.

中英文映射字段

title           標(biāo)題
formType           發(fā)票聯(lián)次
invoiceCode           發(fā)票代碼
invoiceNumber           發(fā)票號碼
printedInvoiceCode          發(fā)票代碼-機(jī)打
printedInvoiceNumber           發(fā)票號碼-機(jī)打
invoiceDate           開票日期
totalAmount           合計金額
sellerName           銷售方名稱
sellerTaxNumber           銷售方納稅人識別號
purchaserName           購買方名稱
purchaserTaxNumber           購買方納稅人識別號
drawer           開票人
recipient           收款人
remarks           備注
invoiceDetails           發(fā)票詳單 
itemName           項目名稱
unit           單位
quantity           數(shù)量
unitPrice           單價
amount           總值
ftype           是否是復(fù)印件(1:是,0:否)

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{\n      \"angle\": 0,\n      \"data\": {\n            \"title\": \"浙江通用機(jī)打發(fā)票\",\n            \"formType\": \"發(fā)票聯(lián)\",\n            \"invoiceCode\": \"133041930432\",\n            \"invoiceNumber\": \"01488558\",\n            \"printedInvoiceCode\": \"\",\n            \"printedInvoiceNumber\": \"\",\n            \"invoiceDate\": \"2019-11-19\",\n            \"totalAmount\": \"170.00\",\n            \"sellerName\": \"嘉興市南湖區(qū)余新鎮(zhèn)瘦汁味餐飲店\",\n            \"sellerTaxNumber\": \"92330402MA28B4LL4B\",\n            \"purchaserName\": \"阿里巴巴儷人購(上海)電子商務(wù)有限公司\",\n            \"purchaserTaxNumber\": \"91310114312356647G\",\n            \"drawer\": \"高偉\",\n            \"recipient\": \"\",\n            \"remarks\": \"\",\n            \"invoiceDetails\": [\n                  {\n                        \"itemName\": \"餐飲費(fèi)\",\n                        \"unit\": \"\",\n                        \"quantity\": \"1\",\n                        \"unitPrice\": \"170.00\",\n                        \"amount\": \"170.00\"\n                  }\n            ]\n      },\n      \"ftype\": 0,\n      \"height\": 909,\n      \"orgHeight\": 909,\n      \"orgWidth\": 1437,\n      \"prism_keyValueInfo\": [\n            {\n                  \"key\": \"title\",\n                  \"keyProb\": 100,\n                  \"value\": \"浙江通用機(jī)打發(fā)票\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 431,\n                              \"y\": 68\n                        },\n                        {\n                              \"x\": 843,\n                              \"y\": 62\n                        },\n                        {\n                              \"x\": 843,\n                              \"y\": 125\n                        },\n                        {\n                              \"x\": 431,\n                              \"y\": 130\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"formType\",\n                  \"keyProb\": 100,\n                  \"value\": \"發(fā)票聯(lián)\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 507,\n                              \"y\": 154\n                        },\n                        {\n                              \"x\": 767,\n                              \"y\": 152\n                        },\n                        {\n                              \"x\": 768,\n                              \"y\": 214\n                        },\n                        {\n                              \"x\": 508,\n                              \"y\": 215\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"invoiceCode\",\n                  \"keyProb\": 100,\n                  \"value\": \"133041930432\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 990,\n                              \"y\": 134\n                        },\n                        {\n                              \"x\": 1283,\n                              \"y\": 131\n                        },\n                        {\n                              \"x\": 1283,\n                              \"y\": 167\n                        },\n                        {\n                              \"x\": 991,\n                              \"y\": 171\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"invoiceNumber\",\n                  \"keyProb\": 100,\n                  \"value\": \"01488558\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 999,\n                              \"y\": 195\n                        },\n                        {\n                              \"x\": 1197,\n                              \"y\": 193\n                        },\n                        {\n                              \"x\": 1198,\n                              \"y\": 234\n                        },\n                        {\n                              \"x\": 999,\n                              \"y\": 235\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"printedInvoiceCode\",\n                  \"keyProb\": 100,\n                  \"value\": \"\",\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"printedInvoiceNumber\",\n                  \"keyProb\": 100,\n                  \"value\": \"\",\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"invoiceDate\",\n                  \"keyProb\": 100,\n                  \"value\": \"2019-11-19\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 153,\n                              \"y\": 280\n                        },\n                        {\n                              \"x\": 351,\n                              \"y\": 278\n                        },\n                        {\n                              \"x\": 351,\n                              \"y\": 309\n                        },\n                        {\n                              \"x\": 154,\n                              \"y\": 312\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"totalAmount\",\n                  \"keyProb\": 100,\n                  \"value\": \"170.00\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 300,\n                              \"y\": 752\n                        },\n                        {\n                              \"x\": 461,\n                              \"y\": 749\n                        },\n                        {\n                              \"x\": 462,\n                              \"y\": 786\n                        },\n                        {\n                              \"x\": 300,\n                              \"y\": 788\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"sellerName\",\n                  \"keyProb\": 100,\n                  \"value\": \"嘉興市南湖區(qū)余新鎮(zhèn)瘦汁味餐飲店\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 220,\n                              \"y\": 455\n                        },\n                        {\n                              \"x\": 612,\n                              \"y\": 450\n                        },\n                        {\n                              \"x\": 612,\n                              \"y\": 482\n                        },\n                        {\n                              \"x\": 221,\n                              \"y\": 488\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"sellerTaxNumber\",\n                  \"keyProb\": 97,\n                  \"value\": \"92330402MA28B4LL4B\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 224,\n                              \"y\": 511\n                        },\n                        {\n                              \"x\": 476,\n                              \"y\": 509\n                        },\n                        {\n                              \"x\": 477,\n                              \"y\": 537\n                        },\n                        {\n                              \"x\": 225,\n                              \"y\": 539\n                        }\n                  ],\n                  \"valueProb\": 97\n            },\n            {\n                  \"key\": \"purchaserName\",\n                  \"keyProb\": 98,\n                  \"value\": \"阿里巴巴儷人購(上海)電子商務(wù)有限公司\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 213,\n                              \"y\": 327\n                        },\n                        {\n                              \"x\": 714,\n                              \"y\": 324\n                        },\n                        {\n                              \"x\": 715,\n                              \"y\": 359\n                        },\n                        {\n                              \"x\": 214,\n                              \"y\": 363\n                        }\n                  ],\n                  \"valueProb\": 98\n            },\n            {\n                  \"key\": \"purchaserTaxNumber\",\n                  \"keyProb\": 100,\n                  \"value\": \"91310114312356647G\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 221,\n                              \"y\": 406\n                        },\n                        {\n                              \"x\": 480,\n                              \"y\": 402\n                        },\n                        {\n                              \"x\": 481,\n                              \"y\": 432\n                        },\n                        {\n                              \"x\": 221,\n                              \"y\": 435\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"drawer\",\n                  \"keyProb\": 100,\n                  \"value\": \"高偉\",\n                  \"valuePos\": [\n                        {\n                              \"x\": 680,\n                              \"y\": 819\n                        },\n                        {\n                              \"x\": 680,\n                              \"y\": 850\n                        },\n                        {\n                              \"x\": 627,\n                              \"y\": 850\n                        },\n                        {\n                              \"x\": 627,\n                              \"y\": 819\n                        }\n                  ],\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"recipient\",\n                  \"keyProb\": 100,\n                  \"value\": \"\",\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"remarks\",\n                  \"keyProb\": 100,\n                  \"value\": \"\",\n                  \"valueProb\": 100\n            },\n            {\n                  \"key\": \"invoiceDetails\",\n                  \"keyProb\": 100,\n                  \"value\": \"[{\\\"itemName\\\":\\\"餐飲費(fèi)\\\",\\\"unit\\\":\\\"\\\",\\\"quantity\\\":\\\"1\\\",\\\"unitPrice\\\":\\\"170.00\\\",\\\"amount\\\":\\\"170.00\\\"}]\",\n                  \"valueProb\": 100\n            }\n      ],\n      \"sliceRect\": {\n            \"x0\": 0,\n            \"y0\": 7,\n            \"x1\": 1416,\n            \"y1\": 0,\n            \"x2\": 1421,\n            \"y2\": 907,\n            \"x3\": 0,\n            \"y3\": 904\n      },\n      \"width\": 1437\n}",
  "Code": "noPermission",
  "Message": "You are not authorized to perform this operation."
}

錯誤碼

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

變更歷史

變更時間變更內(nèi)容概要操作
暫無變更歷史
上一篇: RecognizeNonTaxInvoice - 非稅收入發(fā)票識別 下一篇: RecognizeHotelConsume - 酒店流水識別