Receipt OCR API
Turn receipts into consistent records for expense and bookkeeping workflows. Edit the template’s fields and validation rules, then send documents through the API.
Use Receipt ParserExample output
This sample shows a selection of extracted data. Your API response uses the field names configured in your parser.
Supports PDFs, images (PNG, JPG, JPEG and WEBP), DOCX documents and Excel spreadsheets. Test your own samples to check the results for your documents and languages.
See the quickstart{
"amounts": {
"subtotal": 8,
"tax_total": 0.8,
"total_amount": 8.8
},
"line_items": [
{
"description": "Flat white",
"quantity": 1,
"unit_price": 4.5,
"line_total": 4.5
},
{
"description": "Croissant",
"quantity": 1,
"unit_price": 3.5,
"line_total": 3.5
}
],
"merchant": {
"merchant_name": "Corner Coffee",
"merchant_city": "New York"
},
"transaction": {
"currency": "USD",
"receipt_type": "cafe",
"transaction_date": "2026-09-12",
"transaction_time": "09:42"
}
}Key fields
A preview of the template’s main fields and checks.
| FIELD | TYPE | EXAMPLE | VALIDATION |
|---|---|---|---|
| Merchant → Merchant Name | string | The Spice Route Kitchen | Required |
| Transaction → Receipt number | string | RCPT-2026-118872 | — |
| Transaction → Transaction Date | string | 2026-09-18 | Required |
| Transaction → Receipt Type | string | restaurant | Required |
| Transaction → Currency | string | INR | Required |
| Line items | array | Purchased items | — |
| Payment → Payment Method | string | card | — |
| Amounts → Subtotal | number | 1160 | — |
| Amounts → Tax Total | number | 55 | — |
| Amounts → Total Amount | number | 1260 | Required |
API example
curl -X POST \
"https://api.simplyparse.com/dapi/v1/parser/YOUR_PARSER_SLUG/parse" \
-H "Authorization: Token YOUR_API_TOKEN" \
-F "file=@receipt.pdf"{
"status": "success",
"code": "document_processed",
"message": "Document processed successfully",
"data": [
{
"document_id": "example-document",
"status": "completed",
"is_valid": true,
"parsed_data": {
"amounts": {
"subtotal": 8,
"tax_total": 0.8,
"total_amount": 8.8
},
"line_items": [
{
"description": "Flat white",
"quantity": 1,
"unit_price": 4.5,
"line_total": 4.5
},
{
"description": "Croissant",
"quantity": 1,
"unit_price": 3.5,
"line_total": 3.5
}
],
"merchant": {
"merchant_name": "Corner Coffee",
"merchant_city": "New York"
},
"transaction": {
"currency": "USD",
"receipt_type": "cafe",
"transaction_date": "2026-09-12",
"transaction_time": "09:42"
}
},
"validation_errors": []
}
]
}Can I customise the Receipt Parser?
Yes. You define the field names, types, nested objects and arrays. Published templates are starting points that become private, editable copies in your account.
Can I extract GST information from receipts?
Yes. The India Extension includes merchant and buyer GSTINs, buyer name, HSN/SAC and CGST, SGST and IGST totals. Both GSTIN fields have format patterns configured.
Which receipt-specific fields are included?
Alongside merchant, payment, transaction and amount fields, the template includes hotel check-in and check-out dates, nights, travel locations and distance, and fuel type, volume and rate. These fields are optional and depend on what the document contains.
Which file formats can I use?
SimplyParse accepts PDFs, images (PNG, JPG, JPEG and WEBP), DOCX documents and Excel spreadsheets. Choose a template or define your own schema to extract structured JSON. Your parser also has a configurable maximum page limit.
How does billing work?
Your first 100 pages are free. Purchase-volume rates are $0.07 / ₹6 per page for Starter, $0.06 / ₹5 for Growth and $0.05 / ₹4 for Scale. Add prepaid credits from $10 or ₹500; credits remain valid for 3 months. Failed processing is not charged. Review your applicable rate in the app.
Try your first
document.
Choose a template, upload a document and review the JSON.
Use the receipt template 100 free pages. No card required.