> 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/accounts-receivable/setting-up-reason-codes.md).

# AR reason codes

This topic describes how to configure reason codes to apply for changes to AR account ledger items (such as adjustments and reversals of finance charges).

1. Click **Setup**.
2. Expand **Customer**.
3. Expand **Account Receivables**.
4. Click **Reason Codes**.
5. 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**.

6. 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 that identifies the reason code.</td></tr><tr><td valign="top">Name</td><td valign="top">A short description of the AR credit/debit adjustment type.</td></tr><tr><td valign="top">Inactive</td><td valign="top">Select this option to deactivate the reason code.</td></tr><tr><td valign="top">Type</td><td valign="top"><p>Select one of the following:</p><ul><li>Adjustment</li><li>Hold</li><li>Reversal</li><li>Unapply</li></ul></td></tr></tbody></table>

</details>

7. 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/accounts-receivable/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.
