Turn digital receipt PDFs into structured JSON — store, items, totals, payment method — in one API call. Built for text-based PDF receipts, not photos of paper receipts.
Works on text-based PDF receipts (email/export receipts). Does not OCR photographs of paper receipts.
Returned as clean JSON, with a confidence score, in one API call.
Where the purchase happened and when.
What was paid, with currency.
How it was paid, when stated on the receipt.
Tax and tip amounts, when present.
Array of {name, price} for each purchased item.
No SDK required — plain REST, works from any language.
API calls run on https://api.ai2json.com; the website and dashboard stay on ai2json.com.
# Parse a digital receipt PDF
curl -X POST https://api.ai2json.com/api/v1/parse/document \
-H "X-API-Key: dp_your_api_key" \
-F "file=@receipt.pdf"
# {"doc_type":"receipt","confidence":0.95,"fields":{
# "store_name":"Online Store Ltd","date":"2026-10-03",
# "total_amount":64.90,"currency":"EUR","payment_method":"Visa ...1234",
# "items":[{"name":"Wireless Mouse","price":24.90},{"name":"USB-C Cable","price":9.00}],
# "tax":5.40,"tip":null}}Start free. Upgrade when you need more.
Get your API key and parse your first document in under a minute.
Get Free API Key →