Customizing invoice lines

Overview

When an invoice is generated in Work 365, the invoice lines are printed in a standard 2-line format that includes the product name and billing information. This article describes the procedure to configure this two-line output to display customized invoice line information.

The default behavior for invoice line generation prints two lines

#ContentsUnderlying Field(s) (invoiceproduct entity)
1Product namework365_invoiceproduct_subscriptionname
work365_invoiceproduct_nriname
2Line Descriptiondescription

The values in these fields cannot be changed. However, Work 365 provides two additional fields which can be altered, and the invoice document template customized to use these additional fields in lieu of the ones illustrated above. The additional fields are

  1. work365_invoiceproduct_line1
  2. work365_invoiceproduct_line2

Customizing the lines

To customize the content for these lines, navigate to Administration → Admin Hub → Configuration → Invoicing → Invoice Lines

There are five sections presented in this view, one per type of invoice line

SectionDescription
Subscription LinesApplies to invoice lines that are associated to a subscription, with a product attached.
Non-Recurring Item LinesApplies to invoice lines that are associated to a non-recurring item, with a product attached.
Write-In Subscription LinesApplies to invoice lines that are associated to a subscription which do not have a product attached.
Write-In Non-Recurring Item LinesApplies to invoice lines that are associated to a non-recurring item which do not have a product attached.
Service LinesApplies to invoice lines associated with Service (time billing).
  1. To start customizing a line type, choose an item from the category.
  2. Upon selection of the category, the list of available fields is shown
  3. Select the field and select either Line 1 or Line 2 and click the arrow to add the field to the selected line.
  4. More than one field maybe added to the line along with any static text. Multiline configurations are supported.

🚧

Do not change any field that is enclosed in the curly braces ({ and } characters).

Template Customization

The invoice Word Document template also needs to be changed in order to leverage the changes as described above. By default, the invoice template shows the subscription / NRI name and invoice description as follows.

In order the leverage the changes for line1 and line2, changes can be made as shown below.