Skip to content

Tools / CSV Error Translator

NetSuite cannot match an item in a CSV import ​

Check the item reference in the right context: a transaction line, kit member, related item, or manufacturing cost template.

The cost item or category cannot be matched ​

Message looks like

  • Invalid item reference key xx

What it means

A cost line references an item NetSuite cannot accept here, usually a typo or an item paired with a cost category it does not belong to.

Import context: Manufacturing cost templates.

Check this first

Open the item record and compare its cost category on the Purchasing subtab with the failing line.

Show the steps

Steps for this error

  1. Check the item name in the failing cost line for a typo.
  2. Open the item record and check its cost category on the Purchasing subtab. The line fails when the item is paired with a category it does not belong to.
  3. Correct the item or the category pairing and retry one line.
If that looks right

Documentation checked September 16, 2026.

An invoice item cannot be matched ​

Message looks like

  • Invalid item reference key xx

What it means

An item on the invoice cannot be matched, usually an inactive item or a value that does not agree with the mapping reference type.

Import context: Invoices and credits.

Check this first

Open the intended item and compare the CSV value with the Name, Internal ID, or External ID choice in the mapping.

Show the steps

Steps for this error

  1. Open the intended item and confirm that it is active and available on the invoice form.
  2. Compare the CSV item value with the mapping’s Name, Internal ID, or External ID reference type. When matching by name, use the format shown in the invoice’s Item dropdown.
  3. Retry one invoice line after correcting the confirmed reference mismatch.
If that looks right

Documentation checked September 16, 2026.

Message looks like

  • Invalid item reference key xx

What it means

A related item is matched by its store display name in this import, and the CSV value does not agree with it.

Import context: Related items and Item records.

Check this first

Compare the related item Store Display Name with the saved CSV value before changing the reference.

Show the steps

Steps for this error

  1. Open the related item and compare its Store Display Name with the value in the saved CSV.
  2. Confirm whether the related-item mapping expects a name or internal ID, and that an internal ID is not sitting in a Name-type mapping.
  3. Correct that reference and retry one related-item row; do not apply this display-name rule to unrelated item imports.
If that looks right

Documentation checked September 16, 2026.

A kit member cannot be matched ​

Message looks like

  • Invalid item reference key xx

What it means

A kit member cannot be matched to an item, so the kit line fails, usually a name or reference type mismatch on the member item.

Import context: Kits and packages.

Check this first

Compare each member value with the mapping's reference type and the item's exact name.

Show the steps

Steps for this error

  1. Open the intended kit member and confirm it is active.
  2. Match the member name to the format shown in the Item dropdown under Lists > Accounting > Items, including any parent prefix.
  3. Or use the internal ID instead: on the Field Mapping page, open the Members : Item field and set Choose Reference Type to Internal ID.
  4. Correct the member reference and retry one kit.
If that looks right

Documentation checked September 16, 2026.

A sales order item cannot be matched ​

Message looks like

  • Invalid item reference key xx

What it means

A sales order item cannot be matched, often because spreadsheet formatting changed the item reference or the value does not agree with the mapping's reference type.

Import context: Sales orders.

Check this first

Check the item selection and the mapping's reference type before retyping any item values.

Show the steps

Steps for this error

  1. Export or copy the intended item reference from NetSuite in the same Name, Internal ID, or External ID form used by the mapping.
  2. Compare it with the raw saved CSV, including leading zeros and punctuation.
  3. Correct the reference and retry one sales-order line before changing any broader item setup.

Did the spreadsheet change the item reference? ​

An item reference can look like a number even when its characters need to be preserved exactly. Compare the saved CSV value with the reference copied or exported from NetSuite.

For example, if NetSuite's reference is 001234 and the CSV contains 1234, those are different references. Spreadsheet conversion is one possible cause of this error.

Show the steps
  1. Confirm whether the Item mapping expects a name, internal ID, or external ID. Get the exact reference of that kind from NetSuite.
  2. In the spreadsheet, set the destination cells to Text before pasting or importing the references.
  3. Restore the original references from NetSuite. Formatting a value as Text after characters have been lost does not bring them back.
  4. Save the CSV. Open it in a text editor and check that the item reference still has the expected characters, including any leading zeros.
  5. Retry with the appropriate Transactions > Sales Order import setup and the matching Item reference type. Use Update when changing existing sales orders; use the data-handling mode appropriate to the intended job otherwise.

The purpose of the Text setting is to preserve the identifier. CSV files do not retain an Excel column's formatting, so the saved text is the final check. Changing spreadsheet formatting does not change NetSuite's Name/Internal ID/External ID mapping.

If that looks right

If the saved reference already matches NetSuite, return to the item-selection and mapping checks. A correct reference may still be unsuitable for the sales order. Formatting is not the explanation for every invalid-item message.

If that looks right

Documentation checked September 16, 2026.

Browse all errors

Book a free 30-minute look at your import error

Bring the error and your file to a screen share and I will dig into it live. Thirty minutes is usually enough to find what is wrong and tell you what fixing it takes. Sometimes that settles it on the call; when it does not, you leave with a straight answer instead of a mystery. No cost and no obligation.

An import that keeps failing is often the first visible sign of a larger setup problem. Most of my client work starts exactly here: somebody mid-import, a file that will not load, and nobody on their side to email. If a migration or implementation sits behind this error, that is the work I do every week.

NetSuite Implementation Advisory & Administration