Skip to content

IOU – The amount is not displayed when the scan of the PDF receipt is complete #34295

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


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:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Log in as the WS employee
  3. Select the option to Request money > Scan receipt
  4. Select the option to upload a receipt
  5. Upload a PDF receipt file
  6. Click on Request
  7. Wait until the scan of the receipt is complete
  8. Once complete navigate to the request conversation

Expected Result:

The amount is updated and displayed

Actual Result:

The amount is not displayed when the scan of the PDF receipt is complete, red dot appears

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6338093_1704915385793.The_amount_is_not_displayed_when_the_scan_of_the_PDF_receipt.mp4

View all open jobs on GitHub

Activity

  1. github-actions commented on Jan 10, 2024

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  2. melvin-bot commented on Jan 10, 2024

    @melvin-bot

    Triggered auto assignment to @joelbettner (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  3. thienlnam commented on Jan 11, 2024

    @thienlnam
    Contributor

    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

  4. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Jan 11, 2024
  5. situchan commented on Jan 12, 2024

    @situchan
    Contributor

    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

    @lanitochka17 please

  6. joelbettner commented on Jan 12, 2024

    @joelbettner
    Contributor

    Just a heads up, this seems like it might be related to #34064.

  7. joelbettner commented on Jan 15, 2024

    @joelbettner
    Contributor

    @lanitochka17 gentle bump.

  8. lanitochka17 commented on Jan 16, 2024

    @lanitochka17
    Author

    ReceiptExample

    Steps:

    1. Go to https://staging.new.expensify.com/
    2. Log in as the WS employee
    3. Create scan request
    4. Open IOU while the receipt is scanning
    5. Edit the missing fields Merchant and Amount
    6. Go back and reopen the IOU
  9. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    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.

  10. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    @lanitochka17 could you try to re-create it again? It is possible that this has already been fixed by some other PRs.

  11. lanitochka17 commented on Jan 19, 2024

    @lanitochka17
    Author

    Issue is still reproducible on the latest build 1.4.28-0

    bandicam.2024-01-19.16-21-25-192.mp4

    PDF_receipt.pdf

  12. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    Thank you @lanitochka17!

    @situchan the pdf has been provided in the comment above.

  13. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    @lanitochka17 I tried the steps on staging and I was not able to reproduce the issue.

    • I logged in as an employee on a workspace.
    • I uploaded the pdf as a scan for a money request.
    • I opened the money request while the pdf was scanning and changed the merchant and amount
    • I went back to the IOU report and things looked correct
    image
  14. situchan commented on Jan 19, 2024

    @situchan
    Contributor

    Not able to reproduce red dot error

    Screenshot 2024-01-20 at 2 03 48 AM Screenshot 2024-01-20 at 2 03 56 AM
  15. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    @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?

  16. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    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:
    image

    After it completed smart scanning I opened the transation:
    image

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

    Everything saved correctly:
    image

    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.

    image

    So, I think the smartscanner did the correct thing in this case and left the amount value to be determined by the user.

  17. joelbettner commented on Jan 19, 2024

    @joelbettner
    Contributor

    I'm going to close this issue. Feel free to re-open if it is happening with many smartscans where the amount is obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions