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

fix(netsuite): Do not send taxes columns if tax not mapped #2369

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

ivannovosad
Copy link
Contributor

Context

In our NetSuite integration, if the tax_item mapping is not set, do not block the invoice from being synced to NetSuite. In that case, simply remove the taxitem and the taxamountoverride from the POST invoice request.

Description

Removetaxitem and taxamountoverride columns from invoice payload if tax item is not mapped.

@ivannovosad ivannovosad merged commit f7a41ef into main Aug 5, 2024
6 checks passed
@ivannovosad ivannovosad deleted the fix-netsuite-taxes branch August 5, 2024 08:48
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
)

## Context

In our NetSuite integration, if the tax_item mapping is not set, do not
block the invoice from being synced to NetSuite. In that case, simply
remove the taxitem and the taxamountoverride from the POST invoice
request.

## Description

Remove`taxitem` and `taxamountoverride` columns from invoice payload if
tax item is not mapped.
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