--- title: "Excluding Zero Value Lines from Invoices" slug: "excluding-zero-value-lines-from-invoices" updated: 2024-02-07T15:08:49Z published: 2024-02-07T15:08:49Z canonical: "help.nexudus.com/excluding-zero-value-lines-from-invoices" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.nexudus.com/llms.txt > Use this file to discover all available pages before exploring further. # Excluding Zero Value Lines from Invoices You can edit your invoice template to automatically hide zero value lines on all your invoices. If you implement this formatting, none of the invoices you issue will include zero value lines. --- 1. Log in to [dashboard.nexudus.com](https://dashboard.nexudus.com/) if you aren't already. 2. Click [**Settings > Web templates editor**](https://dashboard.nexudus.com/settings/editor/templates). 3. Click **Built-in files > invoice.htm**. 4. Do one of the following, based on whether or not your invoice template file is customized: **Default Invoice Template** If you're using version 4 of the Members Portal and your invoice template isn't customized, you can add the two lines in the code as shown below: - {% unless line.SubTotal == 0 %} after line 289 - {% endunless %} after line 306 ![image.png](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/image%28687%29.png) **Customized Invoice Template** If your invoice template is customized, find the following tag in your template. ``` ``` Once you've found the tag, replace the entire tag with the following code snippet. Make sure you replace the whole tag. ``` {% for line in data.Local.Invoice.Lines %} {% unless line.SubTotal == 0 %} {{ line.Quantity }} {{ line.Description }} {{ line.UnitPrice | FormatDecimal: 'N' }} {{ line.SubTotal | FormatDecimal: 'N' }} {{ line.TaxPercentage | FormatDecimal: 'N' }}% {% endunless %} {% endfor %} ``` 1. Click the **Save** button. --- You've successfully excluded zero value lines from your invoices. Any new invoice you issue won't include line items that have a value of zero. Want to reverse your edits? Just click on the **Diff** tab and then click **Reset my file**. ![image.png](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/image%28686%29.png) Your invoice file will be reset to the default template provided by Nexudus. **Remember that resetting your file erases all edits, including other customization you previously saved.**