Skip to content

fix: handle empty invoice export packages#61

Merged
smekcio merged 1 commit into
mainfrom
fix/empty-invoice-export
May 10, 2026
Merged

fix: handle empty invoice export packages#61
smekcio merged 1 commit into
mainfrom
fix/empty-invoice-export

Conversation

@smekcio
Copy link
Copy Markdown
Owner

@smekcio smekcio commented May 10, 2026

Fixes #60.

Summary

  • return an empty export processing result when KSeF reports invoiceCount=0
  • cover empty export packages in sync and async workflows

Verification

  • python -m pytest tests/test_services_workflows.py -q --basetemp .pytest-tmp-issue60
  • python -m pytest -q --basetemp .pytest-tmp-issue60-full
  • python -m pytest --cov=ksef_client --cov-fail-under=100 --cov-report=term-missing -q --basetemp .pytest-tmp-issue60-cov
  • python -m ruff check src tests
  • python -m mypy src tests

@smekcio smekcio merged commit 5eece19 into main May 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zipfile.BadZipFile: File is not a zip file

1 participant