Compare commits

...

2 Commits

Author SHA1 Message Date
Christian
36e0f8b0f7 chore: Bump version to 1.3.134 2026-01-27 06:58:49 +01:00
Christian
7d5ec89e13 fix: Skip invoice lines with zero amount (text/description fields only) 2026-01-27 06:58:39 +01:00
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
1.3.133 1.3.134

View File

@ -278,6 +278,11 @@ class SubscriptionMatrixService:
logger.info(f" 💰 Amount: {amount} kr, Period: {period_from_str} to {period_to_str}") 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) # Determine month key (use first month if multi-month)
year_month = period_from.strftime('%Y-%m') year_month = period_from.strftime('%Y-%m')
logger.info(f" 📅 Month: {year_month}") logger.info(f" 📅 Month: {year_month}")