Docs
rounding, off, line, item, multi, decimal, support
38989385
2021-09-29T03:36:58Z
2025-02-20T05:26:19Z
793
0
0
252239
What is the rounding logic for line item amounts?
Summary
When multi-decimal support is enabled, the decimal places of your plan/addon price and quantities are considered in their entirety for line item amount and tax computation. However, these line item amount and tax amount that are derived after price computation are displayed, rounded off to zero or two decimal places based on the currency format.
Solution
Here is an example of how rounding logic works:
Consider a plan that is priced at 4.4556 per unit.
When the total quantity subscribed for is 10.625, the invoice amount is calculated as follows:
Plan Price 4.4556 X Quantity subscribed 10.625 = Line item amount computed 47.34075
The same rounding logic is applied for credit notes and quotes. The line item amount and tax amount are rounded off to their currency precision.
Note: - Once Multi-decimal support is enabled for your Chargebee site, you cannot disable it - After you select the number of decimal places for price and units and publish the settings, you can not go back to select a lesser number of decimal places