Commit Graph

7 Commits

Author SHA1 Message Date
bolade f582110674 Add name_of_asset field to receipt processing and update related logic in DocumentProcessor 2025-10-07 20:35:43 +01:00
bolade b2bf631448 Refactor document processing endpoint to accept file_id as a path parameter and update related logic; modify DocumentProcessRequest to make file_id optional; add clarification to tax processing rules in DocumentProcessor. 2025-10-07 12:36:04 +01:00
bolade 659ca4ff15 Add user location support for tax calculations in document processing 2025-10-07 12:03:26 +01:00
bolade d8315f13ac Add new fields for tax and depreciation in receipt processing
- Introduced fields: receipt_location, calculated_tax, is_depreciable, cca_rate, useful_life, and residual_value in DBReceipt model.
- Updated process_document function to handle new receipt data attributes.
- Enhanced DocumentProcessResponse schema to include new fields.
- Updated document processing rules to incorporate tax calculation based on location and depreciation rules.
2025-10-07 11:15:26 +01:00
bolade c45e3fa791 Add user location support and tax analysis enhancements
- Introduced user location extraction from user tax info for improved matching.
- Normalized user location to province codes for tax calculations.
- Updated MatchResponse schema to include tax analysis data.
- Enhanced LLMTaxAnalyzer to handle various location formats and provide fallback logic.
2025-10-05 18:34:35 +01:00
bolade c78c4c6fe9 Enhance receipt matching by adding user location support and implementing LLM-based tax analysis rules 2025-10-05 13:25:55 +01:00
michael 3d48cf0385 Add requirements.txt with essential dependencies for the project 2025-10-05 11:29:45 +00:00