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
Currently, when a user uploads a receipt, the data extracted by the Gemini AI is used to create a transaction automatically. However, AI/OCR is not always 100% accurate. This can lead to incorrect transaction details (wrong amount, date, or merchant) being saved without the user's approval, forcing them to find and edit the transaction later.
Proposed Solution
Introduce a "Review and Confirm" step in the receipt processing workflow. After the Gemini API extracts the data, instead of creating the transaction immediately, the application should present the extracted data to the user in an editable form for their review and confirmation.
Expected Behavior
The user uploads a receipt on the "Receipts" page.
After the AI processing is complete, the TransactionModal opens automatically.
The fields in the modal (Name, Category, Amount, Date) are pre-populated with the data extracted from the receipt.
The user can review the data, make any necessary corrections, and then click "Save."
Only after the user clicks "Save" is the new transaction created.
Benefits
Improved Accuracy: Gives the user full control over their data and ensures only correct information is saved.
Better UX: Creates a more interactive and trustworthy workflow, preventing user frustration from incorrect automatic entries.
Error Correction: Provides a seamless way for users to correct any mistakes made by the OCR.
Hello, I would like to work on this issue.
Here is my proposed plan:
After the Gemini API successfully extracts the receipt data, instead of immediately creating a transaction, I'll trigger the TransactionModal to open.
I will pass the extracted data to this modal to pre-populate the input fields (Name, Amount, Date, etc.).
The final transaction will only be saved to the database after the user reviews, potentially edits, and clicks "Save" in the modal.
Please assign this to me.
Activity
AmandeepMandal1077 commentedon Sep 29, 2025
Hello, I would like to work on this issue.
Here is my proposed plan:
Please assign this to me.
archa8 commentedon Sep 29, 2025
Assigned to you @AmandeepMandal1077
Good luck!
AmandeepMandal1077 commentedon Oct 27, 2025
@archa8 I opened a PR #117 implementing this feature — it’s awaiting maintainers’ review/merge
Merge pull request code-a2z#117 from AmandeepMandal1077/feat/confirm-ocr