Understand an itemised hospital bill and prepare evidence-backed questions for billing.
Download FairBill 3.1.9 for Android · Product site · Privacy
Install the signed ARM64 APK from the release page, where you’ll also find its SHA-256 checksum. On first launch, FairBill downloads and verifies the 2.29 GB base model before sign-in. The APK includes FairBill’s trained adapter. Start on Wi-Fi or choose to continue on your current connection. If the download stalls or times out, tap Retry model setup to resume. FairBill 3.1.9 release
Open Try a bill review to see how FairBill reads an itemised bill, checks charges, and updates a question when new evidence arrives. The practice uses fictional charges on your device.
| Confirm the extracted charges | Preview a redacted evidence PDF |
|---|---|
![]() |
![]() |
- Add the bill. Scan a photo, upload a PDF or image, or paste itemised text. Add supporting documents such as a lab order or insurer settlement.
- Confirm what was read. Compare the extracted charges with the source lines, correct extraction errors, and mark any services you did not receive.
- Review the questions. Check repeated charges, quantity and arithmetic issues, and differences against an insurer’s settlement. The case assistant suggests a next step from the confirmed records. If new evidence explains a charge, rerun the review to update the question and see earlier revisions in the timeline.
- Choose what to share. Preview, open, save, or share the redacted PDF. Approve the exact letter or call script before FairBill opens your email app or dialer. You send the email or place the call yourself.
FairBill calculates amounts in integer paise. The conditional total shows what could change if billing accepts the questions, with insurer deductions shown separately. Supported campuses, tariff dates and policy wording
In Government health cover, select the treatment city to find official scheme routes. The guide lists at least five hospitals each in Hyderabad, Bengaluru, Mumbai, Chennai and New Delhi. Save optional coverage details on your phone in Profile and reuse them across your bills. Official scheme references and scope
Use Profile → Bill review alerts to get a private Android notification when the local check finds a question after confirmation. Choose System, Light, or true-black Dark under Settings → Appearance.
flowchart TD
A["FairBill Gemma E2B on Android"] --> B["Chooses among eligible actions"]
B --> C["Scan reading, charge review or supporting evidence"]
C --> D["FairBill code checks amounts, evidence and review revisions"]
D --> E["You decide whether to share or act"]
FairBill combines a pinned Gemma E2B base model with its packaged adapter. The assistant picks from actions made available by the app. Billing rules verify the results and handle cases when the model cannot produce a usable decision. Model setup and verification
Use Node.js 22.13+, Java 17 and the Android SDK with NDK 27.2.12479018. Set ANDROID_HOME to the SDK path and install adb if you’ll use USB.
git clone https://github.com/ryanfer123/FairBill.git
cd FairBill
export FAIRBILL_SUPABASE_PUBLISHABLE_KEY='your-project-publishable-key'
./scripts/build-android.sh
adb install -r artifacts/FairBill-Android.apkThe hosted build uses HTTPS. Give the client only the Supabase publishable key and keep the service key on the server. Environment overrides and release requirements
Install Python 3.13, uv and Tesseract with English language data. Install uv
Start the demo server in one terminal:
./scripts/run-demo.shBuild and connect the local Android app in another:
FAIRBILL_LOCAL_DEV=1 ./scripts/build-android.sh
adb install -r artifacts/FairBill-Android.apk
adb reverse tcp:8765 tcp:8765The local build includes the sample case and simulated outreach. Try adding a second lab order to resolve a duplicate-charge question while a separate quantity question remains open. Use fictional records only in the local demo.
From the repository root:
(cd server && uv sync --locked --python 3.13 && uv run pytest -q)
(cd mobile && npm ci --include=dev && npm run typecheck)
make evalThe published evaluation covers fictional bills. Real-world OCR accuracy, coverage and savings require separate evidence. Evaluation report
| Path | Contents |
|---|---|
| mobile/ | Expo and React Native client |
| marketing/ | Product site, Android download, and interactive example |
| server/ | FastAPI API, document extraction, billing checks, and PDF export |
| supabase/ | Authentication, database migrations, and private storage |
| demo/ | Fictional records for local use |
| docs/ | Architecture, API contract, and setup |
| scripts/ | Build, local server, and API contract scripts |
Built by Team Honey Potato for AgenticX. Hosted API health · Account deletion

