Quickstart
The InvoiceJet API turns any invoice (PDF, photo, or HTML) into verified structured data with a confidence rating on every field. Three requests from zero to extracted.
1. Create an API key
Sign in and open Developers → Create key. Keys look like ijk_live_… and are shown once. Check it works:
curl 'https://nzsktgwehyzltgagloox.supabase.co/functions/v1/api/v1/me' \
-H 'Authorization: Bearer $INVOICEJET_API_KEY'2. Extract an invoice
POST a document. With wait=true the request holds (typically 10–30s) and returns the finished extraction; without it you get a 202 back immediately and poll or use webhooks.
curl -X POST 'https://nzsktgwehyzltgagloox.supabase.co/functions/v1/api/v1/invoices?wait=true' \
-H 'Authorization: Bearer $INVOICEJET_API_KEY' \
-F 'file=@invoice.pdf'3. Read the result
Every field carries a confidence level (high / mid / low) from dual-model verification and deterministic validation. Clean invoices arrive auto_verified: true.
{
"id": "9b2f…", "object": "invoice", "status": "complete",
"auto_verified": true, "quality_score": 0.97,
"vendor_name": "Jetstream Supplies Co.",
"invoice_number": "INV-2026-0042",
"amount": 415.44, "currency": "USD",
"issued_at": "2026-06-24", "due_at": "2026-07-24",
"tax": 24.44,
"line_items": [
{ "description": "Thermal shipping labels (roll of 500)",
"quantity": 4, "unit_price": 28.5, "confidence": "high" }
],
"field_confidence": { "vendor": "high", "amount": "high", "…": "…" }
}Extracted invoices land in your InvoiceJet account like any other: review them in the app, export CSV/JSON, or query them with Invoice AI. Next: webhooks for completion events, or the full endpoint reference.