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(tax-integrations): Cover tax deduction case for tax integrations #2628

Merged
merged 7 commits into from
Sep 30, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

Lago recently launched integration with tax provider Anrok.

Description

In some scenarios tax is not applied on the sum of all fees (with coupon applied).

Instead, there are scenarios where tax base is less than the sum of the fees (with coupon applied) and it depends mostly on the country (e.g. Texas in the USA).

This PR is covering described case. tax_base_rate is included in tax logic and also used to display correct base in the UI/PDF.

@lovrocolic lovrocolic merged commit 1754cda into main Sep 30, 2024
6 checks passed
@lovrocolic lovrocolic deleted the ftr-texas-case-anrok branch September 30, 2024 09:42
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