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

Unable to correctly calculate member revenue. #14

Open
KinomotoKi opened this issue Sep 13, 2019 · 0 comments
Open

Unable to correctly calculate member revenue. #14

KinomotoKi opened this issue Sep 13, 2019 · 0 comments

Comments

@KinomotoKi
Copy link

If a corp changes the tax rate to 0.1% from the 1st to the 20th of this month,
and then changes the corp tax rate to 100% from 21st to 31st,

the seat-billing will calculate the member revenue based on 'tax rate is 100%' on the 1st to the 31st.

And the right way should be
calculate the member revenue based on 'tax rate is 0.1%' on the 1st to the 20st.
calculate the member revenue based on 'tax rate is 100%' on the 21st to the 31st.

you can use /characters/{character_id}/notifications/ to get character notifications,
look for tax rate change notifications,
and get specific time for tax rate changes,
to match /corporations/{corporation_id}/wallets/{division}/journal/

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

No branches or pull requests

1 participant