Browse the manualInventory

Import and export document lines with Excel

Fill an opening stock, stock transfer, replenishment order or stock write-off from a spreadsheet instead of adding items one by one, and export a document's lines to Excel or CSV. Importing replaces all lines already in the document. Covers the template, column matching, error checks and what the Price column does.

Open in MitoniUpdated 7 October 2026
On this page

Opening stock, stock transfers, replenishment orders and stock write-offs can take their lines from a spreadsheet. This is the fastest way to enter a full opening stock or a long transfer list. Inventory counts have their own import, described in Count stock and correct the balance.

The same Import from Excel and Export to Excel actions are on sales, purchases and customer orders. See Create a sale in the back office, Record a purchase when goods arrive and Take customer orders and turn them into sales.

Before you start

  • The items must already exist in Mitoni. Rows are matched to items by SKU. Capital letters and spaces around the SKU don't matter.
  • Importing replaces every line already in the document's table. Import first, then add any other lines by hand.

Import lines into a document

  1. Open a new or existing opening stock, stock transfer, replenishment order or stock write-off.
  2. Choose Item Actions → Import from Excel.
  3. On Upload, select Download Excel Template if you need a file to start from. Mitoni first lets you choose the template's columns. Fill in one row per item with SKU, Quantity and Price.
  4. Drag your file onto the window or select Choose File. "Supported formats: .xlsx, .xls, .csv".
  5. If Mitoni can't match all of your column headers, it shows Mapping with the headers it couldn't match. Match each File Column to a System Field. Rows highlighted in red must be mapped before you can continue. If your headers are SKU, Quantity and Price, this step is skipped.
  6. On Preview, check the rows. A row with a problem shows its first error message in red in the Status column. Choose Errors Only (n) in the filter to see only those rows.
  7. Select Import. Mitoni shows a Complete step with the result.

Item Actions menu of a stock transfer with Import from Excel highlighted

Import Stock Transfer Lines window on the Upload step with Download Excel Template and Choose File highlighted

The imported lines replace the lines in the open document. Nothing is saved until you select Save on the document.

For example, to send the weekly bakery delivery from "Centrale" to "Zuid", open a new stock transfer, set the warehouses, then import a file with 40 croissants and 6 litres of milk.

Important: Import replaces all lines already in the table, including lines you typed in by hand. Import first, then add other lines. If you replaced lines by mistake, close the document without saving.

What the Price column does

The Price column must be mapped in every file, but documents use it differently. A blank Price counts as 0.

Document Use of Price
Opening stock Becomes the line's Cost.
Stock transfer Ignored. The transfer is valued at the item's cost on the transfer date.
Stock write-off Fills the Cost column, but when you save, Mitoni replaces it with the item's cost on the write-off date.
Replenishment order Not used. Replenishment orders have no cost.

For a stock transfer, write-off or replenishment order, you can leave Price at 0.

Rows with errors

If some rows of the import file have errors, you can fix the file and upload it again, or import only the valid rows:

  • Tick Skip Error Lines on Preview, then select Import. The valid rows are imported without a question.
  • If you select Import without ticking Skip Error Lines, Mitoni asks "Skip Error Lines?" with "Would you like to skip error lines and proceed with import?". Answer yes to import only the valid rows.

Download Error File gives you the rows with their error messages, so you can fix them and import again.

Export document lines

Choose Item Actions → Export to Excel and pick Excel or CSV to download the document's lines. The file has the columns SKU, Name, Unit, Quantity, Price and Total.

What Price contains depends on the document:

  • Opening stock and stock write-off: the line's cost.
  • Stock transfer and replenishment order: the item's sale price, not its cost. Total is quantity × sale price.

Use the export to copy lines into another document, or to share a transfer list with the store that receives it.

Remove lines from a document

To remove some lines after an import, tick them and choose Item Actions → Delete (n).

Troubleshooting

The lines I added before importing disappeared. Import replaces all lines in the table. Close the document without saving to get them back, or add them again after the import.

"SKU is required". A row has no SKU. Fill it in or delete the row.

SKU "..." was not found. No item has that SKU. Check the spelling, or create the item first.

SKU "..." is duplicated in file (rows: 2, 5). The same SKU appears on more than one row. Combine them into one row with the total quantity.

SKU "..." already exists in document. The item is already a line in the open document. Because the import replaces all lines, skipping this row would remove the item from the document altogether. Remove the existing lines with Item Actions → Delete (n), or start from a new document, then import again.

"Quantity must be a number greater than 0". Enter a positive number in Quantity.

"Price must be a non-negative number". Enter 0 or a positive number in Price, or leave it blank.

Rows on Mapping are highlighted in red. SKU, Quantity and Price must all be matched to a column of your file. Add a Price column if your file has none.

The exported Price of a stock transfer isn't the cost. For stock transfers and replenishment orders, the export shows the item's sale price. The transfer itself is still valued at cost.