Inspiration
Every university student who has ever paid out of pocket for a club event or lab supplies knows the feeling: you hate the campus reimbursement portal, yet you have to use it because it is the only way to get your money back.
For the CrossPointX 2026 Reverse UX Challenge ("Design a product users hate, yet have to use"), our core thesis is simple: terrible institutional UX is rarely an accident—it is the systematic transfer of cost, risk, and accountability from an organization onto individuals with zero bargaining power.
Instead of building a parody prototype cluttered with "Demo Mode" popups or explanatory overlays that break immersion, we built ReimbursePro 报销通—an authentic, full-stack "paperless" reimbursement platform for the fictional CrossPoint University · Office of Finance, featuring a live student portal and a real 4-tier approver workbench.
- Student Portal (Desktop Full-Page & Mobile App UI): baoxiaotong.vercel.app
- Approver Workbench (4-Tier Live Review): baoxiaotong.vercel.app/admin
- Open-Source Repository: github.com/sb645/baoxiaotong
What it does
ReimbursePro lets students upload real VAT invoices, runs real Vision-LLM OCR, syncs live with human approvers on /admin every 2 seconds, and finishes with an exportable thermal cost receipt that quantifies the exact seconds, clicks, working days, and repeated effort extracted from the user.
All intentional friction is strictly bounded to 4 registered Reverse UX mechanisms—each with a legal completion path, a hard ceiling, and a real institutional beneficiary:
- M2 · Upload Format Paradox (Invoice Upload): Every invoice must be
JPGand simultaneously satisfy \(\text{size} \le 200\text{ KB} \land \max(W, H) \ge 1600\text{ px}\). Modern phone photos fail immediately, forcing trial-and-error in a dual-slider compression assistant (unlocking a "Manual Pre-Review (+3 working days)" fallback after 3 failed checks). Saves work for IT (storage caps) & Archive Audit (clarity rules) by outsourcing server-side transcoding to students. - M1 · Toothpaste-Squeezing Validation (Form Verification): Vision OCR extracts invoice fields with 100% accuracy, but hides 3 unspoken filing rules: unselected expense category,
*asterisks carried over from VAT item names, and a purpose shorter than 10 characters. Clicking Submit shows only a generic red banner without highlighting any field; clicking "View Reason" reveals just one rule per round. Saves work for Accounting & outsourced dev using cheap fail-fast backend checks. - M3 · Reset-to-Zero Rejection (4-Tier Live Approval): Claims move serially through 4 approvers (Club President → Faculty Advisor → Student Affairs → Finance). If an approver rejects a claim on
/adminand the student resubmits via the multi-option revision workspace, all prior green approval stamps are struck through in red and voided, restarting from Tier 1. Saves liability for risk-averse approvers who refuse to vouch for modified attachments. - M4 · Paper Inside "Paperless" (Print, Sign & Drop-off): Despite the slogan "Paperless Reimbursement, Smarter Finance", passing all 4 online tiers still requires printing an A4 red-header voucher, signing inside a cramped
220×56dashed box (rejecting any stroke that touches the border), and booking an in-person window open only Tue/Thu 14:00–16:00 (first two dates fully booked). Saves work for Finance archiving and counter shift scheduling.
At settlement (or anytime via the polite, neutral "Abandon Claim" exit), the thermal receipt turns invisible bureaucracy into a measurable cost equation:
$$ \text{Total Cost} = T_{\text{active}} + \sum_{k=1}^{4} \left( W_{\text{approval}} + W_{\text{voided}} \right) + W_{\text{manual}} + W_{\text{counter}} $$
How we built it
We enforced one engineering rule throughout: Bad UX ≠ Sloppy Code. The institutional rules are infuriating, while the architecture, visual polish, and stability remain production-grade.
- Frontend: React 19, TypeScript, Vite 8, and Tailwind CSS 4 with lazy-loaded bundles for Student (
/) and Approver (/admin), full bilingual support (?lang=zh/?lang=en), desktop full-page workbench (≥ 1024px), and mobile App UI (375–430px). - Official Red-Header Design System: Self-hosted subsetted Source Han Serif Black (
song-black.woff2), SVG distressed ink stamps, pressure-sensitive handwriting viaperfect-freehand, rolling counters via@number-flow/react, and unified spring physics (src/ui/motion.ts) respectingprefers-reduced-motion. - Shared Pure State Machine: Client and server execute the exact same pure transition reducer (
src/core/machine.ts) as the single source of truth for M1–M4 rules and receipt accounting:
export type ClaimEvent =
| { type: "UPLOAD_CHECKED"; ok: boolean; manualReview?: boolean }
| { type: "SUBMIT"; form: ClaimForm }
| { type: "REVEAL_REASON" }
| { type: "ADMIN_DECIDE"; decision: "approve" | "reject"; note?: string }
| { type: "RESUBMIT"; revision: RevisionPayload }
| { type: "SIGN_ATTEMPT"; outOfBounds: boolean }
| { type: "BOOK_SLOT"; slotId: string };
- Isomorphic Backend & Cloud DB: Web Fetch API router (
server/router.ts) running identically on Vite dev, Node standalone, and Vercel Serverless (api/[...route].ts), persisted with@libsql/client(local SQLite in dev / Turso in production). - Real Vision OCR: OpenAI-compatible Vision API (DeepSeek Flash in production) extracting real VAT invoice fields with 15s timeout protection, clean
422fallbacks, and per-IP rate limiting (5 req/min).
Challenges we ran into
- Separating "infuriating" from "broken": In Reverse UX, a real bug (500 error, unresponsive button, lost form state, or soft-lock) undermines the entire critique. Guaranteeing bounded ceilings, persistent drafts, and a polite exit hatch required strict state-machine discipline.
- Cross-device live sync on Serverless: Keeping a student's phone (
/) and an approver's laptop (/admin) synchronized across stateless Vercel functions required migrating persistence to Turso (@libsql/client) with concurrency checks and clean 2-second polling. - Handling messy real-world VAT invoices: Real camera photos vary wildly in lighting, aspect ratio, and file size. We built client-side canvas re-encoding for M2 and structured OCR verification so blurry or non-invoice uploads fail gracefully with clear prompts.
- Fast Chinese official typography: Full CJK serif weights are multi-megabyte. We wrote a Python
fontToolssubsetting script to trim our display font down to ~269 KB while covering every official header and stamp.
Accomplishments that we're proud of
- Zero Demo Shell, 100% Real Product: Judges can shoot a real VAT invoice on
/while an approver live-reviews, rejects, receives paper, and disburses funds on/admin. - Dual-Viewport Craftsmanship: Desktop renders as an authentic full-width university finance portal while mobile adapts into a native-feeling app—both audited in Chinese and English.
- Rigorous Quality Gate: 81/81 Vitest unit tests (state machine, multi-option revision, concurrency, API flows), 0 Oxlint warnings, clean TypeScript/Vite builds, and 15/15 Playwright E2E tests across
1440pxdesktop,390pxmobile, ZH/EN locales, and reduced-motion mode. - The Thermal Receipt Reveal: Turning abstract UX frustration into a concrete, downloadable 2× PNG receipt that makes institutional cost-shifting impossible to ignore.
What we learned
- Reverse UX exposes organizational incentives: Asking "Whose job does this bad UX make easier?" is the sharpest diagnostic tool for both critiquing bureaucracy and designing humane software.
- Restraint sharpens satire: Removing X-Ray tooltips and demo controls from the app itself made the experience far more memorable—users feel the polite indifference of the institution firsthand.
- Every bad rule maps to a clear good-UX counterpart: Server-side auto-transcoding, upfront inline validation, incremental re-approval of new attachments, and true digital archiving all come down to the system absorbing complexity instead of pushing it onto users.
What's next for ReimbursePro 报销通
- Side-by-Side "Good UX" Counterpart: A standalone companion view showing how the exact same 4 steps feel when the institution absorbs the complexity—turning a multi-week ordeal into a 30-second flow.
- More Campus Bureaucracy Scenarios: Applying the same Reverse UX methodology to course registration lotteries, lab safety clearances, and dorm maintenance tickets.
- Open-Source Reverse UX Casebook: Publishing our 4-mechanism specification and incentive-mapping framework so HCI students and product teams can use ReimbursePro as a teaching reference.
Built With
- deepseek
- framer-motion
- libsql
- node.js
- react
- sqlite
- tailwindcss
- turso
- typescript
- vercel
- vision-ocr
- vite
