Invoice extraction
Turn an invoice into structured fields.
POST /v1/invoice-extraction
What it does
Send a link to an invoice. Get back the vendor, invoice number, date, currency and total as structured fields.
Input
document_urlstring- Link to a PDF or image of the invoice.
Output
vendorstring- Name of the issuer.
invoice_numberstring- Number printed on the invoice.
datestring- Issue date, as YYYY-MM-DD.
currencystring- ISO 4217 currency code.
totalnumber- Total amount due.
Sample request
curl https://api.focusllm.com/v1/invoice-extraction \
-H "Authorization: Bearer $FOCUSLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document_url": "https://example.com/invoice-1042.pdf"
}'{
"vendor": "Example Supplies Ltd",
"invoice_number": "1042",
"date": "2026-10-31",
"currency": "EUR",
"total": 1280.5
}Price
$0.02 per successful call
Sample price. Paid from prepaid credits.
Get an API key