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
Expense - Default Custom Tax Name Displays Incorrectly as “Tax rate” in Multiple Expense Edit #84735
Version Number: V9.3.34-0 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:#82948 Email or phone of affected tester (no customers):dreamnitethedragon+yydyd373@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Redminote 10S Android 13 App Component: Money Requests
Action Performed:
Pre-condition
Have workspace
Enable category, tag ( add 2 tags), tax, rules
Create 2 distance manual map expense
Launch app
Go to workspace settings
Open tag - settings (note default custom tag name)
Open tax - settings (note default custom tax name)
Open workspace chat
Select both expenses - edit multiple
Open tag and tax row
Note default custom tag name is shown correctly but tax name is shown incorrectly as "Tax rate" instead "Tax"
Go to workspace settings - rules - add a merchant rule
Open Tax row
Note default custom tax name is shown correctly as "Tax"
Expected Result:
The default custom tax name configured in workspace settings should be displayed consistently as “Tax” in all relevant places, including Multiple Expense Edit.
Actual Result:
In multiple expense edit → Tax row, the default custom tax name is displayed incorrectly as “Tax rate” instead of “Tax”.
However, in merchant rule → Tax row, the default custom tax name is displayed correctly as “Tax”.
👋 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: #82948 - "Reapply "Feat: bulk edit multiple"" by @pasyukevich (High confidence) Related Issues: None
Recommendation: REVERT
This PR introduced the bulk edit multiple feature and included hardcoded tax field labels that do not respect the workspace custom tax name configuration.
Labels: Keeping DeployBlockerCash (App deploy blocker). The DeployBlocker label was not present on this issue, so no label removal is needed.
📋 Detailed Analysis
Evidence
The issue was introduced by PR #82948, which added the bulk edit multiple feature. The bot comment confirms this PR was merged and is the likely cause. The bug is reproducible on staging (version 9.3.34-0) where this PR is included, and not yet in production.
Both locations use the hardcoded translation key iou.taxRate which always returns "Tax rate", instead of using the custom tax name configured in the workspace settings.
Root Cause
The custom tax name is stored in policy.taxRates.name (as seen in WorkspaceTaxesSettingsPage.tsx line 34). The correct pattern used elsewhere in the codebase is:
policy?.taxRates?.name??translate(\"common.tax\")
This would display the custom tax name (e.g., "Tax", "Imposto", "VAT") when configured, falling back to "Tax" when not customized.
The merchant rule page likely uses the correct pattern, which is why it displays "Tax" correctly as mentioned in the bug report.
Fix Required
Update both files to use policy?.taxRates?.name ?? translate(\"common.tax\") instead of translate(\"iou.taxRate\").
Please re-state the problem that we are trying to solve in this issue.
When editing multiple expenses via bulk edit, the tax field label displays as "Tax rate" (a hardcoded translation string) instead of the workspace's custom tax field name (e.g., "Tax"). Tags display their custom name correctly in the same view, so the inconsistency is confusing.
What is the root cause of that problem?
In SearchEditMultiplePage.tsx (line 224), the tax field description is set to translate('iou.taxRate'), which always resolves to the hardcoded string "Tax rate". It does not read the workspace's custom tax name from policy?.taxRates?.name.
The same issue exists in SearchEditMultipleTaxPage.tsx (line 59), where the page header title also uses translate('iou.taxRate').
By contrast, other views correctly use the custom name:
MoneyRequestView.tsx uses taxRates?.name as the description (line 310)
MoneyRequestConfirmationListFooter.tsx uses taxRates?.name as the description (line 829)
Tags in the same bulk edit page use tagList.name from the policy (line 157)
What changes do you think we should make in order to solve the problem?
In SearchEditMultiplePage.tsx, change the tax field description from translate('iou.taxRate') to policy?.taxRates?.name ?? translate('iou.taxRate') so it uses the custom name with a fallback.
In SearchEditMultipleTaxPage.tsx, change the page title from translate('iou.taxRate') to use policy?.taxRates?.name ?? translate('iou.taxRate') for consistency. The policy object is already available in this component via useOnyx.
This mirrors the pattern used by single-expense views (MoneyRequestView, MoneyRequestConfirmationListFooter) and is analogous to how tags already handle custom names in the same bulk edit page.
What alternative solutions did you explore? (Optional)
Using translate('common.tax') (which resolves to "Tax") would match the merchant rule page's approach, but that's also hardcoded and would break if the admin set a custom name like "GST" or "VAT". Using policy?.taxRates?.name with a fallback is the correct approach, consistent with single-expense views.
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
Activity
melvin-bot commentedon Mar 10, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #82948
melvin-bot commentedon Mar 10, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Mar 10, 2026
Triggered auto assignment to @CortneyOfstad (
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 Mar 10, 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 Mar 10, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #82948 - "Reapply "Feat: bulk edit multiple"" by @pasyukevich (High confidence)
Related Issues: None
Recommendation: REVERT
This PR introduced the bulk edit multiple feature and included hardcoded tax field labels that do not respect the workspace custom tax name configuration.
Labels: Keeping
DeployBlockerCash(App deploy blocker). TheDeployBlockerlabel was not present on this issue, so no label removal is needed.📋 Detailed Analysis
Evidence
The issue was introduced by PR #82948, which added the bulk edit multiple feature. The bot comment confirms this PR was merged and is the likely cause. The bug is reproducible on staging (version 9.3.34-0) where this PR is included, and not yet in production.
Verification
The PR added two files that contain the bug:
Both locations use the hardcoded translation key
iou.taxRatewhich always returns "Tax rate", instead of using the custom tax name configured in the workspace settings.Root Cause
The custom tax name is stored in
policy.taxRates.name(as seen in WorkspaceTaxesSettingsPage.tsx line 34). The correct pattern used elsewhere in the codebase is:This would display the custom tax name (e.g., "Tax", "Imposto", "VAT") when configured, falling back to "Tax" when not customized.
The merchant rule page likely uses the correct pattern, which is why it displays "Tax" correctly as mentioned in the bug report.
Fix Required
Update both files to use
policy?.taxRates?.name ?? translate(\"common.tax\")instead oftranslate(\"iou.taxRate\").MelvinBot commentedon Mar 10, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When editing multiple expenses via bulk edit, the tax field label displays as "Tax rate" (a hardcoded translation string) instead of the workspace's custom tax field name (e.g., "Tax"). Tags display their custom name correctly in the same view, so the inconsistency is confusing.
What is the root cause of that problem?
In
SearchEditMultiplePage.tsx(line 224), the tax field description is set totranslate('iou.taxRate'), which always resolves to the hardcoded string "Tax rate". It does not read the workspace's custom tax name frompolicy?.taxRates?.name.The same issue exists in
SearchEditMultipleTaxPage.tsx(line 59), where the page header title also usestranslate('iou.taxRate').By contrast, other views correctly use the custom name:
MoneyRequestView.tsxusestaxRates?.nameas the description (line 310)MoneyRequestConfirmationListFooter.tsxusestaxRates?.nameas the description (line 829)tagList.namefrom the policy (line 157)What changes do you think we should make in order to solve the problem?
In
SearchEditMultiplePage.tsx, change the tax field description fromtranslate('iou.taxRate')topolicy?.taxRates?.name ?? translate('iou.taxRate')so it uses the custom name with a fallback.In
SearchEditMultipleTaxPage.tsx, change the page title fromtranslate('iou.taxRate')to usepolicy?.taxRates?.name ?? translate('iou.taxRate')for consistency. Thepolicyobject is already available in this component viauseOnyx.This mirrors the pattern used by single-expense views (
MoneyRequestView,MoneyRequestConfirmationListFooter) and is analogous to how tags already handle custom names in the same bulk edit page.What alternative solutions did you explore? (Optional)
Using
translate('common.tax')(which resolves to "Tax") would match the merchant rule page's approach, but that's also hardcoded and would break if the admin set a custom name like "GST" or "VAT". Usingpolicy?.taxRates?.namewith a fallback is the correct approach, consistent with single-expense views.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.9 remaining items
melvin-bot commentedon Apr 3, 2026
@CortneyOfstad, @marcaaron Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Apr 7, 2026
@CortneyOfstad, @marcaaron 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
CortneyOfstad commentedon Apr 8, 2026
@marcaaron any update here?
CortneyOfstad commentedon Apr 14, 2026
Bump @marcaaron
melvin-bot commentedon Apr 21, 2026
@CortneyOfstad, @marcaaron Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Apr 23, 2026
@CortneyOfstad, @marcaaron Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Apr 27, 2026
@CortneyOfstad, @marcaaron 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
melvin-bot commentedon Apr 29, 2026
@CortneyOfstad, @marcaaron 10 days overdue. Is anyone even seeing these? Hello?
melvin-bot commentedon May 1, 2026
@CortneyOfstad, @marcaaron 12 days overdue. Walking. Toward. The. Light...
melvin-bot commentedon May 4, 2026
This issue has not been updated in over 14 days. @CortneyOfstad, @marcaaron eroding to Weekly issue.
marcaaron commentedon May 7, 2026
This was fixed in #84756