Skip to content

FAQ Item

« Return to FAQ database

How to show invoice tax per line item

Go to Settings > Templates > invoice_task_list and add a new column to the tax list output. The fields to display the line item tax are {ITEM_TAX_RATE} and {ITEM_TAX}

{ITEM_TAX_RATE} will be something like 10% or 0
{ITEM_TAX} will be something like $5

Here is an example output of the invoice_task_list showing the item tax added in:

<table cellpadding="4" cellspacing="0" width="100%" class="table tableclass tableclass_rows">
<thead>
<tr class="task_header">
<th width="20px" align="center">
#
</th>
<th align="center">
{l:Description}
</th>
<th width="10%" align="center">
{l:Date}
</th>
<th width="10%" align="center">
{TITLE_QTY_OR_HOURS}
</th>
<th width="14%" align="center">
{TITLE_AMOUNT_OR_RATE}
</th>
<th width="14%" align="center">
TAX
</th>
<th width="14%" align="center">
{l:Sub-Total}
</th>
</tr>
</thead>
<tbody>
<tr class="{ITEM_ODD_OR_EVEN}" data-item-row="true">
<td align="center">
{ITEM_NUMBER}
</td>
<td>
{ITEM_DESCRIPTION}
</td>
<td>
{ITEM_DATE}
</td>
<td align="center">
{ITEM_QTY_OR_HOURS}
</td>
<td style="text-align: right;">
{ITEM_AMOUNT_OR_RATE}
</td>
<td style="text-align: right;">
{ITEM_TAX_RATE} {ITEM_TAX}
</td>
<td style="text-align: right;">
{ITEM_TOTAL}
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="6">&nbsp;</td>
</tr>
{INVOICE_SUMMARY}
</tfoot>
</table>

 

© dtbaker.net