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.
Who can do this
Section titled “Who can do this”| 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 |
Before you start
Section titled “Before you start”- 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.
The screen
Section titled “The screen”One box says what the file must hold, one chooses the file, and the results appear under them.
The Opening stock screen.
- Opening stock: The screen’s title.
- Opening stock CSV: The title of the first box.
- 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.
- The file: Tap it and choose your CSV file. The name of the file shows next to it.
- Import opening stock: Loads the file. Greyed out until a file is chosen.
- 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 phone

- Opening stock: The screen’s title.
- The file: Tap it and choose your CSV file.
- Import opening stock: Loads the file.
- No dry run: A warning: good rows are posted at once.
Import a file
Section titled “Import a file”Who can: Owner, Manager, Inventory clerk. Custom roles need Receive deliveries.
-
Tap the file box and choose your CSV file. Its name and size show next to it.
-
Tap Import opening stock.
The result.
- rows imported: A green tag: how many rows went into stock.
- 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.
- The note: The stock is in. Check the product list to see it.
A file with bad rows
Section titled “A file with bad rows”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.
-
Choose a file in which some rows have no lot number, then tap Import opening stock.
-
Tap Import opening stock.
Rows that were skipped.
- rows skipped: An amber tag: how many rows were left out.
- Line: The line of the file, counting the header as line 1.
- 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.
If the file is not a CSV
Section titled “If the file is not a CSV”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.
Also on this screen
Section titled “Also on this screen”These have their own pages:
- Products: must exist before you load their stock. See Add a product.
- Check stock on hand: shows the new quantities afterwards. See Check stock on hand.
If something goes wrong
Section titled “If something goes wrong”| What you see | What 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. |
Related
Section titled “Related”Checked against the app on 2026-11-08 (app a0a0072, server 8cff0ff).