1. Send a file
POST to /v1/extract with x-api-key or Authorization: Bearer YOUR_KEY.
POST a base64 file to the Invoice & Receipt Extract API and get structured data, validation checks, and meta in JSON.
POST to /v1/extract with x-api-key or Authorization: Bearer YOUR_KEY.
Returns data such as seller, buyer, VAT IDs, line items, VAT breakdown, totals, IBAN, and dates.
See passed checks and issues for line sums, VAT math, totals, IBAN checksum, VAT ID format, and dates.
curl -X POST https://fatura-api-lunafzai.pages.dev/v1/extract \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"file":"BASE64_FILE",
"mime":"application/pdf"
}'Also available: GET /v1/usage for calls left, GET /v1/schema, GET /v1/demo, OpenAPI at JSON and YAML. MCP server: /mcp with tool extract_invoice, pass the key as Authorization: Bearer.
Prepaid packs, one-time payment, valid for 12 months. Card payments via Stripe.
$9
For testing and low volume.
$49
For regular automation.
$199
For higher volume workloads.
After payment, the buyer lands on a page that shows the API key once.
Use x-api-key: YOUR_KEY or Authorization: Bearer YOUR_KEY.
application/pdf, image/png, image/jpeg, image/webp, and text/plain.
No. Files are processed in memory and not stored.
If a PDF is image-only, send each page as an image for best results.
Yes. Maximum file size is 8 MB per file.
POST /v1/extract.GET /v1/usage.AI-assisted extraction may contain errors. Review output before booking or payment. This service is not tax, legal, or accounting advice, and it is not an EN 16931 / XRechnung validation service. Support: [email protected]. Refunds: unused packs are refundable within 14 days on request to [email protected]; a refund disables the key.