Processes Excel files and imports data into database
Aggregates staging debts and merges into customer_debts with exclusion handling.
Processes excluded accounts and creates support tickets for them.
Determines the next required collection action for each debt based on business rules and quotas.
Executes planned collection actions for debts that are ready for processing.
Manages collection action sequences - insert, remove, and reorder actions.
Cleans up old temporary files and logs
Populates the israeli_business_days table with business days and holidays from the Hebcal API.
Debug and testing job for QA purposes
Discovers historical Excel files from database tables matching DD.MM.YYYY pattern
Processes historical Excel files chronologically to build debt lifecycle tracking
Generates reports and verifies data integrity for historical debt processing
Cleans all processing data and resets files to pending status (keeps discovered files)
Reconcile historical debts with current debts and cleanup excluded customers