⚡ API v2.1 — 99.9% uptime

Invoice PDF → structured JSON
in one API call

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.

Get API Key → View Docs
POST /extract
# 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"
  }
}
📄

Any invoice format

Handles scanned PDFs, digital PDFs, purchase orders, receipts, and credit notes. OCR built in.

Sub-5s processing

Most invoices parsed in under 3 seconds. Batch endpoint available for bulk processing.

🔒

SOC 2 secure

Files are processed in memory and deleted immediately. No data stored. HTTPS only.

🎯

97%+ accuracy

AI-powered extraction with confidence scores on every field. Falls back to OCR for scanned docs.

🔗

Webhook support

Get notified when async batch jobs complete. Configure webhook URLs in your dashboard.

📊

Multiple outputs

Get JSON, CSV, or Excel output. Map directly to QuickBooks, Xero, or Sage formats.

Extracted fields

Every invoice returns structured, validated data

  • vendor.name string
  • vendor.address string | null
  • vendor.tax_id string | null
  • invoice_number string
  • invoice_date ISO 8601 date
  • due_date ISO 8601 date | null
  • po_number string | null
  • line_items[] array
  • line_items[].description string
  • line_items[].quantity number
  • line_items[].unit_price number
  • line_items[].amount number
  • subtotal number
  • tax number
  • total number
  • currency ISO 4217 code

Error handling

Clear, actionable error responses

HTTP 401
{
  "error": "API key required",
  "hint": "Pass your key as X-API-Key header",
  "docs": "https://useful-patch.com/api"
}

HTTP 429
{
  "error": "Rate limit exceeded",
  "retry_after": 30,
  "limit": "100/min"
}

HTTP status codes

  • 200 Success
  • 400 Invalid PDF or bad request
  • 401 Missing API key
  • 403 Invalid API key
  • 413 File too large (max 10MB)
  • 429 Rate limit exceeded
  • 500 Server error

Simple, predictable pricing

Start free. Scale when you're ready. No surprise charges.

Free

For testing and evaluation

£0 /mo

No credit card required

  • 10 extractions per month
  • Single file upload
  • JSON output
  • Community support
  • API key via email

Business

For high-volume processing

£99 /mo

Cancel anytime

  • 1,000 extractions per month
  • Batch upload (up to 50 files)
  • JSON + CSV + Excel output
  • Priority email support (4h SLA)
  • Webhook notifications
  • Custom field mapping
  • 99.9% uptime SLA
Subscribe — £99/mo →

Questions

What invoice formats do you support?

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.

How accurate is the extraction?

97%+ accuracy on standard invoice formats. Every response includes confidence scores per field so you can flag low-confidence extractions for manual review.

What happens to my data?

Files are processed in memory and deleted immediately after extraction. We never store your documents. All transfers use HTTPS encryption.

Can I try it before buying?

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.

How do I get my API key?

After subscribing, you'll receive your API key via email within minutes. Free keys are issued within 1 hour during business hours.

What if I need more than 1,000 extractions?

Contact us at api@useful-patch.com for enterprise pricing. We offer volume discounts and custom SLAs.

Start extracting in minutes

Get your API key and make your first extraction call in under 5 minutes. No complex setup required.