> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fields

> What a field is and the three properties every field has.

A **field** is one piece of information inside a [schema](/concepts/schemas).

Examples:

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

Fields drive data quality. Clear fields give better results and less review.

<img src="https://mintcdn.com/anyformat/pilIFdJ4MJRok4mo/images/fields.webp?fit=max&auto=format&n=pilIFdJ4MJRok4mo&q=85&s=f826de2627851bb0b4c864b3f5ffaf5e" alt="Fields panel" width="2400" height="1200" data-path="images/fields.webp" />

***

## The three field properties

Every field has at least three properties.

<AccordionGroup>
  <Accordion title="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.
  </Accordion>

  <Accordion title="Field type">
    The kind of value anyformat expects: text, date, number, and others.

    The type improves consistency, validation, and output quality. [Field types](/concepts/field-types) has the full list.
  </Accordion>

  <Accordion title="Instructions">
    Plain-English guidance for how to extract the value.

    Example: "Extract the final total including taxes. Ignore subtotals."

    [Instructions](/concepts/instructions) shows how to write a good one.
  </Accordion>
</AccordionGroup>

<img src="https://mintcdn.com/anyformat/pilIFdJ4MJRok4mo/images/field-properties.webp?fit=max&auto=format&n=pilIFdJ4MJRok4mo&q=85&s=a61384b974ab95156e2bb20adfb3af8a" alt="Field properties" width="2400" height="1200" data-path="images/field-properties.webp" />

***

## Field source: extraction vs. smart lookup

Every field also has a **source**. It tells anyformat where the value comes from. By default anyformat reads the value off the document. The other source matches the value against a reference file you attach. [Smart Lookup](/guides/nodes/smart-lookup) covers how that works and when to use it.

***

## What's next?

<CardGroup cols={2}>
  <Card title="Field types" icon="diagram-project" href="/concepts/field-types">
    The full list: text, date, number, object, enum, multi-select
  </Card>

  <Card title="Instructions" icon="message-lines" href="/concepts/instructions">
    Write effective extraction instructions
  </Card>

  <Card title="Smart Lookup" icon="magnifying-glass" href="/guides/nodes/smart-lookup">
    Enrich extracted values against a reference file
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.