Skip to main content

CSV basics

Linear7 takes files in a few places. Three of them are CSV imports, and they all work the same way — read this once and it applies to all three.

What you uploadWhereGuide
Products and servicesProducts → arrow beside New product → Import products…Import products
Customers and vendorsPartners → arrow beside New partner → Import partners…Import partners
Stock that came inInventory → Upload stockUpload stock

The other uploads aren't CSV: your company logo is an image, and Linear7 can also save PDFs out to a cloud drive — see Saved documents.

Always start from the template

Each dialog has a Template button that downloads a ready-made example. Open it in Excel or Google Sheets, replace the example rows with yours, and save as CSV.

How every import works​

  1. Choose the file. Nothing is saved yet.
  2. Linear7 checks it first. Every row comes back marked New, Skipped or with an error.
  3. Import only when it's clean. The import button stays off while any row has an error, so a spreadsheet is never half-applied.

File format​

  • CSV only. Excel files (.xlsx, .xls) are refused. In Excel use File → Save As → CSV (Comma delimited); in Google Sheets use File → Download → Comma-separated values.
  • Any common separator. Comma, semicolon or tab; Linear7 reads it from the first line. (Excel in many languages saves with semicolons, and that is fine.)
  • UTF-8. Names in Cyrillic, Greek and other alphabets are read correctly. A leading byte-order mark is ignored.
  • Quoted cells. A cell can contain the separator, a line break or quotes if it is wrapped in double quotes ("Acme, Inc.", and "" for a quote inside).
  • At most 1,000 rows per file. Split bigger files.
  • At least one data row below the header.

The header line​

The first line names the columns.

  • Order does not matter, and extra columns are fine.
  • Names are matched ignoring capital letters, spaces and punctuation, so Unit price, unit_price and unitPrice are the same column. Each import also accepts a few other names (listed on its page).
  • A column Linear7 doesn't recognise is ignored, and the preview lists it so a misspelled header doesn't go unnoticed.
  • A required column that is missing stops the upload with a message naming it.

Values​

KindWhat is accepted
Yes / noyes, y, true, 1, x for yes; no, n, false, 0 for no (da/po and ne/jo also work). A blank cell uses the column's default.
Decimals1.5 and 1,5 both mean one and a half. Thousands separators (1.234,5) are not supported. Prices and quantities can't be negative.
Whole numbers30, or 30.0 as Excel writes it. Not negative, no fractions.
TextTrimmed. Each field has a length limit (255 characters for most, 1,000 for notes and descriptions).

The preview​

After you choose a file, every row gets a status:

  • New: will be created.
  • Skipped: already exists, or repeats an earlier row of the same file. Harmless: importing the same sheet twice creates nothing the second time.
  • Error: unusable, with the reason next to it.

One error anywhere blocks the whole file; fix the rows named, or remove them, and choose the file again. When no row has an error, Import N saves the new rows in one go.