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

Only rescale numbers up for formatting #27

Merged
merged 1 commit into from
May 14, 2024
Merged

Only rescale numbers up for formatting #27

merged 1 commit into from
May 14, 2024

Conversation

samlown
Copy link
Contributor

@samlown samlown commented May 14, 2024

  • We hit an issue with rounding numbers in invoices that include taxes on a per-line level.
  • This fix ensures that each number is output with at least 2-decimal precision, anything with greater precision in the lines will be maintained, which SDI seems to accept.
  • Also upgrading GOBL to the latest version.

@samlown samlown merged commit 886710b into main May 14, 2024
2 checks passed
@samlown samlown deleted the rescale-numbers-up branch May 14, 2024 10:59
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.

1 participant