How to Hide $0 Line Items on Customer Invoices and Accessorial Rate Confirmations

This article explains how to remove or hide $0 charge line items from customer invoices and buy Accessorials in the Rate confirmation in Tai. It also describes how to add the HTML code needed to implement these changes in your content templates.

Overview

By default, Tai displays all line items on invoices and buy accessorials in the rate confirmation, even if the charge amount is $0. In some cases, you may want to hide these zero-value items to simplify the document and keep it focused on billable charges.

This guide covers:

  • Hiding $0 charge line items from Customer Invoices

  • Hiding $0 buy accessorials in the Rate Confirmation

  • Adding HTML code to implement these changes

1. Hiding $0 Line Items on Customer Invoices

To hide $0 line items, update your invoice template so that any line with a zero amount is not shown. You can achieve this by adding this HTML code to your invoice template.

<!-- [EACH]([INVOICE_DETAIL])--> <!-- [IF]([INVOICE_DETAIL.AMOUNT])--> <tr> <th><strong>[INVOICE_DETAIL.DESCRIPTION]</strong></th> <td style="text-align: right;">[INVOICE_DETAIL.QUANTITY]</td> <td style="text-align: right;">$[INVOICE_DETAIL.RATE]</td> <td style="text-align: right;">$[INVOICE_DETAIL.AMOUNT]</td> </tr> <!--[ENDIF]--> <!--[ENDEACH]-->


To implement this code, navigate to LSP > Content Templates > Email Invoice HTML as shown below:

2. Hiding $0 buy accessorials in the Rate Confirmation

This can be helpful when a rate confirmation includes charges for the customer that you don’t want to show to the carrier. To hide $0 buy accessorials

<!-- [EACH]([ACCESSORIAL])--> <!-- [IF]([ACCESSORIAL.BUY])-->
<tr>
<td width="40%" style="width: 40%;">&nbsp;</td>
<td width="30%" style="width: 30%;"><strong>[ACCESSORIAL.DESCRIPTION]&nbsp;&nbsp;</strong></td>
<td width="25%" style="text-align: right; width: 25%;">USD $[ACCESSORIAL.BUY]</td>
</tr>
<!--[ENDIF]--> <!--[ENDEACH]-->

To implement this code, navigate to LSP > Content Templates > Carrier Confirmation Truckload as shown below:

3. Insert the code

1. Click on the Tools option.

2. Locate the pricing section and insert the code. 

3. You can adjust the style as you need.

4. Save and Test Your Changes

  1. Save the updated template.

  2. Generate a test invoice and rate confirmation containing $0 line items.

  3. Confirm that zero-value lines no longer appear.