Details
Description
There may be a discrepancy between the renewal invoice and the renewal price shown in the services widget. Both use the pricing presenter, but one uses the service presenter and one uses the invoice presenter. Probably a rounding error.
Issue Links
- relates to
-
CORE-3036 Round amounts to their currency's precision
- Closed
As far as I can tell, the only thing that is different is how the discounts are handled. Since invoices store the discount as a line item, it is rounded before taxes are applied. When we are calculating the service renewal price the discount is calculated on a per item basis and is then taxed before being rounded. I think this difference accounts for the discrepancy.