# Importieren/Exportieren

## Importformate

- Open Financial Exchange (.ofx)

  Die Daten sollten im Format JJJJMMTT sein.

- Quicken Interchange Format (.qif)

  Die Daten sollten im englischen (US) Format (MM/TT/JJJJ) sein.

- Denaro CSV (.csv)

  ❗ While CSV is a common format and some banks allow their users to export information as CSV, these files are in fact tables that can contain arbitrary data. Importing a CSV file created in other program will fail, because its data will not be compatible with what Denaro tries to get from a file. The purpose of CSV import/export is to provide a way to add data to an account using external programs such as text editors and office suites. Import will only add new transactions without overriding existing ones. If you want to create a CSV file manually, this is the header that includes all columns Denaro expects to find:

  ID;Date;Description;Type;RepeatInterval;RepeatFrom;RepeatEndDate;Amount;RGBA;UseGroupColor;Group;GroupName;GroupDescription;GroupRGBA

  - ## ID

    Transaction Id, should be unique for a given account. Ids start with 1.

  - ## Date

    Transaction date (or start date in case of repeat transaction), should be in English (US) format (MM/DD/YYYY).

  - ## Description

    Transaction description, it can contain any characters except semicolon.

  - ## Type

    Transaction type: 0 for income, 1 for expense.

  - ## RepeatInterval

    A number representing transaction repeat interval:

    0 - Never

    1 - Daily

    2 - Weekly

    7 - Biweekly

    3 - Monthly

    4 - Quarterly

    5 - Yearly

    6 - Biyearly

    See Repeat Interval in transaction page for details about repeat transactions.

  - ## RepeatFrom

    Should be either an Id of source transaction or 0 if it's a source transaction or -1 if it's not repeat transaction.

  - ## RepeatEndDate

    End date for repeat transaction, should be in English (US) format (MM/DD/YYYY). Leave it empty if it's not repeat transaction.

  - ## Amount

    Transaction amount in English (US) format (123,456.78).

  - ## RGBA

    Transaction color, should be in rgb(R,G,B) format where R, G and B are integers in range between 0 and 255.

  - ## UseGroupColor

    Whether a transaction should use group color: 0 — false, 1 — true.

  - ## Group

    Transaction's group Id. Ids start with 1. For ungrouped transaction it should be -1 (not 0, this is incorrect value for group Id).

  - ## GroupName

    Transaction's group name, should match group Id. It can contain any characters except semicolon. Leave it empty for ungrouped transaction, in any other cases it shouldn't be empty.

  - ## GroupDescription

    Transaction's group description, should match group Id. It can contain any characters except semicolon and can be empty. Leave it empty for ungrouped transaction.

  - ## GroupRGBA

    Group color, should be in rgb(R,G,B) format where R, G and B are integers in range between 0 and 255.

  Receipt and notes are not present in CSV.

## Export Formats

You can select whether to export all information or only from the current view. If you select the current view, currently displayed transactions will be exported in the same order in which they are shown.

- Portable Document Format (.pdf)

  A file will contain an account information, a list of transactions and images of receipts. Transactions are colored like in the application, but colors are modified by making them half-transparent in order to make black text always clearly visible. You can set a password for an exported file.

- Denaro CSV (.csv)