> 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/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/creating-a-new-sub-type.md).

# 创建新的子类型

当某一类文档需要使用独立的字段设置、验证布局或脚本时，请创建文档子类型。你需要有权访问 **Settings → Document Types**。

## 1. 打开文档类型

打开 **Settings → Document Types**。在相关文档类型的卡片中，选择 **Document Sub Types**。以下示例使用 **Invoice**；请选择与你的文档相匹配的类型。卡片中的其他链接用于配置整个文档类型的设置。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-3e76059dd61059889727d6498fec408edb41d216%2Fdbdc163-document-types-en.png?alt=media" alt="英文 Document Types 设置中的 Invoice 卡片，包含 Document Sub Types 链接"><figcaption><p>打开要配置的文档类型的子类型。</p></figcaption></figure>

## 2. 新建子类型

在 **Document Sub Types** 页面中，选择 **+ New**。现有子类型会显示在列表中；三点 **Actions** 菜单适用于已有行。如果鼠标点击 **+ New** 按钮没有响应，请使用键盘将焦点移至该按钮，然后按 **Enter**。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-e2d4546cfbf0b4708951930a8c383b2e3ecfc91b%2Fnew-subtype-list-en.png?alt=media" alt="英文 Document Sub Types 列表，显示 New 按钮和一个合成示例子类型"><figcaption><p>文档测试组织中仅包含一个合成示例子类型。</p></figcaption></figure>

## 3. 命名并保存

使用字母和下划线输入 **Name**，然后输入描述性的 **Title**。这两个字段都是必填项。此截图中的名称仅为示例。选择 **Save** 创建子类型，或选择 **Cancel** 离开且不创建。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-01ecca3308d7a30606333b310d5a4f06ab89ba11%2Fnew-subtype-dialog-en.png?alt=media" alt="英文 Create New Sub Document Type 对话框，包含 Name、Title、Cancel 和 Save"><figcaption><p>创建时只需输入 Name 和 Title。</p></figcaption></figure>

保存后，新子类型会显示在列表中。要设置其字段、布局或脚本，请打开它的 **Actions** 菜单，并按照[配置子类型](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/configure-subtypes.md)中的说明操作。这些设置需要在创建后进行，而不是在 **+ New** 对话框中完成。


---

# 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/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/creating-a-new-sub-type.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.
