Categories

Receipt & Invoice OCR Recognition

Extract key information from receipt/invoice images and convert to custom JSON format using AI vision models

Intelligently recognize key information from receipt, invoice, and shopping receipt images, including merchant name, amount, date, item details, etc. Supports custom JSON output format to meet structured data needs in different scenarios. Default extracted fields include: merchant name, receipt number, date and time, total amount, tax amount, item list, payment method, tax ID, address and phone, etc. Custom JSON format example: ```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" } ] } ``` You can adjust field names and structure as needed, such as adding discount, serviceCharge, and other fields.

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: image/jpeg, image/png, image/webp

Supports receipt/invoice photos in common image formats such as JPG, PNG, WebP

Leave empty to use default format, or enter custom JSON structure to specify fields to extract

API Documentation

Request Endpoint

POST /en/api/tools/ai-image-to-receipt-json

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload 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 need to be uploaded first via POST /upload/ai-image-to-receipt-json to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-ai-image-to-receipt-json": {
      "name": "ai-image-to-receipt-json",
      "description": "Extract key information from receipt/invoice images and convert to custom JSON format using AI vision models",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=ai-image-to-receipt-json",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]