Skip to content

Load opening stock from a file

Put what is already on your shelves into QuickPharms from a spreadsheet saved as a CSV file, with the lot and expiry of each row.

Can do this Owner, Manager, Inventory clerk
Can’t do this Pharmacist, Cashier, Accountant, Auditor
Custom roles Need Receive deliveries under Buying in the role editor
Plan Every plan.
The import Has no dry run. Rows that are fine put stock on your shelves and write its value into the books the moment you tap Import opening stock; bad rows are reported and skipped.
A row without a lot number or an expiry Is reported and skipped, not imported. Stock always lands on the lot printed on the box.
The products in the file Must already be in the catalogue. Use the exact name, or the product’s id.
Import a file Owner, Manager, Inventory clerk only
A file with bad rows Owner, Manager, Inventory clerk only
If the file is not a CSV Owner, Manager, Inventory clerk only
  • Count the shelf and write one row for each product and lot: the name, how many, what one cost (in kobo), the lot number and the expiry as YYYY-MM-DD.
  • Save the sheet as a CSV file. The columns are named on the screen.
  • Do this once, when you start. Running it twice adds the stock twice.

One box says what the file must hold, one chooses the file, and the results appear under them.

The Opening stock screen.

The Opening stock screen.
  1. Opening stock: The screen’s title.
  2. Opening stock CSV: The title of the first box.
  3. The columns: The columns the file must have, in any order: the product, how many, the cost of one in kobo, the lot number and the expiry.
  4. The file: Tap it and choose your CSV file. The name of the file shows next to it.
  5. Import opening stock: Loads the file. Greyed out until a file is chosen.
  6. No dry run: A warning: good rows are posted at once, with a journal entry (the accounting record the app makes for you). Check the file before you tap the button.
On a phoneThe Opening stock screen.
  1. Opening stock: The screen’s title.
  2. The file: Tap it and choose your CSV file.
  3. Import opening stock: Loads the file.
  4. No dry run: A warning: good rows are posted at once.

Who can: Owner, Manager, Inventory clerk. Custom roles need Receive deliveries.

  1. Tap the file box and choose your CSV file. Its name and size show next to it.

  2. Tap Import opening stock.

The result.

The result.
  1. rows imported: A green tag: how many rows went into stock.
  2. Value posted: The cost of all the stock just loaded, in ₦. The total value goes into the books once, as stock the owner brought in.
  3. The note: The stock is in. Check the product list to see it.

Who can: Owner, Manager, Inventory clerk. Custom roles need Receive deliveries.

Good rows go in and bad rows are listed with the reason. Fix the bad ones in the sheet and load only those again.

  1. Choose a file in which some rows have no lot number, then tap Import opening stock.

  2. Tap Import opening stock.

Rows that were skipped.

Rows that were skipped.
  1. rows skipped: An amber tag: how many rows were left out.
  2. Line: The line of the file, counting the header as line 1.
  3. Problem: Why the row was skipped.

“batch_no is required” The row has no lot number. Type the lot from the box in the sheet, and load that row again. Rows already loaded stay: do not load them twice.

Who can: Owner, Manager, Inventory clerk. Custom roles need Receive deliveries.

“Choose a CSV file.” The file is not a CSV, for example a picture or a spreadsheet saved as .xlsx. Save the sheet again as CSV and choose that.

These have their own pages:

What you seeWhat to do
“batch_no is required”The row has no lot number. Type the lot from the box in the sheet, and load that row again. Rows already loaded stay: do not load them twice.
“Choose a CSV file.”The file is not a CSV, for example a picture or a spreadsheet saved as .xlsx. Save the sheet again as CSV and choose that.
The file must be 8 MB or smaller.The file is too big. Split it into two files and load them one after the other.

Checked against the app on 2026-11-08 (app a0a0072, server 8cff0ff).