Invoice Summary Format - Code snippets and Example code

This is an extension to the Invoice Summary Format article - if you have not taken a look at it yet, please do so before continuing.

The use of code snippets in this article should be handled by someone with HTML experience. Otherwise, making changes to an invoice's template may result in errors which will prevent the system from generating invoice PDFs.

You can find and edit invoice templates in Settings/Templates/Invoices tab.

You will find three .txt files attached to this article:

  • Invoice Line Items - Grouped By Account - This snippet can be used to list all accounts in alphabetic order with all of their line items under them.
  • Invoice Summary - This snippet can be used to list the total price per account for all of the invoice's line items. The line items themselves won't be shown.
  • Example Invoice HTML - This is the HTML code of the example invoice shown in the Invoice Summary Format article. Please note that it may not be well suited for your space and is only included to offer an easy way of testing the functionality.
Was this article helpful?
1 out of 2 found this helpful

Comments

0 comments

Please sign in to leave a comment.