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(applied-taxes): add logic for creating applied taxes based on external provider #2267

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

Currently Anrok - tax tool integration is being added

Description

This PR created applied taxes objects in Lago based on fetched Anrok taxes.

Two new services are added: Fees::ApplyProviderTaxesService and Invoices::ApplyProviderTaxesService.

This logic follows existing behaviour in Fees::ApplyTaxesService and Invoices::ApplyTaxesService services. The only difference is that source of taxes is not Lago app anymore but external provider.

New services are not used yet.

@lovrocolic lovrocolic merged commit bdc6103 into main Jul 15, 2024
6 checks passed
@lovrocolic lovrocolic deleted the apply-anrok-taxes branch July 15, 2024 09:27
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
…ternal provider (getlago#2267)

## Context

Currently Anrok - tax tool integration is being added

## Description

This PR created applied taxes objects in Lago based on fetched Anrok
taxes.

Two new services are added: `Fees::ApplyProviderTaxesService` and
`Invoices::ApplyProviderTaxesService`.

This logic follows existing behaviour in `Fees::ApplyTaxesService` and
`Invoices::ApplyTaxesService` services. The only difference is that
source of taxes is not Lago app anymore but external provider.

New services are not used yet.
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.

3 participants