file_urlstringRequiredPDF, PNG or JPG, up to 50 MB. Or send base64 in file
pagesstringOptionalPage range such as 1-2. Billed per page
fieldsarrayOptionalLimit output to these fields. Defaults to the full invoice schema
confidence_floornumberOptionalBelow this, fields are flagged, or routed to premium when engine is auto
Output
Not run yet
Run the tool to see the extracted invoice here.
Shortcut curl https://api.orrerie.ai/v1/tools/extract.invoice/execute \
-H "Authorization: Bearer $ORRERIE_KEY" \
-H "Content-Type: application/json" \
-d '{"arguments":{"file_url":"https://files.orrerie.ai/u/nwl/inv_2026_11_4471.pdf","pages":"1-2"}}' Auth and routing
Fetch file
OCR, 2 pages
Qwen3 4B, JSON grammar
Validate totals
Orrerie overhead41 ms of 3.86 s