<th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
<td colspan=2 align=right><%tax%></td>
</tr>
<%end tax%>
<%if paid%>
<tr>
<th colspan=7 align=right>Paid</th>
<td colspan=2 align=right>- <%paid%></td>
</tr>
<%end paid%>
<tr>
<td colspan=5> </td>
<td colspan=4><hr noshade></td>
</tr>
<%if total%>
<tr>
<td colspan=5> </td>
<th colspan=2 align=right nowrap>Balance Due</th>
<th colspan=2 align=right><%total%></th>
</tr>
<%end total%>
<tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td>
<table width=100%>
<tr valign=top>
<%if notes%>
<td><%notes%></td>
<%end notes%>
<td><%text_amount%> ***** <%decimal%>/100</td>
<td align=right nowrap>
All prices in <b><%currency%></b>
</td>
</tr>
</table>
</td>
</tr>
<%if paid_1%>
<tr>
<td> </td>
<td colspan=9>
<table width=60%>
<tr>
<th align=left>Payments</th>
</tr>
<tr>
<td colspan=4>
<hr noshade>
</td>
</tr>
<tr>
<th align=left>Date</th>
<th align=left>Account</th>
<th align=left>Source</th>
<th align=left>Amount</th>
</tr>
<%end paid_1%>
<%foreach payment%>
<tr>
<td><%paymentdate%></td>
<td><%paymentaccount%></td>
<td><%paymentsource%></td>
<td><%payment%></td>
</tr>
<%end payment%>
<%if paid_1%>
</table>
</td>
</tr>
<%end paid_1%>
<tr height=10></tr>
<tr>
<td> </td>
<th>
Thank you for your valued business!
</th>
</tr>
<tr>
<td> </td>
<td>
<table width=100%>
<tr valign=top>
<td width=60%><font size=-3>
Payment due by <%duedate%>.
Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit.