A phone app that tells a tradesman what to charge, for RB Soluciones
Outcome: A suggested price with its source, a by-the-hour calculator, and a quote or invoice sent by WhatsApp or as a branded PDF.
evidence: End-to-end test at 390 x 844, 47 edge-case checks and an Android build tested on an emulator; the screens below use a fictional client and market prices ⓘ
For the owner
Business outcome
- Quotes were written by hand or rebuilt in a chat, one by one, and not knowing what to charge held the owner back on many jobs..
- In use with real clients: the owner has made 7+ real quotes with it. Packaged as an Android app, with an end-to-end test at phone size, 47 edge-case checks and 14 fixes from a review focused on the user.
- I build for the real user, not for the demo: small, offline, and tested against the mistakes he would actually make.
The short version
RB Soluciones is a one-man contractor: metal structures, roofs, carpentry and repairs. The owner is my father, with decades in the trade, and his hardest moment is not the work: it is deciding what to charge, on the spot, in front of the client. I built him a phone app that suggests a price with its source and calculates by the hour when the job is not on the list. Then it turns the result into a quote or an invoice he can send by WhatsApp or as a branded PDF. It runs offline as an Android app, and he uses it with real clients: he has made 7+ real quotes with it so far.
Context
Before the app, every quote was written by hand or rebuilt in a chat with an AI assistant, one by one, and not knowing what to charge held him back on many jobs. I sat with his real documents first: past quotes, invoices and his brand. The app copies the layout of the documents he already sends, so his clients see the same RB they know.
The problem
- “How much do I charge for this?” had no quick answer, especially for small repairs.
- Prices lived in his head and in old chats, with no record of what he charged last time.
- Writing a clean quote took longer than the job estimate itself.
- He uses an Android phone, often with poor signal, and he is not a technical user.
The approach
Every price says where it comes from. Each job in the catalog has a low, suggested and high price and a label: “You charged this” (his own past jobs), “Market price” (with a source) or “Calculated”. He decides; the app only stops him from quoting blind.
When the job is not on the list, calculate by time. His hours and the helper’s hours times a day rate, a minimum per visit, and materials at cost. The app shows the math in one line.
One file changes per trade. Brand, contact, defaults and catalog live in a single configuration file. Another trade gets its own app by changing that file and the logo; the rest stays the same.
Data stays on his phone. No server and no account. His ID number is not in the code: he types it in Settings. A button sends his history to me as a file, so the price catalog can learn from real jobs.
What I built
- New quote or invoice: client, jobs from the catalog with search, the “I don’t know what to charge” calculator, materials at cost, travel and an advance payment rule (60% by default on large quotes).
- WhatsApp message with the breakdown, total, advance and payment details, opened straight in the client’s chat if he types the number.
- A PDF with his brand: logo, item cards, amount in words and signature.
- Automatic history with document numbers, and the last price he used for each job.
- An Android app packaged with Capacitor that works without internet, plus the same app as a static site.
- A catalog of 32 jobs to start: 7 from his own past jobs, 23 market prices with a source and 2 estimates to confirm with him.
Evaluation
- An end-to-end test with Playwright and Edge at 390 x 844: it rebuilds a real small repair invoice, the time calculation, the WhatsApp message, a one-page PDF, the history and no horizontal overflow.
- An edge-case suite with 47 checks. It covers numbering after deleting from history, a second client without “start a new one”, lines at zero, negative numbers, an advance on a small total, an old draft, settings changed after saving, a two-page PDF and amounts in words up to the billions. It exits with an error if anything fails.
- The Android build tested on an Android 15 emulator: it loads, the catalog and total work, and the PDF goes through Android’s print dialog. Installing an update on top keeps his data.
What broke and how I found it
A separate review read the app thinking only about him: an older contractor on a 360 to 390 px Android screen. It found 14 problems and all 14 were fixed before handing it over. Three of them:
- Deleting a quote made the next one overwrite another client’s. Numbers were counted, not taken from the highest one, so a new document could take an existing number and replace it. Fixed by numbering from the highest, with a test that reproduces the case.
- Changing the client name after sending overwrote the first client. His most natural flow: send one invoice, type the next client’s name in the same form, send again. Fixed with a “saved as” strip at the top and a new number when the client changes.
- A quote could go out with a line at zero. If he forgot a price, the client would receive a $0 line and a lower total. Now the app does not send until every line has a quantity and a price.
What I learned
- The user sets the bar, not the code. Every fix came from imagining him using it in a client’s kitchen, not from a linter.
- A source on every number builds trust. “You charged this” and “Market price” let him defend a price instead of guessing it.
- Small can be a product. One configuration file per trade turns a family favor into a template for any tradesman.
A trade business that quotes by hand?
If your team writes every quote from scratch, let’s talk. I’ll show you this app working on a phone before quoting anything.
For the team that hires
Technical notes
- Architecture
- Static app in plain HTML, CSS and JavaScript, packaged for Android with Capacitor; no server and no account.
- Data
- Settings and history stored only on the phone; the ID number is typed by the user, not stored in the code; history can be exported as a file.
- Tests
- End-to-end Playwright test at 390 x 844, a 47-check edge-case suite and an Android 15 emulator run.
- Where AI runs and its guards
- No AI at runtime. AI was used to build it, research market prices with sources and review it from the user's point of view.
- Monthly running cost
- No running cost: it runs offline on the phone.
- Repo and status
- Private repo. In daily use by the owner as an installed Android app.
Stack