When to use an import
If you are setting up Inventory for the first time or adding a large number of items at once, a CSV import is much faster than entering them one by one. You can also use imports to add stock to items you already have, including new lot numbers and pricing.
Before you start: Every location you import into must already exist and have a location code. The Import link sits under Inventory in the menu, which only admins see.
Preparing your CSV file
Click Inventory in the menu, then Import in the row of links below it. On the Import Inventory page, click Download the CSV template to get a file with the exact column headers the importer expects. The header names must match. Fill in the rows with your data and save the file as CSV.
The template columns are:
- location_code - required. Matches the code on an existing location (for example
MAIN-STOCKorMED-CAB-1). - package_ndc - optional. Package NDC for medications.
- sku - optional. SKU if your products already have them.
- product_id - optional. Numeric ID copied from the Products page. Provide at least one of package_ndc, sku, product_id, or product_name so the importer can find or create the product.
- product_name - required when adding a brand-new item so the importer can create it.
- category_path - optional. Use
Parent > Childsegments. Missing categories are created automatically. Items with no category go into General Inventory. - quantity - required. Positive whole number.
- lot_number - required for drug products.
- expires_on - required for drug products. Accepts
YYYY-MM-DD,MM/DD/YYYY, or a month only such as03/2027, which counts as the last day of that month. - stock_source - optional per row. Use
receivefor shipments ormanualfor adjustments. Rows that leave it blank use the default you pick on the form. - unit_price - optional. Captured as the product price when stock is received.
- notes - optional free text stored with the stock record.
Checking and uploading the file
- Click Inventory in the menu, then Import.
- Pick a Default stock source: Receive from vendor or Manual adjustment. It applies to every row that leaves the stock_source column blank.
- Under Inventory CSV, click Choose File and pick your file.
- Click Check file. Nothing is added yet. The page shows Rows in file, Ready to import, New items (products the import will create), and Rows with errors, above a grid of every row. The Status column says what each row will do, or why it cannot be imported.
- Fix mistakes right in the grid: click a cell, type the correction, and press Enter. Then click Check again. Repeat until every row reads Ready.
- Click Import N rows to add the stock. Any row still showing an error is skipped, and the button says so.
When the import finishes, the page shows Rows processed, Imported, and Errors, with the same table underneath.
Rows with errors
A row the importer cannot use shows its reason in red in the Status column. Common problems are an unknown location code, a missing lot number or expiration date on a drug, or a date the importer cannot read. Correct the cell in the grid and click Check again, or import the rest now and add the fixed rows in a second file that contains only them. Never upload the whole file a second time; the rows that already went in would be added again.
How the importer finds your products
Each row is matched to an existing product by product ID, then SKU, then package NDC, then by product name (ignoring capitals and spaces at the ends). Only when nothing matches is a new product created. So re-importing a file with the same names adds stock to the products you already have rather than creating duplicates.
A row that carries a lot number or an expiration date makes its product lot-tracked, so those values are kept and show on the location page. If the product already existed without lot tracking, the import turns it on.
Made a mistake? Fix a line or undo the import
Every upload is kept as its own import. Right after an import finishes, Fix a line and Undo this import appear under the counts, and older imports under Recent imports have the same two buttons. Fix a line lists the lines of that import so you can undo one, or replace it with corrected values, without touching the rest. See Undoing an import for both.
Worked example
Your agency just opened a new station and you need to stock its supply room with 45 products. Instead of entering each one manually:
- Create the supply room under Locations and give it the code
STA3-SUP. - Start from the downloaded template. Fill in all 45 products with their name, category path, quantity, and the location code
STA3-SUP. - Save the file as CSV.
- Upload it, click Check file, read the table, then click Import 45 rows.
- The importer creates any products it does not recognize and adds the quantities to the new location.
What would have taken an hour of manual entry is done in a few minutes.
Tips
- The check step shows you exactly what will happen, so read it before confirming. If an import still lands wrong, you can undo it.
- Use the category path format
Medical > Airway > Tubesto automatically create nested categories during the import. - Products the importer creates are flagged for review. Open Products afterwards to fill in anything the spreadsheet did not carry, such as the unit of measure.
- Keep a copy of your CSV file. If something goes wrong, you can refer back to it.