# Creating a discount code

## Creating codes

Zeffy allows you to add one or more discount codes to your ticket office.

When creating or editing an event, go to the "Advanced settings" section and check the "Add discount codes" box.&#x20;

![](/files/4WDbN3RRLHiDWnsc7x44)

{% hint style="info" %}
Be careful with caps!
{% endhint %}

### Tracking of discounts

To track the participants who used the discount coupons, go to "Tickets sold".

![](/files/-LqCiHH1Tu3U70R2aUMX)

{% hint style="info" %}
Click on the message box to the left of a participant's line to add a note or reminder.
{% endhint %}

### Receipts for tax purposes

A receipt will be automatically emailed to buyers. This receipt will take into account the discount coupon and therefore will display the amount given after reduction (CRA).


---

# 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://docs.zeffy.com/org/billets/configuration/ajouter-un-coupon-de-reduction.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.
