You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Expense - Unable to merge workspace distance expense with IOU distance expense #75235
Version Number: 9.2.59-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail:#71675 Email or phone of affected tester (no customers):sdsdjoidnsodjos2@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Open 1:1 DM
Create a distance expense
Go to workspace chat
Create a distance expense
Open the expense report
Click More > Merge
Select IOU distance expense > Continue
Select Merchant and Report from the IOU expense
Click Continue
Click Merge expenses
Open workspace chat and 1:1 DM where distance expenses were created
Expected Result:
The distance expenses will be merged successfully
Actual Result:
Workspace distance expense cannot be merged with IOU distance expense
The original distance expenses remain after merging distance expenses
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug7004294_1763153606338.6.mp4
What changes do you think we should make in order to solve the problem?
We can exlude distance IOU expenses in this case
constareBothDistanceRequests=isDistanceRequest(transaction1)&&isDistanceRequest(transaction2);// Temporary exclude IOU reports from eligible list, except for distance requests// Distance requests can be merged across IOU and workspace contexts// See: https://github.com/Expensify/App/issues/70329#issuecomment-3277062003if(!areBothDistanceRequests&&(isIOUReport(transaction1.reportID)||isIOUReport(transaction2.reportID))){returnfalse;}
What alternative solutions did you explore? (Optional)
changed the title [-]Expense - Unable to merge workspace distance expense with IOU distance expense[/-][+][$250] Expense - Unable to merge workspace distance expense with IOU distance expense[/+]on Nov 26, 2025
Generated at: 2026-02-12 10:33 UTC
Target: [$250] Expense - Unable to merge workspace distance expense with IOU distance expense
URL: #75235
Estimated bounty: $250
Internal score: 39.0
Draft proposal: Bounty Application
I understand this issue prevents merging a workspace distance expense with an IOU distance expense, leading to duplicate entries instead of a single merged report.
My delivery plan:
Analyze the merge logic for distance expenses across workspace and IOU contexts.
Implement fix and test across all supported platforms.
Please provide acceptance criteria to confirm the fix resolves the merge issue across all platforms.
📣 @zhanglin2603! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
This issue has not been updated in over 15 days. @zanyrenney, @Krishna2323 eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Activity
melvin-bot commentedon Nov 15, 2025
Triggered auto assignment to @zanyrenney (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.mukhrr commentedon Nov 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Unable to merge workspace distance expense with IOU distance expense
What is the root cause of that problem?
Here we decide not to merge explicitly IOU transactions
App/src/libs/actions/MergeTransaction.ts
Lines 68 to 73 in 7ab470f
Here is reference for more info why we did it #70329 (comment)
What changes do you think we should make in order to solve the problem?
We can exlude distance IOU expenses in this case
What alternative solutions did you explore? (Optional)
dominictb commentedon Nov 19, 2025
@hoangzinh I think we should not show the IOU distance expense as an eligible expense.
hoangzinh commentedon Nov 21, 2025
Yes, agreed @dominictb. Btw, is it BE issue?
[-]Expense - Unable to merge workspace distance expense with IOU distance expense[/-][+][$250] Expense - Unable to merge workspace distance expense with IOU distance expense[/+]melvin-bot commentedon Nov 26, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021993765607050190058
melvin-bot commentedon Nov 26, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Krishna2323 (
External)54 remaining items
zanyrenney commentedon Feb 6, 2026
Changing to weekly since we haven't had someone able to pick this up.
zanyrenney commentedon Feb 6, 2026
Also added to high in quality.
zhanglin2603 commentedon Feb 12, 2026
Generated at: 2026-02-12 10:33 UTC
Target: [$250] Expense - Unable to merge workspace distance expense with IOU distance expense
URL: #75235
Estimated bounty: $250
Internal score: 39.0
Draft proposal:
Bounty Application
I understand this issue prevents merging a workspace distance expense with an IOU distance expense, leading to duplicate entries instead of a single merged report.
My delivery plan:
Please provide acceptance criteria to confirm the fix resolves the merge issue across all platforms.
melvin-bot commentedon Feb 12, 2026
📣 @zhanglin2603! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
zhanglin2603 commentedon Feb 12, 2026
Contributor details
Your Expensify account email: zhanglin19821012@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01e6a69a37041f29ee
melvin-bot commentedon Feb 12, 2026
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
melvin-bot commentedon Mar 5, 2026
This issue has not been updated in over 15 days. @zanyrenney, @Krishna2323 eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
melvin-bot commentedon May 18, 2026
@zanyrenney, @Krishna2323, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.