techker Posted October 13, 2009 Share Posted October 13, 2009 Hey guys i need make an invoice maker and im stuck on the calculations? like total and tax... can somebody guide me to a tutorial or demo script? Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/ Share on other sites More sharing options...
doa24uk Posted October 19, 2009 Share Posted October 19, 2009 Which country are you in? Surely it's simply a case of taking totals and calculating percentage markups to include the tax at the prevailing rate for your country?? Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-939783 Share on other sites More sharing options...
techker Posted October 19, 2009 Author Share Posted October 19, 2009 canada quebec tax 13.5 Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940031 Share on other sites More sharing options...
akitchin Posted October 19, 2009 Share Posted October 19, 2009 it's a pretty simple calculation: total + 13.5% of total = total + (13.5/100)*total = total + 0.135*total = total*(1 + 0.135) = total*1.135 if you can't follow that, i would suggest looking up a basic math tutorial. Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940041 Share on other sites More sharing options...
Maq Posted October 20, 2009 Share Posted October 20, 2009 canada quebec tax 13.5 Ouch... Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940129 Share on other sites More sharing options...
techker Posted October 20, 2009 Author Share Posted October 20, 2009 lol.thx akitchin will do and Maq its alot ah!it was more but they droped it.. Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940132 Share on other sites More sharing options...
Maq Posted October 20, 2009 Share Posted October 20, 2009 lol.thanks akitchin will do and Maq its alot ah!it was more but they droped it.. Wow, that's crazy. Doesn't Canada have national healthcare? Don't worry, Barack Obama is pushing for that, US tax should be up there in no time. Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940139 Share on other sites More sharing options...
Mark Baker Posted October 20, 2009 Share Posted October 20, 2009 canada quebec tax 13.5 Ouch... UK, 15%, due to go back up to 17.5% soon Ow ow ow ow ow Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940295 Share on other sites More sharing options...
akitchin Posted October 20, 2009 Share Posted October 20, 2009 it's worth mentioning that 8.5% of that tax is quebec-only (PST). the tax rate here (alberta) is 5%, as there is no PST here. this is just sales tax, not income. Quote Link to comment https://forums.phpfreaks.com/topic/177584-tax/#findComment-940501 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.