Firefly III: pair a CSV configuration with duplicate checks
Updated · 5 min read
The desktop apps export date, description, and amount as CSV. Open CSV in Excel to save an XLSX workbook. Statement support varies: verify the result against your own PDF.
Bind the configuration to the actual layout
This guide is for bookkeepers reviewing a reused bank-import configuration. An import representation is the source after the chosen column roles and mappings; a current record is the stored object observed now. Keep both distinct from the retained bank source.
For a PDF-only source, LocalExtract exports a local CSV. It does not produce Firefly account IDs, a Data Importer JSON configuration or a validated import. The CSV columns are date,description,amount.
The official configuration reference describes configuration schema version 3. Compare delimiter, header presence, date format, roles, do_mapping, mapping and default_account with this particular file. Column indexes are zero-based: adding a leading column can invalidate an otherwise familiar configuration.
Account IDs and name mappings belong to the target installation. A contributed bank configuration is a starting point, not proof that your export and accounts match. Keep your private configuration private: it can contain account names and other financial identifiers. Do not publish a real configuration as a troubleshooting attachment.
For the bookkeeping review, roles assigns a meaning to each source column. do_mapping controls whether a column uses the configured lookup, while mapping links a source value to an object ID in this Firefly installation. default_account is the asset-account ID used when there is no source account; it is not a universally valid bank-account number.
- Compare the actual column order with the role array; do not identify a layout from its bank label alone.
- For mapped columns, inspect both the lookup switch and the source-value-to-object-ID mapping in this installation.
- Check the default asset account for the source-account-absent case before treating the file as routed correctly.
- Review the selected duplicate mode and preview, then retain the actual send outcome separately. A preview does not prove a stored transaction or explain a later rule change.
Distinguish three duplicate settings
The duplicate-detection reference separates none, classic and cell modes. ignore_duplicate_lines is an additional source-line check, not another name for every database duplicate check.
Classic detection hashes the mapped/role-assigned data sent for import. Rules, webhooks and edits after import do not recalculate that original hash. Changing mapping or roles can therefore alter the compared representation even for the same bank event.
Cell mode uses the chosen unique_column_index and unique_column_type. Confirm that the selected source column actually contains stable, unique identifiers. A date, an amount or a recurring payee is not automatically unique. Two legitimate payments of the same amount must remain distinct.
Separate importer mapping from rules that change created records
If a newly imported description or tag differs from the bank CSV, preserve the original file and the reviewed importer configuration before changing the rules. The official Firefly rules reference describes rules on creation or change, in ordered rule groups. Strict rules require all triggers; non-strict rules can act when any trigger matches. The action reference includes description and tag changes. This is a second stage, distinct from column mapping and the original duplicate hash.
“Stop processing” has three different documented scopes: later rules in the group, later trigger searches in a non-strict rule, or later actions after a changing action. Do not use a group rule’s setting to predict the result of a trigger-level multi-record search. The documentation warns that testing multiple transactions can behave differently from processing an individual newly created record.
The rules reference points to logs for some asynchronous action errors; it does not guarantee that logs contain an original description. If there is no authenticated retained source or backup, leave the original unknown. Inspect rule behaviour only in an authorised isolated copy before any correction; this guide has not executed Firefly rules or demonstrated automatic recovery.
Compare the same observation across four stages
| Stage | Evidence to retain | What it can establish |
|---|---|---|
| Source | Unchanged CSV and exact source row | The supplied bank description |
| Prepared | Applied roles, mappings and selected duplicate mode | The representation prepared for import, before later rules |
| Sent | Observed send outcome and related transaction identity | Whether an actual stored object has been identified; preview alone is insufficient |
| Current | Current fields and possible rule actions | A difference to investigate, without proving which rule ran or restoring the original |
The fictional stage worksheet contains source, prepared, sent and current observations for one stipulated identity. An executed Python comparison finds that the source and prepared descriptions agree while the current description differs; a counterexample with another identity is refused as evidence about this object. This checks the worksheet’s identity and stage logic only. It does not recreate Firefly’s duplicate hash, execute its rules or recover a missing original. These are manual investigation columns, not Data Importer configuration keys.
Synthetic review case. The values are teaching data, not a vendor export or an import file.
Validate before the send stage
The file-import workflow separates conversion/validation from sending data into Firefly III. Inspect the preview’s account, date, sign and mapped identifier before sending. A successful preview is not proof that transactions were written. If a reused configuration skips a form, do not treat the hidden step as a fresh verification.
Our invented file has columns Date, Reference, Amount. Adding a new leading Account column moves Reference from index 1 to 2. The synthetic layout/identity worksheet tests that shift and preserves two equal-value payments with different identifiers. Its checks model field selection only; neither Firefly nor its duplicate algorithm has been executed.
Save the reviewed layout, selected configuration and import result together. If duplicate behavior changes, compare these before trying weaker detection. Use the CSV-overlap guide for source-file overlap; this page addresses Data Importer configuration and detection together. Prepare a PDF locally, then review its fields for the actual destination.
Official Firefly III documentation checked October 17, 2026.
LocalExtract Team
We build LocalExtract, a desktop bank statement converter. Questions or corrections? Contact · Editorial policy