# How to create discount for certain carrier and certain flight?

* Go to the section **Prices - Commissions and discounts**.
* Click at button **"Add a rule"**.
* **Agency name** must be filled in.
* **Type of discount** must be choosen.
* Choose wished **carrier**.
* In section **Marketing carrier**s choose option: "Plating carrier only".
* In section **Operation carriers** get option: "Only listed and authorized".
* Continue with inserting exact IATA carrier code in section **Carrier IATA Code**.
* Move to the next section called **Flight restriction**.
* Specify your preferred criterions in section **Flights.**
* Continue with clicking at button **Add Flight** below.
* Insert again carrier IATA code and continue with specifications of certain flight numbers.

**GOOD TO KNOW: PLEASE ALWAYS FILL IN THE FLIGHT NUMBER IN 4DIGIT FORMAT.**

E.g.: If it is flight number 203 then you have to always enter the number this way 0203.

E.g. : If it is flight number 123 then you enter this way 0123.

<figure><img src="https://974712556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPjLiK_ydn4NIc66tQx%2Fuploads%2FmI8oNssJ8v9InpytmCQt%2Fimage.png?alt=media&#x26;token=b653ec09-2a9e-4109-82bd-1fda882d7033" alt=""><figcaption></figcaption></figure>

* In section **Commission/Discount amount** just continue with specification of type and height of discount you are gonna provide in this rule.

<div align="left"><figure><img src="https://974712556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPjLiK_ydn4NIc66tQx%2Fuploads%2FpRUccmVwN78aFzLShppg%2Fimage.png?alt=media&#x26;token=8b935665-e427-4857-9126-513e4814f56b" alt=""><figcaption></figcaption></figure></div>

* Specify criterions in section that relates to route in section **Routing**.

<div align="left"><figure><img src="https://974712556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPjLiK_ydn4NIc66tQx%2Fuploads%2FHh6zwc8qBSNTvemid1In%2Fimage.png?alt=media&#x26;token=024da0c1-4b5e-4ee2-8fb2-6ca3a6c6a5cb" alt=""><figcaption></figcaption></figure></div>

You may then specify other criterions in sections

* **Cabin class**
* **Fares, booking classes, and passenger type**
* **Time periods** - for how long  time and what departure/return flights this rule should relate to.
* As soon as what was supposed to be specified save the rule by clicki at button **Save**.

<figure><img src="https://974712556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPjLiK_ydn4NIc66tQx%2Fuploads%2FNgWB4JIzkrGp6SnGyUoD%2Fimage.png?alt=media&#x26;token=2b0a178c-137f-4e39-ae2c-014b4fbb1064" alt=""><figcaption></figcaption></figure>

GOOD TO TRY: You may check out if the rule works by seeking such flight on your frontend.
