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(timezones): Invoice issuing date must be in customer timezone #627

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

vincent-pochet
Copy link
Collaborator

Roadmap Task

👉 getlago/lago#61

Context

It’s impossible to bill a customer following its own timezone.
Lago ingests events, creates subscription boundaries and trigger invoices on a UTC timezone, which is the same for everyone.

This feature adds the possibility to choose the timezone an organization or a customer should be billed in.

Description

This PR updates the logic around invoice issuing_date to make sure the date is always in customer timezone.

@vincent-pochet vincent-pochet added the Invoice Related to Invoices label Nov 25, 2022
@vincent-pochet vincent-pochet self-assigned this Nov 25, 2022
@vincent-pochet vincent-pochet merged commit 79972ed into main Nov 25, 2022
@vincent-pochet vincent-pochet deleted the ftr-timezone-invoice branch November 25, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invoice Related to Invoices
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants