Convert Receipts to JSON

Upload a photo or PDF of a receipt and see the store, date, line items, VAT and total extracted in seconds. The same data is available as JSON through the WiseOCR API.

Upload a receipt

No sign-up needed. Drop a photo or PDF, or pick a sample, and see the data the API returns.

Your document
Drop a receipt or invoice hereor click to choose · JPG, PNG, WebP, TIFF or PDF up to 4 MB

No document at hand? Try a sample:

Response

The extracted data appears here.

This is what the API returns

A sample receipt and the data the WiseOCR API returns for it (each response also carries a small usage block with the credits used). Every document comes back in the same structure, so you map it into your database or app once.

{
  "data": {
    "vendor": "Northwind Retail LLC (Northwind Home & Garden)",
    "time": "2026-03-14T15:42",
    "currency": "USD",
    "country": "US",
    "taxNo": "12-3456789",
    "documentType": "receipt",
    "totalTax": "6.87",
    "taxDetails": [
      {
        "rate": "0.0825",
        "amount": "6.87"
      }
    ],
    "total": "90.09",
    "items": [
      {
        "name": "COTTON PILLOWCASE 20X30",
        "quantity": "2",
        "unitPrice": "12.99",
        "price": "25.98"
      },
      {
        "name": "MEMORY FOAM PILLOW",
        "quantity": "1",
        "unitPrice": "34.50",
        "price": "34.50"
      },
      {
        "name": "CERAMIC PLANT POT 6IN",
        "quantity": "1",
        "unitPrice": "9.99",
        "price": "9.99"
      },
      {
        "name": "SCENTED CANDLE LAVENDER",
        "quantity": "3",
        "unitPrice": "4.25",
        "price": "12.75"
      }
    ]
  }
}

One request is all it takes:

curl -X POST https://api.wiseocr.com/v1/file \
  -H "Authorization: $WISEOCR_API_KEY" \
  -F "file=@receipt.jpg"

Fields you get in the JSON

  • documentType - "receipt" or "invoice", detected automatically
  • vendor - store or merchant name
  • time - purchase date and time in ISO 8601
  • currency / country - ISO currency code and country of the document
  • taxNo - the seller's tax ID, when printed on the receipt
  • items[] - line items with quantity, unit price, discount and price
  • totalTax / taxDetails - tax amount and a breakdown per VAT rate
  • total - the amount actually paid

Amounts come back as plain decimal strings and dates in ISO format, regardless of how the receipt printed them. The reasoning behind every field, with edge cases like discounts and multi-page PDFs, is in our receipt & invoice JSON schema guide. Prefer no code? The same fields flow into 2,000+ apps through the Make.com integration and Zapier. Working in Claude or Cursor? Use the WiseOCR MCP server.

Working with invoices? See the invoice to JSON converter.

How receipt to JSON conversion works

  1. Step 1

    Upload a photo or PDF

    A phone photo of a paper receipt, a scan or a PDF e-receipt from your mailbox - no templates to set up.

  2. Step 2

    OCR reads the text, AI structures it

    WiseOCR recognises the text, checks that the document really is a receipt, and maps every value to a fixed field.

  3. Step 3

    Get the same JSON every time

    Every document comes back in one predictable shape, so the code that consumes it is written once - whatever the store, country or language.

Frequently asked questions

  • Yes. The demo calls the same endpoint as the API. The demo shows the exact JSON the API returns, like the example above.

  • JPG, PNG and other common image formats, and PDF files up to 5 pages. Phone photos work as long as the text is readable.

  • Yes. The same API detects the document type automatically, and invoices additionally return the invoice number and, when printed, net amounts per line. See the invoice to JSON converter for an invoice example.

  • Yes. The example above is a US receipt in USD, and Polish, German or any other receipts work the same way. WiseOCR returns the ISO currency code and country with every document, so you can process receipts from many countries in one pipeline.

  • Yes. The WiseOCR apps for Make and Zapier send the extracted fields to Google Sheets, accounting software and thousands of other apps without any code.

  • Yes. With the WiseOCR MCP server, Claude, Cursor and other MCP clients convert receipt photos, PDFs and whole folders to the same JSON, or save them to a CSV file, when you ask in plain words.

  • You pay per scanned page, from $0.03 per page on the largest credit pack. You can buy credits once or subscribe monthly - there is no minimum monthly fee.

Still have a question?

Email us and we'll help you get set up.

Email us

Your first receipt as JSON in under a minute

Drop a receipt or invoice into the demo, no sign-up needed. When you are ready, one API call does the same inside your app.

From $0.03 per page · No subscription required

POST /v1/file
$ curl -X POST https://api.wiseocr.com/v1/file \
-H "Authorization: $WISEOCR_API_KEY" \
-F "file=@receipt.jpg"
200 OK · 182 ms
{
"data": {
"vendor": "Northwind Retail LLC (Northwind Home & Garden)",
"time": "2026-03-14T15:42",
"items": … 4 items,
"total": "90.09",
"currency": "USD"
},
"usage": { "creditsUsed": 1 }
}

Prefer no code? Connect it in Make or Zapier.