Skip to content

check invoice generation - #1388

Open
Jumongweb wants to merge 2 commits into
CalloraOrg:mainfrom
Jumongweb:checkInvoiceGeneration
Open

Jumongweb wants to merge 2 commits into
CalloraOrg:mainfrom
Jumongweb:checkInvoiceGeneration

Conversation

@Jumongweb

Copy link
Copy Markdown
Contributor

Closes #1300
Summary:
Added pg-mem-backed InvoiceService tests.
Groups usage by developer and API.
Excludes events outside the requested month.
Ensures idempotent second runs.
Corrects invoice uniqueness to (developer_id, period_id).
Derives invoice dates from periodId.
Defers invoice events until transaction commit.
Verifies rollback handling on line-item failure.

@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@Jumongweb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Jumongweb
Jumongweb force-pushed the checkInvoiceGeneration branch from 70de0f9 to 1f1a6ed Compare September 29, 2026 16:47
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.

Seed pg-mem to check invoice generation grouping

1 participant