# Discounts

## Data Settings - Others

Before finalizing a sale, you can **apply a discount** to the sale total. You can also apply discounts automatically to **special customers**. Before you can use Discounts, you must create them.

<figure><img src="/files/CCR0V76v3QduIfXL67y8" alt=""><figcaption></figcaption></figure>

Click the ![](/files/6fxhCLQX0fxcJZQJozgt) button to **add** a new discount, or long press on a discount to **edit/delete** it.

<figure><img src="/files/uBxuWczOJ6PSdMYnSmyd" alt=""><figcaption></figcaption></figure>

Here you can enter the data for the new discount:&#x20;

* ***Code:*** By default, the system generates a sequential code, which can be changed as long as it is unique.&#x20;
* ***Name:*** Here you must enter the name of the discount.&#x20;
* ***Discount Type:*** The discount can be applied as a Percentage or as an Amount. The amount can be discounted before or after calculating the taxes.&#x20;
* ***% Discount or Amount Discount:*** Depending on the discount type selection, enter the value in the corresponding field. If you want to apply a surcharge, you must enter the value with a negative sign.

<figure><img src="/files/TlcjX0vQOXF8ppsBocH2" alt=""><figcaption></figcaption></figure>

Here you can see an example of **discounts** already created.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://factorypos.gitbook.io/pos-r4-en/main-screen/data-settings/discounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
