Skip to content
All parsersEXPENSE MANAGEMENT

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 Parser
EXAMPLE OUTPUT

Example 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

Key fields

A preview of the template’s main fields and checks.

FIELDTYPEEXAMPLEVALIDATION
Merchant → Merchant NamestringThe Spice Route KitchenRequired
Transaction → Receipt numberstringRCPT-2026-118872—
Transaction → Transaction Datestring2026-09-18Required
Transaction → Receipt TypestringrestaurantRequired
Transaction → CurrencystringINRRequired
Line itemsarrayPurchased items—
Payment → Payment Methodstringcard—
Amounts → Subtotalnumber1160—
Amounts → Tax Totalnumber55—
Amounts → Total Amountnumber1260Required
Pay per page using prepaid credits. Check your parser’s rate in the app before processing.
CONNECT YOUR PARSER

API example

REQUEST
curl -X POST \
  "https://api.simplyparse.com/dapi/v1/parser/YOUR_PARSER_SLUG/parse" \
  -H "Authorization: Token YOUR_API_TOKEN" \
  -F "file=@receipt.pdf"
Replace the parser slug and token with yours.
EXAMPLE RESPONSE
{
  "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": []
    }
  ]
}
Standard HTTP requests. No SDK required.API quickstart
A FEW MORE DETAILS

Frequently asked
questions.

Read the quickstart
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 IT ON YOUR OWN DOCUMENTS

Try your first
document.

Choose a template, upload a document and review the JSON.

Use the receipt template 100 free pages. No card required.