Skip to content

Add categories parameter to bank statements API and improve README#51

Merged
Kaevan89 merged 2 commits intomasterfrom
feature/bank-statements-categories
Mar 25, 2026
Merged

Add categories parameter to bank statements API and improve README#51
Kaevan89 merged 2 commits intomasterfrom
feature/bank-statements-categories

Conversation

@dbirulia
Copy link
Copy Markdown
Collaborator

Summary

  • Add optional categories parameter (List[str]) to process_bank_statement_document and process_bank_statement_document_url for transaction classification
  • Add test coverage verifying categories is correctly sent in the POST request body
  • Rewrite README: proper H1 title, Table of Contents, all API sections documented (bank statements, checks, W-2/W-8/W-9, business cards, any docs, classify), error handling guide, contributing section, and fixes for broken variable references and bare URLs

Test plan

  • pytest tests/test_bank_statements.py passes (all 4 tests including new test_process_bank_statement_with_categories)
  • Verify categories list is included in the POST body when provided
  • Verify existing behaviour is unchanged when categories is omitted (defaults to None)

Made with Cursor

- Add optional `categories: Optional[List[str]]` parameter to
  `process_bank_statement_document` and `process_bank_statement_document_url`
- Include categories in the POST request body for transaction classification
- Add test coverage for the new categories parameter
- Rewrite README: add H1 title, TOC, all API sections (bank statements,
  checks, W-2/W-8/W-9, business cards, any docs, classify), error handling,
  contributing guide, and fix broken variable references and bare URLs

Made-with: Cursor
Made-with: Cursor
@Kaevan89 Kaevan89 merged commit 6ae9be5 into master Mar 25, 2026
10 checks passed
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.

2 participants