DueNote
About the project
DueNote: turn a paper khata into a checked ledger and polite WhatsApp reminders
The problem: Small shops in Pakistan track customer credit in a handwritten notebook (khata). Totals are added by hand, mistakes happen, and asking customers to pay is awkward, so shops lose money they’ve already earned.
What DueNote does: The shopkeeper keeps their notebook and simply photographs the pages, up to 10 at once. Gemma 4, Google’s open-weight multimodal model, reads each row in Urdu, Roman Urdu or English. The owner checks the rows against the photo and confirms them. Python then calculates every balance exactly, so the AI never does the maths, and smudged or crossed-out amounts are flagged instead of guessed. DueNote also checks the notebook’s own written totals.
In Collect, the owner records payments, saves customers’ WhatsApp numbers and taps Remind on WhatsApp to open a polite Urdu or Roman Urdu message with the exact balance. The message updates itself whenever the balance changes.
Key features:
- Upload one or many pages (up to 10), or use the camera, and read them all with Gemma 4, with progress shown for each page
- Review screen showing the photo next to the extracted rows, so any mistake can be fixed
- Checks the notebook’s own written totals against Python’s calculation
- Unclear amounts are kept as “Needs checking” and never counted until fixed
- Customer states: Due, Overdue, Settled and Credit
- Record payments, protected against accidental double taps
- Saved WhatsApp numbers and one-tap reminders in Urdu or Roman Urdu that rewrite themselves whenever the balance changes
- History log with CSV exports for Excel
- Sample replay mode to try the app with no API key or internet
Built with: Python, Streamlit, Gemma 4 (Gemini API), SQLite. Open source (MIT) with an Agent Skill (SKILL.md) and 93 automated tests.
Built with
AI tools
Prize Categories Entered
- Submitted
Best Use of Gemma 4
- Submitted

Best Open-Source AI Project