Class Tax_lib
Located at libraries/Tax_lib.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
update_sales_taxes( & $sales_taxes, $tax_type, $tax_group, $tax_rate, $tax_basis, $item_tax_amount, $tax_group_sequence, $rounding_code, $sale_id, $name = '', $tax_code = '' )
|
public
|
|
public
|
|
public
|
#
apply_sales_tax( & $item, & $city, & $state, & $sales_tax_code, $register_mode, $sale_id, & $sales_taxes )
Determine the applicable tax code and then determine the tax amount to be applied. If a tax amount was identified then accumulate into the sales_taxes array |
public
|
|
public
|
integer |
TAX_TYPE_SALES
|
#
1
|
integer |
TAX_TYPE_SALES_BY_INVOICE
|
#
2
|
integer |
TAX_TYPE_VAT
|
#
0
|