Extract key information from receipt/invoice images and convert to custom JSON format using AI vision models
json· JSON result
Quick start
Call this tool from your code in three languages.
cURL
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/ai-image-to-receipt-json' \
-F 'file=@/path/to/imageFile.ext'# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/ai-image-to-receipt-json' \
-F 'imageFile=/path/to/file.ext' \
-F 'jsonFormat=输入自定义的JSON格式结构,例如:
{
"merchantName": "string or null",
"totalAmount": "number or null",
"date": "string (YYYY-MM-DD) or null",
"items": [
{
"name": "string or null",
"price": "number or null"
}
]
}'
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/ai-image-to-receipt-json
Parameters
Name
Type
Required
Description
imageFile
fileupload required
Yes
Supports receipt/invoice photos in common image formats such as JPG, PNG, WebP
jsonFormat
textarea
No
Leave empty to use default format, or enter custom JSON structure to specify fields to extract
File-type parameters must be uploaded first via POST /upload/ai-image-to-receipt-json, then the returned filePath is passed to the corresponding file field.