LINE Receipt OCR-3.506.1400
Table of Contents 1. Parameter setting
Select a receipt image or enter the path.
Select the language in which receipts are written. *Currently only 'ja' (Japanese) is available.
Select the output item. Normally, Return Value is returned in JSON, but if you make a selection, only the value (text) of the selected item will be returned.
"Store Name": Store name Store Branch Name Store Telephone Items List": List of items The items list includes product name, product unit price, number of items, and product price. If there is no item unit price, only the item name and price will be listed. Subtotal": subtotal Total Price": Total price Tax": Consumption tax Payment Date Payment Time Payment Method Payment Price: Amount of payment If there are multiple "Items", they will be output in a new line. The order of output does not change, so the items are output in order from the top. 2. Return Value
3. Example
Read image Return Value: { "result": { "storeInfo": { "name": { "text": "サイゼリヤ" }, "branch": { "text": "我孫子新田" }, "tel": { "text": "04-7181-0350", "formatted": { "value": "0471810350" } } }, "items": [ { "name": { "text": "チョリソー" }, "num": { "text": "02613" }, "priceInfo": { "price": { "text": "¥400", "formatted": { "value": "400" } } } }, { "name": { "text": "アスパラガスの温サラダ" }, "num": { "text": "04144" }, "priceInfo": { "price": { "text": "¥300", "formatted": { "value": "300" } } } }, { "name": { "text": "ラム肉のラグースパゲッティ" }, "num": { "text": "04147" }, "priceInfo": { "price": { "text": "¥600", "formatted": { "value": "600" } } } }, { "name": { "text": "バッファローモッツアレラのピサ" }, "num": { "text": "02645" }, "priceInfo": { "price": { "text": "¥500", "formatted": { "value": "500" } } } } ], "subTotal": { "price": [ { "text": "¥1,800", "formatted": { "value": "1800" } } ] }, "totalPrice": { "price": { "text": "¥1,800", "formatted": { "value": "1800" } }, "tax": { "text": "¥163", "formatted": { "value": "163" } } }, "paymentInfo": { "date": { "text": "2021/03/27(土)", "formatted": { "year": "2021", "month": "03", "day": "27" } }, "time": { "text": "12: 09", "formatted": { "hour": "12", "minute": "09", "second": "00" } }, "payment": [ { "method": { "text": "交通系IC" }, "price": { "text": "¥1,800", "formatted": { "value": "1800" } } } ] } }, "meta": {} } (*Formatted for clarity.) |