Field guide · Wholesalers · QuickBooks Desktop

Import invoices into QuickBooks Desktop from Excel safely

QuickBooks Desktop takes invoices in bulk through an IIF file, a tab-delimited text file you can build in Excel. Start from Intuit’s invoice sample, paste your rows into its layout, import it into a restored copy of your company file, and check the count and total against your sheet. Then import into the real file, because Intuit’s IIF Import Manual says “There is no Undo on the import function.”

Published · Get the PDF

Can QuickBooks Desktop import invoices straight from Excel?

Not through its Excel import: the IIF Import Manual says Excel and CSV import handle “lists only, not transactions.” There are two other routes:

  • An IIF file. Intuit’s edit steps open an IIF file in Excel and save it back as IIF.
  • Batch Enter Transactions. Intuit says it’s “available in QuickBooks Desktop Accountant or QuickBooks Desktop Enterprise.” Go to Accountant > Batch Enter Transactions, choose invoices, and paste rows from your spreadsheet.

Before you build an IIF file, know three things:

  • Intuit doesn’t help build them. Its overview says “Intuit does not offer assisted technical support for creating or importing .IIF files.”
  • It checks very little. The same page says “Importing IIF files into QuickBooks provides only limited error checking.”
  • It posts the invoice, nothing more. Intuit says imports don’t link transactions, so you apply payments afterward in Receive Payments.

How do you turn your sheet into an IIF invoice file?

1. Download Intuit’s sample. On Intuit’s “IIF Overview: import kit, sample files, and headers” page, download Invoice with no sales tax (sales tax preference off), or Invoice with sales tax charged if your sales tax preference is on. Intuit says to use the taxed version whenever the preference is on, with zero in the tax line for untaxed invoices.

2. Open it in Excel. Go to File > Open, set the file type to All Files, and open the IIF file. In the Text Import Wizard, select Next, then Next and Finish.

3. Keep the transaction block. The sample starts with account, item, class and customer lines for a new company file. If those already exist in yours, delete them and keep the three header rows !TRNS, !SPL and !ENDTRNS with the rows under them.

4. Lay out one invoice per block. Each invoice is one TRNS row, one SPL row per line, then an ENDTRNS row:

IIF columnTRNS row (the invoice)SPL rows (each line)
TRNSTYPEINVOICEINVOICE
DATEInvoice dateInvoice date
ACCNTAccounts ReceivableThe line’s income account
NAMECustomer, spelled exactly as in QuickBooksLeave blank
AMOUNTInvoice total, positiveLine amount, negative
DOCNUMInvoice numberLeave blank
QNTY, PRICE, INVITEMNot usedQuantity, unit price and item name

Intuit’s header help says “Debit amounts are always positive, credit amounts are always negative.” In its samples, the SPL amounts add up to the TRNS amount with the opposite sign, and QNTY on SPL rows is negative.

Example. A two-line invoice for 300.00 becomes:

Column ATRNSTYPEDATEACCNTNAMEAMOUNTDOCNUMQNTYPRICEINVITEM
TRNSINVOICE11/3/26Accounts ReceivableHarbor Supply3001045
SPLINVOICE11/3/26Sales-240-1024Pallet wrap
SPLINVOICE11/3/26Sales-60-415Stretch film
ENDTRNS

5. Match every name. Customers, items, accounts and classes must match your lists exactly. Subaccounts and sub-items use a colon, as in Intuit’s sample (“Construction:Labor”, “Wood Door:Exterior”).

6. Add the extras you need. Intuit’s header help lists optional invoice columns, including PONUM (the customer’s purchase order number), TERMS, DUEDATE and MEMO. Add each as a column in the !TRNS header row.

7. Handle sales tax. With the sales tax preference on, the manual says invoices “must include a sales tax code (e.g., NON) even on non-taxable sales forms.” Copy the tax line from Intuit’s taxed sample.

8. Save it as IIF. Select File > Save, then Yes if asked to keep the file type. When you close Excel and it asks to save again, select Don’t Save.

How do you import the IIF file safely?

1. Back up the real file. Go to File > Switch to Single-user Mode, then File > Back up Company > Create Local Backup. Select Local Backup and Next, select Browse to choose a folder, select OK, then Save it now and Next.

