> 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/es/store-manager/configure-pos-and-store-manager/merchandising/setting-up-reason-codes.md).

# Códigos de motivo

Este tema describe cómo configurar códigos de motivo.

Los códigos de motivo identifican acciones específicas realizadas en la caja, por ejemplo, sin ventas, descuentos o devoluciones. Los códigos de motivo no son obligatorios, pero se recomiendan.

1. Haga clic en **Configuración**.
2. Expandir **Mercadotecnia**.
3. Haga clic en **Códigos de motivo**.
4. Realice una de las siguientes acciones:

* Para agregar un nuevo código de motivo, haga clic en **Nuevo**.
* Para editar un código de motivo existente, selecciónelo y haga clic en **Editar**.
* Para copiar un código de motivo existente, selecciónelo y haga clic en **Copiar**. Debe ingresar un nuevo **Descripción** y **Código**, pero todos los demás valores se copian.

5. Introduzca información sobre el código de motivo.

<details>

<summary><img src="https://1556792658-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">Campo</th><th valign="top">Descripción</th></tr></thead><tbody><tr><td valign="top">Código</td><td valign="top">Un código único, por ejemplo, un número o una abreviatura, que identifica el código de motivo.</td></tr><tr><td valign="top">Descripción</td><td valign="top">Una descripción del código de motivo.</td></tr><tr><td valign="top">Tipo</td><td valign="top">El tipo de código de motivo, por ejemplo, Sin venta.</td></tr><tr><td valign="top">Fecha de inicio</td><td valign="top">Si lo desea, seleccione una fecha de inicio para el código de motivo. Deje el campo en blanco si desea que el código de motivo esté activo de inmediato.</td></tr><tr><td valign="top">Fecha de fin</td><td valign="top">Si lo desea, seleccione una fecha de fin para el código de motivo. Deje el campo en blanco si no desea establecer una fecha de fin.</td></tr></tbody></table>

</details>

6. Haga clic en **Guardar y cerrar**.


---

# 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/es/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.
