Muhammad Fahad.
Mobile · Offline-first

Salesman Distribution App

An offline-first Android app that 100+ salesmen use every day to bill shops on their routes, with every invoice reported to the national tax authority's e-invoicing system.

Company
Prema
Role
Sole developer
Period
Aug 2024 – Feb 2025
Team
Built single-handedly

The challenge

Salesmen work on routes where the internet is weak or missing. The old Java app and paper invoices meant office staff re-typed physical invoices every day.

What I built

  • Rebuilt the Java app in .NET MAUI Blazor Hybrid, sharing C# with the rest of the ERP.
  • Daily sync of parties (customers), rates, discounts and salesman profiles into a local SQLite database.
  • Offline billing: bills are saved on the phone and upload automatically once the device is online.
  • FBR Digital Invoicing: every bill is reported to the tax authority automatically on upload.
  • Thermal printing of invoices in the field.
  • One data layer with Entity Framework across offline and online flows.

Technical highlights

  • Offline-first design: the app never blocks the salesman when there is no signal.

Results

100+salesmen using it daily
0physical invoices re-typed at the office
100%of uploaded bills reported to FBR