Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(past_usage): Add base query to fetch past usage #1359

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

vincent-pochet
Copy link
Collaborator

Context

Some of our users want to retrieve usage in the past. The main problem they are facing is that at the beginning of a new period, they cannot compute usage in third party systems, or see if everything went well as usage for the past period has been removed.

Description

This PR adds a PastUsageQuery to fetch pas usage for a customer/subscription, based on the previous invoices/fees

@vincent-pochet vincent-pochet changed the title Feat past usage query feat(past_usage): Add base query to fetch past usage Sep 28, 2023
@vincent-pochet vincent-pochet merged commit 261a028 into main Sep 28, 2023
5 checks passed
@vincent-pochet vincent-pochet deleted the feat-past-usage-query branch September 28, 2023 13:56
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.

2 participants