Extract vendor details, line items, totals, dates, and tax data from any invoice PDF. Clean, structured JSON output. Built for developers who need reliable document parsing.
# Extract data from an invoice PDF
curl -X POST https://ip-172-31-40-170.tail7d7f8a.ts.net/api/extract \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@invoice.pdf"
# Response
{
"success": true,
"data": {
"vendor": { "name": "Acme Corp", "address": "123 Business St" },
"invoice_number": "INV-2026-0042",
"invoice_date": "2026-04-01",
"due_date": "2026-05-01",
"line_items": [
{ "description": "Widget Pro", "qty": 10, "unit_price": 45.00, "amount": 450.00 },
{ "description": "Setup Fee", "qty": 1, "unit_price": 150.00, "amount": 150.00 }
],
"subtotal": 600.00,
"tax": 120.00,
"total": 720.00,
"currency": "GBP"
}
}
Handles scanned PDFs, digital PDFs, purchase orders, receipts, and credit notes. OCR built in.
Most invoices parsed in under 3 seconds. Batch endpoint available for bulk processing.
Files are processed in memory and deleted immediately. No data stored. HTTPS only.
AI-powered extraction with confidence scores on every field. Falls back to OCR for scanned docs.
Get notified when async batch jobs complete. Configure webhook URLs in your dashboard.
Get JSON, CSV, or Excel output. Map directly to QuickBooks, Xero, or Sage formats.
Every invoice returns structured, validated data
Clear, actionable error responses
{
"error": "API key required",
"hint": "Pass your key as X-API-Key header",
"docs": "https://useful-patch.com/api"
}
{
"error": "Rate limit exceeded",
"retry_after": 30,
"limit": "100/min"
}
Start free. Scale when you're ready. No surprise charges.
For testing and evaluation
No credit card required
For apps and integrations
Cancel anytime
For high-volume processing
Cancel anytime
Any PDF invoice — digital (text-based) or scanned (image-based). We use OCR for scanned documents. We also handle purchase orders, credit notes, and receipts.
97%+ accuracy on standard invoice formats. Every response includes confidence scores per field so you can flag low-confidence extractions for manual review.
Files are processed in memory and deleted immediately after extraction. We never store your documents. All transfers use HTTPS encryption.
Yes — the Free tier gives you 10 extractions per month with no credit card required. You can also try our browser-based invoice tool instantly.
After subscribing, you'll receive your API key via email within minutes. Free keys are issued within 1 hour during business hours.
Contact us at api@useful-patch.com for enterprise pricing. We offer volume discounts and custom SLAs.
Get your API key and make your first extraction call in under 5 minutes. No complex setup required.