>>PHP

Tax

An object representing a single tax.

Properties:

PropertyDescription
$nameTax name
$typeTax type. See $type for possible values.
$roundTrue if calculated result must be rounded. Note that the compute function handles rounding automatically.
$withheldTrue if this tax is to be paid by the employee. False if it is an employer tax.
$state_exemption_instructionsSpecific instructions (if needed) for the $stateexemptions value passed to the compute function. These instructions are intended for the end user, to explain what the $stateexemptions field value represents.
$miscellaneous_instructionsSpecific instructions (if needed) for the $misc value passed to the compute function. These instructions are intended for the end user, to explain what the $misc field value represents.
$auxiliary_instructionsSpecific instructions (if needed) for the $aux value passed to the compute function.
$miscellaneous_tagA brief label summarizing the use of $misc in this tax. Rather than prompting the end user for 'miscellaneous', use this label to prompt for (as an example), 'Personal exemption'.
$auxiliary_tagA brief label summarizing the use of $aux in this tax.
$stateexemption_tagA brief label summarizing the use of $stateexemptions in this tax.
$homeruleUsed internally by taxNamesForZip.
$workruleUsed internally by taxNamesForZip.

See Also: taxList