- Knowledge Base
- Content Templates (Document Changes)
-
Accounting
-
Back Office Features
-
Company Docs
-
Customers
-
Email Configuration
-
Front Office Features
-
General
-
Insurance
-
Integrations
-
Onboarding
-
LSP
-
Public API Documentation
-
Rates
-
Reports
-
Sales
-
Shipments
-
Content Templates (Document Changes)
-
Tai Email Assistant
-
Tai Marketplace
-
Tai Software Write Ups
-
Video Library
-
What's New?
How to remove/hide $0 charge line items from the Customer Invoice
In this article, you will find the code that will allow you to hide the Charge Line items not charged to the customer.
<!-- [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 add this code remember you can do it by going into LSP > Content Templates > Email Invoice HTML