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-providers): handle tax deduction case for tax provider #1765

Merged
merged 4 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. taxable_base_amount_cents is used in the UI to display value which is the base for tax calculation

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