diff --git a/packages/loot-core/src/server/accounts/sync.ts b/packages/loot-core/src/server/accounts/sync.ts index ac93d5d52eb..99d457d36ad 100644 --- a/packages/loot-core/src/server/accounts/sync.ts +++ b/packages/loot-core/src/server/accounts/sync.ts @@ -312,7 +312,8 @@ async function normalizeGoCardlessTransactions(transactions, acctId) { title( trans.debtorName || trans.remittanceInformationUnstructured || - (trans.remittanceInformationUnstructuredArray || []).join(', '), + (trans.remittanceInformationUnstructuredArray || []).join(', ') || + trans.additionalInformation, ), ); if (trans.debtorAccount && trans.debtorAccount.iban) { @@ -331,7 +332,8 @@ async function normalizeGoCardlessTransactions(transactions, acctId) { title( trans.creditorName || trans.remittanceInformationUnstructured || - (trans.remittanceInformationUnstructuredArray || []).join(', '), + (trans.remittanceInformationUnstructuredArray || []).join(', ') || + trans.additionalInformation, ), ); if (trans.creditorAccount && trans.creditorAccount.iban) { diff --git a/upcoming-release-notes/2176.md b/upcoming-release-notes/2176.md new file mode 100644 index 00000000000..78f25d4c87a --- /dev/null +++ b/upcoming-release-notes/2176.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [rjwonder] +--- + +Update sync.ts with additionalInformation as last resort fallback to prevent Payee being empty