actualbudget / actualbudget/actual

[Bug]: Incorrect transaction matching on import

Aperta
#6,737 5 commenti 1 reazione 0 assegnatari Vedi su GitHub
bank sync importers split transactions transactions
Lingua principale
TypeScript
Stelle
28.7k
Fork
3k
Merge medio
2g 11h
PR unite (30g)
65

Descrizione

### Verified issue does not already exist?

- [x] I have searched and found no existing issue

### What happened?

I have a record imported via ofx file on day 19. The amount is 161.95. I've split the transaction into two, one with a value of 111.95, and the second with a value of 50.00.

On the next day (20), I import a new ofx file. It has that same record in it, but also another (different) transaction with a value of 50.00.

The import process matches that incoming transaction incorrectly to the child (split) record from the previous day, based on the fact that both have an amount value of 50.00.

I would have expected the process to match on the parent (original) transactions, finding one to have a value of 161.95 and the next (incoming one) of 50.00, and NOT find any match against the parent OR the children (splits) of either.

Note:

I tried this on web via pikapod as well as the desktop app, and the issue is on both.

### How can we reproduce the issue?

1. Import Bank_Import 1.csv (using the description field as the note value).
2. Find the transaction with value -161.95 (PNA CENTURION 4548*6647 16 JAN CHEQUE CARD PURCHASE)
3. Split the record with amount value -161.95 into two splits, one with 111.95 and another with 50.00
4. Import Bank_Import 2.csv (containing a transaction with -50.00, ref RUHAN: PURESAVE ACTI BRANCH TRANSACTION)
5. Check the transaction valued -161.95.
6. Check the split under that record with value of 50.00. It has matched the imported transaction with value of 50 INCORRECTLY.
7. Look for a transaction (unsplit) with value of 50.00. You shouldn't be able to find it.

[Bank_Import 2.csv](https://github.com/user-attachments/files/24765246/Bank_Import.2.csv)
[Bank_Import 1.csv](https://github.com/user-attachments/files/24765247/Bank_Import.1.csv)

### Where are you hosting Actual?

Pikapods

### What browsers are you seeing the problem on?

Microsoft Edge

### Operating System

Windows 11

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.