diff --git a/app/services/subscription_matrix.py b/app/services/subscription_matrix.py index 9909660..0efebe9 100644 --- a/app/services/subscription_matrix.py +++ b/app/services/subscription_matrix.py @@ -278,6 +278,11 @@ class SubscriptionMatrixService: logger.info(f" 💰 Amount: {amount} kr, Period: {period_from_str} to {period_to_str}") + # Skip lines with no amount (text/description lines only) + if abs(amount) < 0.01: + logger.info(f" ⏭️ SKIPPED: Line with no amount (text field)") + continue + # Determine month key (use first month if multi-month) year_month = period_from.strftime('%Y-%m') logger.info(f" 📅 Month: {year_month}")