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 - Tax field is blank after merging with expense with invalid tax rate #83082
BugSomething is broken. Auto assigns a BugZero manager.EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2
Version Number: 9.3.24-1 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#71244 Email or phone of affected tester (no customers):sjdsoijsoidjsndoinjsdoi@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Precondition:
Taxes are enabled.
Workspace has two tax rates - 5% and 10 %.
Go to staging.new.expensify.com
Go to workspace chat.
Create an expense with 5% tax rate.
Create an expense with 10% tax rate.
Go to workspace settings > Taxes.
Delete 10% tax rate.
Go back to workspace chat.
Open expense with 5% tax rate.
Click More > Merge.
Select the expense with 10% tax rate > Continue.
Select all the details from the expense with 10% tax rate (select all the second options) > Next.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #71244 - "[Merge] Merging tax rates" by @dominictb (High confidence) Related Issues: None
Recommendation: REVERT
This PR introduced a regression in how deleted tax rates are displayed after merging expenses. The issue is isolated to this PR and reverting will restore the previous working behavior.
Labels: Removed DeployBlocker (backend label not needed - this is a frontend bug in App)
src/libs/MergeTransactionUtils.ts - Added tax rate handling during merge
src/types/onyx/Transaction.ts - Added taxName field
Root Cause
The PR introduced a new taxName field on transactions and changed the display priority in MoneyRequestView.tsx (line 605):
// After PR #71244consttaxRateValue=transaction?.taxName??taxRateTitle??fallbackTaxRateTitle;
The Problem:
When merging expenses with a deleted tax rate, the code sets transaction.taxName using getTaxName(policy, transaction) ?? transaction?.taxValue ?? ""
If the tax rate is deleted from the policy, getTaxName() returns undefined (it cannot find the rate)
The fallback to transaction.taxValue should work, but the field ends up empty
In MoneyRequestView.tsx, the new priority checks transaction?.taxName first, which may be an empty string, causing the field to display blank instead of falling through to taxRateTitle or showing the violation with the rate name
Expected behavior: The tax field should show "10%" with a violation indicator when the tax rate is deleted.
Actual behavior: The tax field is completely blank because transaction.taxName is checked first but contains an empty/invalid value.
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!
BugSomething is broken. Auto assigns a BugZero manager.EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2
Activity
melvin-bot commentedon Feb 20, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #71244
melvin-bot commentedon Feb 20, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 20, 2026
Triggered auto assignment to @sonialiap (
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.github-actions commentedon Feb 20, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
OSBotify commentedon Feb 20, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #71244 - "[Merge] Merging tax rates" by @dominictb (High confidence)
Related Issues: None
Recommendation: REVERT
This PR introduced a regression in how deleted tax rates are displayed after merging expenses. The issue is isolated to this PR and reverting will restore the previous working behavior.
Labels: Removed
DeployBlocker(backend label not needed - this is a frontend bug in App)📋 Detailed Analysis
Evidence
Verification
PR #71244 modifies the exact files and code paths related to the reported issue:
src/components/ReportActionItem/MoneyRequestView.tsx- Changed tax display logicsrc/libs/MergeTransactionUtils.ts- Added tax rate handling during mergesrc/types/onyx/Transaction.ts- AddedtaxNamefieldRoot Cause
The PR introduced a new
taxNamefield on transactions and changed the display priority inMoneyRequestView.tsx(line 605):The Problem:
transaction.taxNameusinggetTaxName(policy, transaction) ?? transaction?.taxValue ?? ""getTaxName()returnsundefined(it cannot find the rate)transaction.taxValueshould work, but the field ends up emptyMoneyRequestView.tsx, the new priority checkstransaction?.taxNamefirst, which may be an empty string, causing the field to display blank instead of falling through totaxRateTitleor showing the violation with the rate nameExpected behavior: The tax field should show "10%" with a violation indicator when the tax rate is deleted.
Actual behavior: The tax field is completely blank because
transaction.taxNameis checked first but contains an empty/invalid value.57 remaining items
dominictb commentedon May 5, 2026
Still dealing with many failed tests
melvin-bot commentedon May 28, 2026
This issue has not been updated in over 15 days. @garrettmknight, @hoangzinh, @youssef-lr, @dominictb 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!
garrettmknight commentedon Jul 3, 2026
@dominictb what's going on in this one?
dominictb commentedon Jul 7, 2026
Hmm it's been a while. Let me catch up on the PR and update it. Edge case anw.