bmc_hub/app/services
Christian 3a8288f5a1 feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction
- Added `check_invoice_number_exists` method in `EconomicService` to verify invoice numbers in e-conomic journals.
- Introduced `quick_analysis_on_upload` method in `OllamaService` for extracting critical fields from uploaded PDFs, including CVR, document type, and document number.
- Created migration script to add new fields for storing detected CVR, vendor ID, document type, and document number in the `incoming_files` table.
- Developed comprehensive tests for the quick analysis functionality, validating CVR detection, document type identification, and invoice number extraction.
2025-12-09 14:54:33 +01:00
..
cvr_service.py Add Material Blue design templates for dashboard and customer overview pages 2025-12-06 02:22:01 +01:00
economic_service.py feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
invoice2data_service.py feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
ollama_service.py feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
template_service.py feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00