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
IOU – The amount is not displayed when the scan of the PDF receipt is complete #34295
Version Number: 1.4.24-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
👋 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.
@lanitochka17 I'm still quite confused. I'm not able to reproduce this and neither is @situchan.
From the recent video you posted, it looks like the amount never got set during when it was scanning...is that correct? Then, in the video, I do not see you attempting to update the amount as per the reproduction instructions.
I think you may have just run into a smartscan that was incorrect, in which case the user would be able to update the amount?
If I follow the instructions at the top in the original issue I get the following, which all looks good to me:
I smartscanned the pdf and let it complete:
After it completed smart scanning I opened the transation:
I edited the amount as per the instructions because the smartscanner could not determine which value should be used as the amount:
Everything saved correctly:
I don't think this is a bug. I think this is just a weird receipt where the amount that should be entered for the transaction is very unclear. When I look at it I cannot tell if the amount should be 9.99, -0.38, 0.38, or 0.00.
So, I think the smartscanner did the correct thing in this case and left the amount value to be determined by the user.
Activity
github-actions commentedon Jan 10, 2024
👋 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:
melvin-bot commentedon Jan 10, 2024
Triggered auto assignment to @joelbettner (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.thienlnam commentedon Jan 11, 2024
Do you have the PDF that was used? The video makes it seem like the smartscan was unable to find an amount in the receipt
situchan commentedon Jan 12, 2024
@lanitochka17 please
joelbettner commentedon Jan 12, 2024
Just a heads up, this seems like it might be related to #34064.
joelbettner commentedon Jan 15, 2024
@lanitochka17 gentle bump.
lanitochka17 commentedon Jan 16, 2024
Steps:
joelbettner commentedon Jan 19, 2024
I was not able to re-create this. @lanitochka17 the title of the issue says a PDF receipt was scanned, but you've provided a .png image.
joelbettner commentedon Jan 19, 2024
@lanitochka17 could you try to re-create it again? It is possible that this has already been fixed by some other PRs.
lanitochka17 commentedon Jan 19, 2024
Issue is still reproducible on the latest build 1.4.28-0
bandicam.2024-01-19.16-21-25-192.mp4
PDF_receipt.pdf
joelbettner commentedon Jan 19, 2024
Thank you @lanitochka17!
@situchan the pdf has been provided in the comment above.
joelbettner commentedon Jan 19, 2024
@lanitochka17 I tried the steps on staging and I was not able to reproduce the issue.
situchan commentedon Jan 19, 2024
Not able to reproduce red dot error
joelbettner commentedon Jan 19, 2024
@lanitochka17 I'm still quite confused. I'm not able to reproduce this and neither is @situchan.
From the recent video you posted, it looks like the amount never got set during when it was scanning...is that correct? Then, in the video, I do not see you attempting to update the amount as per the reproduction instructions.
I think you may have just run into a smartscan that was incorrect, in which case the user would be able to update the amount?
joelbettner commentedon Jan 19, 2024
If I follow the instructions at the top in the original issue I get the following, which all looks good to me:
I smartscanned the pdf and let it complete:

After it completed smart scanning I opened the transation:

I edited the amount as per the instructions because the smartscanner could not determine which value should be used as the amount:

Everything saved correctly:

I don't think this is a bug. I think this is just a weird receipt where the amount that should be entered for the transaction is very unclear. When I look at it I cannot tell if the amount should be 9.99, -0.38, 0.38, or 0.00.
So, I think the smartscanner did the correct thing in this case and left the amount value to be determined by the user.
joelbettner commentedon Jan 19, 2024
I'm going to close this issue. Feel free to re-open if it is happening with many smartscans where the amount is obvious.