> 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/document-sub-types.md).

# 文档子类型

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-5ccd52f91ebabf597e994f7909ebc684d70aeb15%2FBildschirmfoto%202024-05-21%20um%2010.16.14.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-f8aa5f5fae8bb6f7147c5bea3015eb7ac953f562%2FBildschirmfoto%202024-05-08%20um%2008.54.08.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 概览

文档子类型本质上是主要文档类型的专用版本。例如，在主要文档类型“发票”下，可能会有“标准发票”、“形式发票”和“贷项发票”等子类型，它们各自对数据的要求或处理规则略有不同。

**子类型之所以重要，有以下几个原因：**

* \*\*特定处理要求：\*\*同一文档类型的不同变体通常需要不同的处理要求。例如，根据公司的内部政策或外部合作伙伴的要求，不同类型的发票可能需要特定字段、审批工作流或验证规则。
* \*\*组织级自定义：\*\*使用子类型可让组织根据自身需求自定义文档处理流程。组织可以创建与各自业务流程精确匹配的子类型，而不必依赖可能无法满足所有要求的通用解决方案。
* \*\*结构清晰：\*\*使用子类型可以让文档管理结构更加清晰。用户可以更轻松地浏览文档类型的不同变体，并找到所需的具体信息，而不受无关数据或选项的干扰。
* \*\*一致性与准确性：\*\*子类型有助于确保文档采集和处理的一致性与准确性。通过标准化子类型，组织可以确保采集所有相关信息，并以统一的方式组织数据。
* \*\*高效处理：\*\*使用子类型可以提高文档处理效率，因为用户可以使用针对特定文档类型优化的预构建模板和工作流。这能减少人工操作，并最大限度地降低流程中的错误或延迟。

DocBits 中的文档子类型可更灵活地管理文档变体，并根据需要进行定制，从而提高效率、准确性和适应性。它们提供了一种强大的方式，帮助组织管理文档处理的复杂性并提升工作效率。

#### 主要功能和选项

1. **子类型列表**：
   * 每一行代表一个主要文档类型的子类型。
   * 包含子类型名称以及可对其执行的一组操作。
2. **操作**：

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-428653ab07ebcd69510b80b65681b3a925150eea%2Fimage%20(193).png?alt=media" alt=""><figcaption></figcaption></figure>

* **字段**：配置子类型包含哪些数据字段，以及如何管理这些字段。
* **编辑布局**：修改此子类型的信息显示和录入方式。
* **脚本**：附加或编辑脚本，以便在处理此子类型的文档时执行特定操作。
* **复制**：复制现有子类型配置，作为创建新子类型的基础。
* \*\*编辑文档子类型：\*\*编辑子类型的名称或标题。
* **删除**：移除不再需要的子类型。

**添加新子类型**：

* “+ 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/document-sub-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.
