- Invoice number
- Issue date
- Total amount
- Vendor name

The three field properties
Every field has at least three properties.Field name
Field name
A human-readable label that still makes sense outside anyformat.Examples:
invoice_number, issue_date, total_amount.Use snake_case so the name is safe to use as a JSON key or column header.Field type
Field type
Tells anyformat what kind of value to expect (text, date, number, etc.).The type improves consistency, validation, and output quality. See Field types for the full list.
Instructions
Instructions
Plain-English guidance for how to extract the value.Example: “Extract the final total including taxes. Ignore subtotals.”See Instructions for how to write good ones.

Field source — extraction vs. smart lookup
Every field also has a source that tells anyformat where its value comes from:- Extraction (default) — the value is read directly from the document.
- Smart lookup — the value is resolved by matching the document against a reference file you attach (a CSV/catalog), instead of being read off the page. For example, extract a free-text
vendor_namefrom the document, then smart-lookup the canonicalvendor_idfrom your vendor catalog.
What’s next?
Field types
The full list of types — text, date, number, object, enum, multi-select
Instructions
Write effective extraction instructions
