Zen Cart Logo
Forums / General Questions / Tax dosen't round up on invoice

Tax dosen't round up on invoice

Locked

Views: 1,517

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Sep 2006, 3:20 AM
#1
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Tax dosen't round up on invoice

My tax doesn't round up on my invoice but it does for the people when they get an email or when they pay.

Does anyone know how to fix this or where to start.

Example
2337Yen
price: 2337Yen
shipping: 290Yen
sales tax: 117Yen
total: 2743Yen

it is one yen short of what it should be, can anyone help?

7 Sep 2006, 4:33 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Tax dosen't round up on invoice

What is the tax rate?

If you calculate tax on products first, and round it,
then
calculate tax on shipping, and round it,
and then
add taxes together
....
does it produce the same result?

7 Sep 2006, 4:53 AM
#3
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tax dosen't round up on invoice

ummm...you are way over my head on this. What I did was set Taxable Goods to 5% thats it. I guess this is my fault, but I don't know what to do.

7 Sep 2006, 5:06 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Tax dosen't round up on invoice

i guess you're not taxing shipping.

2337 * 0.05 = 116.85

2337 price
+290 shipping
+116.85 tax
-------
2743  total

vs

2743.85 total

What are your currency settings for JPY ... Admin->Localization->Currencies
What are your Tax Decimal Places set at in Admin->Config->My Store?

7 Sep 2006, 5:21 AM
#5
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tax dosen't round up on invoice

In yen you can't do a .85 the 85 basicly, 100 yen is like 1$ so you can only do 100-0 or up past that, do you understand that?

itle: Yen
Code: JPY

Symbol Left:
Symbol Right: Yen

Decimal Point:
Thousands Point:
Decimal Places: 0

Last Updated: 08/02/2006
Value: 1.00000000

Example Output:
30Yen = 30Yen

Tax Decimal Places 0

7 Sep 2006, 5:55 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Tax dosen't round up on invoice

godspeed27:

Title: Yen
Code: JPY

Symbol Left:
Symbol Right: Yen

Decimal Point:
Thousands Point:
Decimal Places: 0

Last Updated: 08/02/2006
Value: 1.00000000

Example Output:
30Yen = 30Yen

Tax Decimal Places 0
I cannot duplicate the problem. I used this environment:

  • Fresh install of v1.3.5, with demo products
  • set default currency to JPY, created based on your settings above
  • store Tax Decimal places 0
  • created a new "test" category
  • created a new "test" product, with price of 2337
  • created tax zone "Japan", with "Japan - All Zones" selected
  • created new customer with Japan as address
  • purchased product. Paid using check/money order. Flat-rate shipping of 290Yen

all numbers calculated properly:

2337Yen  Sub-Total
290Yen   Flat Rate Shipping
117Yen   5% tax
-------------------
2744Yen  Total:

So ... something is different between configurations...

7 Sep 2006, 6:15 AM
#7
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tax dosen't round up on invoice

well when people go through and check out, it comes up right, but then on the invoice and under orders in the admin is where it is wrong, not 3.5 yet