About the IIF format:

From Intuit:
The files that QuickBooks exports and imports are text files. The best way to view an export or import file is to open it from a spreadsheet programthat way, you'll see the data laid out into rows and columns. If you don't have a spreadsheet program, you can also view an export file in a word processor. When you view the file, you'll see keywords in capital letters that serve as row and column headings. The keywords that appear at the beginning of each row identify the type of information in that row. For example, the keyword CUST indicates that the row contains data about a customer on your Customer:Job list.

Rows that begin with the same keyword are grouped together. For example, all of the CUST entries from your Customer:Job list appear as a single block of rows in the file. Each block, in turn, has its own column headings that appear in capital letters in the cells of the first row in the block. The column headings identify the type of information that each column in the block contains.

ACCNT (chart of accounts) 	
BUD (budgets) 	
CLASS (Class list) 	
CTYPE (Customer Type list) 	
CUST (Customer:Job list) 	
EMP (Employee list) 	
HDR (header information) 	
INVITEM (Item list) 	
INVMEMO (Customer Message list) 	
OTHERNAME (Other Names list) 	
PAYITEM (Payroll Item list)	
PAYMETH (Payment Method list) 
QBP EMPLOYEE (Employee payroll records) 
SHIPMETH (Ship Via list) 
SPL (Distribution lines) 
TERMS (Terms list) 
TODO (To Do list)
TRNS (Transactions) 
TIMERHDR (Header for Timer data)
TIMEACT (activites timed with the Timer)
VEND (Vendor list) 
VTYPE (Vendor Type list)