# Import purchases

> Turn a delivery note into a purchase from a CSV of product codes and quantities: the file, the preview and Submit.

*Section: Purchases and expenses · Updated: 2026-10-19*

When a supplier sends a long delivery note, you can turn it into a purchase from a file instead of adding each line. By the end you will have imported one purchase from a CSV of product codes and quantities.

## Prepare the file

A CSV with two columns, separated by semicolons (;), and a header line:

```
productcode;qty
DEMO-GRO-001;50
DEMO-GRO-020;40
```

**productcode** is each product's code, as in **Products › All Products**, and **qty** how many arrived. **Download example** on the page gives a file in this shape. One file makes one purchase.

## Import it

1. **Open [Purchases › Import Purchases](/app/purchases/import_purchases).**
2. **Fill the purchase's details.** **Date**, **Supplier** and **Warehouse** are required, and **Status** starts on **received**. **Order Tax**, **Discount**, **Shipping** and **Note** are optional.
3. **Add the file.** Click the **CSV IMPORT** box or drop the file on it. Only .csv files are taken.
4. **Check the preview.** Each line shows the code, the product, the quantity, its cost and subtotal, with the total below.
5. **Click Submit.** You land on **All Purchases**, with the new purchase at the top.

![Import Purchases: the CSV IMPORT box with import-purchase-produce.csv, and its preview: Apple 50, Potatoes 40, Red Onions 40 and Cucumber 30, each with its cost and subtotal, a total of 204.79 and Submit.](https://armpos.online/storage/help/4c96231298-import-purchases-1-preview.webp)
*The costs are each product's own cost. Check the lines before you submit.*

The costs come from each product's **Product Cost**. With **received**, the stock goes into the warehouse at once. The purchase is saved unpaid: pay it with **Create Payment** in its menu (see [Pay your suppliers](/app/help/pay-your-suppliers)).

> **Note:** The preview's total can differ from the saved purchase by a cent: it rounds each line down. The saved purchase is right.

## What's next

[Record a purchase from a supplier](/app/help/record-a-purchase).
