which file contain logic of tax calculaion based on customer group id at checkout?

I'm adding one extra attribute (customer group id as drop down field) in billing information at checkout .So based on this selection order review section should calculate tax.

Basically i'm using extension to add extra attributes in billing section.it will effect after order placed(we know all information saved in quote model temp.once order placed click it will store all information in db permanently)

In later time its calculating properly because customer information available in db. So i enable path hints to find out file.but i'm not getting exact file contains logic of tax calculation based on customer group id.I hope i give proper information.thanks in advance.

Solutions

There's actually an entire Tax module, under app/code/core/Mage/Tax. The tax Helper and Tax Calculation model sound like what you're looking for.

Here's one of my favorite sites to sort through Magento classes/functions: http://freegento.com/doc/annotated.html

Similar questions

How to remove the tax on cart when tax setting is set to display catalog prices including tax
I am Stuck in very weird situation where I want to remove the tax that is displayed in the cart when tax setting is set to display catalog prices including tax. I tried to remove this by setting taxclassID to 0 but didnot get any result please help me.
Assign Different Tax Class to NOT LOGGED IN Group Based on Store
Magento 1.9.2.2 I am looking for a way to apply a different tax class to the NOT LOGGED IN customer group based on the store the user is in. I have two stores, one for a business located in Nevada and the other for a business located in California. The Nevada store needs to charge tax only to NV residents; the California store only to CA residents....
Zipcode-based sales tax not showing in Magento but national/state tax is. Why?
I have a Magento 1.4.0.1 installation and I am trying to configure sales tax. I need to charge a state sales tax to every customer, and two zip-code based sales taxes depending on whether the buyer is in my county / in my city. I’ve imported a table of tax rates and it looks like this (but quite a bit longer.): I have created a rule which is shown ...
.csv tax file only uses the *last* line of the file for tax rates
Can someone look at a .csv tax file and tell me what I'm doing wrong with it? It is totally ignoring all the lines in the file, and only using the zip code in the last line of the file to produce tax estimates. Don't know how to upload file here...so here is the text..:
0% tax for customer group but normal added in checkout
I'm trying to set tax rates to 0% for a specific customer group ('business'). I configured all tax rates to apply only for customer group 'private', and set a new tax rate to 0% for group 'business'. In the product view and the search, products are correctly shown with 0% tax. But after adding a product to the cart, it shows up with regular tax rat...
Cache a value which is based on config and tax settings
I calculate a value which is based on configuration settings and on the tax rates. How can I cache it in a way that it automatically gets cleared when one of those infos changes? Is this all about using the right tags and then it will get cleared automatically?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.