fix: Tax amount field is not zero on confirm page when tax reclaimable on is empty#81805
fix: Tax amount field is not zero on confirm page when tax reclaimable on is empty#81805roryabraham merged 12 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
Removing myself since @joekaufmanexpensify has already reviewed |
|
@ZhenjaHorbach are you reviewing this one? |
Yes! |
|
@ZhenjaHorbach PR is ready for further review. BE issue is fixed. |
|
There is a bug I have noticed. BUG: Wrong tax rate is used when selecting a distance rate that doesn't have a tax rate associated with it.
Expected: Tax rate should be the workspace currency default tax rate (5 %) Actual result: Tax rate equals to rate 1's tax rate while selecting rate 2 Screen.Recording.2026-04-06.at.2.35.22.in.the.afternoon.mp4 |
Root cause:When we select a different distance rate, we call App/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx Lines 145 to 152 in e470b0a Inside We then update the transaction’s The problem is inside App/src/libs/TransactionUtils/index.ts Lines 2117 to 2123 in ed04796 |
Let's fix it in a separate PR when we merge this PR |
|
LGTM! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.3.55-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This PR fixes a bug in This is a purely internal calculation fix — it corrects a default value in the tax computation logic. I reviewed the relevant help site articles:
None of these articles describe the specific behavior of the |


Explanation of Change
Fixed Issues
$ #79867
$ #73413
PROPOSAL: #79867 (comment)
Tests
Same as QA steps
Offline tests
Same as QA steps
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Test 1
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.1.Screen.Recording.2026-02-09.at.1.11.09.in.the.afternoon.mp4
Android: mWeb Chrome
android.chrome.1.Screen.Recording.2026-02-09.at.12.41.00.in.the.afternoon.mp4
iOS: Native
ios.1.Screen.Recording.2026-02-09.at.12.19.52.in.the.afternoon.mp4
iOS: mWeb Safari
ios.safari.1.Screen.Recording.2026-02-09.at.12.33.54.in.the.afternoon.mp4
MacOS: Chrome / Safari
web.1.Screen.Recording.2026-02-08.at.9.49.34.at.night.mp4