> For the complete documentation index, see [llms.txt](https://docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verifone.com/feature-references/feature-references-lac-es/referencias-de-funciones-y-productos/descuento-pop/configuracion-del-descuento-pop/generar-automaticamente-codigos-de-descuento-pop.md).

# Generar automáticamente códigos de descuento POP

El uso de esta función creará un conjunto de códigos POP válidos para que un programa externo haga referencia.

Los códigos de descuento POP generados se agregarán al documento transSet, también conocido como el Registro diario de transacciones, para analizarse según sea necesario.

La pestaña Opciones POP proporciona un diseño detallado de los productos de combustible con la lista de definiciones de descuento POP y los montos de descuento correspondientes para cada grado.

{% stepper %}
{% step %}
**Opciones POP**

En Configuración de descuentos POP, seleccione la **\[Opciones POP]** pestaña.

<figure><img src="https://770378058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nJgnNKJ9ZrZeEdr7pqh%2Fuploads%2FgLNxEwc9Pcmcnqr5hYqX%2Fimage.png?alt=media&amp;token=0c6e072f-6033-4b97-9cd4-bcc427a7997d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Definiciones de descuento de combustible**

Seleccione una definición de descuento de combustible en el menú desplegable.
{% endstep %}

{% step %}
**Códigos**

Ingrese el número de códigos que desea generar.
{% endstep %}

{% step %}
**Generar**

Haga clic en el botón Generar códigos POP.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
El número máximo de códigos que se puede generar por definición de descuento de combustible es 300.
{% endhint %}


---

# 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.verifone.com/feature-references/feature-references-lac-es/referencias-de-funciones-y-productos/descuento-pop/configuracion-del-descuento-pop/generar-automaticamente-codigos-de-descuento-pop.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.
