Skip to content

Add rounding strategy to tax settings #1039

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions reference/tax_settings.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ components:
enum:
- ON_PAYMENT_CAPTURE
- ON_ORDER_CREATION
rounding_strategy:
default: RATE_ROUNDING
type: string
description: This setting affects the rounding behaviour of tax amounts calculated by the basic tax provider. The NO_ROUNDING option offers a high accuracy total tax amount for orders. The RATE_ROUNDING option means every resulting tax rate amount has been rounded based on the active currency's precision settings. Note that tax is always calculated on the line item amount after discounts.
enum:
- NO_ROUNDING
- RATE_ROUNDING
Copy link
Contributor Author

@theromulans theromulans Aug 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: intentionally leaving off LINE_ROUNDING at this time, since we don't have any demand for it (and have not implemented it).

MetaOpen:
title: Response meta
type: object
Expand Down