Receipt booking pipeline, AI grouping & accountant admin board #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/supabase-database"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Backs the app with Supabase and adds the deterministic receipt extraction & booking pipeline, an AI grouping tier, and the start of the accountant admin board.
Booking pipeline (
src/lib/booking)harmonize+mapAndBookengine (integer-cent math, typed review reasons, GoBD-replayable snapshots).src/lib/ocr) feeding the engine.Predefined groups + AI grouping
(group, rate) → accountmap.assign-groupsedge function tags each line with a catalog group, frozen at scan; the engine resolves merchant-table → AI → residual, deterministic on replay.Accountant admin board (web + admin only,
/admin)is_admin()RLS function.Also
BiometricGate).window is not definedduring static render).Verification
tsc --noEmitclean,expo lint0 errors.assign-groupsdeployed; migrations applied to the live DB andapply_all.sqlregenerated.🤖 Generated with Claude Code