2. Make a test copy. Go to File > Open or Restore Company, select Restore a backup copy and Next, then Local Backup and Next. Restore it to a separate folder: Intuit warns that opening the backup in the same folder as your company file may overwrite your data.

3. Import into the copy. Sign in as admin and go to File > Utilities > Import > IIF Files, then select Import IIF. Locate the file and select OK. On a Mac, use File > Import > From IIF Files.

4. Read the result. QuickBooks shows how many lists and transactions imported. Select Done. Skip Import it for me. I’ll fix it later, which Intuit says bypasses data review.

5. Fix errors in the error file. If some records fail, QuickBooks saves them in a new IIF file with the error details. Select Review now, find the ERROR entries, fix them, select Save and Yes, close the File not imported window, and import that corrected file.

6. Repeat on the real file. Once the copy checks out, import the same file into your real company file, once.

What breaks, and how do you check it worked?

  • The same file imports twice. The manual says “There is no preventative mechanism to stop the same IIF from being imported multiple times.” After a partial failure, import only the error file.
  • Missing accounts become bank accounts. Intuit says an account that isn’t already in your file “will be created as a new bank account.”
  • Missing items become service items. Intuit’s invoice sample notes that an unspecified item “will import as a service item.”
  • Customer names must match exactly. The manual says QuickBooks treats “LAST, FIRST” and “FIRST LAST” as one customer, and the other spelling fails with “Can’t change the type of a name or add a duplicate name.”
  • Excel drops leading zeros. Intuit says to format those cells as Custom.
  • Sales tax liability may show only on the balance sheet. The manual warns that tax liability from imported invoices can appear “ONLY on the balance sheet” and says it’s best to enter taxed transactions by hand. Test one taxed invoice in the copy first.

To check it worked:

  1. Compare counts. The transactions QuickBooks reports should equal the invoice numbers in your sheet.
  2. Find today’s entries. Go to Edit > Find, the Advanced tab, and filter Entered/Modified from today to today. It lists everything entered today, whatever the invoice date.
  3. Tie the total. The invoices found should add up to your sheet’s total.
  4. Open three invoices. Check the customer, lines, quantities, PO number and tax against the sheet.

When an error cites a line number, the manual says it matches the row number in Excel, most likely the ENDTRNS row of the failing invoice.

What are your options?

OptionGood forWatch for
Build the IIF yourself from Intuit’s sampleOne batch of clean invoices with names that already matchNo undo; the same file can import twice; payments linked by hand
Paste into Batch Enter TransactionsAccountant or Enterprise users with a sheet laid out in its columnsOnly in those editions
Buy an importer app, such as Rightworks Transaction ProRegular imports from Excel or CSV with saved field mapsRightworks says it checks for existing customers and items before import, and its Deleter previews data before deleting
Bring in an outside team (Cleanups & bulk changes)A messy sheet, thousands of lines, or a feed that repeats every monthNeeds a backup of your company file and your customer and item names

If invoices start as customer purchase orders in email, see turning customer PO emails into QuickBooks Desktop sales orders. If you’re deciding whether to stay on Desktop, read what Desktop 2024’s end of life means for wholesalers and run the QuickBooks Desktop to Online readiness checker.

FAQ

Can I undo an IIF import in QuickBooks Desktop? No. Intuit’s manual says there is no undo, so restore the backup you made before the import.

Why did my invoices import with a new bank account? An account name in the file didn’t match your chart of accounts exactly, so QuickBooks created it as a bank account. Restore the backup, fix the name and import again.

Can I import paid invoices and their payments together? You can import both, but Intuit says imports don’t link them. Link each payment to its invoice in Receive Payments.

Can I import sales orders by IIF? No. Intuit’s manual lists sales orders among the transaction types IIF can’t import.

Does the improved IIF import work in multi-user mode? Intuit says it “now works in multi-user mode for QuickBooks Desktop 2019.” Its general IIF steps still say to sign in as admin and switch to single-user mode.

Sources

Have one problem in mind?

Walk us through it on a free 30-minute call. Within two business days you get a one-page note on what we’d fix first, yours to keep.

Walk us through one problemFree 30-minute call.