A QIF file typically has the following structure: Each record ends with a
^ (caret). All the data in the file is stored in
ASCII strings, and the file could be edited in any
text editor. ;simple example !Type:Bank D03/03/10 T-379.00 PCITY OF SPRINGFIELD ^ D03/04/10 T-20.28 PYOUR LOCAL SUPERMARKET ^ D03/03/10 T-421.35 PSPRINGFIELD WATER UTILITY ^ ...etc.
Header line The first line in the file must be a header line, to identify the type of data contained. Valid values for accounts are: There are also values for QIF files of internal Quicken information: A header line is
not followed by a separator line; it is immediately followed by the first field of a detail item.
Detail items The Detail section consists of several Detail Items, each on a separate line. Each line begins with a single character identifying code in the first column, followed by the literal data for that field. The detail item is terminated by a separator line. The fields can be in any order (except that within split transactions, the category, amount, and memo must be adjacent). If a single transaction block contains several detail items with same code, the last row is used for import. Standard detail item Investment Actions
Notes • The S, E$, and % fields are repeated for each split of this transaction. • For investment action codes that end in X, the Category field indicates the other account used to transfer cash from or to. • If the line immediately following an XS record does not begin with ^ or X, that is considered a continuation of the XS record. All the fields in detail items are optional—if not included, that field will be left blank in the imported transaction. Also, Quicken seems to do little error checking on these items; if the same field is included twice in the detail item, the second one will just overwrite the first one.
Record end The separator line signals the end of the current transaction. The last detail item in the file should end with a separator line. ==Export workarounds for QuickBooks: exporting to QIF==