Use case

Power an Internal Finance Dashboard with the DocuParse API

Feed structured document data — vendor, totals, tax, currency, and line items — into your own dashboards and spend analytics. Rule-based parsing reads every field, then an AI model checks the result and corrects what it finds wrong before you get it.
97%

97% field-level accuracy

Tested on 500+ real receipts and invoices

Every result also carries confidence and needs_review.
How we test →

The workflow

1

Collect

Documents come in from teams, inboxes, or uploads.

2

Extract

Get named fields and line items back as JSON.

3

Aggregate

Group spend by vendor, currency, and time period.

4

Visualize

Render totals, tax, and trends in your own dashboard.

Code

Submit the file, then fetch the JSON.

Every sample submits the file, then fetches the result until its status is completed or failed. On Starter and Pro, a webhook can deliver it instead.

# 1. Submit the document
curl -X POST https://docuparseapi.com/api/v1/extract \
  -H "Authorization: Bearer $DOCUPARSE_API_KEY" \
  -F "file=@document.pdf"
# → {"success": true, "document_id": "<id>", "status": "queued"}

# 2. Fetch the result (repeat until "status" is "completed" or "failed")
curl https://docuparseapi.com/api/v1/documents/<id> \
  -H "Authorization: Bearer $DOCUPARSE_API_KEY"

Fields you get

merchantinvoice_iddatecurrencysubtotaltaxtotalline_items[]confidence

Try it on your own document

Upload an invoice or receipt and see the structured JSON. No signup needed.

↑

Drop your receipt or invoice here, or click to choose

PDF · JPG · PNG · up to 10 pages · one document

Or try a sample: sample receipt · sample invoice

Sign up to use the API, bulk uploads and the spend dashboard.

How the extraction works
  1. Read — the document is converted to text with OCR (for images) or parsed directly (for digital PDFs).
  2. Parse — deterministic rules pull out each field and line item and normalize dates and amounts.
  3. Check — the result is scored for confidence: totals are reconciled (subtotal + tax = total), required fields are verified, and formats are validated.
  4. Review — an AI model then reviews every document and corrects the fields it finds wrong, looking hardest at the ones the rules were unsure of.

Every response includes a confidence score and a needs_review flag, so you always know which results to trust and which to double-check.

Try it on your own document.

20 documents a month free, with full API access. No credit card. Webhooks on Starter and Pro.

Try it on your document — no sign-up