Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OP transaction archival reference can be same between different transactions #498

Open
tswfi opened this issue Aug 27, 2024 · 1 comment

Comments

@tswfi
Copy link
Member

tswfi commented Aug 27, 2024

If user creates a recurring payment in OP they will reuse the same archival reference for all payments done for that recurring payment. If the receiving bank is also OP they will just use the generated archival reference for the incoming transaction. This causes nordigen integration to skip all but the first transaction as the archival reference is the same.

This does not happen when receiving bank is different than OP as at least Nordea creates their own archival reference number for incoming transactions (this is also the reason this was never seen before).

This is the data that came from Nordigen api (with some data redacted)

{
    "bookingDate": "2024-07-03",
    "debtorName": "REDACTED",
    "entryReference": "00000000000000123456",
    "internalTransactionId": "5eaeXXXXX6100",
    "proprietaryBankTransactionCode": "VIITESIIRTO",
    "transactionAmount": {
        "amount": "15.00",
        "currency": "EUR"
    },
    "transactionId": "202407035936192R9019",
    "valueDate": "2024-07-03"
},
{
    "bookingDate": "2024-08-02",
    "debtorName": "REDACTED",
    "entryReference": "00000000000000123456",
    "internalTransactionId": "9c73XXXXX68e2",
    "proprietaryBankTransactionCode": "VIITESIIRTO",
    "transactionAmount": {
        "amount": "15.00",
        "currency": "EUR"
    },
    "transactionId": "202407035936192R9019",
    "valueDate": "2024-08-02"
},

internalTransactionId does differ but transactionId is the same between both transactions.

Screenshots from the users bank show the same data (also with some data redacted)

1000037529
1000037531

@tswfi
Copy link
Member Author

tswfi commented Aug 28, 2024

Yup, OP confirms this from their support

1000037585

One way to fix this is to make the archival reference not unique and using transaction date and archival reference as the uniqueness check...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant