> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/setup/document-types.md). Agents can also search and read this documentation through its [MCP server](https://docs.docbits.com/~gitbook/mcp).

# Document Types

Document types tell DocBits which kinds of documents your organisation works with. An administrator can find them under **Settings → Document Types** in the **Document Processing** section of the settings menu.

The page shows **Default Document Types**, which DocBits provides and you cannot delete, followed by **Custom Document Types** created for your organisation. Each type has its own card.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-b29532035a23225a1b8b889be95da6b125b8a5b8%2Fprior-u025-en.png?alt=media" alt="Default document types and links to their settings."><figcaption><p>Default document types and links to their settings.</p></figcaption></figure>

## What you can do on a card

| Control                | What it does                                                                                                                                                                                          |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Activate**           | Makes this document type available or unavailable in your organisation. A blue switch is on; a grey switch is off.                                                                                    |
| **Extraction**         | Chooses the extraction mode: **Flex** when on or **Fix** when off. It does not simply switch extraction on or off. Hover over the switch to see its current mode.                                     |
| **Settings** (gear)    | Opens **More Settings** for this type. Expand a category there to view its options. The categories depend on the document type.                                                                       |
| **Layouts**            | Opens the layout configuration. See [Layout Builder](https://docs.docbits.com/administration-and-setup/setup/document-types/layout-builder.md) for the next steps.                                    |
| **Fields**             | Opens the fields and recognition settings for this type. See [Fields](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/fields.md) for how to configure them. |
| **Tables**             | Opens the table column configuration for this type.                                                                                                                                                   |
| **Scripts**            | Opens processing scripts when this feature is available.                                                                                                                                              |
| **Model Training**     | Opens model training for this type.                                                                                                                                                                   |
| **E-Doc**              | Opens electronic document settings when the type supports them.                                                                                                                                       |
| **Document Sub Types** | Opens the subtypes for this document type.                                                                                                                                                            |

You may see more links, such as validation or transformation rules, depending on your organisation's features. Choose the link on the card for the type you want to change.

## Edit fields and recognition settings

Click **Fields** on a card to view its field groups. At the top of that page, **OCR** and **Match Score** set recognition thresholds, **Restore Defaults** resets those thresholds, and **Search by Name** finds a field. Use **Create new group** to organise fields and **Create field** within a group to add one. **Master Data Settings** opens the related master data configuration.

Each field row has controls such as **Required**, **Read Only**, **Hidden**, **Force Validation**, **Use AI**, OCR, Match Score and Formula. Review the [Fields guide](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/fields.md) before changing individual values. Click **Save Settings** on the Fields page to keep your changes.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-9b7eae0ccabf02fbe61e3107c641c85d34b78186%2Fs150-docbits_choose_column_type.png?alt=media" alt="Invoice document-type fields in English administration."><figcaption><p>Invoice document-type fields in English administration.</p></figcaption></figure>

## Create a custom document type

Scroll to **Custom Document Types** and click **+ New**. Follow [Adding/Editing Document Types](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/adding-editing-document-types.md) to set up the new type.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-a9bacf1581def64c35e0fc9055bd79b16d370e02%2Fprior-u026-en.png?alt=media" alt="Unsaved new-document-type form."><figcaption><p>Unsaved new-document-type form.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/administration-and-setup/setup/document-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
