# Purchasing and inventory

<p class="lead">Record purchase invoices, returns to vendors, warehouses, and stock transfers, and pay vendors through finance.</p>

The **Purchase** module brings together everything that comes into the company from vendors and where it is stored. You record the **purchase invoice**, handle **returns**, organize **warehouses**, and move goods between them with **transfers**. Vendor payments are made in *Accounting > Vendor Payments*, to keep accounts payable and cash in sync.

[[roles: Company, Employee]]

!image[Purchase invoice list with vendor, due date, amount, balance and status in ERP Instfy](/assets/img/erp/purchase.webp)

## Before you start

- **Vendors created** in *Accounting > Vendors*. See [Accounting](#/accounting).
- **Items created** in *Product & Service > Items*, with purchase price and tax. See [Products and services](#/product-service).
- **Bank account** in *Accounting > Banking*, to record where the payment comes from.

| Menu | What it is for |
|---|---|
| *Purchase > Purchase Invoice* | Record purchases from vendors |
| *Purchase > Purchase Returns* | Return items to the vendor |
| *Purchase > Warehouses* | Create warehouses and view balances |
| *Purchase > Transfers* | Move stock between warehouses |
| *Accounting > Vendor Payments* | Pay vendors |

## Create a warehouse

Every product in stock lives in a warehouse. Create at least one before your first purchase.

**Menu path:** *Purchase > Warehouses*

<ol class="steps">
<li>Open <strong>Purchase > Warehouses</strong>.</li>
<li>Click <strong>Create</strong> (or the <strong>+</strong> icon).</li>
<li>Enter the warehouse name and the requested location details.</li>
<li>Click <strong>Save</strong>. The warehouse now appears in purchases, transfers, and the POS.</li>
</ol>

:::tip
Create one warehouse per physical location (e.g., "Downtown Store", "Main Warehouse"). That way the system balance matches what is on each shelf.
:::

## Record a purchase invoice

**Menu path:** *Purchase > Purchase Invoice*

<ol class="steps">
<li>Open <strong>Purchase > Purchase Invoice</strong>.</li>
<li>Click <strong>Create</strong> (or the <strong>+</strong> icon).</li>
<li>Select the <strong>vendor</strong> and enter the purchase and due dates.</li>
<li>Choose the <strong>warehouse</strong> that will receive the products.</li>
<li>Add the items with quantity, purchase price, tax, and discount. Check the total.</li>
<li>Click <strong>Save</strong>. The purchase enters the list and, for products, the warehouse inventory is updated.</li>
</ol>

:::note
Record the purchase when the goods or the bill arrive, not only when you pay. That way accounts payable and inventory reflect reality.
:::

## Pay the vendor

The payment is recorded in finance and reduces the open balance of the purchase invoice.

**Menu path:** *Accounting > Vendor Payments*

<ol class="steps">
<li>Open <strong>Accounting > Vendor Payments</strong>.</li>
<li>Click <strong>Create</strong> (or the <strong>+</strong> icon).</li>
<li>Select the <strong>vendor</strong> and the purchase invoice being paid.</li>
<li>Enter the amount, date, and the bank account the money came from.</li>
<li>Click <strong>Save</strong>. The purchase invoice becomes partially paid or paid.</li>
</ol>

## Return items to the vendor

Use a return when goods arrive defective, in excess, or incorrect.

**Menu path:** *Purchase > Purchase Returns*

<ol class="steps">
<li>Open <strong>Purchase > Purchase Returns</strong>.</li>
<li>Click <strong>Create</strong> (or the <strong>+</strong> icon).</li>
<li>Select the vendor and the original purchase invoice.</li>
<li>Enter the returned items and quantities and, if applicable, the reason.</li>
<li>Click <strong>Save</strong>. The return is linked to the original purchase.</li>
</ol>

:::tip
If the vendor will refund the money or apply it to future purchases, also record a debit note in *Accounting > Debit Notes*.
:::

## Transfer stock between warehouses

**Menu path:** *Purchase > Transfers*

<ol class="steps">
<li>Open <strong>Purchase > Transfers</strong>.</li>
<li>Click <strong>Create</strong> (or the <strong>+</strong> icon).</li>
<li>Choose the source warehouse and the destination warehouse.</li>
<li>Select the products and quantities.</li>
<li>Click <strong>Save</strong>. The balance leaves the source and enters the destination, without creating a purchase or a sale.</li>
</ol>

## Complete flow

**Vendor > Purchase invoice > Stock into the warehouse > Vendor payment > Sale (invoice or POS) > Reports**

1. Create the vendor in *Accounting > Vendors* and the item in [Products and services](#/product-service).
2. Record the purchase invoice in the right warehouse.
3. Pay in *Accounting > Vendor Payments*.
4. Sell through the [POS](#/pos) or [Sales invoices](#/sales-invoice).
5. Expenses and balances appear in [Accounting](#/accounting) and [Double entry](#/double-entry).

## Frequently asked questions

### Where do I record a payment to a vendor?

In *Accounting > Vendor Payments*. Select the vendor, the purchase invoice, the amount, the date, and the account the money comes from. The purchase status is updated based on the amount paid.

### Does the purchase invoice increase my inventory?

Yes, for product-type items. The quantities go into the warehouse chosen on the purchase. Services do not move inventory.

### What is the difference between a purchase return and a debit note?

A return (*Purchase Returns*) records the items that went back to the vendor. A debit note (*Accounting > Debit Notes*) records the amount the vendor now owes your company.

### Does a transfer between warehouses create an expense?

No. A transfer only moves quantities from one warehouse to another. It does not create a purchase, sale, revenue, or expense.

### Can I have more than one warehouse?

Yes. Create as many as you need in *Purchase > Warehouses*. Each warehouse has its own balance, used in purchases, transfers, and the POS.

## Next steps

With inventory stocked and vendors paid up, keep an eye on finance.

:::related
accounting, product-service, pos, sales-invoice, double-entry
:::
