# Receipt OCR to JSON Tool

**Use case:** 

Turn a photographed store receipt into JSON with merchant, date, items, tax and total for expense tracking and audits.

## Input

```json
{
  "imageUrls": [
    "https://ocr.space/Content/Images/receipt-ocr-original.jpg"
  ],
  "fields": [
    "merchant",
    "date",
    "total",
    "tax"
  ]
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "link"
  },
  "documentType": {
    "label": "Document type",
    "format": "text"
  },
  "extractedText": {
    "label": "Extracted text",
    "format": "text"
  },
  "fields": {
    "label": "Fields",
    "format": "object"
  },
  "observedAt": {
    "label": "Read at",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Document OCR to Structured JSON](https://apify.com/scrapers_lat/document-ocr-json-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/document-ocr-json-tool) to learn more, explore other use cases, and run it yourself.