Skip to main content
    Studio workHealthcare sales operations

    A mobile-first expense app with compliance controls built into the categories

    Reps log spend from a phone, leadership sees attribution by account, and healthcare professional spend rules are enforced by the category chosen rather than by a policy document.

    Client
    Healthcare field sales team
    Stack
    TypeScriptpnpm monorepoOpenAPIReactExpressDrizzleNeon PostgresRender
    Abstract editorial illustration of a phone-sized ledger of field expenses

    Situation

    Where things stood

    Field representatives were tracking meals, travel, and account spend through photos, texts, and spreadsheets. Leadership could not see spend by account, and compliance rules around healthcare professionals depended on people remembering them.

    Constraints

    What the build had to respect

    • Had to work well on a phone in a parking lot
    • Spend on healthcare professionals is subject to specific limits and documentation
    • Attribution needed to distinguish account types as well as names
    • Three distinct roles: rep, leadership, admin

    What we built

    The system, piece by piece

    1. 01

      Contract-first API

      An OpenAPI specification defined every endpoint before screens were built, so the mobile interface, the server, and future reporting integrations share one definition.

    2. 02

      Category-driven compliance

      Each expense category carries its own rules: required attendees, per-person limits, documentation. Choosing the category applies the rules, so compliance is enforced at capture rather than reviewed after the fact.

    3. 03

      Account-typed attribution

      Spend is attributed to accounts that carry a type, so leadership can see spend by account category and by rep without reclassifying anything later.

    4. 04

      Three-role model

      Reps see and submit their own expenses, leadership sees attribution and approvals across the team, and admins manage categories, limits, and users.

    Shipped

    What went live

    • Mobile-first React application deployed on Render
    • OpenAPI contract and generated types shared across the monorepo
    • Category rules and limits editable by admins without a deploy
    • Leadership attribution views by rep, account, and account type

    What changed

    For the people running the business

    • Expenses are captured at the moment they happen, with the compliance rule applied on the spot
    • Leadership has spend by account without reconstructing it from receipts
    • Policy changes are a category edit rather than a memo