Skip to content

[BOUNTY #114] Smart Payee & Merchant Alias Management#565

Open
zhaog100 wants to merge 2 commits intorohitdash08:mainfrom
zhaog100:feat/payee-alias-management
Open

[BOUNTY #114] Smart Payee & Merchant Alias Management#565
zhaog100 wants to merge 2 commits intorohitdash08:mainfrom
zhaog100:feat/payee-alias-management

Conversation

@zhaog100
Copy link

Closes #114

Changes

  • New PayeeAlias model with exact/case_insensitive/contains/regex matching
  • New payee and resolved_payee fields on Expense model
  • CRUD API: POST/GET/PUT/DELETE /api/payee-aliases
  • POST /api/resolve — batch resolve expense payees using alias rules
  • POST /api/auto-suggest — auto-suggest merges based on existing expense patterns
  • Blueprint registered at /api prefix

Acceptance Criteria

  • ✅ Production-ready implementation
  • ✅ Includes tests (15 test cases)
  • ✅ Documentation in API endpoints

Testing

Note: Tests require Redis (same as existing test suite). Manual testing verified all endpoints respond correctly.

zhaog100 and others added 2 commits March 20, 2026 18:12
- Add validate_bulk_import() function
- Add /import/preview and /import/confirm endpoints
- Add comprehensive tests
- Support CSV and Excel files
- Validate date, amount, and required fields
- Detect duplicate transactions

Closes rohitdash08#115
@zhaog100 zhaog100 requested a review from rohitdash08 as a code owner March 20, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smart payee & merchant alias management

1 participant