> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.haddock.app/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use the Sales History

The **Sales History** view lets you review your sales by day. From here you can check the daily summary, open each day's details, and use the main actions to create, import, export, or refresh sales.

# What you'll find in this view

Each row corresponds to one sales day. In the list you will see, among other data:

* The **date**
* The **source** of the sale or integration
* The **shifts**
* The number of **tickets**
* The **average ticket**
* The **channels**
* The **diners**
* The **VAT**
* The **total with VAT**

In addition, at the top you can use the **search bar**, select a **date range**, apply **filters**, change the **order** of the tickets within each day, and choose which **columns** you want to see.

---

# How to access a day's details

1. Go to **Sales** > **History**.
2. Find the day you want to review.
3. Click the row to expand its tickets.

When the day comes from a POS integration, you can open the ticket breakdown for that date. If the sale is **manual** or comes from an **import**, there may be no ticket-level detail to expand.

If you need to edit a manual or imported sale, use the row actions menu.

---

# How to create a sale

1. In the top-right corner, click **New sale**.
2. Choose **Create sale**.
3. Fill in the details and save.

This option is useful when you want to record a one-off sale that did not come from your POS.

---

# How to import sales

1. Click **New sale**.
2. Select **Import sales**.
3. Download the template, fill it out, and upload it to haddock.

Importing is the recommended way if you keep your sales outside the automatic integration and want to load them in bulk.

---

# How to export sales

Click **Export** to download a file with the days visible on screen.

The export respects the period and filters you have applied at that moment, so it is a good idea to review them before downloading the file.

---

# How to refresh sales

If you have a connected POS, you will see the **Refresh sales** button at the top.

1. Click **Refresh sales**.
2. Select the period you want to sync again.
3. Confirm the action.

This option is used to request a new sales synchronization for the selected range. Depending on the integration, there may be a waiting time between manual refreshes. **Refresh sales** is not available for **Generic API for POS Systems** integrations because sales are sent to haddock through the API instead of being pulled on demand.