diff --git a/account_statement_import_online_gocardless/models/online_bank_statement_provider.py b/account_statement_import_online_gocardless/models/online_bank_statement_provider.py index dfdb9724f..194723554 100644 --- a/account_statement_import_online_gocardless/models/online_bank_statement_provider.py +++ b/account_statement_import_online_gocardless/models/online_bank_statement_provider.py @@ -364,8 +364,8 @@ def _gocardless_obtain_statement_data(self, date_since, date_until): "ref": partner_name or "/", "payment_ref": payment_ref, "unique_import_id": ( - tr.get("entryReference") - or tr.get("transactionId") + tr.get("transactionId") + or tr.get("entryReference") or tr.get("internalTransactionId") ), "amount": amount_currency,