# Invoice

* Layout

  * Summary Page: Summary of the invoice will be displayed. 'SummaryPageEnabled' should be set to 'True' in AppSettings.
  * Usage Details Page: Usage Details of the invoice along with the line items will be displayed. 'UsageDetailsPageEnabled' should be set to 'True' in AppSettings
  * By default V2 invoice is enabled, which has resources grouped by provided. If old layout should be enabled, 'V2InvoiceEnabled' should be set to 'False' in AppSettings
  * Footer: Content to be shown in invoice footer. Use Tab space for the space between the footer content and website (if any). Edit is supported from UI, AppSettings key 'FooterContent'.
  * Header: Content to be show as Invoice title. Edit is supported from UI, AppSettings key 'HeaderContent'
  * Notes: Content to be show in invoice notes. Edit is supported from UI, AppSettings Key 'Notes'
  * LogoPath: Location of the logo image to be displayed in invoice. Edit is supported from UI, AppSettings Key 'CompanyLogoPath'. Note: The image should be place in the following path: C:\inetpub\MgmtSvc-CloudAssertBilling.

* Invoice Details

  * Invoice Id: Text to be displayed before Invoice Id. AppSettings key 'InvoiceIdDisplayName'
  * Invoice Generated Date: Text to be displayed before Invoice Generated date. AppSettings key 'InvoiceGeneratedDateDisplayName'.
  * Date Format: Invoice Generated Date display format. Edit is supported from UI, AppSettings key 'DefaultDateFormatInCsv'.
  * Invoice Period: Text to be displayed before Invoice Period. Edit is supported from UI, AppSettings key 'InvoicePeriodDisplayName'

* Invoice Line Items table
  * Description: Line Item description column header. Edit is supported from UI, AppSettings key 'LineItemsTableDescriptionColumnName'
  * Units: Line item units column header display name. AppSettings key 'LineItemsTableQuantityColumnName'
  * Unit Price: Line item unit price column header display name. AppSettings key 'LineitemsTableUnitPriceColumnName'
  * Amount: Line item amount column header display name. Edit is supported in UI, AppSettings key 'LineItemsTableAmountColumnName'
  * Subtotal: Service/Provider level total display name. AppSettings key 'LineItemsSubtotalDisplayName'
  * Total Amount: Invoice Total amount display name. Edit supported in UI, AppSettings key 'LineItemsSumDisplayName'
  * Service Provider names: The Service provider names to be displayed as header for the grouped line items. AppSettings key 'ProviderFriendlyName'
