# Sales

The **Sales** tab displays the referral sales recorded using affiliate referrals. When a customer purchases using an affiliate's referral link or coupon, that sale is recorded in the Sales tab.

<figure><img src="/files/VJ3ROFbsq348EKUJA0jh" alt=""><figcaption><p>Sales</p></figcaption></figure>

### Pending Approval

In the **Pending Approval** section, you can manually approve or reject sales that have been recorded. You can filter sales in the table using name, order number, and date.&#x20;

<figure><img src="/files/grGnJLqPojYNxeMYxRNT" alt=""><figcaption><p>Sales > Pending Approval</p></figcaption></figure>

### All Sales

In the **All Sales** section, you can view all the sales recorded using affiliate referrals. Here, you can filter sales by affiliate name, order number, and date. The summary table displays the total sales, revenue, and commission earned.  The table displays statistics like the order date, order number, amount, affiliate name, commission, and status.

You also have the option to download a sales report with this order data.

<figure><img src="/files/ln0y02N6JBpgU5zUz8fZ" alt=""><figcaption><p>All Sales</p></figcaption></figure>

### Assign sale to affiliate

You also have the option to manually **assign a sale** to an affiliate by using the create a new sale manually feature. Here you can select the order number and affiliate name to assign the order.&#x20;

![Assign Sale to Affiliate](/files/-MRzk4_mL9SKA_dxlHT2)

#### Create a new sale

Additionally, you can **create a new sale** and assign it to the affiliate. Here, you can create a new order by selecting the affiliate, setting the order number, date, and affiliate commission. You can also set the customer name email, order line items (products), quantity, and price.&#x20;

![Create a new sale](/files/ibmfRhSKQcMipJJgRs1z)

### Bulk Import Orders

You also have the option to import orders. In the **All Sales** section, you can import up to 200 orders in one go by uploading a formatted CSV file.&#x20;

{% hint style="info" %}
To make sure the CSV file you upload is correctly formatted, you can download the sample CSV file and use it to create your bulk import file. There is also a glossary of headings, to help you understand the terms used in the sample CSV file.
{% endhint %}

<figure><img src="/files/puYEb25xeDDzeeWrYWPV" alt=""><figcaption><p>Bulk Import Orders</p></figcaption></figure>

{% embed url="<https://youtu.be/XpVOrEQ3BKA>" %}
Sales Tab
{% endembed %}


---

# 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.goaffpro.com/goaffpro/admin-panel/manage/sales.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.
