Skip to main content
Avalara Help Center

Discount calculation on line items is incorrect

Overview

The issue is when a customer has two $100 items at 6% sales tax, and they apply a $50 discount. The expectation is $9.00 in sales tax but they are getting $9.02

Environment

The environment is SDK

Resolution

The resolution is that they are applying the discount equally on each line so it becomes two $75 lines and the tax rounds up because of the half penny. Suggested to make the discount at line level instead of at header level.

Cause

The cause is that they are applying the discount equally on each line so it becomes two $75 lines and the tax rounds up because of the half penny