Receipt & Invoice Extraction API

Receipt and Invoice Parsing APIfor Developers,SaaS Teams, and Automation Workflows

Extract structured JSON from receipts, invoices, PDFs, and scanned documents. Built for developers first, then extended for SaaS products, bookkeeping workflows, internal dashboards, and business automation.

Start with 20 documents/month and full API access. No credit card required.

Fast
Extraction for most supported documents
Auto recovery
For difficult files
4 formats
PDF, JPG, PNG, CSV
Free tier
No credit card
One API call

Document in. Structured JSON out.

No OCR pipelines. No template setup. No prompt engineering.

Input

Upload document

POST /api/v1/extract
Authorization: Bearer dex_...
Content-Type: multipart/form-data
file=@receipt.pdf
PDFJPGPNG
Extraction

Fields extracted automatically

Merchant
Total / subtotal / tax
Date / due date
Receipt ID / invoice ID
Payment method
Line items
Structured fields
Output

Structured JSON response

{
  "merchant": "Office Depot",
  "total": 45.50,
  "tax": 3.50,
  "date": "2026-04-26",
  "currency": "USD",
  "receipt_id": "R-10492",
  "payment_method": "Card",
  "line_items": [...]
}
Simple by design

How it works

Three steps from document to structured data

STEP 01

Upload your document

Send a receipt or invoice as PDF, PDF, JPG, PNG, or CSV 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 fallback status.

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://docuparseapi.com/api/v1/extract" \
  -H "Authorization: Bearer dex_your_api_key" \
  -F "file=@receipt.pdf"
Totals & taxes
Structured fields
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,
    "receipt_id": "R-10492",
    "payment_method": "Card",
    "line_items": [
      { "description": "Notebook", "quantity": 2, "unit_price": 10.00, "total": 20.00 }
    ]
  },
  "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.

Learn more →

Financial dashboard

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

Instant responses

Fast extraction for most supported documents.

Copy-paste snippets

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

Learn more →

Consistent JSON

Normalized output for key fields like merchant, totals, tax, dates, and line items.

Clear error codes

Typed error responses so your error handling is predictable.

Learn more →

Start extracting in minutes

Start with 20 documents/month and full API access. No credit card required.