By the end you'll know which columns are required, how values and dates are read, and what gets skipped versus what fails.
Start from Products → Vouchers (all vouchers) and click Import vouchers. Imported vouchers are standalone: they belong to no product or order and show up in the all-vouchers list. To type in a single code instead, see Vouchers.
Before you start
What you'll need
- A CSV, TXT, or XLSX file, up to 5 MB. Only the first 5 000 rows are processed.
- At minimum: a column of unique voucher codes and a column of values.
What you can import
Each row becomes one voucher. You map your columns to these fields:
- Code (required) — the unique voucher code. Letters, digits,
_and-, up to 50 characters. - Value (required) — the amount the voucher is worth.
- Issue date (optional) — when it was sold/created. Blank or unreadable → today's date.
- Expiry date (optional) — when it stops being redeemable.
- Customer name (optional) — the buyer/recipient.
- Note (optional) — any extra label, e.g. the voucher type.
- Redeemed date (optional) — a skip filter: any row with a redeemed date is treated as already used and skipped, because import only adds redeemable vouchers.
File format
- CSV / TXT / XLSX, max 5 MB. The delimiter (
,;tab or|) is detected automatically. - Encoding — UTF-8 is best. Files saved from Czech Excel (Windows-1250) are converted automatically; check accented names look right after import.
- Header row — the first row should name the columns. A title row above the headers is detected; you can also set how many rows to skip in the dialog.
Codes
- Must be unique. Duplicates (in the file or already imported) are skipped, and so is a code that one of your promo codes already uses (Used by a promo code).
- Allowed:
A–Z,0–9,_,-, up to 50 chars. Accented letters are removed. - Excel tip: format the code column as Text before saving. Otherwise Excel turns
0012345into12345and long numbers into1.2E+15— and the stored code won't match the printed voucher. CSV preserves codes; XLSX may not.
Values
- Major units by default:
1000means 1000.00. Switch to minor units (cents) in the dialog if your file is in cents. - Decimal comma or point both work, judged per cell:
1.000,50and1,000.50both read as 1000.50. - Currency suffixes and thousands separators are tolerated:
3 400 Kč,3400K,1 000all work. - Negative values (
-50,(50),50-) are rejected.
Dates
- Flexible:
21.5.,21.5.2026,6/19/26, even with trailing notes (25.5. paid). - Default year — for dates with no year (
21.5.), set a Default year in the dialog (prefilled to the current year). - An unreadable issue date doesn't lose the voucher — it imports with today's date and a warning.
What gets skipped vs failed
Nothing is created until you confirm on the review screen, and re-running the same file is safe (existing codes are skipped).
- Ignored: completely blank rows.
- Skipped (not errors): rows with a code but no value; duplicates; rows with a redeemed date.
- Failed: invalid code, unreadable value, unreadable expiry date — shown with the offending cell so you can fix and re-import.
A good sample
code;value;issued;customer
SUNNY-0001;1000;21.5.2026;Jan Novák
SUNNY-0002;500;22.5.2026;