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): Add amount to invoice line items #2874

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

ivannovosad
Copy link
Contributor

Context

When we calculate the line item price with big decimals, Netsuite rounds it to 8 decimal places.
And in that case the Netsuite prices are different to what is saved in Lago.

Description

Add amount attribute to Netsuite payload with precalculated price.

@ivannovosad ivannovosad marked this pull request as draft November 26, 2024 18:17
@ivannovosad ivannovosad force-pushed the fix-netsuite-invoice-amount branch from c43cbcd to 3927cd1 Compare November 27, 2024 08:23
@ivannovosad ivannovosad requested a review from jdenquin November 27, 2024 08:26
@ivannovosad ivannovosad marked this pull request as ready for review November 27, 2024 08:26
@ivannovosad ivannovosad merged commit 7b106d3 into main Nov 28, 2024
6 checks passed
@ivannovosad ivannovosad deleted the fix-netsuite-invoice-amount branch November 28, 2024 14: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