> For the complete documentation index, see [llms.txt](https://help.rbsgo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.rbsgo.com/masters/main-master-module/privileges/document-template.md).

# Document Template

A **Document Template** defines a predefined and standardised format used for generating system documents such as invoices, purchase orders, receipts, reports, and letters. It helps maintain consistency in layout, content, branding, and compliance across all generated documents.

## Steps to Create a Document Template

Step 1: Go to the **Main Menu** in the application and click **Settings**.

1. Under Settings, select **Privileges**.
2. Click on **Document Template**.

This will open the Document Template configuration screen.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-da231851833f4f8260924e986c316009b5c5d44d%2Fa3.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 2: In the Template section, choose the required template type from the available options.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-d05d4e8f7b69dd7d4918dfa2e24fb46011270636%2Fa3.1.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 3: After selecting the template, choose the appropriate **Module**.

* Select the module based on your requirement.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-62d0231588c6c6e6f2b77be161d613af815a3d5b%2Fa3.2.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 4: Click on the **Document Type** field.

1. Choose the required document from the list available.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-e93c52ae70118344a471c3cf947c092cfe3b5855%2Fa3.3.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 5: In the **Template Name** field, enter a unique and meaningful name for the new template.

* Using a proper naming convention helps identify templates easily in the future.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-58898ffeb4a6b53ad484a11ba94d9b32885bbc01%2Fa3.4.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 6: Click on the **Parent Template** field.

1. Select an existing template from the list.

* The parent template acts as the base structure for the new template. It helps inherit predefined settings, layouts, and formatting.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-9cd32f10bf292dad10e3e4cd2da66b3fa6aff731%2Fa3.5.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 7: Select the **Default Property** option if you want this template to be used as the default document template.

<figure><img src="https://4060887901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ktZUs9CJyincVDXEmrM%2Fuploads%2Fgit-blob-734feb5b11dcbee4db69a33e1c979ff90dd1dec8%2Fa3.6.png?alt=media" alt=""><figcaption></figcaption></figure>

Step 8: After entering all required details, review the information carefully.

1. Click on the **Save** button to create the new document template.


---

# 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://help.rbsgo.com/masters/main-master-module/privileges/document-template.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.
