>>PHP
Tax
An object representing a single tax.
Properties:
Property | Description |
$name | Tax name |
$type | Tax type. See $type for possible values. |
$round | True if calculated result must be rounded. Note that the compute function handles rounding automatically. |
$withheld | True if this tax is to be paid by the employee. False if it is an employer tax. |
$state_exemption_instructions | Specific 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_instructions | Specific 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_instructions | Specific instructions (if needed) for the $aux value passed to the compute function. |
$miscellaneous_tag | A 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_tag | A brief label summarizing the use of $aux in this tax. |
$stateexemption_tag | A brief label summarizing the use of $stateexemptions in this tax. |
$homerule | Used internally by taxNamesForZip. |
$workrule | Used internally by taxNamesForZip. |
See Also: taxList