Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rx Claim Helper

A single-file browser tool that reads a photo of a pharmacy receipt and extracts the fields needed to file an insurance claim — no typing, no backend.

The problem it solves

Submitting prescription reimbursement claims means copying a dozen small fields (claimant, drug name, DIN, amounts, dates) off a paper receipt by hand, one at a time. This tool turns a receipt photo into clean, copyable claim fields in a few seconds, so the data goes straight into whatever claim form you use.

Tech stack

  • Plain HTML / CSS / JavaScript — a single self-contained file, no build step
  • Google Gemini 3.1 Flash Lite vision model, accessed via the OpenRouter API
  • Browser localStorage for the API key (nothing is sent to any server but the model API)

Key features

  • Drag-and-drop / multi-image — drop one or more receipt photos at once
  • AI field extraction — pulls claimant, drug name, DIN, prescription number, amounts, and dates from the receipt image
  • One-click copy — copy any single field, or all fields as JSON, to the clipboard
  • Bring-your-own key — you supply your own OpenRouter API key; it is stored only in your browser
  • Zero install — open the HTML file in any modern browser

Screenshots

Upload view Extracted fields

Setup

  1. Get an API key from OpenRouter.
  2. Provide the key one of two ways:
    • Quick: open Receipt_Reader.html and paste the key into the key field — it's saved in your browser's local storage for next time; or
    • File-based (recommended for repeat local use): copy config.example.js to config.local.js and put your key there. config.local.js is gitignored and loads automatically, so the key never enters the field or git. You can also override the model there.
  3. Open Receipt_Reader.html in a modern browser, drag in a receipt, and let the model extract the fields.

Security: this is a client-side app. If you ever host it publicly, do not ship config.local.js with a real key — anyone viewing the page can read it. For a hosted version, let each user paste their own key.

Privacy note

Receipt images are sent to the OpenRouter / Gemini API only for extraction. No data is stored on any server operated by this project — the API key and results live in your browser session. Avoid using it with receipts you are not comfortable sending to a third-party model API.

About

Single-file browser tool that turns a pharmacy receipt photo into copyable insurance-claim fields using the Gemini vision model — no backend, no typing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages