# Setting up branches and warehouses

Section: Settings. Address: https://vende.id/docs/pengaturan/cabang-dan-gudang?lang=en

Change branch details, choose the warehouses and cash accounts of each branch, add warehouses, and switch branches in the top bar.

Every note, all stock, and all money are recorded at one branch. A shop with one place of business only needs one branch. When the shop is created, Vende already sets up the **Head Office** branch with the **Main Warehouse**. A shop of a factory business type gets a Finished Goods, Materials, Production and Returns Warehouse instead.

## Changing branch details

1. Open **Master Data → Branches**.
2. Press the branch you want to change.
3. Check its fields:
   - **Code**: a short code of letters and digits, for example PST. This code is used in note numbers, for example JL/PST/2026-10/0001.
   - **Name**, **Phone**, and **Address**: printed on the receipts of this branch.
   - **Time Zone**: WIB, WITA, or WIT. The dates and times of this branch's notes follow this time zone.
4. Press **Save changes**.

Only holders of the Settings role can open the branch page. This is usually the shop owner.

If the receipts of this branch need their own name, WhatsApp number, or closing words, fill in the **Branch receipt** section. When it is left empty, receipts use the fields of **Settings → Print** and **Settings → Shop**.

## Staff, warehouses, and cash accounts of a branch

On the same branch form, the **Users, Warehouses, and Cash Accounts** section sets:

- **Users**: the staff who work at this branch. Staff can only open the branches they are registered at. Holders of the Settings role can always open every branch.
- **Warehouses Available**: the warehouses this branch's notes take goods from or put goods into.
- **Cash Accounts Available**: the cash and bank accounts this branch's notes may use. An account that serves only this branch cannot be unticked: a cash account must always have a branch. First choose another branch on the account, or keep it ticked.
- **Default Production Warehouse**: shows while the Production and Several warehouses & Stock Transfer features are on. Production Orders and Productions at this branch start with this warehouse. Empty means the first warehouse for sale. A new factory shop with Several warehouses & Stock Transfer already has it set to the Production Warehouse. Without Several warehouses & Stock Transfer, production always starts at the warehouse the shop sells from.
- **Default Cash Account for Cash Sales**: the cash account that receives the cash from this branch's sales. You must choose it when the branch uses more than one cash-type account.

## Attendance location

When the extra Staff attendance feature is on, the branch form has an **Attendance location** part: the shop's point (paste it from Google Maps or tap **Use this device's location**) and the **Radius**, 100 m by default. A check-in from a phone farther than that radius is refused. Without a point, the phone's location is not checked at this branch. See [Staff attendance](https://vende.id/docs/pengaturan/absensi-pegawai?lang=en#the-branch-location-point).

## Adding a branch

Several branches is an extra feature, and you cannot add a new branch yourself. Contact the Vende team when your shop needs another branch. You can still change the details of existing branches yourself.

## Deactivating a branch

Turn off **Active** on the branch form when the branch is no longer used. Before you save, Vende shows what that branch still holds, for example stock, cash balances, receivables, or payables. Once the branch is deactivated, that data only shows with the **All branches** choice. The shop must keep at least one active branch.

Records that already use the branch, for example promotions, routes, or payroll employees, can still be changed and saved. They still show the branch, marked **(inactive)**. On the user form an inactive branch is not shown, but it stays that person's branch when the form is saved.

## Adding a warehouse

Several warehouses is an extra feature. If the **New Warehouse** button is missing, contact the Vende team to switch it on.

1. Open **Master Data → Warehouses**.
2. Press **New Warehouse**.
3. Fill in **Name**, for example Back Warehouse.
4. Choose the **Warehouse Kind**. For an ordinary warehouse, leave it at **Regular**.
5. Choose the **Branches Allowed**.
6. Press **Create**.

Return warehouses, transit warehouses, display warehouses, and how to delete a warehouse are explained in [Setting up warehouses](https://vende.id/docs/stok/gudang?lang=en).

## Switching branches in the top bar

When you work at more than one branch, a branch choice appears in the top bar. Choose one branch to work at that branch. Choose **All branches** to see the lists and reports of every branch at once; while you do, the lists of notes and documents show a **Branch** column so you can see which branch each note belongs to (a shop with one branch does not see this column). On the work screens such as the cashier, tap the branch label in the top bar; on a phone the label shows the branch code only. The screen loads again with the branch you chose.
