File Format — Qif

Example (bank account):

with open("output.qif", "w") as f: f.write("!Type:Bank\n") f.write("D04/14/2026\n") f.write("T-25.00\n") f.write("PCoffee Shop\n") f.write("LFood:Dining\n") f.write("^\n") (pseudo): qif file format

D01/10/2024 T-150.00 PAmazon L[CreditCard] ← optional main category (if any) SFood ← split 1 category $80.00 SBooks ← split 2 category $70.00 ^ Splits must sum to the total T amount. Use brackets [AccountName] in the L field. Example (bank account): with open("output

QIF is a plain-text, human-readable format designed to transfer financial data between Quicken and other accounting software (like GnuCash, MoneyDance, or Excel). While largely superseded by QFX (OFX) for direct banking, QIF remains widely supported for manual import/export. A QIF file is divided into records (transactions, accounts, or securities), each ending with a ^ (caret) character. Example (bank account): with open("output.qif"

Go to Top