Receipt & Invoice Extraction API

Turn receipts into financial intelligence

Upload a receipt or invoice. Get back clean, structured JSON — merchants, totals, taxes, line items. No OCR pipelines. No prompt engineering. One API call.

Free tier: 50 documents/month. No credit card required.

< 2s
Avg extraction time
95%+
Field accuracy
3 formats
PDF, JPG, PNG
Free tier
No credit card
Simple by design

How it works

Three steps from document to structured data

STEP 01

Upload your document

Send a receipt or invoice as JPG, PNG, or PDF using a simple multipart POST request.

STEP 02

Extraction runs instantly

The API validates your file, processes it through the extraction pipeline, and normalizes the output.

STEP 03

Receive clean JSON

Get structured data including merchant, date, totals, line items, and confidence scores.

One API call

Send a file. Get structured data.

No parsing, no layout detection, no regex chains. Just send your file and receive clean JSON with every financial field extracted and normalized.

curl -X POST "https://api.docuparse.com/api/v1/extract" \
  -H "Authorization: Bearer dex_your_api_key" \
  -F "file=@receipt.pdf"
Totals & taxes
Confidence scores
Line items

Response

{
  "success": true,
  "document_id": "doc_clx7abc123",
  "document_type": "receipt",
  "data": {
    "merchant": "Office Depot",
    "date": "2026-04-26",
    "currency": "USD",
    "subtotal": 42.00,
    "tax": 3.50,
    "total": 45.50,
    "category": "office_supplies",
    "line_items": [
      { "description": "Notebook", "quantity": 2, "unit_price": 10.00, "total": 20.00 }
    ]
  },
  "confidence": { "overall": 0.91, "merchant": 0.88, "total": 0.97, "date": 0.86 },
  "processing_time_ms": 1280
}
Built for teams

Built for developers and product teams

S

SaaS Founders

Building expense, accounting, or bookkeeping tools that need document ingestion.

D

Developers

Skip OCR pipelines. Get extraction as an API call in your existing stack.

F

Finance Teams

Automate receipt processing and invoice data entry for your team.

A

Agencies

Process batches of business documents for clients without custom infrastructure.

Feature-rich

Everything you need from day one

Secure API keys

Keys are hashed and stored securely. Raw key shown only once.

Financial dashboard

See total spend, vendors, categories, and trends from your extracted documents.

Instant responses

Typical extraction in under 2 seconds for most document types.

Copy-paste snippets

cURL, Python, Node.js, and Next.js examples in the docs.

Consistent JSON

Normalized output with confidence scores for every field extracted.

Clear error codes

Typed error responses so your error handling is predictable.

Start extracting in minutes

Free tier. No credit card. 50 documents/month.