- # PTC and ar form calculate linetotal differently:
- # 6 parts for 0.60 with 3% discount
- #
- # ar form:
- # linetotal = sellprice 0.60 * qty 6 * discount (1 - 0.03) = 3.492 rounded 3.49
- # total = 3.49 + 0.66 = 4.15
- #
- # PTC:
- # discount = sellprice 0.60 * discount (0.03) = 0.018; rounded 0.02
- # sellprice = sellprice 0.60 - discount 0.02 = 0.58
- # linetotal = sellprice 0.58 * qty 6 = 3.48
- # 19%(3.48) = 0.6612; rounded = 0.66
- # total rounded = 3.48 + 0.66 = 4.14
-
- my $title = 'default invoice, one item, sellprice, rounding, discount';
+ my $title = 'default invoice, one item, 19% tax not included, rounding, discount, huge qty';