This example demonstrates how to extract structured data from scanned invoices. This is useful if your system accepts invoice data and your source files are pictures / scans or PDF files.
invoice-extractor.json
Show Invoice Schema
simple
simple
strategy using a model with a large context window, for example google/gemini-2.0-flash
.
google/gemini-2.0-flash
google/gemini-2.0-flash-lite
if you want to save some costs.
75k
true
false
true
false
Receipt photo by: kaboompics.com