QIF file format

A QIF file is a list of short lines such as D10/ 1'26 and T-1,250.00: the first character names the field, and a ^ line ends the transaction. QIF is the Quicken Interchange Format, a plain text format; files end in .qif.

Open it as a table: QIF to Excel or CSV. Make one: CSV to QIF.

An example file

Our sample qif-sample-bank-us.qif: five transactions in a bank account.

The 34 lines of the sample
!Type:Bank
D10/ 1'26
T-1,250.00
N1042
PMaple Court Property Mgmt
MOctober rent
LRent
CX
^
D10/ 2'26
T2,480.35
PNorthwind Supplies Payroll
MDirect deposit
LSalary
C*
^
D10/ 9'26
T-64.18
PCorner Grocer
MWeekly shop
LFood:Groceries
^
D10/15'26
T-12.99
PStreamBox
LSubscriptions
^
D10/21'26
T-120.00
PLakeshore Hydro
LUtilities:Electric
A12 Example Street
ASpringfield
^

Line by line

Line 1, !Type:Bank, is the header. It says what kind of list follows. The first transaction is lines 2 to 9:

LineLetterFieldHere
2Ddate10/ 1'26
3Tamount; money out has a minus sign-1,250.00
4Nnumber, such as a check number1042
5PpayeeMaple Court Property Mgmt
6MmemoOctober rent
7LcategoryRent
8Ccleared markX
9^end of the transaction

Other lines of the sample: LFood:Groceries (line 21) puts a subcategory after a colon. A lines (32 and 33) hold an address, up to five. The second transaction's cleared mark is * (line 15). A field a transaction leaves out is blank.

The other headers:

HeaderHolds
!Type:Banka bank account
!Type:Casha cash account
!Type:CCarda credit card
!Type:Invstan investment account
!Type:Oth Aanother asset
!Type:Oth Lanother liability
!Accounta list of accounts, or the account that the transactions after it belong to

Lists of categories, classes and memorized transactions have headers too.

Splits and transfers

qif-sample-splits-transfers.qif has a split, a transfer and a class. In the first transaction (lines 2 to 12):

LineLetterHoldsHere
3Tthe total-100.00
6, 9Scategory of a splitFood:Groceries, Household:Supplies/Home
7, 10Ememo of a splitweekly shop, cleaning
8, 11$amount of a split-70.00, -30.00

The split amounts add up to the total: -70.00 and -30.00 make -100.00. A category in square brackets, L[Savings] (line 16), is a transfer to the account of that name. After a slash comes a class: /Home, and Hobbies/Club (line 22).

Investments

qif-sample-investment.qif uses other letters:

LetterFieldIn the sample
NactionBuy, Div, Sell
YsecurityExample Index Fund
Iamount per unit25.50, 26.25
Qquantity10, 4
Tamount255.00, 3.12, 105.00
Ocommission1.00
MmemoOpening purchase

The values are listed as written. In the sample, 25.50 for each of 10 units is the 255.00 on the T line.

What the file does not say

TidyImport asks about the date order and the decimal mark when the file does not settle them, and its notes say what it assumed for the rest.

Beside OFX and CSV

The same job in other formats: QBO file format. Dates in a CSV: CSV dates: day first or month first?

Open a .qif file

A text editor shows it. QIF to Excel or CSV shows it as a table, and CSV to QIF goes the other way. Check that your Quicken version takes a QIF file.

QIF as described in Intuit's "What is the Quicken interchange format (QIF)?" (1997). Quicken is a trademark of Intuit Inc.; TidyImport is not affiliated with Intuit.