Hi, having multiple checks for the same amount but different dates and
check number seems like a headache for any manual or automated matcher.
Here's the algorithm as originally written since 2002 (23 years ago!)
https://github.com/Gnucash/gnucash/blob/6983adb14a389c13f828bae4f485b4748a8ead24/gnucash/import-export/import-backend.cpp#L579
Note the following scoring system:
- identical amounts get +3, otherwise -2 or -5
- identical dates get +3, otherwise +2, 0 or -5
- identical trans->num get +4, otherwise -2, or 0
- etc.

Thus, an *exact identical* match in trans->num gets a relatively strong
score; you may need to check if the QFX/OFX sets it to the check number.
You may want to adjust the date thresholds in the global preference.

On Sat, 21 Feb 2026 at 10:43, Jon Schewe via gnucash-user <
[email protected]> wrote:

> I'm running into an issue when importing QFX files and matching
> transactions. Every week I write a check for the same amount. However
> the check doesn't clear the bank for a week or two. When I import my
> QFX file GnuCash wants to match the most recent check rather than the
> one 2 weeks back. Does anyone have a solution for allowing multiple
> matches to show up in the import dialog so that I can select the proper
> check?
>
> Also, is there a way for the check number to be visible in the import
> dialog?
>
> Thanks,
> Jon
>
> _______________________________________________
> gnucash-user mailing list
> [email protected]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to