OCR Receipt API
POSThttps://ocrreceipt.infer.visai.ai/predict
Header
X-API-Key string required
Your API key
multipart/form-data
form-data body
Request Body
- files Filerequired
Receipt image files in a form of multi-part form data using the key name files.
Responses
- 200
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
object
filename string
Name of the file
status string
success
| failed
Status of request
result object
shop_tax_id string
The extracted shop tax ID from the receipt. Return null if not found.
grand_total string
The grand total of the receipt purchase with VAT included.
receipt_id string
A unique identifier of the receipt.
receipt_date string
A raw extracted date string representation from the receipt.
receipt_time string
A raw extracted time string representation from the receipt.
receipt_timestamp string
A formatted date time in ISO format.
[
{
"filename": "filename.jpg",
"status": "success",
"result": {
"shop_tax_id": "0101111000111",
"grand_total": "1234.0",
"receipt_id": "E000000000A1234",
"receipt_date": "31-12-2566",
"receipt_time": "19:00",
"receipt_timestamp": "2023-12-31T19:00:00+00:00"
}
}
]
Loading...