Tax module is one of coremodules in Magento and it includes Block, Helper, Model, ect andsql file structures.The table schema is in the sql directory andtable tax_class,tax_calculation_rate,tax_calculation_rule
and tax_calculation are created for thismodule.
Table tax_class: define the class name andclass type;
Tabletax_calculation_rate:definethe
taxrate and location relationship;
Table tax_calculation: define the relationship
betweentax rule, tax rate and tax class.
There are three files in the ect directory:config.xml, system.xml and adminhtml.xml.
config.xml isused fortax
module's
configuration;
system.xml isused toconfigure
the values byadministratorinterface;
adminhtml.xmlis used tocreate
menu in the admindashboard and callcorresponding actions.