> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/store-manager/configure-pos-and-store-manager/merchandising/setting-up-reason-codes.md).

# Reason codes

This topic describes how to configure reason codes.

Reason codes identify specific actions performed at the register, e.g., no sales, discounts, or returns. Reason codes are not required, but they are recommended.

1. Click **Setup**.
2. Expand **Merchandising**.
3. Click **Reason Codes**.
4. Do one of the following:

* To add a new reason code, click **New**.
* To edit an existing reason code, select it and click **Edit**.
* To copy an existing reason code, select it and click **Copy**. You must enter a new **Description** and **Code**, but all other values are copied.

5. Enter information about the reason code.

<details>

<summary><img src="https://2921455087-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2FpopbobAPoZyocahbnRhK%2FMORE%20INFO.png?alt=media&amp;token=b6405f3b-3d08-43d4-8bb4-9e98e4de32b3" alt="" data-size="original"></summary>

<table><thead><tr><th width="250.4444580078125" valign="top">Field</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top">Code</td><td valign="top">A unique code, e.g., a number or abbreviation, that identifies the reason code.</td></tr><tr><td valign="top">Description</td><td valign="top">A description of the reason code.</td></tr><tr><td valign="top">Type</td><td valign="top">The type of reason code, e.g., No Sale.</td></tr><tr><td valign="top">Start Date</td><td valign="top">If desired, select a start date for the reason code. Leave the field blank if you want the reason code to be active immediately.</td></tr><tr><td valign="top">End Date</td><td valign="top">If desired, select an end date for the reason code. Leave the field blank if you do not want to set an end date.</td></tr></tbody></table>

</details>

6. Click **Save And Close**.


---

# 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.rmhpos.com/store-manager/configure-pos-and-store-manager/merchandising/setting-up-reason-codes.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.
