APIExtraction

Extract data from PDFs and images

Run OCR on receipts, invoices, and documents—PDF or image—and get clean, structured JSON you can plug straight into your existing workflows.

Reliable field extraction

Convert unstructured receipt and invoice data into clean, structured JSON that your systems can consume.

Structured JSON output
Extract key fields from receipts and invoices into clean, structured JSON.
Receipt & invoice focus
Optimized for common receipt and invoice formats with reliable field detection.
Fast processing
Quick extraction with real-time processing for immediate results.
API integration
Simple REST API with predictable request/response patterns.

How extraction works

Three simple steps to convert documents into structured data.

1
Upload
Send a receipt or invoice PDF/image via the API.
2
Extract
Our system identifies and parses key fields automatically.
3
Receive
Get structured JSON ready for your downstream systems.

Common extracted fields

Typical fields extracted from receipts and invoices. The exact schema provided with your account should be treated as the source of truth.

document_type
merchant_name
total_amount
currency
purchase_date
line_items
tax_amount
subtotal

The response follows a stable JSON schema for receipts and invoices. Contact us if you'd like the full schema definition.

API endpoint

Use the parse endpoint to get structured data from your documents.

POST /v1/parse/receipt
Extract structured fields from receipts and invoices.

Input: Image file (JPEG, PNG). Convert PDFs to images first.

Output: JSON with extracted fields

Use case: Convert documents to structured data

Preprocess with Deskew API
Ready to structure your document data?
See how extraction can automate your receipt and invoice processing.