Skip to content

Deduplicate matches two report records to one journal entry #179

@alensiljak

Description

@alensiljak

Just a preliminary report for now but it seems that the deduplicate method in import will match two separate entries in the downloaded report to the same transaction record in the journal.

After the import completes, I get two transactions, both marked as duplicates of the same line:

; duplicate of x:\beans\journal\journal.2025.bean:3384
...
; duplicate of x:\beans\journal\journal.2025.bean:3384

Considering that the first transaction has been copied earlier and is an exact match, the second one is overlooked. The result is an account balance mismatch even though all the records are marked as processed.

Did not debug yet but my guess is that the transactions from an existing book should also be marked as "matched" (or something similar, or simply removed from the list) to avoid double-matching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions